Closed linoxoidunix closed 1 month ago
now use such declaration of this function auto Trading::OrderManager::NewOrder(common::ExchangeId exchange_id, const common::TradingPair trading_pair, common::Price price, Side side, common::Qty qty) noexcept -> void
auto Trading::OrderManager::CancelOrder(common::ExchangeId exchange_id, common::TradingPair trading_pair, Side side)
auto NewOrder(TickerS ticker_id, PriceD price, Side side, QtyD qty, uint8_t price_prec, uint8_t qty_prec) noexcept -> void;
to
auto NewOrder(const TickerS& ticker_id, PriceD price, Side side, QtyD qty) noexcept -> void;
also need rewrite CancelOrder(TickerS ticker_id, Side side)