Real-Time feeding with Websocket
-
Hi EveryBody !!!
Hi Backtrader !!!
Does BT is support and compatible with Full real-time feeding provided by websocket ?Does somebody have implement something like this ?
-
@gwadaman Did you managed to find out more? I am looking for the same.
-
@gwadaman Did you managed to find out more? I am looking for the same too.
-
There is nothing preventing a data feed (or broker) from using websockets.
Receiving from a websocket implies (like for example the
IB
andOanda
stores do) running in a background thread where the server listening for notifications is active, thread which pumps the data to the queues on which the main thread sits waiting for data.
-
Websocket would make backtrader more awesome! And it would be of great help if someone could help provide some working examples.
-
Could be a related post below. Looks like MarketStore supports web socket.
https://community.backtrader.com/topic/1120/marketstore-new-data-feed-complete-code-example