Presenting a functional python wrapper for algomojo trading api. Algomojo is a multi broker python library for the Algomojo Free API + Free Algo Trading Platform . It allows rapid trading algo development easily, with support for both REST-API interfaces.
Basic Features of Python Trading API
- Execute Orders in Realtime
- Single Client Execution Orders
- Multi-Client Execution of Orders
- Multi-Broker Execution of Orders
- Place ATM/ITM/OTM Option Orders
- Modify/Cancel Orders
- Retrieve Orderbook
- Retrieve Order History
- Retrieve Open Positions
- Square off Open Positions
- Access Fund/Margin Details and many more functionalities.
For more details of each API behavior, Pease see the Algomojo API documentation.
Visit here for more detailed Algomojo python documentation for supporting functions
How to Install Algomojo Python Library?
Install from PyPI using the simple PIP command
pip install algomojo
It is highly recommended to use Python 3.x versions
How to Send Orders using Algomojo Python Library?
Once the Python Library is installed the next step is to import the python library using the import command and set the api_key and api_secret key with broker shortcode in your python program.
How to Send Bulk Orders using Algomojo
Here is the Jupyter notebook implementation of Transmitting Multiple Orders to Multiple Brokers. Sample code is provided for sending Bulk Market Orders and Bulk Bracket Orders
How to Send ATM/ITM/OTM Option Orders
How to Cancel/Modify Orders using Algomojo
Square off Open Positions
How to Retrieve Orderbook, Position Book, Order History
How to Retrieve Token ID & Security Info