Synthetixio / simulation

Agent-based model of the proposed stablecoin.
24 stars 18 forks source link

Data optimization #82

Closed 0xdomrom closed 6 years ago

0xdomrom commented 6 years ago

Changed how data is presented to the frontend, so it is stored client side as well as on the server, to allow for more control in the future (stepping backwards for example). Some more work could be done in terms of polishing, but it seems to be working better than the current online version.

Parameters no longer change for all users when one user sets.

The model runs in a thread and processes a few steps ahead of the current.

Candlestick starts on right side, pads up to 20 steps before stretching out to 65.