update symbols doc

This commit is contained in:
c9s 2022-06-14 13:32:13 +08:00
parent ae41a45393
commit e7fc12aca7
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -253,7 +253,8 @@ type SyncConfig struct {
// Sessions to sync, if ignored, all defined sessions will sync // Sessions to sync, if ignored, all defined sessions will sync
Sessions []string `json:"sessions,omitempty" yaml:"sessions,omitempty"` Sessions []string `json:"sessions,omitempty" yaml:"sessions,omitempty"`
// Symbols is the list of symbol to sync, if ignored, symbols wlll be discovered by your existing crypto balances // Symbols is the list of session:symbol pair to sync, if ignored, symbols wlll be discovered by your existing crypto balances
// Valid formats are: {session}:{symbol}, {symbol} or in YAML object form {symbol: "BTCUSDT", session:"max" }
Symbols []SyncSymbol `json:"symbols,omitempty" yaml:"symbols,omitempty"` Symbols []SyncSymbol `json:"symbols,omitempty" yaml:"symbols,omitempty"`
// DepositHistory is for syncing deposit history // DepositHistory is for syncing deposit history