[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 1.88 MB, 864x420, eef.gif [View same] [iqdb] [saucenao] [google]
19765837 No.19765837 [Reply] [Original]

>build bot
>buy USDCUSDT @ 0.99
>sell @ 1.01
>compound gains
>????
>profit
I programmed a bot and back tested this with 500 days of Binance data with 1 day resolution and the ROI was ~12%. This included fees. Is there something I'm missing?

>> No.19765848

>>19765837
How about fees?

>> No.19765922

>>19765837
something wrong with your math, if not then try it

>> No.19765961

>>19765848
I included fees in the simulation
>>19765922
I'll post the code if you want.

>> No.19765990

why do you think biz dont have threads for strats/algo discussion?

>> No.19766029
File: 21 KB, 622x391, file.png [View same] [iqdb] [saucenao] [google]
19766029

>>19765990
idk, it would be nice if someone made a general. maybe I might if there was more interest. anyways here's a snippet from my program that essentially back tests my strat on the data. am I retarded or does this check out?

>> No.19766031

>>19765837
Bad idea. You should know why. Just buy some FUND desu. A FUND node fixes your autism AND poor problems.

>> No.19766116

>>19766029
Looks good anon, do you have a GitHub ?

>> No.19766121

>>19766031
please elaborate pajeet, I would really love to hear more about why it’s a bad idea and why your “gem” will make me rich

>> No.19766148

>>19766116
nah I don’t really have a reason to get a github account. yet

>> No.19766274
File: 70 KB, 1024x820, 1591504068854.jpg [View same] [iqdb] [saucenao] [google]
19766274

>>19765837
Is that 12% a year? What's the time frame?

Do you ever get left holding the bag? How can you know that it'll sell at 1.01?

Forgive for asking based questions.

>> No.19766332

>>19765837
I doubt it will work
Pro arbritragers will frontrun you for sure

>> No.19766338

>>19766274
>Is that 12% a year? What's the time frame?

>>19766274
>Is that 12% a year? What's the time frame?
Not quite, 12% over a 500 day period. You can’t really assume that it’s “consistent” either, but that ROI is just reality when you look at historical data.

>Do you ever get left holding the bag? How can you know that it'll sell at 1.01?
You could get left holding a bag, if the stable coin collapsed. But it assumes that, due to supply and demand, the price with fluctuate slightly over and under the “target” price of $1. They are stable coins after all (USDT and USDC), they are meant to have a stable 1:1 exchange rate with the USD.

>Forgive for asking based questions.
No problem, happy to share. I got started on this from another anon’s thread.

>> No.19766357
File: 3 KB, 98x124, 1591731879785s.jpg [View same] [iqdb] [saucenao] [google]
19766357

>>19766338
'ppreciate ya, fren. Keep up the good work.

>> No.19766441

idk if this is stupid or if you already took this into consideration, but you should probably round the numbers too? Because buying with 0.99 you get 101,01010101010101010101, but binance will only give you 101,01. maybe it won't influence you that much but who knows.

12% in 1.5 years seems like not a lot unless you are really rich already; but then you have to consider the risk of leaving that large of sum on the exchange

>> No.19766494

>>19766441
>but you should probably round the numbers too?
Thanks, that’s actually a very valid point, but I’m not sure if it makes a huge difference, I’ll see.

And yeah it’s not some ludicrous ROI, but it’s also not some complex algo. It’s basically, buy low and sell high, kek. I do think it could be useful in a bear market... it seems better than what a bank gives you (at the moment at least) in a cucked savings account. If I could make lots of small compounding trades every day, now that could be ludicrously profitable, but I haven’t quite cracked that yet. And the other problem with this is that it probably doesn’t scale up very well. I have doubts you could trade get 12% ROI on 6 figures with this algorithm.

>> No.19766580
File: 51 KB, 536x762, bot simulation.png [View same] [iqdb] [saucenao] [google]
19766580

>>19766494
true. it's not much, but it's something. seems like rounding doesn't really have much difference.
btw, OP, did your bot only do 13 transactions in 1 year +? I made a quick simulation in excel and seems like it that's seems to be the case.

>> No.19766801

>>19766580
>btw, OP, did your bot only do 13 transactions in 1 year +?
yeah, that's correct

>> No.19766905

>>19766029
because it is a trader's bad practice... that is why biz dont have any trading or strats general, but have big amounts of threads shilling lowcap projects.

Teaching others to succeed is just another way of shooting yourself in the foot. Still if you like /biz/, make a discord group or something, share the link here to start discussing about legit trading.

good luck man

>> No.19766945

>>19765837

As in the profit of the back tested 500 days was 12% or after 1 Day it was 12%? Either way it probably works as you are just adding liquidity to the pair its a necessary function and there are probably slightly higher risk pairs that other bots are targeting. Its legit now if you could get flashloans going and just do it on various DEXes through smart contracts

>> No.19766980

>>19766905
>because it is a trader's bad practice... that is why biz dont have any trading or strats general, but have big amounts of threads shilling lowcap projects.
>Teaching others to succeed is just another way of shooting yourself in the foot.
the absolute state of pajeets.
if this is how you justify shilling absolute shit and scamming newfags you should seek help. God forbid anon's discuss ideas and collaborate, anon's should just bend over for pajeets and let them take their money, right? fuck you pajeet.
>make a discord group or something, share the link here to start discussing about legit trading
fuck off discord tranny

>> No.19767042

>>19766980
>God forbid anon's discuss ideas and collaborate
You simply don't and can't get that here. One, because a lot of the posters don't actually know shit (like myself), and two, because the ones that might know shit just shill, troll and LARP exactly because they have the mentality of not letting others know what they know. The result is that there's nothing of value going on here.

>> No.19767299

>>19765837
Looks good friend. Here are some tips. Be careful with flaoting numbers in python it sometimes rounds up to an innacurate number, research how double works. Also format your strings for cleaner code. Replace line 62 with print('USDT: {}' | USDC: {}'.format(usdtbalance, usdcbalance))

>> No.19767311

>>19767299
Correction:
print('USDT: {} | USDC: {}'.format(usdtbalance, usdcbalance))

>> No.19767440

>>19766801
rather than fixed 0.99/1.01 you should be able to simulate on the past 500 days to determine the optimal balance of pricing and number of trades giving the best return.