What is the best way to acquire a price quote for several symbols?

In the documentation, data is defined as below and then we get the quote then.

data = {"symbols":"NSE:SBIN-EQ"}

fyers.quotes(data)

We can get upto 50 quotes in a single shot. How to edit the data dictionary?

I have tried the word hurdle below lines and it didn't work out:

data = {"symbols":["NSE:SBIN-EQ", "NSE:IOC-EQ]}

data = {"symbols":("NSE:SBIN-EQ", "NSE:IOC-EQ)}

1 reply