mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
pass isolated margin symbol
This commit is contained in:
parent
f505c0e2c6
commit
f8a9610222
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user