pull down to refresh
10 sats \ 0 replies \ @dtonon 24 Oct 2022 \ on: Python script to automate the daily purchase of Bitcoin bitcoin
Great! I wrote a similar script in Ruby for Bitfinex / Bitstamp DCA.
Beyond the standard DCA I implemented a simple algorithm to optimize the buy: it increase/lower the fiat value spent according to the average value in the previous days. So for example instead of always buy $5/day it will buy $6 as soon BTC lower and $4 if it increase. It could be a nice addon to your script, too :)