Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Buy command cannot be filled until the price starts dropping? #1018

Closed
datafj opened this issue Dec 29, 2017 · 8 comments
Closed

Buy command cannot be filled until the price starts dropping? #1018

datafj opened this issue Dec 29, 2017 · 8 comments
Labels

Comments

@datafj
Copy link

datafj commented Dec 29, 2017

I keep seeing this pattern under different strategies. That is, the bot keeps putting buy command at the beginning of an up trend, but the price is not competitive enough, so the bot keeps increasing the buy price. However, the buy order can only get filled until the market price starts dropping.

So the bot starts to buy at the beginning of the up trend (which is a good thing), but finish the buy at the end of the up trend, or the beginning of a down trend (which is a bad thing).

Is there a parameter I can adjust to avoid this kind of behavior?

Thanks!

@slashafk
Copy link

Hello, I'm pretty sure you're using the markdown/markup parameters since they're responsible for this behaviour by default those are 0 so they refresh orders to the market price.

@datafj
Copy link
Author

datafj commented Dec 30, 2017

Thanks. I have them both set to 0. Is this the problem?

@datafj
Copy link
Author

datafj commented Jan 5, 2018

After closely looked, I found it is not because the price is not competitive enough. Actually the price is already the best bid price. However, the best bid price keeps increasing and zenbot also keeps increasing the price to keep up. However, my order hardly get chance to be matched, until the price starts falling.
Any solutions?

@adrianocr
Copy link

adrianocr commented Jan 7, 2018

@jflycn have you seen if there is any parameter that will set the buy and/or sell at +- a certain percentage? So for example if the current fair asking price for something is 0.00420200 ETH then a parameter of some sort that lets you specify "buy at +1% asking price" would set the buy price at 0.00424402 ETH. Which is enough of an increase that your order will likely get filled first.

@datafj
Copy link
Author

datafj commented Jan 7, 2018

Yes. There are markdown/markup parameters , but if you try to get ahead by offering better price, your order will be instantly filled, which will lead to a taker fee on gdax. Maker order has no fee on gdax.

@adrianocr
Copy link

Ah ok I don't trade on GDAX so I won't personally have that problem and I don't see what zenbot can do about that on exchanges like GDAX. You might just have to live with it. Is the fee high?

@datafj
Copy link
Author

datafj commented Jan 7, 2018

The taker fee is 0.25% on gdax. Yes. Maybe I should try other exchanges with lower fees.

@DeviaVir
Copy link
Owner

Dear issue reporter,

We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.

You can find it here: https://reddit.com/r/zenbot

This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.

Thanks for contributing time and effort!

Greetings,
🤖

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants