Closed jonathanjmak closed 4 years ago
@jonathanjmak I agree, that would be helpful having all message formats explicitly listed. Could you specify what exactly is outdated? https://github.com/InjectiveLabs/docs/blob/78a4a3bd88e5b8afd2ef8994bda633fb025c758e/source/includes/_derivatives_spec.md#order-message-format looks good to me.
subaccountID
is provided via takerFee
== subAccountNonce
. Can this be closed? @albertchon
Yup, looks good to me. We may want to add a note about how the positionID
can be determined by the marketID
and subaccountID
in the docs as well, to remove ambiguity.
Thanks for bringing light to this issue though @jonathanjmak!
Bug Description The current order message format is outdated, as it doesn't contain the subaccountID of the trader in the order message format.
It would also be useful to explicitly specify the full order message format for each order type (stop loss, take profit, netting) to reduce ambiguity as well.
@gorgos @bshevchenko