Introduction
Automation Platform
Botmain DAO
Building Trading Strategies
API References Dev Live Stream
@botmain/execution / Enum

OrderStatus

Strategies can receive order status events via the onOrderStatus method.

Members

NameValueDescription
PreSubmitted0

Indicates that the order has been received by the system and that this order has yet to be checked. Initial status of all orders

Submitted1

Indicates that the order has been accepted at the order destination and is working.

Rejected2

Indicates that the order has been rejected for some reason.

Cancelled3

Indicates that the balance of the order has been confirmed canceled by the system.

PartiallyFilled4

Indicates that the order has been partially filled and is still working.

Filled5

Indicates that the order has been completely filled.