This repository has been archived on 2025-10-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gekko/exchange/orders/states.js
2021-06-06 20:25:14 +02:00

34 lines
614 B
JavaScript

const states = {
// Not created
INITIALIZING: 'INITIALIZING',
// Created and send to the exchange, but no acknowledgement received yet
SUBMITTED: 'SUBMITTED',
// In the process of moving the order
MOVING: 'MOVING',
// Order is open on the exchange
OPEN: 'OPEN',
CHECKING: 'CHECKING',
CHECKED: 'CHECKED',
// the orders below indicate a fully completed order
// Order is completely filled
FILLED: 'FILLED',
// Order was succesfully cancelled
CANCELLED: 'CANCELLED',
// Order was rejected by the exchange
REJECTED: 'REJECTED',
ERROR: 'ERROR'
}
module.exports = states;