Skip to content

better way of setting bid, ask and timestamp

Choose a tag to compare

@MathisWellmann MathisWellmann released this 01 Jun 11:18

Added update_state(&self, bid: f64, ask: f64, timestamp: u64) method to Exchange for better handling and user defined bid and ask levels. This also removes the dependency to trade_aggregation-rs
Methods removed are:
consume_trade()
consume_candle()