mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
start attribute change to datetime from str (#1779)
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
This commit is contained in:
@@ -545,7 +545,7 @@ class StockBaseController(BaseController, metaclass=ABCMeta):
|
||||
self.suffix = ""
|
||||
|
||||
if ns_parser.source == "iex":
|
||||
self.start = self.stock.index[0].strftime("%Y-%m-%d")
|
||||
self.start = self.stock.index[0].to_pydatetime()
|
||||
else:
|
||||
self.start = ns_parser.start
|
||||
self.interval = f"{ns_parser.interval}min"
|
||||
|
||||
Reference in New Issue
Block a user