data = alpaca.get_bars(
"EVTV",
start="2022-01-01",
end="2022-07-05",
timeframe=TimeFrame(1, TimeFrameUnit.Day),
adjustment="all",
).df
print(data)
returns an empty dataframe.
data = alpaca.get_bars(
"EVTV",
start="2022-01-01",
end="2022-07-05",
timeframe=TimeFrame(1, TimeFrameUnit.Day),
adjustment="all",
).df
print(data)
returns an empty dataframe.
You must specify both date and time in a proper format for start
and end
parameters. See the example here.
This code works for other symbols. Why doesn’t it work for EVTV
?
AFAIU this company enlisted and first traded on exchange only 07.07.2022 - which historical trading data do you expect to receive for it? The old OTC symbol for this company is EVTVD but unfortunately, it’s not available on Alpaca.
Sorry, my bad. Didn’t look at the date.
Спасибо за помощь!