adamhyman / dinar-trader

0 stars 3 forks source link

Stop program if there is a change of 5% in any asset #22

Open bustoutfunk opened 7 years ago

bustoutfunk commented 7 years ago

@adamhyman, are you intending to actually stop the program if you see a 5% change in asset? How does this scale if we plan on running this 24/7?

adamhyman commented 7 years ago

First, we need the ability to easily turn on and off certain exchanges.

Then we need to have different types of checks that determine if we stop using an exchange, and for how long we stop using it.

So if we see that a trade took a long time to execute and was not profitable... maybe we just stop using that exchange for a limited amount of time.

Or if we find that the last x-amount of trades on a particular exchange were not profitable, maybe stop using it for a limited amount of time.

We can't run it, so that we constantly have losses. In the spreadsheet I sent you, there was a loss of about $2.50 when the pair of trades was exected, when it took Kraken a long time to actually execute.

There's plenty of time when no trading is going on, to check if balances in the different exchanges are what we expect them to be.

What are your thoughts?