Is there an API call to get ticker lot size?

I was creating an algo trading system with Fyers API (python based) and could not get any API request that can give me a stock/ticker details such as lot size. I don’t want to hardcode this every time for every stock/index options. Please let me know if there is an API like get_instruments that can give me lot size for a ticker.

Hey @115302495764442058667 ,

You will get a CSV file for the updated lot sizes , the key is mentioned as well to fetch lot size , you will have to write the code to fetch the lot sizes , please find docs for the same
https://myapi.fyers.in/docsv3#tag/Broker-Config/paths/~1Broker%20Config/patch

thank you @WWhYB2qrsx . I went through this process already. I am using this approach for now but the problem is every time I want lot size then I need to process csv and there are 2 csv’s for NSE FNO and BSE FNO separate. So this is increasing the load on CPU as well as time taken to execute strategy by 4 secs. This 4 secs delay is not observed in case of hardcoded lot size. So I was curious if there was any simple method or a API call to get it.

@communications_team, please look into it. This 4 secs of delay will decrease the slippage and trades can get more profitable via algo. Thank you

Hi @115302495764442058667,

Thank you for your feedback. I understand your concern and assure you that we will address this in the upcoming enhancements.

In the meantime, since the lot size doesn’t change frequently, you can merge both files locally and read from the combined file. You can then build the logic for customized quantities based on the lot size against each symbol.