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 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?
Thanks,
L.
Hello there!
There's
textfield in/futures/{settle}/account_bookresponse (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 ontypeof the record, e.g. forpnlrecords 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 isfundthe value intextfield iscontract name?Thanks,
L.