Spaces:
Running
Running
Update js/state.js
Browse files- js/state.js +7 -5
js/state.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
export const state = {
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
| 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 |
};
|