Hello, welcome back to my blog about automated trading. Last week I have covered the fix protocol. This week I will make a short summary of APIs we have.
For the latest source code, please download repository and update to branch 7-fix-protocol, changeset b386cea63bc9. Now I will be talking about 4 APIs - historical, real time, fix protocol and finviz.
That's it for today. Next week I will introduce the components for task scheduling. Thank you for reading!
For the latest source code, please download repository and update to branch 7-fix-protocol, changeset b386cea63bc9. Now I will be talking about 4 APIs - historical, real time, fix protocol and finviz.
Historical
Historical API is the first connection type to the broker. This is typically used to be able study price and volume patterns and create future predictions. Broker typically allows to make pull requests for the data. Example implementations are MbTradingHistoricalProvider and YahooDailyHistoricalProvider.
Real time
Real time API is connection to the broker which allows to quickly transfer data during trading session. Typical usage is to wait for certain event and then make the reaction. Most often the price information is transferred. Additional information might be included. This API is typically implemented throgh the TCP protocol so messages are pushed to the client. Example implementation is MbTradingQuoteConnector.
Fix protocol
Fix protocol is typically the last endpoint of the connection to the broker. Although some brokers are using proprietary protocols. This end point allows for client to perform orders, receive reports and manage account. Example implementation is QuickFixJInitiatorFixEngine.
Finviz
Finviz is the exmaple of adding the third party data into the system. This page allows to screen for the stocks which matches the specified criteria. Example implementation is DefaultFinvizConnector.
That's it for today. Next week I will introduce the components for task scheduling. Thank you for reading!
No comments:
Post a Comment