Skip to content

Strategies in asset config #11

Description

@dwallach1

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": {}
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions