[ 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: 88 KB, 1369x1359, 1516122056108.png [View same] [iqdb] [saucenao] [google]
6678862 No.6678862 [Reply] [Original]

I need some help with the strategy. My baseline is one from previous threads on this subject:

Input a coin, it reads the difference between the top bid and ask, then puts in an order for 10% of the difference. So lets say the ask is 0.00200 and the bid is 0.00150 it would put an order to buy at 0.00165 and sell at 0.00180

I have some questions to refine the program.

Example:
Given: We have an order to buy at 0.00165
When market goes up at 30%
What should the bot do?
- Should the bot wait ?
- cancel the order?
- Should the bot fight to buy? (increase order price)
Given: We have order for sell at 0.00180
When market goes down
What should the bot do?
- Should the bot wait ?
- cancel the order?
- Should the bot fight to sell? (reduce orde price then It profitable)
- bot should use stop -loss (if market with big deep)

If any anon helps me sort this out I wil top or give the bot code.

>> No.6678990

BTFO you faggoshil.

>> No.6679022
File: 53 KB, 403x448, 1516329867078.png [View same] [iqdb] [saucenao] [google]
6679022

>>6678862
Pls make me one that increases/decreases the ask/bid for faggots that one up me by one satoshi

>> No.6679155
File: 5 KB, 211x239, 1516257094230.png [View same] [iqdb] [saucenao] [google]
6679155

>>6679022
lol

>> No.6679311

first example: the bot should wait, theres 500 coins you can find dips in.

second example: the bot should sell if the loss gets too big like 10%

>> No.6679349
File: 1.74 MB, 177x150, kek uncontrollable.gif [View same] [iqdb] [saucenao] [google]
6679349

>>6678862
prefers asuka to rei
AHJAHAHAHAHAHAHAHAH
more like 4virgin

>> No.6679354

>>6678862
>So lets say the ask is 0.00200 and the bid is 0.00150 it would put an order to buy at 0.00165 and sell at 0.00180
why?

>> No.6679377

>>6679349
shit taste confirmed

>> No.6679383
File: 35 KB, 588x823, brainlet11.png [View same] [iqdb] [saucenao] [google]
6679383

>>6678862

>> No.6679514

Jesus OP

you’re going about this all the wrong ways. Go to /prog/

>> No.6679741
File: 255 KB, 400x471, C62ADFD9-44E5-4A0B-A522-BA14366D987A.png [View same] [iqdb] [saucenao] [google]
6679741

as long as your bot buys high and sells low you are golden. ps buy bazingacoin

>> No.6680634

>>6679377
agreed. dont wait rei fags thinking they know whats up

>> No.6681063

>>6678862
Learn what a trailing stop is and integrate it into your bot.
Helped me out immensely.

>> No.6681263

>>6679514
/prog/ what? Where?

>> No.6681509

>>6679514
>/prog/
rip

>> No.6681519

>>6681063
>what a trailing stop is
thanks anon

>> No.6681534

>>6678862
Nigger, you'll lose money

>> No.6681606

>>6681534
im a nigger for programming a bot? neck yourself jealous faggot.

>> No.6681646

>>6681606
Yes, your strategy is bullshit and won't stand any huge swings.

>> No.6681681

>>6681646
worst case is i lose w.e % i set the stop loss at it could be 0.08% niglet botting is OP you'd do it if you had brains or buy one if you had money. stupid faggot

>> No.6681700

>>6678862
Literally me OP.
You even got the sunken eyes, day old beard, hoodie and hair color right.

>> No.6681774

>>6681681
Any pajeet code monkey can send a POST query to an exchange, don't be so conceited about that. Your strategy is guaranteed to lose money because it analyzes literally nothing
>0.08%
It's like you idiot didn't even take fees into account

>> No.6681831

>>6681774
tell me how to improve it

>> No.6681876

This strategy sounds retarded

>> No.6681911

>>6681831
also make sure you test this shit by papertrading and/or running it through historical charts.
don't use real money with it until you're certain you've got all the kinks out and it's running properly.

>> No.6681958

Just forget about these pajeet tactics. Learn some ML, DL, RL. Nobody with sane mind would try yo hardcode it now.