Warren Buffet says when the price is low - you buy. Many people on the NYSE will sell everything, but I agree with Buffet's axiom.
Can Tradewave be programmed to buy more BTC when the price drops quickly?
PAIR = pairs.btc_usd
if data[PAIR].price < 0.75*float(data(interval=43200)[PAIR].ma(55)):
buy(PAIR, amount = 0.01)
How would I place that in the coding? I received an error as BTC was not defined.
I changed the code in the post above to be more clear.
Essentially, we're saying if price is 25% under the 12h period 55 simple moving average... you buy bitcoin.
bump for incoming rapid price decrease
12h sma(55) is about 410 currently at bitifinex.
0.75 should have us sub $307 when this finds support.