first commit
This commit is contained in:
commit
aa7869eb33
386 files changed
+69375
No files matched your search
@@ -0,0 +1,34 @@
|
||||
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;
|
||||
Reference in new issue
Block a user