Skip to content

OrderStatus is blank in monaco protocol client docs #56

Answered by druspencer
lbianlbian asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there thanks for your question,

OrderStatus is an enum with the values:

export enum OrderStatus {
  Open = 0x00,
  Matched = 0x01,
  SettledWin = 0x02,
  SettledLose = 0x03,
  Cancelled = 0x04,
}

You can see this in the client code here: https://github.com/MonacoProtocol/protocol/blob/main/npm-client/types/order.ts#L5

The return value through the client is represented like an object orderStatus: { matched: {} }, though we hope to look into improving this.

Will look into the missing documentation, cheers!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lbianlbian
Comment options

Answer selected by druspencer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants