mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
maxapi: add more market info assertion
This commit is contained in:
parent
cbbe6e286d
commit
fed5d5f0b8
|
@ -32,6 +32,11 @@ func TestPublicService(t *testing.T) {
|
|||
if assert.NotEmpty(t, markets) {
|
||||
assert.NotZero(t, markets[0].MinBaseAmount)
|
||||
assert.NotZero(t, markets[0].MinQuoteAmount)
|
||||
assert.NotEmpty(t, markets[0].Name)
|
||||
assert.NotEmpty(t, markets[0].ID)
|
||||
assert.NotEmpty(t, markets[0].BaseUnit)
|
||||
assert.NotEmpty(t, markets[0].QuoteUnit)
|
||||
t.Logf("%+v", markets[0])
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user