Vortex APIs to place orders in AsthaTrade Flow application
Project description
Vortex API Python Client
Installation
pip install vortex-api
Api Usage
from vortex_api import AsthaTradeVortexAPI
client = AsthaTradeVortexAPI("your api secret","your application id")
#For client login using TOTP
client.login("client code","client password","totp")
# Place order
client.place_order(client.EXCHANGE_NSE_EQUITY,22,client.TRANSACTION_TYPE_BUY,client.PRODUCT_DELIVERY,client.VARIETY_REGULAR_LIMIT_ORDER,1,1700,0,0,"DAY",1,True)
#Get order book
client.orders(limit=20,offset=1)
Refer to the python document for all methods and features
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vortex_api-1.0.3.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for vortex_api-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e77d9ebad18eba87a73ad18970035ce5d9758f71d6e7f3a8a19f6710f0ab30ba |
|
MD5 | 85b31a7ce092b13cc7fb8de0b8291a5e |
|
BLAKE2b-256 | 3bf6c36fc455e8553ad532e1bd0bd68d9af67741cdbfeec7e38f549ec92643dc |