-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathvariables.js
30 lines (29 loc) · 904 Bytes
/
variables.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
exports.ClientID =0;
exports.orderbooktemp = [];
exports.LedgerIDs = {FOX: 0};
exports.ledgertemp = [];
exports.orderstemp = [];
exports.Oldorder = {bids: 0,asks: 0};
exports.TradeLimits = {
BUY: {
active: false, //There is an active order
min: 0.0, //Minimum purchase value
max: 0.0, //Maximum purchase value
amount: 0.0, //Total bitcoin value for purchase
OrderID: 0,
ClOrdID: 0
},
SELL: {
active: false, //There is an active order
min: 0.0, //Minimum value for sale
max: 0.0, //Maximum value for sale
amount: 0.0, //Total bitcoin value for sale
OrderID: 0,
ClOrdID: 0
},
PROFIT: {
active: false,
amount: 0.0
}
};
exports.infoBalanceBRL = {BRL: 0,BTC: 0,BRL_locked: 0,BTC_locked: 0};