mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
document privateChannels and privateChannelSymbols
This commit is contained in:
parent
80fc10a1fd
commit
c063df6467
|
@ -54,11 +54,11 @@ type ExchangeSession struct {
|
||||||
PublicOnly bool `json:"publicOnly,omitempty" yaml:"publicOnly"`
|
PublicOnly bool `json:"publicOnly,omitempty" yaml:"publicOnly"`
|
||||||
|
|
||||||
// PrivateChannels is used for filtering the private user data channel, .e.g, orders, trades, balances.. etc
|
// PrivateChannels is used for filtering the private user data channel, .e.g, orders, trades, balances.. etc
|
||||||
// This option is exchange specific
|
// This option is exchange-specific, currently only MAX exchange reads this option
|
||||||
PrivateChannels []string `json:"privateChannels,omitempty" yaml:"privateChannels,omitempty"`
|
PrivateChannels []string `json:"privateChannels,omitempty" yaml:"privateChannels,omitempty"`
|
||||||
|
|
||||||
// PrivateChannelSymbols is used for filtering the private user data channel, .e.g, order symbol subscription.
|
// PrivateChannelSymbols is used for filtering the private user data channel, .e.g, order symbol subscription.
|
||||||
// This option is exchange specific
|
// This option is exchange-specific, currently only Bitget exchange reads this option
|
||||||
PrivateChannelSymbols []string `json:"privateChannelSymbols,omitempty" yaml:"privateChannelSymbols,omitempty"`
|
PrivateChannelSymbols []string `json:"privateChannelSymbols,omitempty" yaml:"privateChannelSymbols,omitempty"`
|
||||||
|
|
||||||
Margin bool `json:"margin,omitempty" yaml:"margin"`
|
Margin bool `json:"margin,omitempty" yaml:"margin"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user