Bitcoin Forum

Other => Beginners & Help => Topic started by: Dirk83 on April 20, 2013, 04:10:02 PM



Title: Making automated trading decisions based on websocket feed
Post by: Dirk83 on April 20, 2013, 04:10:02 PM
It seems like the websocket API feed is only listening to a feed and the only outgoing messages that can be send are subscribe or unsubscribe to a channel.

I would like to create a system that is able to have a program act on the information that is coming through the websocket feed, in other words, being able to enter, update and cancel orders based on an algorithm that uses the info from the websocket feed.

Any hints on how to make this possible?


Title: Re: Making automated trading decisions based on websocket feed
Post by: Dirk83 on April 20, 2013, 04:13:04 PM
To rephrase I kind of a need a programming environment that is able to communicate with the streaming and HTTP API both at the same time (or quickly in succession).


Title: Re: Making automated trading decisions based on websocket feed
Post by: Ban Curtain on April 23, 2013, 10:32:53 PM
Im looking for the same thing. have you found anything?
I need observer who fetces realtime data, pushes it into my database. Also it should preprocess data and create candles for couple timeframes
Id like to find python implementation...


Title: Re: Making automated trading decisions based on websocket feed
Post by: Dirk83 on April 25, 2013, 05:46:25 AM
No, not yet, maybe you can make it work with this: http://socketo.me/


Title: Re: Making automated trading decisions based on websocket feed
Post by: phortran on April 25, 2013, 07:19:26 AM
I've done quite a bit with node.js and socket.io.  This would be pretty simple to implement (the core functionality at least).  You would send trade requests via normal HTTP, see https://github.com/mikeal/request .