gateio / gateapi-python

243 stars 91 forks source link

Perpetual/Delivery contracts: "quanto_multiplier":"0" #137

Closed LKresta closed 1 year ago

LKresta commented 1 year ago

Hello there,

https://www.gate.io/docs/developers/apiv4/en/#create-a-futures-order says quanto_multiplier determines how much currency 1 size contract represents. There are cases where "quanto_multiplier":"0", e.g. in https://api.gateio.ws/api/v4/delivery/btc/contracts. Seems to be the case for inverse contracts where the quote currency is USD. How to determine how much currency 1 contract is in such case? Always 1 USD? Can this ("quanto_multiplier":"0") happen for other currencies as well?

Thanks, L.

revilwang commented 1 year ago

When it's 0, this field does not take effect at all. In such case, 1 contract is always 1 USD.

LKresta commented 1 year ago

Splendid, thanks for confirmation!