There's text field in /futures/{settle}/account_book response (https://www.gate.io/docs/developers/apiv4/en/#query-account-book) which is documented as comment. Per observation the semantics of the field value depends on type of the record, e.g. for pnl records the value is contract:orderId, and for funding payments the value is just contract. Can this behavior be relied upon? That is, is it guaranteed that when the record type is fund the value in text field is contract name?
Hello there!
There's
text
field in/futures/{settle}/account_book
response (https://www.gate.io/docs/developers/apiv4/en/#query-account-book) which is documented as comment. Per observation the semantics of the field value depends ontype
of the record, e.g. forpnl
records the value iscontract:orderId
, and for funding payments the value is justcontract
. Can this behavior be relied upon? That is, is it guaranteed that when the record type isfund
the value intext
field iscontract name
?Thanks, L.