Definedge Securities Integrate Python API Client
================================================
Introduction
------------
This is the official Python API client for the Definege Securities Integrate API platform.
The Definedge Securities API platform `Integrate `__ allows you to build trading and investment services platforms, execute strategies, and much more.
You can execute & modify orders in real time in equities, derivatives, currencies and commodities. You can also manage user portfolios, access live market data and much more with a lightning fast API.
We offer resource-based URLs that accept JSON or form-encoded requests. The response is returned as JSON-encoded responses using Standard HTTP response codes, verbs, after authentication.
Installation
------------
Install the Definedge Securities Integrate Python API client
- Using pip:
.. code:: console
pip install pyintegrate
- or Using poetry:
.. code:: console
poetry add pyintegrate
Usage
-----
Order placement
...............
Simple example to place an order and get the order book:
.. include:: ../../examples/orders.py
:literal:
WebSocket streaming
...................
Simple example to stream live quotes, get order and depth updates:
.. include:: ../../examples/ws.py
:literal:
Check out more examples under `Examples `__.
Contributing_
-------------
.. _Contributing: https://github.com/Definedge-Securities/pyintegrate/tree/main/CONTRIBUTING.md
.. toctree::
:maxdepth: 2
:hidden:
examples
integrate