Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

batch api URL #52

Open
inaG17 opened this issue Mar 17, 2023 · 3 comments
Open

batch api URL #52

inaG17 opened this issue Mar 17, 2023 · 3 comments

Comments

@inaG17
Copy link

inaG17 commented Mar 17, 2023

batch api url changes

@inaG17
Copy link
Author

inaG17 commented Mar 18, 2023

split stocks to 20

symbol_groups = list(chunks(stocks['Ticker'], 20))
symbol_strings = []
for i in range(0, len(symbol_groups)):
symbol_strings.append(','.join(symbol_groups[i])

final_dataframe = pd.DataFrame(columns = my_columns)

for symbol_string in symbol_strings[:1]:

batch_api_call_url = f'https://cloud.iexapis.com/stable/stock/market/batch/types=quote&symbols{symbol_string}&token={IEX_CLOUD_API_TOKEN}'
print(batch_api_call_url)

@rohitx01
Copy link

rohitx01 commented Apr 4, 2023

For all the Batch API call errors
Follow this thread ------>
#53 (comment)
I have answered all the errors/changes occuring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants