OyvindSabo / trading-simulator

1 stars 1 forks source link

bot.html and bot-1.html rely on data in price history which is continuosly removed #6

Open OyvindSabo opened 4 years ago

OyvindSabo commented 4 years ago

To not show all previous orders, the array of orders is sliced so that it always has a max length. Unfortunately, the historic order data is used to determine future orders, so it's kind of buggy.

bot (copy).html and bot-1 (copy).html are versions of bot.html and bot-1.html where the issue is somewhat fixed, but it should be properly fixed and the copies should be removed.