Event driven trading system
Event driven trading system This article is inspired by VNPY, which is available under the MIT License. And the official ByBit python SDK PyBit. Algorithmic trading has inspired many people to implement their strategies. It frees the hands of the traders and materialize doesn’t suffer from the human emotion. Here I will introduce an event-driven trading system: Websocket and Rest API As the graph above shows, we have two data sources which are websocket and rest api, we usually use websocket API for market data stream since it’s a long connection, and we use Rest API for sending order and it’s a quick one time connection, but the function from these two types of API are interchangable. ...