Trading strategy for the Freqtrade crypto bot

Overview

NostalgiaForInfinity

Trading strategy for the Freqtrade crypto bot

Change strategy

Add strategies to the user_data/strategies folder and also in the docker-compose.yml file at strategy-list add your strategy in the list.

Test locally

Install Docker Compose.

Run the backtesting command:

docker-compose run --rm backtesting

Configure run

If you want to change --max-open-trades or --stake-amount or --timerange change the .env file.

Update pairs or timeframe

If you want to update pairs user_data/pairlists.json from exchange:pair_whitelist or timeframe from docker-compose.yml from download-data:timerange, run the following after you changed.

docker-compose run --rm download-data
Comments
  • Generating profits in Backtest but losses in LIVE Mode

    Generating profits in Backtest but losses in LIVE Mode

    Hi, I recently deployed the strategy in live mode with volume trading pairs. The strategy, in the results of around 24 hrs, has made a loss of over 2% and has still loss trades opened. I backtested the strategy during the same time frame and same coin pairs and according to backtesting results, the strategy should have made a profit of 1% and would have closed the trades.

    The pairs I have tested are SUN/USDT ACH/USDT

    Following are the results of backtesting:

    image image

    image

    Following are the results of live testing so far:

    image

    Any idea, why does this happen?

    opened by hamiz-ahmed 23
  •  Unable to analyze candle (OHLCV) data for pair DGB/USDT: input_arrays parameter missing required data key: ema1

    Unable to analyze candle (OHLCV) data for pair DGB/USDT: input_arrays parameter missing required data key: ema1

    Hi there, ive been running this strat live since sunday...everything worked fine until few hours ago when my console started spamming and I am getting this error and can not find in the strategy a ema1 that can cause it , what would be the problem?

    2021-08-19 11:16:40,594 - freqtrade.strategy.interface - WARNING - Unable to analyze candle (OHLCV) data for pair DGB/USDT: input_arrays parameter missing required data key: ema1 2021-08-19 11:16:40,598 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error input_arrays parameter missing required data key: ema1 calling <bound method IStrategy._analyze_ticker_internal of <strategy.strategy object at 0x7fdc0e631a30>> Traceback (most recent call last): File "/home/lvp/freqtrade/freqtrade/strategy/strategy_wrapper.py", line 17, in wrapper return f(*args, **kwargs) File "/home/lvp/freqtrade/freqtrade/strategy/interface.py", line 417, in _analyze_ticker_internal dataframe = self.analyze_ticker(dataframe, metadata) File "/home/lvp/freqtrade/freqtrade/strategy/interface.py", line 396, in analyze_ticker dataframe = self.advise_indicators(dataframe, metadata) File "/home/lvp/freqtrade/freqtrade/strategy/interface.py", line 750, in advise_indicators return self.populate_indicators(dataframe, metadata) File "/home/lvp/freqtrade/user_data/strategies/strategy.py", line 2915, in populate_indicators informative_1h = self.informative_1h_indicators(dataframe, metadata) File "/home/lvp/freqtrade/user_data/strategies/strategy.py", line 2593, in informative_1h_indicators informative_1h['ema_12'] = ta.EMA(informative_1h, timeperiod=12) File "talib/_abstract.pxi", line 398, in talib._ta_lib.Function.call File "talib/_abstract.pxi", line 270, in talib._ta_lib.Function.set_function_args File "talib/_abstract.pxi", line 221, in talib._ta_lib.Function.set_input_arrays Exception: input_arrays parameter missing required data key: ema1 2021-08-19 11:16:40,598 - freqtrade.strategy.interface - WARNING - Unable to analyze candle (OHLCV) data for pair ICX/USDT: input_arrays parameter missing required data key: ema1 2021-08-19 11:16:40,602 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error input_arrays parameter missing required data key: ema1 calling <bound method IStrategy._analyze_ticker_internal of <strategy.strategy object at 0x7fdc0e631a30>> Traceback (most recent call last):

    haven't made any chances until today when started spamming. Reinstalled all from fresh and it keeps spamming, Unable to analyze candle OHLCV data for pairs: imputs are all NAN ERROR - Unexpected error inputs are all NAN calling <bound method Istrategy._analyze_ticker_internal of<infinitynext.infinitynext object at 0x7fef705febb0>>

    Do not know /understand what is happening....its showing this for all the pairs in the dynamic list i have set in the config. :( Please help!

    opened by LucianPopaLVP 15
  • backtesting results are not the same

    backtesting results are not the same

    @iterativv @eSeR1805 backtesting results are not same as the one presented on github , can you check what might be missing ?

    strategy name : NostalgiaForInfinityX pairlist used : https://github.com/iterativv/NostalgiaForInfinityData/blob/main/binance-usdt-static.json

    "max_open_trades": 5, "stake_currency": "USDT", "stake_amount": "unlimited", "dry_run_wallet":1000, "use_sell_signal":true, "tradable_balance_ratio": 0.99, "fiat_display_currency": "USD", "timeframe": "15m", "dry_run": true,

    opened by jashan1498 13
  • Hold trades spam logs every iterations

    Hold trades spam logs every iterations

    Version 7.7.1

    My config use throttle process at 3 seconds and this check seems to checking every 3 seconds too

    2021-08-18 03:43:19 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:22 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:25 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:28 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:31 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:34 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:37 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:40 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:43 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    2021-08-18 03:43:46 NostalgiaForInfinityNext: WARNING - The 'hold-trades.json' file was not found. Looked in '/home/***/freqtrade/user_data/strategies/hold-trades.json'. HOLD support disabled.
    
    opened by nakapola 11
  • Use websocket for binance

    Use websocket for binance

    Please consider about using binance websocket there is an example here : https://github.com/TomtomEh/freqtrade-websocket

    explained by developer : Using websockets you will get the pair information pushed from binance servers as soon as they are computed. For instance, while testing using about 100 pairs, freqtrade took almost one minute to start computing the new candle, while using this approcach in 3s all pairs were already processed.

    Using talipp reduce the computation power required, since data are update by only adding the contribution of the new candle to the already computed data. While freqtrade computes the indicators on their integrity and by default for 1000 timeframes.

    opened by tolgakaratas 11
  • Canceling SELL order due to time-out and issues trading coins with small volumes

    Canceling SELL order due to time-out and issues trading coins with small volumes

    Hi,

    Upon existing order cancelling SELL order due to time-out is not actually cancelled on the contrary of cancelling BUY order due to time-out. Although I get a message on my Freqtrade Telegram bot, that the order is cancelled due time out and it does not work. So I must exist the trade manually and delete the trade later from the Freqtrade bot, as /forcesell would not help.

    I See this problem while trying to sell coins with lower volumes, as orders will not be filled or partially filled. Is it possible that upon cancelling such trades that the bot sells with "market limit" instead of a "limit order"? Or setting a bit more lower limit immediately, so the order will be filled? I mean it is the only way it manually works. This issue is causing me huge losses by keeping the failed trades unfilled and open.

    Thank you very much in advance!

    opened by BillyYan13 9
  • No trades at all

    No trades at all

    Hello! For the past weeks, I don't seem to be getting any trades at all (USDT pairs). I am using NostalgiaForInfinityX and Binance. I have a valid API and checked that spot/margin is checked. I used to have trades in the past. Probably something is wrong with my config? I attach it in order for you to check when you can. Thank you and continue this awesome work!

    {
    	"max_open_trades": 6,
    	"stake_currency": "USDT",
    	"stake_amount": "unlimited",
    	"tradable_balance_ratio": 0.99,
    	"fiat_display_currency": "USD",
    	"timeframe": "5m",
    	"dry_run": false,
    	"dry_run_wallet": 1000,
    	"cancel_open_orders_on_exit": false,
    	"unfilledtimeout": {
    		"entry": 15,
    		"exit": 15,
    		"exit_timeout_count": 0,
    		"unit": "minutes"
    	},
    	"order_types": {
    		"entry": "limit",
    		"exit": "limit",
    		"emergency_exit": "limit",
    		"force_entry": "limit",
    		"force_exit": "limit",
    		"stoploss": "limit",
    		"stoploss_on_exchange": false,
    		"stoploss_on_exchange_interval": 60
    	},
    	"entry_pricing": {
    		"price_side": "other",
    		"use_order_book": false,
    		"order_book_top": 1,
    		"price_last_balance": 0.0,
    		"check_depth_of_market": { "enabled": false, "bids_to_ask_delta": 1 }
    	},
    	"exit_pricing": {
    		"price_side": "other",
    		"use_order_book": false,
    		"order_book_top": 1,
    		"price_last_balance": 0.0
    	},
    	"exchange": {
    		"name": "binance",
    		"key": "****",
    		"secret": "****",
    		"ccxt_config": { "enableRateLimit": true },
    		"ccxt_async_config": {
    			"enableRateLimit": true,
    			"rateLimit": 100
    		},
    		"pair_whitelist": [],
    		"pair_blacklist": [
    			"(BNB)/.*",
    			".*(_PREMIUM|BEAR|BULL|HALF|HEDGE|UP|DOWN|[1235][SL])/.*",
    			"(AUD|BRZ|CAD|CHF|EUR|GBP|HKD|IDRT|JPY|NGN|RUB|SGD|TRY|UAH|USD|ZAR)/.*",
    			"(BUSD|CUSD|CUSDT|DAI|PAXG|SUSD|TUSD|USDC|USDN|USDP|USDT|VAI|UST|USTC|AUSD)/.*",
    			"(ACM|AFA|ALA|ALL|APL|ASR|ATM|BAR|CAI|CITY|FOR|GAL|GOZ|IBFK|JUV|LEG|LOCK-1|NAVI|NMR|NOV|PFL|PORTO|PSG|ROUSH|STV|TH|TRA|UCH|UFC|YBO)/.*",
    			"(1EARTH|ILA|BOBA|CTXC|CWAR|HBAR|NMR|OMG|ONG|ARDR|DMTR|MLS|TORN)/.*"
    		]
    	},
    	"pairlists": [
    		{
    			"method": "VolumePairList",
    			"number_assets": 100,
    			"sort_key": "quoteVolume",
    			"refresh_period": 1800
    		},
    		{ "method": "AgeFilter", "min_days_listed": 30 },
    		{
    			"method": "RangeStabilityFilter",
    			"lookback_days": 3,
    			"min_rate_of_change": 0.03,
    			"refresh_period": 1800
    		},
    		{
    			"method": "VolatilityFilter",
    			"lookback_days": 3,
    			"min_volatility": 0.01,
    			"max_volatility": 0.75,
    			"refresh_period": 43200
    		},
    		{
    			"method": "VolumePairList",
    			"number_assets": 70,
    			"sort_key": "quoteVolume"
    		},
    		{ "method": "ShuffleFilter" }
    	],
    	"edge": {
    		"enabled": false,
    		"process_throttle_secs": 3600,
    		"calculate_since_number_of_days": 7,
    		"allowed_risk": 0.01,
    		"stoploss_range_min": -0.01,
    		"stoploss_range_max": -0.1,
    		"stoploss_range_step": -0.01,
    		"minimum_winrate": 0.6,
    		"minimum_expectancy": 0.2,
    		"min_trade_number": 10,
    		"max_trade_duration_minute": 1440,
    		"remove_pumps": false
    	},
    	"telegram": {
    		"enabled": true,
    		"token": "****",
    		"chat_id": "****"
    	},
    	"api_server": {
    		"enabled": false,
    		"listen_ip_address": "0.0.0.0",
    		"listen_port": 8080,
    		"verbosity": "error",
    		"enable_openapi": false,
    		"jwt_secret_key": "SECRET",
    		"CORS_origins": [],
    		"username": "USERNAME",
    		"password": "PASSWORD"
    	},
    	"bot_name": "freqtrade-binance",
    	"initial_state": "running",
    	"force_entry_enable": true,
    	"internals": {
    		"process_throttle_secs": 5
    	}
    }
    
    
    opened by zois 9
  • Outdated history for pair XXX/YYY

    Outdated history for pair XXX/YYY

    Hello,

    when I start Freqtrade with the NFI-strategy, I get this error after 15 to 20 mintes:

    freqtrade.strategy.interface - WARNING - Outdated history for pair XXX/YYY.  Last tick is 15 minutes old
    

    This message is shown for over 60 pairs. No trades are made and no graphs are available in FreqUI. If I use a non-NFI-strategy, this error does not occur.

    Do anyone know how to fix this? Thanks in advance!

    Here is my config:

    
    {
        "max_open_trades": 30,
        "stake_currency": "USDT",
        "stake_amount": 100,
        "tradable_balance_ratio": 0.99,
        "fiat_display_currency": "EUR",
        "timeframe": "5m",
        "dry_run": true,
        "db_url": "sqlite:///nostagiav8.USDT.dryrun.sqlite",
        "cancel_open_orders_on_exit": false,
        "unfilledtimeout": {
            "buy": 10,
            "sell": 30,
            "unit": "minutes"
        },
        "bid_strategy": {
            "price_side": "bid",
            "ask_last_balance": 0.0,
            "use_order_book": true,
            "order_book_top": 1,
            "check_depth_of_market": {
                "enabled": false,
                "bids_to_ask_delta": 1
            }
        },
        "ask_strategy": {
            "price_side": "ask",
            "use_order_book": true,
            "order_book_top": 1
        },
        "exchange": {
            "name": "binance",
            "key": "",
            "secret": "",
            "ccxt_config": {"enableRateLimit": true},
            "ccxt_async_config": {
               "enableRateLimit": true,
               "rateLimit": 200 
        },
            "pair_whitelist": [
            ],
            "pair_blacklist": [
            // Exchange
            "(BNB)/.*",
            // Leverage
            ".*(_PREMIUM|BEAR|BULL|DOWN|HALF|HEDGE|UP|[1235][SL])/.*",
            // Fiat
            "(AUD|BRZ|CAD|CHF|EUR|GBP|HKD|IDRT|JPY|NGN|RUB|SGD|TRY|UAH|USD|ZAR)/.*",
            // Stable
            "(BUSD|CUSDT|DAI|PAXG|SUSD|TUSD|USDC|USDP|USDT|VAI)/.*",
            // FAN
            "(ACM|AFA|ALA|ALL|APL|ASR|ATM|BAR|CAI|CITY|FOR|GAL|GOZ|IBFK|JUV|LAZIO|LEG|LOCK-1|NAVI|NMR|NOV|OG|PFL|PSG|ROUSH|STV|TH|TRA|UCH|UFC|YBO)/.*",
           // Others
            "(CHZ|CTXC|HBAR|NMR|SHIB|SLP|XVS|ONG|ARDR)/.*"
        ]
        },
        "pairlists": [
                    {
    			"method": "VolumePairList",
    			"number_assets": 85,
    			"sort_key": "quoteVolume",
    			"refresh_period": 1800
    		},
    		{"method": "AgeFilter", "min_days_listed": 14},
    		{"method": "SpreadFilter", "max_spread_ratio": 0.005},
    		{
    			"method": "PriceFilter",
    			"min_price": 0.001
    		},
    		{
    			"method": "RangeStabilityFilter",
    			"lookback_days": 3,
    			"min_rate_of_change": 0.1,
    			"refresh_period": 1800
    		},
    		{
    			"method": "VolatilityFilter",
    			"lookback_days": 3,
    			"min_volatility": 0.02,
    			"max_volatility": 0.75,
    			"refresh_period": 43200
    		},
            {"method": "ShuffleFilter"}
        ]
    
    ,
        "edge": {
            "enabled": false,
            "process_throttle_secs": 3600,
            "calculate_since_number_of_days": 7,
            "allowed_risk": 0.01,
            "stoploss_range_min": -0.01,
            "stoploss_range_max": -0.1,
            "stoploss_range_step": -0.01,
            "minimum_winrate": 0.60,
            "minimum_expectancy": 0.20,
            "min_trade_number": 10,
            "max_trade_duration_minute": 1440,
            "remove_pumps": false
        },
        "telegram": {
            "enabled": true,
            "token": "xxx",
            "chat_id": "xxx"
        },
        "api_server": {
            "enabled": true,
            "listen_ip_address": "0.0.0.0",
            "listen_port": xxx,
            "verbosity": "error",
            "enable_openapi": false,
            "jwt_secret_key": "xx",
            "CORS_origins": [],
            "username": "xxx",
            "password": "xxx"
        },
        "bot_name": "freqtrade",
        "initial_state": "running",
        "forcebuy_enable": false,
        "internals": {
            "process_throttle_secs": 5
        }
    }
    
    
    opened by chrizzzzy 9
  • Backtesting with a lot of trades, dry run shows no trade?

    Backtesting with a lot of trades, dry run shows no trade?

    Hi everyone and first of all, to all contributors: thank you awesome work!

    Context: I've been running NFI in dry-run for a while (5 days) - no edits done to the strateg-y/ies ; concretelly, just git pull on this repo, few changes to the docker-compose.yml (see bottom of this post), that's it.

    Problem: even if the UI shows that the bot is running, with new logs created every few minutes, no trade was ever done

    Troubleshooting done: I've setup a backtest with the exact same configuration (static pair whitelist, same blacklist, same config-private.json), and the list of trades from the backtesting shows 500+ trades, including trades done during the time I've been doing dry run ; additionally, there is no trace of errors in the dry run logs.

    Is there anything else I would have missed? :(

    Thank you to any one who would be able to share some feedbacks or tips on what else I could look at / troubleshoot :)

    Below is the docker-compose.yml I use ; the the commands to start dryrun or backtesting are as simple as it can get: docker-compose up backtesting docker-compose up dryrun

    version: '3'
    services:
      backtesting:
        build:
           context: .
           dockerfile: "./docker/Dockerfile.custom"
        container_name: freqtrade-backtesting
        volumes:
          - "./user_data:/freqtrade/user_data"
          - "./NostalgiaForInfinityX.py:/freqtrade/NostalgiaForInfinityX.py"
        command: >
          backtesting
          --strategy-list NostalgiaForInfinityX
          --timerange ${TIMERANGE:-20210101-20211231}
          --config user_data/data/blacklist-binance.json
          --config user_data/data/Binance-USDT-All-Tradable-StaticPairList.json
          --config user_data/data/config-private.json
          --max-open-trades ${MAX_OPEN_TRADES:-5}
          --stake-amount ${STAKE_AMOUNT:-unlimited}
          --export trades
          --export-filename=user_data/backtest_results/backtest_trades_list_export.json
    
      dryrun:
        build:
          context: .
          dockerfile: "./docker/Dockerfile.custom"
        container_name: freqtrade-dryrun
        ports:
        - "8081:8080"
        volumes:
        - "./user_data:/freqtrade/user_data"
        - "./NostalgiaForInfinityX.py:/freqtrade/NostalgiaForInfinityX.py"
        command: >
          trade
          --strategy NostalgiaForInfinityX
          --dry-run
          --config user_data/data/blacklist-binance.json
          --config user_data/data/Binance-USDT-All-Tradable-StaticPairList.json
          --config user_data/data/config-private.json
    
    opened by PoCk3T 9
  • "Dead" positions w/o profit, sell signal and volume but above stop-loss

    After some time running a custom version of NFI I see that some of my postions got quite "old". The reason is, that they are not in profit, but also did not receive a stop-loss/sell signal. Inbetween the volume of that pair has dropped as well, so that there is not much volatility. Some trades are in that state for more than a week. Issue now is that force-selling these positions would ruin the overall profit-%. Keeping these positions on the other side limits the capital available for new trades. Any ideas how to deal with that?

    opened by heizie78 9
  • Automate the refactoring of HO into raw values

    Automate the refactoring of HO into raw values

    Overview

    Script to automate transforming HO values into raw values. E.g.

    buy_dip_threshold_10_1 = DecimalParameter(0.001, 0.05, default=0.015, space='buy', decimals=3, optimize=False, load=True)

    Would be transformed to:

    buy_dip_threshold_10_1 = 0.015

    Command reference

    usage: ho_to_raw_codemod.py [-h] [--input INPUT_PATH] [--output OUTPUT_PATH]
    
    optional arguments:
      -h, --help            show this help message and exit
      --input INPUT_PATH, -i INPUT_PATH
                            Strategy path
      --output OUTPUT_PATH, -o OUTPUT_PATH
                            Output of transformed file
    

    The script has a simple CLI, where it accepts two arguments, the input, which would be the strategy path and the output, which is the path of the transformed file. E.g.

    python codemods/ho_to_raw_codemod.py -i NostalgiaForInfinityNext.py -o NostalgiaForInfinityNext_Raw.py

    opened by anasyusef 8
  • installation issue

    installation issue

    i am using this freqtrade first time also after long time use Docker. i don't understand how to solve this issue and correctly install this and backtest.

    below i post my terminal output. i am really sorry it was too much data.

    (base) achso@achso:~/doku/NostalgiaForInfinity$ docker-compose pull
    Pulling tests       ... done
    Pulling backtesting ... done
    (base) achso@achso:~/doku/NostalgiaForInfinity$ docker-compose up -d
    Creating network "nostalgiaforinfinity_default" with the default driver
    Building tests
    Sending build context to Docker daemon  173.6MB
    Step 1/3 : FROM freqtradeorg/freqtrade:develop
    develop: Pulling from freqtradeorg/freqtrade
    bd159e379b3b: Pull complete 
    de08aeb7fd50: Pull complete 
    30527e10f55a: Pull complete 
    693e7a5ba2a8: Pull complete 
    c7b6f7685fa5: Pull complete 
    850e0b9bf0a9: Pull complete 
    c5283984726d: Pull complete 
    11b1d3e48a26: Pull complete 
    44efb12d79c1: Pull complete 
    59969bdf30b9: Pull complete 
    Digest: sha256:6cb4d457a65be65139be231c72d77785c04f3edfe3a128858ca9173642f92ef6
    Status: Downloaded newer image for freqtradeorg/freqtrade:develop
     ---> b6fa093f303c
    Step 2/3 : COPY --chown=1000:1000  tests/requirements.txt /freqtrade
     ---> 18452207835c
    Step 3/3 : RUN pip install --user --no-cache-dir --no-build-isolation -r /freqtrade/requirements.txt
     ---> Running in 3e6321957558
    Requirement already satisfied: freqtrade in /freqtrade (from -r /freqtrade/requirements.txt (line 1)) (2022.12.dev0)
    Requirement already satisfied: pandas-ta in /home/ftuser/.local/lib/python3.10/site-packages (from -r /freqtrade/requirements.txt (line 2)) (0.3.14b0)
    Collecting pytest
      Downloading pytest-7.2.0-py3-none-any.whl (316 kB)
         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 316.8/316.8 kB 6.2 MB/s eta 0:00:00
    Collecting pytest-mock
      Downloading pytest_mock-3.10.0-py3-none-any.whl (9.3 kB)
    Collecting pytest-subtests
      Downloading pytest_subtests-0.9.0-py3-none-any.whl (5.9 kB)
    Requirement already satisfied: ccxt>=1.92.9 in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.2.67)
    Requirement already satisfied: SQLAlchemy in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.4.44)
    Requirement already satisfied: python-telegram-bot>=13.4 in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (13.14)
    Requirement already satisfied: arrow>=0.17.0 in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.2.3)
    Requirement already satisfied: cachetools in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (4.2.2)
    Requirement already satisfied: requests in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.28.1)
    Requirement already satisfied: urllib3 in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.26.13)
    Requirement already satisfied: jsonschema in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (4.17.3)
    Requirement already satisfied: TA-Lib in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.4.25)
    Requirement already satisfied: technical in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.3.0)
    Requirement already satisfied: tabulate in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.9.0)
    Requirement already satisfied: pycoingecko in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.1.0)
    Requirement already satisfied: py_find_1st in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.1.5)
    Requirement already satisfied: python-rapidjson in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.9)
    Requirement already satisfied: orjson in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.8.3)
    Requirement already satisfied: sdnotify in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.3.2)
    Requirement already satisfied: colorama in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.4.6)
    Requirement already satisfied: jinja2 in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.1.2)
    Requirement already satisfied: questionary in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.10.0)
    Requirement already satisfied: prompt-toolkit in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.0.33)
    Requirement already satisfied: numpy in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.23.5)
    Requirement already satisfied: pandas in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.5.2)
    Requirement already satisfied: tables in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.7.0)
    Requirement already satisfied: blosc in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.10.6)
    Requirement already satisfied: joblib>=1.2.0 in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.2.0)
    Requirement already satisfied: fastapi in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.88.0)
    Requirement already satisfied: pydantic>=1.8.0 in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.10.2)
    Requirement already satisfied: uvicorn in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.20.0)
    Requirement already satisfied: psutil in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (5.9.4)
    Requirement already satisfied: pyjwt in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.6.0)
    Requirement already satisfied: aiofiles in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (22.1.0)
    Requirement already satisfied: schedule in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.1.0)
    Requirement already satisfied: websockets in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (10.4)
    Requirement already satisfied: janus in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.0.0)
    Requirement already satisfied: pyarrow in /home/ftuser/.local/lib/python3.10/site-packages (from freqtrade->-r /freqtrade/requirements.txt (line 1)) (10.0.1)
    Collecting iniconfig
      Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
    Collecting tomli>=1.0.0
      Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
    Requirement already satisfied: attrs>=19.2.0 in /home/ftuser/.local/lib/python3.10/site-packages (from pytest->-r /freqtrade/requirements.txt (line 3)) (22.1.0)
    Requirement already satisfied: packaging in /home/ftuser/.local/lib/python3.10/site-packages (from pytest->-r /freqtrade/requirements.txt (line 3)) (22.0)
    Collecting exceptiongroup>=1.0.0rc8
      Downloading exceptiongroup-1.0.4-py3-none-any.whl (14 kB)
    Collecting pluggy<2.0,>=0.12
      Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
    Requirement already satisfied: python-dateutil>=2.7.0 in /home/ftuser/.local/lib/python3.10/site-packages (from arrow>=0.17.0->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.8.2)
    Requirement already satisfied: yarl>=1.7.2 in /home/ftuser/.local/lib/python3.10/site-packages (from ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.8.2)
    Requirement already satisfied: cryptography>=2.6.1 in /home/ftuser/.local/lib/python3.10/site-packages (from ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (38.0.4)
    Requirement already satisfied: certifi>=2018.1.18 in /home/ftuser/.local/lib/python3.10/site-packages (from ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2022.12.7)
    Requirement already satisfied: setuptools>=60.9.0 in /usr/local/lib/python3.10/site-packages (from ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (63.2.0)
    Requirement already satisfied: aiodns>=1.1.1 in /home/ftuser/.local/lib/python3.10/site-packages (from ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.0.0)
    Requirement already satisfied: aiohttp>=3.8 in /home/ftuser/.local/lib/python3.10/site-packages (from ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.8.3)
    Requirement already satisfied: typing-extensions>=4.1.0 in /home/ftuser/.local/lib/python3.10/site-packages (from pydantic>=1.8.0->freqtrade->-r /freqtrade/requirements.txt (line 1)) (4.4.0)
    Requirement already satisfied: APScheduler==3.6.3 in /home/ftuser/.local/lib/python3.10/site-packages (from python-telegram-bot>=13.4->freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.6.3)
    Requirement already satisfied: tornado==6.1 in /home/ftuser/.local/lib/python3.10/site-packages (from python-telegram-bot>=13.4->freqtrade->-r /freqtrade/requirements.txt (line 1)) (6.1)
    Requirement already satisfied: pytz>=2018.6 in /home/ftuser/.local/lib/python3.10/site-packages (from python-telegram-bot>=13.4->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2022.6)
    Requirement already satisfied: six>=1.4.0 in /home/ftuser/.local/lib/python3.10/site-packages (from APScheduler==3.6.3->python-telegram-bot>=13.4->freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.16.0)
    Requirement already satisfied: tzlocal>=1.2 in /home/ftuser/.local/lib/python3.10/site-packages (from APScheduler==3.6.3->python-telegram-bot>=13.4->freqtrade->-r /freqtrade/requirements.txt (line 1)) (4.2)
    Requirement already satisfied: charset-normalizer<3,>=2 in /home/ftuser/.local/lib/python3.10/site-packages (from requests->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.1.1)
    Requirement already satisfied: idna<4,>=2.5 in /home/ftuser/.local/lib/python3.10/site-packages (from requests->freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.4)
    Requirement already satisfied: starlette==0.22.0 in /home/ftuser/.local/lib/python3.10/site-packages (from fastapi->freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.22.0)
    Requirement already satisfied: anyio<5,>=3.4.0 in /home/ftuser/.local/lib/python3.10/site-packages (from starlette==0.22.0->fastapi->freqtrade->-r /freqtrade/requirements.txt (line 1)) (3.6.2)
    Requirement already satisfied: MarkupSafe>=2.0 in /home/ftuser/.local/lib/python3.10/site-packages (from jinja2->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.1.1)
    Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/ftuser/.local/lib/python3.10/site-packages (from jsonschema->freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.19.2)
    Requirement already satisfied: wcwidth in /home/ftuser/.local/lib/python3.10/site-packages (from prompt-toolkit->freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.2.5)
    Requirement already satisfied: greenlet!=0.4.17 in /home/ftuser/.local/lib/python3.10/site-packages (from SQLAlchemy->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.0.1)
    Requirement already satisfied: numexpr>=2.6.2 in /home/ftuser/.local/lib/python3.10/site-packages (from tables->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.8.4)
    Requirement already satisfied: h11>=0.8 in /home/ftuser/.local/lib/python3.10/site-packages (from uvicorn->freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.14.0)
    Requirement already satisfied: click>=7.0 in /home/ftuser/.local/lib/python3.10/site-packages (from uvicorn->freqtrade->-r /freqtrade/requirements.txt (line 1)) (8.1.3)
    Requirement already satisfied: pycares>=4.0.0 in /home/ftuser/.local/lib/python3.10/site-packages (from aiodns>=1.1.1->ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (4.3.0)
    Requirement already satisfied: multidict<7.0,>=4.5 in /home/ftuser/.local/lib/python3.10/site-packages (from aiohttp>=3.8->ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (6.0.3)
    Requirement already satisfied: aiosignal>=1.1.2 in /home/ftuser/.local/lib/python3.10/site-packages (from aiohttp>=3.8->ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.3.1)
    Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /home/ftuser/.local/lib/python3.10/site-packages (from aiohttp>=3.8->ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (4.0.2)
    Requirement already satisfied: frozenlist>=1.1.1 in /home/ftuser/.local/lib/python3.10/site-packages (from aiohttp>=3.8->ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.3.3)
    Requirement already satisfied: cffi>=1.12 in /home/ftuser/.local/lib/python3.10/site-packages (from cryptography>=2.6.1->ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.15.1)
    Requirement already satisfied: sniffio>=1.1 in /home/ftuser/.local/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.22.0->fastapi->freqtrade->-r /freqtrade/requirements.txt (line 1)) (1.3.0)
    Requirement already satisfied: pycparser in /home/ftuser/.local/lib/python3.10/site-packages (from cffi>=1.12->cryptography>=2.6.1->ccxt>=1.92.9->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2.21)
    Requirement already satisfied: pytz-deprecation-shim in /home/ftuser/.local/lib/python3.10/site-packages (from tzlocal>=1.2->APScheduler==3.6.3->python-telegram-bot>=13.4->freqtrade->-r /freqtrade/requirements.txt (line 1)) (0.1.0.post0)
    Requirement already satisfied: tzdata in /home/ftuser/.local/lib/python3.10/site-packages (from pytz-deprecation-shim->tzlocal>=1.2->APScheduler==3.6.3->python-telegram-bot>=13.4->freqtrade->-r /freqtrade/requirements.txt (line 1)) (2022.7)
    Installing collected packages: iniconfig, tomli, pluggy, exceptiongroup, pytest, pytest-subtests, pytest-mock
    Successfully installed exceptiongroup-1.0.4 iniconfig-1.1.1 pluggy-1.0.0 pytest-7.2.0 pytest-mock-3.10.0 pytest-subtests-0.9.0 tomli-2.0.1
    Removing intermediate container 3e6321957558
     ---> f0007af0c460
    Successfully built f0007af0c460
    Successfully tagged nostalgiaforinfinity_tests:latest
    WARNING: Image for service tests was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
    Building backtesting
    Sending build context to Docker daemon  173.6MB
    Step 1/3 : FROM freqtradeorg/freqtrade:develop
     ---> b6fa093f303c
    Step 2/3 : COPY --chown=1000:1000  tests/requirements.txt /freqtrade
     ---> Using cache
     ---> 18452207835c
    Step 3/3 : RUN pip install --user --no-cache-dir --no-build-isolation -r /freqtrade/requirements.txt
     ---> Using cache
     ---> f0007af0c460
    Successfully built f0007af0c460
    Successfully tagged nostalgiaforinfinity_backtesting:latest
    WARNING: Image for service backtesting was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
    Creating freqtrade-backtesting ... error
    Creating freqtrade-backtesting ... 
    
    Creating freqtrade-backtesting ... done
    9590727cf5b43b673494d35f4451935156ab60d17f0ea2bc8a9992f". You have to remove (or rename) that container to be able to reuse that name.
    
    ERROR: for backtesting  Cannot create container for service backtesting: Conflict. The container name "/freqtrade-backtesting" is already in use by container "706a67d299590727cf5b43b673494d35f4451935156ab60d17f0ea2bc8a9992f". You have to remove (or rename) that container to be able to reuse that name.
    ERROR: Encountered errors while bringing up the project.
    
    
    
    

    After rebuild

    CONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS                      PORTS     NAMES
    706a67d29959   nostalgiaforinfinity_tests   "python -m pytest -r…"   45 seconds ago   Exited (1) 38 seconds ago             freqtrade-backtesting
    
    
    (base) achso@achso:~/doku/NostalgiaForInfinity$ docker-compose build
    Building tests
    Sending build context to Docker daemon  173.6MB
    Step 1/3 : FROM freqtradeorg/freqtrade:develop
     ---> b6fa093f303c
    Step 2/3 : COPY --chown=1000:1000  tests/requirements.txt /freqtrade
     ---> Using cache
     ---> 18452207835c
    Step 3/3 : RUN pip install --user --no-cache-dir --no-build-isolation -r /freqtrade/requirements.txt
     ---> Using cache
     ---> f0007af0c460
    Successfully built f0007af0c460
    Successfully tagged nostalgiaforinfinity_tests:latest
    Building backtesting
    Sending build context to Docker daemon  173.6MB
    Step 1/3 : FROM freqtradeorg/freqtrade:develop
     ---> b6fa093f303c
    Step 2/3 : COPY --chown=1000:1000  tests/requirements.txt /freqtrade
     ---> Using cache
     ---> 18452207835c
    Step 3/3 : RUN pip install --user --no-cache-dir --no-build-isolation -r /freqtrade/requirements.txt
     ---> Using cache
     ---> f0007af0c460
    Successfully built f0007af0c460
    Successfully tagged nostalgiaforinfinity_backtesting:latest
    (base) achso@achso:~/doku/NostalgiaForInfinity$ docker-compose up -d
    Starting freqtrade-backtesting ... 
    Creating freqtrade-backtesting ... error
    
    Starting freqtrade-backtesting ... done
    4d35f4451935156ab60d17f0ea2bc8a9992f". You have to remove (or rename) that container to be able to reuse that name.
    
    ERROR: for backtesting  Cannot create container for service backtesting: Conflict. The container name "/freqtrade-backtesting" is already in use by container "706a67d299590727cf5b43b673494d35f4451935156ab60d17f0ea2bc8a9992f". You have to remove (or rename) that container to be able to reuse that name.
    
    
    

    Same issue

    (base) achso@achso:~/doku/NostalgiaForInfinity$ docker-compose up -d
    Starting freqtrade-backtesting ... 
    Creating freqtrade-backtesting ... error
    
    Starting freqtrade-backtesting ... done
    4d35f4451935156ab60d17f0ea2bc8a9992f". You have to remove (or rename) that container to be able to reuse that name.
    
    ERROR: for backtesting  Cannot create container for service backtesting: Conflict. The container name "/freqtrade-backtesting" is already in use by container "706a67d299590727cf5b43b673494d35f4451935156ab60d17f0ea2bc8a9992f". You have to remove (or rename) that container to be able to reuse that name.
    ERROR: Encountered errors while bringing up the project.
    
    
    opened by wasauchimmer0 1
  • ERROR when Backtesting

    ERROR when Backtesting

    2022-10-09 19:24:03,381 - freqtrade.optimize.backtesting - INFO - Loading data from 2021-07-30 08:00:00 up to 2022-10-09 19:00:00 (436 days). 2022-10-09 19:24:03,381 - freqtrade.optimize.backtesting - INFO - Dataload complete. Calculating indicators 2022-10-09 19:24:03,385 - freqtrade.optimize.backtesting - WARNING - Backtest result caching disabled due to use of open-ended timerange. 2022-10-09 19:24:03,385 - freqtrade.optimize.backtesting - INFO - Running backtesting for Strategy NFIX 2022-10-09 19:24:03,385 - freqtrade.strategy.hyper - INFO - No params for protection found, using default values. 2022-10-09 19:24:14,920 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 1d, data starts at 2020-10-15 00:00:00 2022-10-09 19:24:35,197 - freqtrade.data.history.idatahandler - WARNING - AVA/USDT, spot, 1d, data starts at 2020-11-24 00:00:00 2022-10-09 19:24:40,128 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 1d, data starts at 2020-09-22 00:00:00 2022-10-09 19:24:45,009 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 1d, data starts at 2020-11-04 00:00:00 2022-10-09 19:24:49,894 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 1d, data starts at 2021-02-19 00:00:00 2022-10-09 19:24:54,786 - freqtrade.data.history.idatahandler - WARNING - CELO/USDT, spot, 1d, data starts at 2021-01-05 00:00:00 2022-10-09 19:24:59,877 - freqtrade.data.history.idatahandler - WARNING - CHR/USDT, spot, 1d, data starts at 2020-05-07 00:00:00 2022-10-09 19:25:04,948 - freqtrade.data.history.idatahandler - WARNING - CKB/USDT, spot, 1d, data starts at 2021-01-26 00:00:00 2022-10-09 19:25:09,943 - freqtrade.data.history.idatahandler - WARNING - COMP/USDT, spot, 1d, data starts at 2020-06-25 00:00:00 2022-10-09 19:25:20,138 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 1d, data starts at 2020-08-15 00:00:00 2022-10-09 19:25:25,185 - freqtrade.data.history.idatahandler - WARNING - DGB/USDT, spot, 1d, data starts at 2020-07-20 00:00:00 2022-10-09 19:25:30,281 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 1d, data starts at 2020-08-18 00:00:00 2022-10-09 19:25:35,552 - freqtrade.data.history.idatahandler - WARNING - DYDX/USDT, spot, 1d, data starts at 2021-09-09 00:00:00 2022-10-09 19:25:35,637 - freqtrade.data.history.idatahandler - WARNING - DYDX/USDT, spot, 1h, data starts at 2021-09-09 02:00:00 2022-10-09 19:25:35,984 - freqtrade.data.history.idatahandler - WARNING - DYDX/USDT, spot, 15m, data starts at 2021-09-09 02:00:00 2022-10-09 19:25:50,494 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 1d, data starts at 2020-10-15 00:00:00 2022-10-09 19:26:00,685 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 1d, data starts at 2020-12-17 00:00:00 2022-10-09 19:26:05,671 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 1d, data starts at 2021-05-11 00:00:00 2022-10-09 19:26:32,281 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 1d, data starts at 2020-08-06 00:00:00 2022-10-09 19:26:37,415 - freqtrade.data.history.idatahandler - WARNING - MASK/USDT, spot, 1d, data starts at 2021-05-25 00:00:00 2022-10-09 19:26:47,644 - freqtrade.data.history.idatahandler - WARNING - MOVR/USDT, spot, 1d, data starts at 2021-11-08 00:00:00 2022-10-09 19:26:47,747 - freqtrade.data.history.idatahandler - WARNING - MOVR/USDT, spot, 1h, data starts at 2021-11-08 06:00:00 2022-10-09 19:26:47,991 - freqtrade.data.history.idatahandler - WARNING - MOVR/USDT, spot, 15m, data starts at 2021-11-08 06:00:00 2022-10-09 19:26:51,405 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 1d, data starts at 2020-10-14 00:00:00 2022-10-09 19:27:01,833 - freqtrade.data.history.idatahandler - WARNING - ORN/USDT, spot, 1d, data starts at 2020-09-30 00:00:00 2022-10-09 19:27:06,908 - freqtrade.data.history.idatahandler - WARNING - PHA/USDT, spot, 1d, data starts at 2021-06-25 00:00:00 2022-10-09 19:27:12,133 - freqtrade.data.history.idatahandler - WARNING - PYR/USDT, spot, 1d, data starts at 2021-11-26 00:00:00 2022-10-09 19:27:12,206 - freqtrade.data.history.idatahandler - WARNING - PYR/USDT, spot, 1h, data starts at 2021-11-26 08:00:00 2022-10-09 19:27:12,433 - freqtrade.data.history.idatahandler - WARNING - PYR/USDT, spot, 15m, data starts at 2021-11-26 08:00:00 2022-10-09 19:27:15,773 - freqtrade.data.history.idatahandler - WARNING - QI/USDT, spot, 1d, data starts at 2021-11-15 00:00:00 2022-10-09 19:27:15,842 - freqtrade.data.history.idatahandler - WARNING - QI/USDT, spot, 1h, data starts at 2021-11-15 08:00:00 2022-10-09 19:27:16,077 - freqtrade.data.history.idatahandler - WARNING - QI/USDT, spot, 15m, data starts at 2021-11-15 08:00:00 2022-10-09 19:27:19,725 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1d, data starts at 2021-07-29 00:00:00 2022-10-09 19:27:19,812 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1h, data starts at 2021-07-29 06:00:00 2022-10-09 19:27:20,203 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 15m, data starts at 2021-07-29 06:00:00 ERROR: 137

    Hi

    keeps getting ERROR messages and killing when doing backtesting. Any adwise on what to do ?

    opened by Matsmann 3
  • Freqtrade cluster

    Freqtrade cluster

    Hi, today in a new freqtrade version were introduced freqtrade clusters. Will you consider implementing this into your strategy? https://www.freqtrade.io/en/latest/producer-consumer/

    opened by BigT-CZE 2
  • Robot running but no actions

    Robot running but no actions

    I put freqtrade on a cloud web server and included the strategy to run yesterday (2022-09-25). In the web UI I see the logs that the robot is running but does not perform any action. I copied one of the logs below to help understand this post.

    2022-09-26 11:37:42 - freqtrade.worker - INFO - Bot heartbeat. PID=447, version='2022.9.dev-f4fac53a1, strategy_version: v11.2.237', state='RUNNING' 2022-09-26 11:37:42 - freqtrade.rpc.rpc_manager - INFO - Sending rpc message: {'type': whitelist, 'data': ['BNX/USDT', 'COMP/USDT', 'TRX/USDT', 'UNFI/USDT', 'RVN/USDT', 'SNX/USDT', 'IOTA/USDT', 'EOS/USDT', 'BTC/USDT', 'ATOM/USDT', 'WAVES/USDT', 'GRT/USDT', 'KSM/USDT', 'BAND/USDT', 'INJ/USDT', 'XLM/USDT', 'KNC/USDT', 'ENS/USDT', 'ROSE/USDT', 'MATIC/USDT', 'STG/USDT', 'NEAR/USDT', 'FIL/USDT', 'DYDX/USDT', 'OP/USDT', 'MKR/USDT', 'AAVE/USDT', 'DOT/USDT', 'YFI/USDT', 'OCEAN/USDT', 'SOL/USDT', 'RUNE/USDT', 'ALGO/USDT', 'GALA/USDT', 'APE/USDT', 'RLC/USDT', 'TRB/USDT', 'ADA/USDT', 'ENJ/USDT', 'FTM/USDT', 'SUSHI/USDT', 'PEOPLE/USDT', 'THETA/USDT', 'AXS/USDT', 'DOGE/USDT', 'MANA/USDT', 'ZEC/USDT', '1000SHIB/USDT', 'ETH/USDT', 'ZIL/USDT', 'JASMY/USDT', 'ETC/USDT', '1INCH/USDT', 'LTC/USDT', 'HNT/USDT', 'UNI/USDT', 'GMT/USDT', 'REEF/USDT', 'COTI/USDT', 'CRV/USDT', 'LINK/USDT', 'RSR/USDT', 'SAND/USDT', 'ETHUSDT_220930', 'VET/USDT', 'XRP/USDT', 'BTCUSDT_220930', 'BCH/USDT', 'AVAX/USDT', 'EGLD/USDT']}

    I'm using the recommended settings as provided in this link: https://github.com/iterativv/NostalgiaForInfinity/blob/main/configs/exampleconfig.json

    And for the pairs I'm using the recommended settings as per the link: https://github.com/iterativv/NostalgiaForInfinity/blob/main/configs/pairlist-volume-binance-usdt.json

    For the black list I'm using the settings indicated in the link: https://github.com/iterativv/NostalgiaForInfinity/blob/main/configs/blacklist-binance.json

    I'm also using: "trading_mode": "futures", "margin_mode": "isolated"

    I would like to know if it is normal for the bot to take a long time to start operations?

    opened by Henqsan 3
  • Entering coins returning from a pump

    Entering coins returning from a pump

    Again the strategy makes entry points in middle of coin fall back

    image

    image

    Can we avoid this by tracking coins price back for a specific period of time and if there is a huge pump in the price then we avoid those entries?

    Is this possible by anyway?

    If you need any logs or any more information I'll be happy to provide

    image

    Strategy version v11.2.1

    opened by EgyptianM 8
Releases(v11.3.102)
Owner
iterativ
iterativ
Freqtrade is a free and open source crypto trading bot written in Python.

Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning.

Kazune Takeda 5 Dec 30, 2021
Utilizing the freqtrade high-frequency cryptocurrency trading framework to build and optimize trading strategies. The bot runs nonstop on a Rasberry Pi.

Freqtrade Strategy Repository Please test all scripts and dry run them before using them in live mode Contact me on discord if you have any questions!

Michael Fourie 90 Jan 1, 2023
Cryptocurrency Trading Bot - A trading bot to automate cryptocurrency trading strategies using Python, equipped with a basic GUI

Cryptocurrency Trading Bot - A trading bot to automate cryptocurrency trading strategies using Python, equipped with a basic GUI. Used REST and WebSocket API to connect to two of the most popular crypto exchanges in the world.

Francis 8 Sep 15, 2022
Crypto-trading-simulator - Cryptocurrency trading simulator using Python, Streamlit

Crypto Trading Simulator Run streamlit run main.py Dependency Python 3 streamli

Brad 12 Jul 2, 2022
Fully Dockerized cryptocurrencies Trading Bot, based on Freqtrade engine. Multi instances.

Cryptocurrencies Trading Bot - Freqtrade Manager This automated Trading Bot is based on the amazing Freqtrade one. It allows you to manage many Freqtr

Cédric Dugat 47 Dec 6, 2022
SimpleDCABot is a simple bot that buys crypto with a dollar-cost averaging strategy.

Simple Open Dollar Cost Averaging (DCA) Bot SimpleDCABot is a simple bot that buys crypto on a selected exchange at regular intervals for a prescribed

null 4 Mar 28, 2022
null 471 Dec 24, 2022
Trading bot - A Trading bot With Python

Trading_bot Trading bot intended for 1) Tracking current prices of tokens 2) Set

Tymur Kotkov 29 Dec 1, 2022
Crypto trading bot that detects surges in the bitcoin price and executes trades.

The bot will be trading Bitcoin automatically if the price has increased by more than 3% in the last 10 minutes. We will have a stop loss of 5% and t

null 164 Oct 20, 2022
This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio

gateio-trading-bot-binance-announcements This Gateio x Binance cryptocurrency trading bot scans the Binance Announcements page and picks up on new coi

Andrei 1.2k Jan 1, 2023
Automated crypto trading bot as adapted from Algovibes.

crypto-trading-bot Automated crypto trading bot as adapted from Algovibes. Pre-requisites Ensure that you have created a Binance API key before procee

Kai Koh 33 Nov 1, 2022
An advanced crypto trading bot written in Python

Jesse Jesse is an advanced crypto trading framework which aims to simplify researching and defining trading strategies. Why Jesse? In short, Jesse is

Jesse 4.4k Jan 9, 2023
This is a DCA crypto trading bot built for Binance written in Python

This is a DCA crypto trading bot built for Binance written in Python. It works by allowing you to DCA at an interval of your choosing and reports back on your average buy price as well as a chart consisting of each DCA.

Andrei 55 Oct 17, 2022
Free python/telegram bot for easy execution and surveillance of crypto trading plans on multiple exchanges.

EazeBot Introduction Have you ever traded cryptocurrencies and lost overview of your planned buys/sells? Have you encountered the experience that your

Marcel Beining 100 Dec 6, 2022
This program is an automated trading bot that uses TDAmeritrades Thinkorswim trading platform's scanners and alerts system.

Python Trading Bot w/ Thinkorswim Description This program is an automated trading bot that uses TDAmeritrades Thinkorswim trading platform's scanners

Trey Thomas 201 Jan 3, 2023
Intelligent Trading Bot: Automatically generating signals and trading based on machine learning and feature engineering

Intelligent Trading Bot: Automatically generating signals and trading based on machine learning and feature engineering

Alexandr Savinov 326 Jan 3, 2023
Satoshi is a discord bot template in python using discord.py that allow you to track some live crypto prices with your own discord bot.

Satoshi ~ DiscordCryptoBot Satoshi is a simple python discord bot using discord.py that allow you to track your favorites cryptos prices with your own

Théo 2 Sep 15, 2022
Tsar-Bot - Crypto auto trade bot that use sentiment analysis from twitter

Tsar Bot - Crypto Sentiment Bot Tsar Bot is a Twitter Crypto Sentiment Bot that

Hilmi Azizi 26 Dec 15, 2022