AccountStatsReader¶
- class zvt.trader.trader_info_api.AccountStatsReader(start_timestamp: str | Timestamp = None, end_timestamp: str | Timestamp = None, columns: List = None, filters: List = None, order: object = None, level: IntervalLevel = IntervalLevel.LEVEL_1DAY, trader_names: List[str] = None)¶
Bases:
DataReader- __init__(start_timestamp: str | Timestamp = None, end_timestamp: str | Timestamp = None, columns: List = None, filters: List = None, order: object = None, level: IntervalLevel = IntervalLevel.LEVEL_1DAY, trader_names: List[str] = None) None¶
- move_on(to_timestamp: str | Timestamp = None, timeout: int = 20) object¶
using continual fetching data in realtime 1)get the data happened before to_timestamp,if not set,get all the data which means to now 2)if computing_window set,the data_df would be cut for saving memory
- Parameters:
to_timestamp
timeout (int)
- Returns:
- Return type: