diamond-in commited on
Commit
efaefd9
·
verified ·
1 Parent(s): d80cccf

Update js/state.js

Browse files
Files changed (1) hide show
  1. js/state.js +7 -5
js/state.js CHANGED
@@ -1,7 +1,9 @@
1
  export const state = {
2
- candles: [], // The full 1000 candle history
3
- socket: null, // Active WebSocket
4
- isReplay: false, // Are we replaing?
5
- replayIndex: 0, // Current replay position
6
- replayTimer: null // Timer for simulation
 
 
7
  };
 
1
  export const state = {
2
+ symbol: 'BTC', // e.g. 'BTC'
3
+ exchange: 'BINANCE', // 'BINANCE' or 'COINBASE'
4
+ candles: [], // History Data
5
+ socket: null, // Active Connection
6
+ isReplay: false, // Replay Mode
7
+ replayIndex: 0,
8
+ replayTimer: null
9
  };