Skip to main content

map_trading_params

Function map_trading_params 

pub fn map_trading_params(symbol: &str, a: &GetAssetResponse) -> TradingParams
Expand description

Price step = min_step / 10^decimals. Finam does not give the money value of a step, so price_step_value equals price_step (right for stocks, not for futures). min_qty is one lot because orders are in pieces and sized in whole lots.