-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.js
More file actions
27 lines (21 loc) · 783 Bytes
/
config.example.js
File metadata and controls
27 lines (21 loc) · 783 Bytes
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
// Sample configuration for BitMEX-Delta-Server.
// Copy me to config.js to use custom settings.
module.exports = {
port: 5000,
// If false, will connect to live exchange.
// Testnet is https://testnet.bitmex.com
testnet: true,
// Symbols to watch. Add any/all symbols you are going to poll here.
symbols: ['XBTUSD'],
// Available streams:
// Public:
// ["instrument","orderBookL2","quote","trade"]
// Private:
// ["execution","margin","order","position"]
streams: ["instrument","orderBookL2","quote","trade"],
// If you want to use any of the above "private" streams, you must authenticate with an API Key.
apiKeyID: '',
apiKeySecret: '',
// This prevents memory usage from getting out of control. Tweak to your needs.
maxTableLen: 10000,
};