Python API

The Python, another high level language, allows writing fewer lines of code for same task compared to C++ or Java.

Python API is provided by Symphony Fintech Pvt Ltd. A custom application which generates triggers for placing orders can send order parameters to Presto Fuse via the Python API. Subsequent orders are sent to the approved exchange by Presto Fuse, and all details such as order status, transaction ID etc. can be fetch from the Python API.

Benefits of Symphony’s Python API:

  • Symphony’s Python API can receive market data feed via web socket. All data arrays such as LTP, bid, ask, open, close etc. can be fetch.
  • Browser based applications including Python, XML can be implemented using HTML/JavaScript and Standard Webservice SOAP Client generated by referencing WSDL url provided.
  • Symphony Python API allows the access and control of Presto Strategy Manager/Agent
  • Symphony Python API allows comprehensive order management functions- send orders, retrieve status, modify and cancel via web service

Presto Server is comprised of the following components: BDF Broadcast (Data Feeder, receives raw broadcast from NSE/MCX), ORS Order(Routing Server, routes orders to exchanges via FIX 4.2 protocol), SA Strategy (Agent, hosts and executes custom strategies), ESB Enterprise (Service Bus, provides interface to external components).

The Symphony PythonAPI uses web-service calls to send the data from the client to the Presto Server. It requires necessary protocol stacks on the client system where this API will be deployed e.g. TCP/IP stack (in absence of a working and wired Ethernet adapter one should install Loop back TCP/IP adapters).

The cost of API depends completely on the broker- from zero to Rs. 10,000 monthly. Brokers may discount the API cost to lure high volume traders.

Zerodha’s Kite API

There is not much which needs to be mentioned here about Zerodha’s Kite API.  It supports both php and python. You can access complete documentation here: https://kite.trade//docs/connect/v1/

For general queries on Python API, please post in the comments section. For developer assistance or exchange approval of your custom app, please avail personalized consultancy.