orderbook
orderbook copied to clipboard
Methods to return data as list
Provide following methods to export data:
- prices() - returns list of prices for each level (would be called on .bids or .asks)
- to_list() - like to dict, but returns a list of pairs (price, size) for each level in the side (would be called on .bids or .asks)
- ob.to_list() - like above, but would be a dict {bids: [(price, size)..., asks: [....]}
Hi, i want to known this feature any progress?
@bmoscon Looking forward to your reply
@lijiachang i havent started this yet
done