first commit

This commit is contained in:
Francois Klieber committed 2021-06-06 20:25:14 +02:00
commit aa7869eb33
386 files changed
+69375

No files matched your search

+34
View File
@@ -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;