assign session.Withdrawal

This commit is contained in:
c9s 2021-05-12 11:18:50 +08:00
parent 29b7326f19
commit 8d63647104

View File

@ -258,6 +258,7 @@ func NewExchangeSessionFromConfig(name string, sessionConfig *ExchangeSession) (
session.Margin = sessionConfig.Margin
session.IsolatedMargin = sessionConfig.IsolatedMargin
session.IsolatedMarginSymbol = sessionConfig.IsolatedMarginSymbol
session.Withdrawal = sessionConfig.Withdrawal
return session, nil
}