Module areixio.datafeeds.crypto_datafeed
Classes
class CryptoDataFeed (code: str, exchange: Union[str, Exchange], asset_type: Union[str, AssetType, ForwardRef(None)] = AssetType.SPOT, start_date: Union[str, datetime.datetime, ForwardRef(None)] = None, end_date: Union[str, datetime.datetime, ForwardRef(None)] = None, period: Optional[str] = '', interval: Optional[str] = '1d', min_volume: Union[int, float, ForwardRef(None)] = 1, min_notional: Union[int, float, ForwardRef(None)] = 1, order_ascending: Optional[bool] = True, store_path: Optional[str] = None, is_live: Optional[bool] = False, version: int = None, **kwargs)
-
DataFeed base class
[summary]
Parameters
symbols
:list
- symbols of instruments e.g. 3690.HK, BTC…
start_date
:[str]
, optional- date since when to scrape data (in the format of dd-mm-yyyy), by default None
end_date
:[type]
, optional- date to which scrape the data (in the format of dd-mm-yyyy), by default None
period
:[type]
, optional- [description], by default None
order_ascending
:bool
, optional- data ordered by 'Date' in ascending order (i.e. oldest first)., by default True
store_path
:str
, optional- [description], by default '.'
Raises
ValueError
- [description]
ValueError
- [description]
Ancestors
- areixio.datafeed.DataFeed
- abc.ABC