there can be many methods to do this.
here is how I do it..
read the WebSocket data at 9:19:59 am then from the data pull out ohlc...
open = data['ohlc']['open']
low = data['ohlc']['low']
close = ltp at…
when you place an order it returns order id.
order_id = kite.place_order(tradingsymbol="INFY",exchange=kite.EXCHANGE_NSE,transaction_type=kite.TRANSACTION_TYPE_BUY,quantity=1,order_type=kite.ORDER_TYPE_MARKET,product=kite.PRODU…
if you are a beginner in algo trading then this series can help you...
also, I have shown how to make full orb code in some last lectures.
The problem is solved,
My algo was pushing orders for invalid quantity ... as the code was in try-except block I was not able to see the reason. Thus exceeding order limit.
A big thanks.
You may now close this thread.
Punch orders on behalf of multiple people(having Zerodha accounts). Is this possible through your API?
Yes, that can be done through the api.
2. Is there any other authentication mechanism for getting backend access to a client's accou…
for modification go through this link: https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.modify_order
for cancellation go through this link: https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.exit_o…
You need to use kite.historical_data instead of kite.historical.
to fetch historical data go through this link : https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.historical_data
yes, historical api can give data a live trading session.
But it is advised to use historical data for only backtesting purpose.
for making, candles in live session go through his thread
this can be used
ltp = kite.quote(["NSE:INFY"])["NSE:INFY"]['last_price']