get the total deal volume of stock with `stock_id` between the time interval [start_time, end_time)
(
self,
stock_id: str,
start_time: pd.Timestamp,
end_time: pd.Timestamp,
method: Optional[str] = "sum",
)
| 482 | return self.quote.get_data(stock_id, start_time, end_time, field="$close", method=method) |
| 483 | |
| 484 | def get_volume( |
| 485 | self, |
| 486 | stock_id: str, |
| 487 | start_time: pd.Timestamp, |
| 488 | end_time: pd.Timestamp, |
| 489 | method: Optional[str] = "sum", |
| 490 | ) -> Union[None, int, float, bool, IndexData]: |
| 491 | """get the total deal volume of stock with `stock_id` between the time interval [start_time, end_time)""" |
| 492 | return self.quote.get_data(stock_id, start_time, end_time, field="$volume", method=method) |
| 493 | |
| 494 | def get_deal_price( |
| 495 | self, |