You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error when using NewsRequest with multiple symbols.
from alpaca.data.historical.news import NewsClient
from alpaca.data.requests import NewsRequest
NewsClient().getnews(request_params=NewsRequest(symbols=['AAPL','GOOGL'])
results in error.
Expected Behavior
No response
SDK Version I encountered this issue in
alpaca-py v0.31.0
Steps To Reproduce
ValidationError: 1 validation error for NewsRequest
symbols
Input should be a valid string [type=string_type, input_value=['AAPL', 'GOOGL'], input_type=list]
For further information visit https://errors.pydantic.dev/2.6/v/string_type
Filled out the Steps to Reproduce section?
I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Error when using NewsRequest with multiple symbols.
results in error.
Expected Behavior
No response
SDK Version I encountered this issue in
alpaca-py v0.31.0
Steps To Reproduce
Filled out the Steps to Reproduce section?
Anything else?
No response
The text was updated successfully, but these errors were encountered: