- bourse.data_processing.trades_to_dataframe(trades: list[tuple]) DataFrame
Convert trade data to a Pandas dataframe
Convert trade data returned from
into a Pandas dataframe.
- Parameters:¶
- Returns:¶
pandas.DataFrame
– Pandas dataframe with columns:time
: Trade time (in nano-seconds)side
: Order-book side of the tradevol
: Trade volumeactive_id
: Order id of the aggressive orderpassive_id
: Order id of the passive order
Notes
Numerical values are stored as unsigned types.