mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
add margin history entry in config
This commit is contained in:
parent
bdc76e8db6
commit
f4e7f4f6f6
|
@ -215,15 +215,20 @@ type SyncConfig struct {
|
|||
// Symbols is the list of symbol to sync, if ignored, symbols wlll be discovered by your existing crypto balances
|
||||
Symbols []string `json:"symbols,omitempty" yaml:"symbols,omitempty"`
|
||||
|
||||
// DepositHistory for syncing deposit history
|
||||
// DepositHistory is for syncing deposit history
|
||||
DepositHistory bool `json:"depositHistory" yaml:"depositHistory"`
|
||||
|
||||
// WithdrawHistory for syncing withdraw history
|
||||
// WithdrawHistory is for syncing withdraw history
|
||||
WithdrawHistory bool `json:"withdrawHistory" yaml:"withdrawHistory"`
|
||||
|
||||
// RewardHistory for syncing reward history
|
||||
// RewardHistory is for syncing reward history
|
||||
RewardHistory bool `json:"rewardHistory" yaml:"rewardHistory"`
|
||||
|
||||
// MarginHistory is for syncing margin related history: loans, repays, interests and liquidations
|
||||
MarginHistory bool `json:"marginHistory" yaml:"marginHistory"`
|
||||
|
||||
MarginAssets []string `json:"marginAssets" yaml:"marginAssets"`
|
||||
|
||||
// Since is the date where you want to start syncing data
|
||||
Since *types.LooseFormatTime `json:"since,omitempty"`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user