Im using the Python client, fetching the positions and trades for the user for the day. 1. If a position was initiated as MIS, but converted to CNC/NRML manually by the user, and kept open at close, what value will the API return ? MIS, or CNC/NRML?
2. If a trade was marked as CNC, but exited befor the day's end as an intraday trade, does the API return it as CNC or MIS?
1. If a position was initiated as MIS, but converted to CNC/NRML manually by the user, and kept open at close, what value will the API return ? MIS, or CNC/NRML?
Once a position is converted from MIS to CNC/NRML, it will give you CNC/NRML.
2. If a trade was marked as CNC, but exited befor the day's end as an intraday trade, does the API return it as CNC or MIS?
There is no concept of marking a trade as CNC or MIS in KIte Connect. You can only mark a position as CNC or MIS. Once you take a position as NRML/CNC, it will remain as CNC/NRML even if you close the position. For brokerage, it will be considered as intraday if you close position. If you take the position as CNC/NRML then you won't get leverage.
For brokerage, it will be considered as intraday if you close position. If you take the position as CNC/NRML then you won't get leverage.