Skip to main content

close

Returns the price of a cryptocurrency

Source Code: [link]

openbb.crypto.dd.close(symbol: str, start_date: str = "2010-01-01", end_date: Optional[str] = None, print_errors: bool = True)

Parameters

NameTypeDescriptionDefaultOptional
symbolstrCrypto to check close price (BTC or ETH)NoneFalse
start_datestrInitial date, format YYYY-MM-DD2010-01-01True
end_datestrFinal date, format YYYY-MM-DDNoneTrue
print_errorsboolFlag to print errors. Default: TrueTrueTrue

Returns

TypeDescription
pd.DataFrameprice over time