pass isolated margin symbol

This commit is contained in:
c9s 2021-01-15 15:02:59 +08:00
parent f505c0e2c6
commit f8a9610222

View File

@ -147,7 +147,7 @@ func (environ *Environment) AddExchangesFromSessionConfig(sessions map[string]Se
return fmt.Errorf("exchange %s does not support margin", exchangeName)
}
marginExchange.UseIsolatedMargin(sessionConfig.Margin)
marginExchange.UseIsolatedMargin(sessionConfig.IsolatedMarginSymbol)
}
environ.AddExchange(sessionName, exchange)