Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - are there any examples please? #7

Open
jbrepogmailcom opened this issue Dec 16, 2022 · 0 comments
Open

Question - are there any examples please? #7

jbrepogmailcom opened this issue Dec 16, 2022 · 0 comments

Comments

@jbrepogmailcom
Copy link

Hello, I could not find any examples how to configure the bot for particular situations, May I please ask for it?

Can the bot handle these typical trailing order situations? It looks like your bot can sell when price drops or buy when price raises, but I would like exact opposite:

Situation: SELL
pair: BTCEUR
current price: 16000 EUR
I want to sell at limit price: 16100 EUR
Trailing margin: 0.1% means that with every price move up the threshold is set to new price * (1-margin). If the price drops then threshold stays the same. If the price moves below the threshold then order ie executed and BTC is sold for EUR.
If current price moves above limit price, then order is executed and BTC is sold for EUR.

Situation: BUY
pair: BTCEUR
current price: 16000 EUR
I want to buy at limit price: 15900 EUR
Trailing margin: 0.1% means that with every price move down the threshold is set to new price * (1+margin). If the price rises then threshold stays the same. If the price moves above the threshold then order ie executed and BTC is bought for EUR.
If current price moves below limit price, then order is executed and BTC is bought for EUR.

Thanks, Jan

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

No branches or pull requests

1 participant