mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-17 00:31:34 +03:00
15 lines
584 B
TypeScript
15 lines
584 B
TypeScript
const subOrderStatuses = [
|
|
'NEW', // created, wasn't added to IOB or wasn't accepted by the broker
|
|
'ACCEPTED', // added to IOB or accepted by the broker
|
|
'PARTIALLY_FILLED', // partially filled
|
|
'FILLED', // fully filled
|
|
'TX_PENDING', // sub order was filled and at least one of its trades is pending
|
|
'CANCELED', // canceled by user or by expiration
|
|
'REJECTED', // rejected by broker
|
|
'FAILED', // at least one trade failed
|
|
'SETTLED', // all trades successfully settled
|
|
'NOT_FOUND', // broker not processed sub order yet
|
|
] as const;
|
|
|
|
export default subOrderStatuses;
|