mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
types: modify IsolatedMarginAsset from array to map
This commit is contained in:
parent
48d968059c
commit
cd5d8c7a3f
|
@ -95,7 +95,7 @@ type IsolatedMarginAccount struct {
|
|||
TotalAssetOfBTC fixedpoint.Value `json:"totalAssetOfBtc"`
|
||||
TotalLiabilityOfBTC fixedpoint.Value `json:"totalLiabilityOfBtc"`
|
||||
TotalNetAssetOfBTC fixedpoint.Value `json:"totalNetAssetOfBtc"`
|
||||
Assets []IsolatedMarginAsset `json:"assets"`
|
||||
Assets IsolatedMarginAssetMap `json:"assets"`
|
||||
}
|
||||
|
||||
// IsolatedMarginAsset defines isolated margin asset information, like margin level, liquidation price... etc
|
||||
|
|
Loading…
Reference in New Issue
Block a user