Skip to main content

apply_trade_lot_size

Function apply_trade_lot_size 

pub fn apply_trade_lot_size(params: &mut TradingParams, trade_lot_size: i64)
Expand description

The lot for trading, when GetAssetParams gives one: trade_lot_size above 0 replaces the lot size of GetAsset (lot_size and min_qty). 0 or less means “no value” and params stays as it is.