How to get quote of more than one symbol?

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 below lines and it didn't work out:

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

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

Vikram Sri please guide.

1
10 replies