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

Strategies in asset config #11

Open
dwallach1 opened this issue Apr 13, 2024 · 0 comments · May be fixed by #13
Open

Strategies in asset config #11

dwallach1 opened this issue Apr 13, 2024 · 0 comments · May be fixed by #13

Comments

@dwallach1
Copy link
Owner

dwallach1 commented Apr 13, 2024

For assets im bullish on and dont mind holding onto for a long time, i set my buy strategy to only need one candle of recovery. My sell strategy will check when we're above the sell threshold and then try to maximize profits by riding a pump if there is one.

{
    "name": "Bitcoin",
    "symbol": "BTC",
    "amount_to_buy_usd": 500,
    "buy_price_percentage_change_threshold": -5.0,
    "sell_price_percentage_change_threshold": 12.0,
    "max_open_buys": 5,
    "buy_strategy": {
        "candle_size": "ONE_HOUR",
        "green_candles_in_a_row": 1
    },
    "sell_strategy": {
        "type": "MAXIMIZE_PROFIT",
        "MAXIMIZE_PROFIT": {
            "candle_size": "ONE_HOUR",
            "red_candles_in_a_row": 1
        }
    }
}

with riskier assets, i increase the number of candles and sell immediately once i can.

{
    "name": "Cardano",
    "symbol": "ADA",
    "amount_to_buy_usd": 100,
    "buy_price_percentage_change_threshold": -5.0,
    "sell_price_percentage_change_threshold": 12.0,
    "max_open_buys": 1,
    "buy_strategy": {
        "candle_size": "ONE_HOUR",
        "green_candles_in_a_row": 2
    },
    "sell_strategy": {
        "type": "IMMEDIATE_SELL",
        "IMMEDIATE_SELL": {}
    }
}
@dwallach1 dwallach1 changed the title Recovery Strategy in asset config Strategies in asset config Apr 13, 2024
@dwallach1 dwallach1 linked a pull request Apr 14, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant