Can Kite API do this?

I need to create a system where multiple legs (usually 3) are executed at a certain price. All three legs need to be executed only when they can all be executed above the set limit price, so perhaps the code may need to check the market depth before execution? I’m not sure how the code works, but this is what I want to do. Is this possible with Kite API?

1 Like

It can be done, using full market quote.

1 Like

Thanks!

Can you guide me towards any resources where I can learn how to do this?

1 Like

Sorry, there is no ready-made guide available. Here is the link to Kite API documentation which talks about full market quotes:
https://kite.trade/docs/connect/v3/market-quotes/#retrieving-full-market-quotes

Try to make use of LLM tools like Claude, which can help with coding. We just have to provide the logic flow to be followed.

For example, you mentioned “executed above the set limit price” - but we need to handle situations where there are no buyers/sellers available even though prices are above the limit order. There has to be some logic to cancel the orders and wait

If you are looking for simple strategies, check my open source repository GitHub - buzzsubash/algo_trading_strategies_india: Open-source Python repository for algorithmic trading on NSE and BSE, focusing on option selling in NIFTY 50, BANK NIFTY, FIN NIFTY, MIDCAP NIFTY, and SENSEX. Currently supports Zerodha, with plans for multi-broker integration.