Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions v5_market_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ type V5GetInstrumentsInfoSpotItem struct {
QuoteCoin Coin `json:"quoteCoin"`
Innovation Innovation `json:"innovation"`
Status InstrumentStatus `json:"status"`
MarginTrading string `json:"marginTrading"`
LotSizeFilter SpotLotSizeFilterV5 `json:"lotSizeFilter"`
PriceFilter SpotPriceFilterV5 `json:"priceFilter"`
}
Expand Down
11 changes: 6 additions & 5 deletions v5_market_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,12 @@ func TestV5Market_GetInstrumentsInfo(t *testing.T) {
"category": "spot",
"list": []map[string]interface{}{
{
"symbol": "BTCUSDT",
"baseCoin": "BTC",
"quoteCoin": "USDT",
"innovation": "0",
"status": "1",
"symbol": "BTCUSDT",
"baseCoin": "BTC",
"quoteCoin": "USDT",
"innovation": "0",
"status": "1",
"marginTrading": "utaOnly",
"lotSizeFilter": map[string]interface{}{
"basePrecision": "0.000001",
"quotePrecision": "0.00000001",
Expand Down