I am developing a read-only market-data and analysis application using Kite Connect. Before implementing any quantity validation, I need clarification on how order quantities and exchange freeze limits are represented for BFO SENSEX index options.
I have reviewed the Kite Connect API documentation and the following Zerodha staff responses:
I understand from these discussions that Kite Connect order quantities are expressed in units rather than number of lots, and that this convention applies across segments, including BFO.
However, I need confirmation of the following specifically for BFO SENSEX index options.
1. Kite Connect order quantity
Is the quantity parameter in Kite Connect Place Order API expressed in underlying quantity units rather than number of lots for BFO SENSEX options?
Does the same quantity convention apply to Modify Order, Order History, Order Book and Position APIs?
Is one lot represented by the instrument's actual lot size in the quantity parameter?
2. Instrument master lot_size
In the Kite Connect instrument master, does the lot_size field represent the number of underlying quantity units required for one lot?
Is lot_size expressed in exactly the same unit as the Place Order API's quantity parameter?
Can this relationship be relied upon for BFO SENSEX options?
3. SENSEX lot-size changes
Does the above quantity and lot_size relationship remain valid for both SENSEX lot-size generations?
Lot size 20 (existing contracts).
Lot size 25 (contracts applicable under the revised lot-size schedule).
Should an application always use the lot_size value from the actual selected instrument-master record rather than maintaining a hardcoded SENSEX lot size?
1. Order Quantity: Kite Connect APIs accept order quantities in underlying quantity units and not in number of lots. This convention applies to order placement, modification, order book, order history, and positions.
2. Instrument Master: The `lot_size` field represents the quantity of underlying units in one lot. You should use the `lot_size` value from the respective instrument-master record for the selected contract rather than hardcoding the lot size.
3. SENSEX Lot-size Changes: The applicable lot size may vary depending on the contract. Hence, use the actual lot size specified in the instrument master for both existing and revised contracts.
4. Freeze Quantity: The applicable exchange freeze quantity must be referred to from the respective exchange's contract master. If there are any changes to the freeze quantity, you must make the necessary adjustments at your end for existing open positions. The updated freeze quantity will be applicable to all fresh orders.
5. Quantity Validation: Ensure that the order quantity is in multiples of the applicable contract lot size and that it complies with the exchange-prescribed freeze quantity limit.
Could someone from the Zerodha Kite Connect team please verify whether this information is officially applicable to BFO SENSEX options?
In particular, I need confirmation of:
1. Whether the BFO SENSEX instrument-master `lot_size` field uses the same underlying-unit convention as the Kite order `quantity` parameter. 2. Whether this applies to both SENSEX lot sizes of 20 and 25. 3. Whether BSE contract-master Column 41 (Single Order Max Quantity) is expressed in the same units as Kite order `quantity`, or whether a conversion is required.
I would appreciate confirmation from the Kite Connect team or a reference to official documentation.
2. Instrument Master: The `lot_size` field represents the quantity of underlying units in one lot. You should use the `lot_size` value from the respective instrument-master record for the selected contract rather than hardcoding the lot size.
3. SENSEX Lot-size Changes: The applicable lot size may vary depending on the contract. Hence, use the actual lot size specified in the instrument master for both existing and revised contracts.
4. Freeze Quantity: The applicable exchange freeze quantity must be referred to from the respective exchange's contract master. If there are any changes to the freeze quantity, you must make the necessary adjustments at your end for existing open positions. The updated freeze quantity will be applicable to all fresh orders.
5. Quantity Validation: Ensure that the order quantity is in multiples of the applicable contract lot size and that it complies with the exchange-prescribed freeze quantity limit.
Could someone from the Zerodha Kite Connect team please verify whether this information is officially applicable to BFO SENSEX options?
In particular, I need confirmation of:
1. Whether the BFO SENSEX instrument-master `lot_size` field uses the same underlying-unit convention as the Kite order `quantity` parameter.
2. Whether this applies to both SENSEX lot sizes of 20 and 25.
3. Whether BSE contract-master Column 41 (Single Order Max Quantity) is expressed in the same units as Kite order `quantity`, or whether a conversion is required.
I would appreciate confirmation from the Kite Connect team or a reference to official documentation.
Thank you.