From c063df6467ee281f6eb80d0778104e3aff389c79 Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 21 Aug 2024 16:24:19 +0800 Subject: [PATCH] document privateChannels and privateChannelSymbols --- pkg/bbgo/session.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/bbgo/session.go b/pkg/bbgo/session.go index 328ce8bd9..e8902a1d2 100644 --- a/pkg/bbgo/session.go +++ b/pkg/bbgo/session.go @@ -54,11 +54,11 @@ type ExchangeSession struct { PublicOnly bool `json:"publicOnly,omitempty" yaml:"publicOnly"` // 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"` // 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"` Margin bool `json:"margin,omitempty" yaml:"margin"`