diamond-in commited on
Commit
335c140
·
verified ·
1 Parent(s): 846772e

Create js/state.js

Browse files
Files changed (1) hide show
  1. js/state.js +7 -0
js/state.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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
+ };