Welcome to Aio-Trader’s documentation!¶
Aio-Trader is an async library for accessing Indian stockbroker API and real-time market feeds.
Python version: >= 3.8
- Usage
- Authorization
- Complete Examples
- Implementation
- API Reference
- Kite Reference
KiteKite.auctions()Kite.authorize()Kite.cancel_order()Kite.historical_data()Kite.holdings()Kite.instruments()Kite.ltp()Kite.margins()Kite.modify_order()Kite.ohlc()Kite.order_history()Kite.order_trades()Kite.orders()Kite.place_order()Kite.positions()Kite.profile()Kite.quote()Kite.trades()
KiteFeed
- Fyers Reference
FyersFyers.authorize()Fyers.cancel_basket_orders()Fyers.cancel_gtt_order()Fyers.cancel_order()Fyers.convert_position()Fyers.depth()Fyers.exit_positions()Fyers.funds()Fyers.get_orders()Fyers.get_profile()Fyers.gtt_orderbook()Fyers.history()Fyers.holdings()Fyers.logout()Fyers.market_status()Fyers.modify_basket_orders()Fyers.modify_gtt_order()Fyers.modify_order()Fyers.optionchain()Fyers.orderbook()Fyers.place_basket_orders()Fyers.place_gtt_order()Fyers.place_multileg_order()Fyers.place_order()Fyers.positions()Fyers.quotes()Fyers.tradebook()
FyersAuthFyersFeedFyersOrder
- Dhan Reference
DhanDhan.authorize()Dhan.cancel_forever()Dhan.cancel_order()Dhan.convert_position()Dhan.convert_to_date_time()Dhan.edis_inquiry()Dhan.expiry_list()Dhan.fetch_security_list()Dhan.generate_tpin()Dhan.get_forever()Dhan.get_fund_limits()Dhan.get_holdings()Dhan.get_order_by_correlationID()Dhan.get_order_by_id()Dhan.get_order_list()Dhan.get_positions()Dhan.get_trade_book()Dhan.get_trade_history()Dhan.historical_daily_data()Dhan.intraday_minute_data()Dhan.kill_switch()Dhan.ledger_report()Dhan.margin_calculator()Dhan.modify_forever()Dhan.modify_order()Dhan.ohlc_data()Dhan.open_browser_for_tpin()Dhan.option_chain()Dhan.place_forever()Dhan.place_order()Dhan.place_slice_order()Dhan.quote_data()Dhan.ticker_data()
DhanFeedDhanOrder
- AsyncRequest Class Reference
- Utils Reference
- Abstract Class Reference
- Kite Reference
Installation¶
1. Clone the repo
git clone https://github.com/BennyThadikaran/Aio-Trader.git
cd aio_trader
2. Create a virtual env using venv and activate it.
py -m venv .
source bin/Activate
# On Windows, run the below to activate venv
.\Scripts\Activate.ps1
3. Install aio_trader
pip install .