JBN on Nostr: https://www.johnbnevin.com/causes/govbot-algorithmic-bitcoin-dca-trading-bot/ ...
https://www.johnbnevin.com/causes/govbot-algorithmic-bitcoin-dca-trading-bot/
jbnevin@coinos.io
This is a dollar cost averaging bot that I wrote a long time ago. It keeps track of Bitcoin price, and when it goes up, it sells a small amount, and when it goes up more, it sells a small amount more, and on and on. When BTC price goes down, it buys, in the same way. It can be modified for how much it buys and sells (quantity), and for how far it has to go up or down before it does so again. In this way, every buy/sell pair over time results in a small profit. You can take profits in btc or in usd, either way. Or when the bot sells out of bitcoin, you can go to your cold storage and buy gold and silver with that, and when the bot buys so much you’re out of USD, you can go to your bank account and buy bitcoin with that. It is a good conservative strategy.
In theory it could stabilize the price of bitcoin, if enough people use it.
It could be modified for any shitcoin, or even stocks, but it needs a stable asset with sideways volatility to perform well with minimal overall risk. Bitcoin is the ultimate stable asset, but I would say the sideways volatility is no longer enough of a guarantee for my risk profile. If you think the price will be sort of sideways for a long time starting now, and you have lots of both usd and btc and don’t mind letting the market choose the ratio of your portfolio (or the portion of it that is on an exchange), this bot is for you. For me, I want to be as much in bitcoin as I can without keeping up with bots and looking at prices, and i don’t know any exchanges that it’s legal for me to trade on in the u.s., so I’m not using it.
At this point I don’t know if it’s wise to use or not – because I think the price of bitcoin could just go up forever in terms of usd. This bot will get rid of all the bitcoin it has access to on the exchange if a) bitcoin price goes up forever b) usd tanks (lol austrians, see you in the apocalypse). It will just keep buying bitcoin if bitcoin goes all the way to zero (lol boomer if that still scares you as a possibility go buy stocks). I should have made it public earlier, so at least someone could profit from it. The bot was indeed profitable for me every time I used it, but I never had enough usd or btc to avoid running out of it, or to avoid having to stop the bot and sell the coin for usd so I could use it to pay rent, and in general to be able to fade the volatility and retain any significant profit. But it is a tested proof of concept for anyone who does, and believes in the market conditions above.
TLDR. The bot will perform very well in certain conditions, I don’t think those conditions are certain.
I have manually edited the script to share it here, and I can’t test it fully because I don’t have an exchange account anymore, so there might be a bug or two, but only typos, it’s solid otherwise. You’ll have to adapt it to your exchange’s api specifics. IOW it’s not turnkey at all, you’ll need to know a bit of python or be willing to learn.
BTW IRS, no need to look into it, even counting all my bitcoin trades, you owe me a return. But I probably won’t file for it since the income tax is an outdated concept anyway, and to be fair I do use your inefficient unkempt roads 😀
And BTW thieves and scammers, the above is not a lie, I only have a few thousand dollars to my name, and a building on a property that you could only carry away brick by brick. If I ever get any money together my first purchases will involve the firepower necessary to destroy you anyway.
Enjoy, hope this helps someone out there!
BTC Lightning:
jbnevin@coinos.io

jbnevin@coinos.io
This is a dollar cost averaging bot that I wrote a long time ago. It keeps track of Bitcoin price, and when it goes up, it sells a small amount, and when it goes up more, it sells a small amount more, and on and on. When BTC price goes down, it buys, in the same way. It can be modified for how much it buys and sells (quantity), and for how far it has to go up or down before it does so again. In this way, every buy/sell pair over time results in a small profit. You can take profits in btc or in usd, either way. Or when the bot sells out of bitcoin, you can go to your cold storage and buy gold and silver with that, and when the bot buys so much you’re out of USD, you can go to your bank account and buy bitcoin with that. It is a good conservative strategy.
In theory it could stabilize the price of bitcoin, if enough people use it.
It could be modified for any shitcoin, or even stocks, but it needs a stable asset with sideways volatility to perform well with minimal overall risk. Bitcoin is the ultimate stable asset, but I would say the sideways volatility is no longer enough of a guarantee for my risk profile. If you think the price will be sort of sideways for a long time starting now, and you have lots of both usd and btc and don’t mind letting the market choose the ratio of your portfolio (or the portion of it that is on an exchange), this bot is for you. For me, I want to be as much in bitcoin as I can without keeping up with bots and looking at prices, and i don’t know any exchanges that it’s legal for me to trade on in the u.s., so I’m not using it.
At this point I don’t know if it’s wise to use or not – because I think the price of bitcoin could just go up forever in terms of usd. This bot will get rid of all the bitcoin it has access to on the exchange if a) bitcoin price goes up forever b) usd tanks (lol austrians, see you in the apocalypse). It will just keep buying bitcoin if bitcoin goes all the way to zero (lol boomer if that still scares you as a possibility go buy stocks). I should have made it public earlier, so at least someone could profit from it. The bot was indeed profitable for me every time I used it, but I never had enough usd or btc to avoid running out of it, or to avoid having to stop the bot and sell the coin for usd so I could use it to pay rent, and in general to be able to fade the volatility and retain any significant profit. But it is a tested proof of concept for anyone who does, and believes in the market conditions above.
TLDR. The bot will perform very well in certain conditions, I don’t think those conditions are certain.
I have manually edited the script to share it here, and I can’t test it fully because I don’t have an exchange account anymore, so there might be a bug or two, but only typos, it’s solid otherwise. You’ll have to adapt it to your exchange’s api specifics. IOW it’s not turnkey at all, you’ll need to know a bit of python or be willing to learn.
BTW IRS, no need to look into it, even counting all my bitcoin trades, you owe me a return. But I probably won’t file for it since the income tax is an outdated concept anyway, and to be fair I do use your inefficient unkempt roads 😀
And BTW thieves and scammers, the above is not a lie, I only have a few thousand dollars to my name, and a building on a property that you could only carry away brick by brick. If I ever get any money together my first purchases will involve the firepower necessary to destroy you anyway.
Enjoy, hope this helps someone out there!
BTC Lightning:
jbnevin@coinos.io