- bourse.core.StepEnv.get_market_data() dict[str, numpy.ndarray]
Get simulation market data
Get a dictionary containing level 2 market data over the simulation
Bid and ask touch prices
Bid and ask volumes
Volumes and number of orders at 10 levels from the touch
- Returns:¶
dict[str,np.ndarray]– Dictionary containing level 1 data with keys:bid_price- Touch priceask_price- Touch pricebid_vol- Total volumeask_vol- Total volumetrade_vol- Total trade vol over a stepbid_vol_<N>- Volumes at 10 levels from bid touchask_vol_<N>- Volumes at 10 levels from ask touchn_bid_<N>- Number of orders at 10 levels from the bidn_ask_<N>- Number of orders at 10 levels from the ask