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.2.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for vortex_api-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d93692162da29b198750dc43c9836a3efb6dff5255a486b2fc393d5b80383763 |
|
MD5 | 262a00c8c6b60e0b659b8d0a8aa1c5ff |
|
BLAKE2b-256 | 651c5455c1f29b573fae74f9249ccb675730048baee0cba70d2a59bce9eecd91 |