Free, open source crypto trading bot
2175 matches across 13 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ft_client/freqtrade_client/ft_rest_client.py | 268 | def list_open_trades_custom_data(self, key=None, limit=100, offset=0): |
| LOW | ft_client/test_client/test_rest_client.py | 196 | def test_ft_client_argparsing(mocker, params, expected_args, expected_kwargs, caplog): |
| LOW | tests/conftest.py | 94 | def pytest_xdist_make_scheduler(config, log): |
| LOW | tests/conftest.py | 234 | def patched_configuration_load_config_file(mocker, config) -> None: |
| LOW | tests/conftest.py | 420 | def create_mock_trades_with_leverage(fee, use_db: bool = True): |
| LOW | tests/conftest.py | 507 | def fixture_set_mp_start_method(): |
| LOW | tests/conftest.py | 1827 | def limit_buy_order_old_partial(): |
| LOW | tests/conftest.py | 1845 | def limit_buy_order_old_partial_canceled(limit_buy_order_old_partial): |
| LOW | tests/conftest.py | 1853 | def limit_buy_order_canceled_empty(request): |
| LOW | tests/conftest.py | 2741 | def limit_buy_order_usdt_open(): |
| LOW | tests/conftest.py | 2769 | def limit_sell_order_usdt_open(): |
| LOW | tests/conftest.py | 2813 | def market_buy_order_usdt_doublefee(market_buy_order_usdt): |
| LOW | tests/conftest.py | 2903 | def funding_rate_history_hourly(): |
| LOW | tests/conftest.py | 2993 | def funding_rate_history_octohourly(): |
| LOW | tests/test_plotting.py | 207 | def test_generate_candlestick_graph_no_signals_no_trades(default_conf, mocker, testdatadir, caplog): |
| LOW | tests/test_plotting.py | 251 | def test_generate_candlestick_graph_no_trades(default_conf, mocker, testdatadir): |
| LOW | tests/test_plotting.py | 342 | def test_generate_profit_graph(testdatadir): |
| LOW | tests/test_plotting.py | 398 | def test_start_plot_dataframe(mocker): |
| LOW | tests/test_plotting.py | 415 | def test_load_and_plot_trades(default_conf, mocker, caplog, testdatadir): |
| LOW | tests/test_plotting.py | 460 | def test_start_plot_profit_error(mocker): |
| LOW | tests/test_misc.py | 213 | def test_parse_db_uri_for_logging(conn_url, expected) -> None: |
| LOW | tests/test_configuration.py | 655 | def test_validate_default_conf(default_conf) -> None: |
| LOW | tests/test_configuration.py | 661 | def test_validate_fiat_currency_options(default_conf, fiat) -> None: |
| LOW | tests/test_configuration.py | 670 | def test_validate_max_open_trades(default_conf): |
| LOW | tests/test_configuration.py | 49 | def test_load_config_missing_attributes(default_conf) -> None: |
| LOW | tests/test_configuration.py | 63 | def test_load_config_incorrect_stake_amount(default_conf) -> None: |
| LOW | tests/test_configuration.py | 83 | def test_load_config_file_error(default_conf, mocker, caplog) -> None: |
| LOW | tests/test_configuration.py | 96 | def test_load_config_file_error_range(default_conf, mocker, caplog) -> None: |
| LOW | tests/test_configuration.py | 157 | def test_load_config_max_open_trades_zero(default_conf, mocker, caplog) -> None: |
| LOW | tests/test_configuration.py | 169 | def test_load_config_combine_dicts(default_conf, mocker, caplog) -> None: |
| LOW | tests/test_configuration.py | 230 | def test_from_recursive_files(testdatadir) -> None: |
| LOW | tests/test_configuration.py | 276 | def test_load_config_max_open_trades_minus_one(default_conf, mocker, caplog) -> None: |
| LOW | tests/test_configuration.py | 290 | def test_load_config_file_exception(mocker) -> None: |
| LOW | tests/test_configuration.py | 312 | def test_load_config_with_params(default_conf, mocker) -> None: |
| LOW | tests/test_configuration.py | 407 | def test_load_custom_strategy(default_conf, mocker, tmp_path) -> None: |
| LOW | tests/test_configuration.py | 443 | def test_setup_configuration_without_arguments(mocker, default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 475 | def test_setup_configuration_with_arguments(mocker, default_conf, caplog, tmp_path) -> None: |
| LOW | tests/test_configuration.py | 532 | def test_setup_configuration_with_stratlist(mocker, default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 577 | def test_hyperopt_with_arguments(mocker, default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 605 | def test_cli_verbose_with_params(default_conf, mocker, caplog) -> None: |
| LOW | tests/test_configuration.py | 643 | def test_load_config_warn_forcebuy(default_conf, mocker, caplog) -> None: |
| LOW | tests/test_configuration.py | 793 | def test_validate_ask_orderbook(default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 811 | def test_validate_time_in_force(default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 835 | def test__validate_order_types(default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 872 | def test__validate_unfilledtimeout(default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 898 | def test__validate_pricing_rules(default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 935 | def test__validate_freqai_include_timeframes(default_conf, caplog) -> None: |
| LOW | tests/test_configuration.py | 1048 | def test__validate_demo_trading(default_conf_usdt) -> None: |
| LOW | tests/test_configuration.py | 1064 | def test_validate_edge_removal(default_conf): |
| LOW | tests/test_configuration.py | 1075 | def test_load_config_test_comments() -> None: |
| LOW | tests/test_configuration.py | 1085 | def test_load_config_default_exchange(all_conf) -> None: |
| LOW | tests/test_configuration.py | 1098 | def test_load_config_default_exchange_name(all_conf) -> None: |
| LOW | tests/test_configuration.py | 1111 | def test_load_config_stoploss_exchange_limit_ratio(all_conf) -> None: |
| LOW | tests/test_configuration.py | 1126 | def test_load_config_default_subkeys(all_conf, keys) -> None: |
| LOW | tests/test_configuration.py | 1159 | def test_pairlist_resolving_with_config(mocker, default_conf): |
| LOW | tests/test_configuration.py | 1194 | def test_pairlist_resolving_with_config_pl(mocker, default_conf): |
| LOW | tests/test_configuration.py | 1215 | def test_pairlist_resolving_with_config_pl_not_exists(mocker, default_conf): |
| LOW | tests/test_configuration.py | 1233 | def test_pairlist_resolving_fallback(mocker, tmp_path): |
| LOW | tests/test_configuration.py | 1268 | def test_process_temporary_deprecated_settings(mocker, default_conf, setting, caplog): |
| LOW | tests/test_configuration.py | 1314 | def test_process_removed_settings(mocker, default_conf, setting): |
| 1254 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/optimize/test_backtesting.py | 0 | buy every xth candle - sell every other xth -2 (hold on to pairs a bit) |
| HIGH | tests/optimize/test_backtesting.py | 0 | buy every xth candle - sell every other xth -2 (hold on to pairs a bit) |
| HIGH | tests/optimize/test_backtesting.py | 0 | buy every xth candle - sell every other xth -2 (hold on to pairs a bit) |
| HIGH | tests/optimize/test_backtesting.py | 0 | buy every xth candle - sell every other xth -2 (hold on to pairs a bit) |
| HIGH | tests/persistence/test_migrations.py | 0 | test database migration (starting with new pairformat) |
| HIGH | tests/persistence/test_migrations.py | 0 | test database migration (starting with new pairformat) |
| HIGH | tests/persistence/test_migrations.py | 0 | test database migration (starting with new pairformat) |
| HIGH | tests/data/test_historic_precision.py | 0 | test the get_tick_size_over_time function with predefined data |
| HIGH | tests/data/test_historic_precision.py | 0 | test the get_tick_size_over_time function with predefined data |
| HIGH | tests/data/test_historic_precision.py | 0 | test the get_tick_size_over_time function with predefined data |
| HIGH | tests/strategy/strats/freqai_test_classifier.py | 0 | test strategy - used for testing freqai functionalities. do not use in production. |
| HIGH | tests/strategy/strats/freqai_rl_test_strat.py | 0 | test strategy - used for testing freqai functionalities. do not use in production. |
| HIGH | tests/strategy/strats/freqai_test_strat.py | 0 | test strategy - used for testing freqai functionalities. do not use in production. |
| HIGH | tests/strategy/strats/strategy_test_v2.py | 0 | adds several different ta indicators to the given dataframe performance note: for the best performance be frugal on the |
| HIGH | docs/strategy-customization.md | 0 | adds several different ta indicators to the given dataframe performance note: for the best performance be frugal on the |
| HIGH | freqtrade/templates/sample_strategy.py | 0 | adds several different ta indicators to the given dataframe performance note: for the best performance be frugal on the |
| HIGH | docs/freqai-configuration.md | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …eqai/prediction_models/LightGBMRegressorMultiTarget.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | freqtrade/freqai/prediction_models/XGBoostRegressor.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …qai/prediction_models/LightGBMClassifierMultiTarget.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …qtrade/freqai/prediction_models/XGBoostRFClassifier.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …reqai/prediction_models/XGBoostRegressorMultiTarget.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | freqtrade/freqai/prediction_models/XGBoostClassifier.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …eqtrade/freqai/prediction_models/LightGBMClassifier.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …reqai/prediction_models/PyTorchTransformerRegressor.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …eqtrade/freqai/prediction_models/XGBoostRFRegressor.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | freqtrade/freqai/prediction_models/LightGBMRegressor.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …qai/prediction_models/SKLearnRandomForestClassifier.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | …qtrade/freqai/prediction_models/PyTorchMLPRegressor.py | 0 | user sets up the training and test data to fit their desired model here :param data_dictionary: the dictionary holding a |
| HIGH | freqtrade/exchange/okx.py | 0 | additional exchange initialization logic. .api will be available at this point. must be overridden in child methods if r |
| HIGH | freqtrade/exchange/bybit.py | 0 | additional exchange initialization logic. .api will be available at this point. must be overridden in child methods if r |
| HIGH | freqtrade/exchange/exchange.py | 0 | additional exchange initialization logic. .api will be available at this point. must be overridden in child methods if r |
| HIGH | freqtrade/exchange/bitget.py | 0 | additional exchange initialization logic. .api will be available at this point. must be overridden in child methods if r |
| HIGH | freqtrade/exchange/gate.py | 0 | additional exchange initialization logic. .api will be available at this point. must be overridden in child methods if r |
| HIGH | freqtrade/exchange/binance.py | 0 | additional exchange initialization logic. .api will be available at this point. must be overridden in child methods if r |
| HIGH | freqtrade/exchange/bybit.py | 0 | check if the pair gonna be delisted. by default, it returns none. :param pair: market symbol :return: datetime if the pa |
| HIGH | freqtrade/exchange/bitget.py | 0 | check if the pair gonna be delisted. by default, it returns none. :param pair: market symbol :return: datetime if the pa |
| HIGH | freqtrade/exchange/binance.py | 0 | check if the pair gonna be delisted. by default, it returns none. :param pair: market symbol :return: datetime if the pa |
| HIGH | …eqai/prediction_models/LightGBMRegressorMultiTarget.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | freqtrade/freqai/prediction_models/XGBoostRegressor.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | …qai/prediction_models/LightGBMClassifierMultiTarget.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | …qtrade/freqai/prediction_models/XGBoostRFClassifier.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | freqtrade/freqai/prediction_models/XGBoostClassifier.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | …eqtrade/freqai/prediction_models/LightGBMClassifier.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | …eqtrade/freqai/prediction_models/XGBoostRFRegressor.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | freqtrade/freqai/prediction_models/LightGBMRegressor.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | …qai/prediction_models/SKLearnRandomForestClassifier.py | 0 | user created prediction model. the class inherits ifreqaimodel, which means it has full access to all frequency ai funct |
| HIGH | …qtrade/freqai/prediction_models/XGBoostRFClassifier.py | 0 | filter the prediction features data and predict with it. :param unfiltered_df: full dataframe for the current backtest p |
| HIGH | freqtrade/freqai/prediction_models/XGBoostClassifier.py | 0 | filter the prediction features data and predict with it. :param unfiltered_df: full dataframe for the current backtest p |
| HIGH | …reqai/prediction_models/PyTorchTransformerRegressor.py | 0 | filter the prediction features data and predict with it. :param unfiltered_df: full dataframe for the current backtest p |
| HIGH | …qai/prediction_models/SKLearnRandomForestClassifier.py | 0 | filter the prediction features data and predict with it. :param unfiltered_df: full dataframe for the current backtest p |
| HIGH | freqtrade/freqai/base_models/BasePyTorchRegressor.py | 0 | filter the prediction features data and predict with it. :param unfiltered_df: full dataframe for the current backtest p |
| HIGH | freqtrade/freqai/base_models/BaseRegressionModel.py | 0 | filter the prediction features data and predict with it. :param unfiltered_df: full dataframe for the current backtest p |
| HIGH | freqtrade/freqai/base_models/BaseClassifierModel.py | 0 | filter the prediction features data and predict with it. :param unfiltered_df: full dataframe for the current backtest p |
| HIGH | …trade/freqai/prediction_models/ReinforcementLearner.py | 0 | an example reward function. this is the one function that users will likely wish to inject their own creativity into. wa |
| HIGH | freqtrade/freqai/RL/BaseEnvironment.py | 0 | an example reward function. this is the one function that users will likely wish to inject their own creativity into. wa |
| HIGH | freqtrade/freqai/RL/BaseReinforcementLearningModel.py | 0 | an example reward function. this is the one function that users will likely wish to inject their own creativity into. wa |
| HIGH | freqtrade/freqai/RL/Base5ActionRLEnv.py | 0 | logic for a single step (incrementing one candle in time) by the agent :param: action: int = the action type that the ag |
| HIGH | freqtrade/freqai/RL/Base3ActionRLEnv.py | 0 | logic for a single step (incrementing one candle in time) by the agent :param: action: int = the action type that the ag |
| HIGH | freqtrade/freqai/RL/Base4ActionRLEnv.py | 0 | logic for a single step (incrementing one candle in time) by the agent :param: action: int = the action type that the ag |
| 78 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ft_client/freqtrade_client/__init__.py | 1 | |
| LOW | tests/strategy/strats/failing_strategy.py | 3 | |
| LOW | freqtrade/configuration/__init__.py | 3 | |
| LOW | freqtrade/configuration/__init__.py | 3 | |
| LOW | freqtrade/configuration/__init__.py | 4 | |
| LOW | freqtrade/configuration/__init__.py | 5 | |
| LOW | freqtrade/configuration/__init__.py | 6 | |
| LOW | freqtrade/configuration/__init__.py | 7 | |
| LOW | freqtrade/configuration/__init__.py | 8 | |
| LOW | freqtrade/ft_types/__init__.py | 2 | |
| LOW | freqtrade/ft_types/__init__.py | 2 | |
| LOW | freqtrade/ft_types/__init__.py | 2 | |
| LOW | freqtrade/ft_types/__init__.py | 2 | |
| LOW | freqtrade/ft_types/__init__.py | 2 | |
| LOW | freqtrade/ft_types/__init__.py | 2 | |
| LOW | freqtrade/ft_types/__init__.py | 10 | |
| LOW | freqtrade/ft_types/__init__.py | 11 | |
| LOW | freqtrade/ft_types/__init__.py | 11 | |
| LOW | freqtrade/exchange/__init__.py | 3 | |
| LOW | freqtrade/exchange/__init__.py | 4 | |
| LOW | freqtrade/exchange/__init__.py | 7 | |
| LOW | freqtrade/exchange/__init__.py | 7 | |
| LOW | freqtrade/exchange/__init__.py | 7 | |
| LOW | freqtrade/exchange/__init__.py | 8 | |
| LOW | freqtrade/exchange/__init__.py | 9 | |
| LOW | freqtrade/exchange/__init__.py | 10 | |
| LOW | freqtrade/exchange/__init__.py | 11 | |
| LOW | freqtrade/exchange/__init__.py | 12 | |
| LOW | freqtrade/exchange/__init__.py | 13 | |
| LOW | freqtrade/exchange/__init__.py | 14 | |
| LOW | freqtrade/exchange/__init__.py | 15 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 16 | |
| LOW | freqtrade/exchange/__init__.py | 32 | |
| LOW | freqtrade/exchange/__init__.py | 32 | |
| LOW | freqtrade/exchange/__init__.py | 32 | |
| LOW | freqtrade/exchange/__init__.py | 32 | |
| LOW | freqtrade/exchange/__init__.py | 32 | |
| LOW | freqtrade/exchange/__init__.py | 32 | |
| LOW | freqtrade/exchange/__init__.py | 32 | |
| LOW | freqtrade/exchange/__init__.py | 41 | |
| LOW | freqtrade/exchange/__init__.py | 42 | |
| LOW | freqtrade/exchange/__init__.py | 43 | |
| LOW | freqtrade/exchange/__init__.py | 44 | |
| LOW | freqtrade/exchange/__init__.py | 45 | |
| LOW | freqtrade/exchange/__init__.py | 46 | |
| LOW | freqtrade/exchange/__init__.py | 47 | |
| LOW | freqtrade/exchange/__init__.py | 48 | |
| 254 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/optimize/test_lookahead_analysis.py | 365 | assert expected_data1.equals(saved_data1) |
| HIGH | tests/optimize/test_lookahead_analysis.py | 393 | assert expected_data2.equals(saved_data2) |
| HIGH | tests/optimize/test_lookahead_analysis.py | 423 | assert expected_data3.equals(saved_data3) |
| HIGH | tests/optimize/test_hyperopt.py | 713 | '{"params":{"mfi-value":null,"sell-mfi-value":null},"minimal_roi"' |
| HIGH | tests/optimize/test_hyperopt.py | 714 | ':{},"stoploss":null,"trailing_stop":null,"max_open_trades":null}' |
| HIGH | tests/optimize/test_hyperopt.py | 771 | '{"params":{"mfi-value":null,"sell-mfi-value":null},"minimal_roi":{},"stoploss":null}' |
| HIGH | tests/optimize/test_hyperopt.py | 828 | assert '{"minimal_roi":{},"stoploss":null}' in out |
| HIGH | tests/plugins/test_pairlist.py | 1238 | assert not df1.equals(df2) |
| HIGH | tests/freqtradebot/test_stoploss_on_exchange.py | 102 | # should do nothing and return false |
| HIGH | tests/freqtradebot/test_freqtradebot.py | 4349 | # delta is 100 which is impossible to reach. hence function will return false |
| HIGH | tests/persistence/test_trade_fromjson.py | 66 | "liquidation_price": null, |
| HIGH | tests/persistence/test_trade_fromjson.py | 74 | "open_order_id": null, |
| HIGH | tests/data/test_metrics.py | 503 | assert df.equals(df1) |
| HIGH | tests/data/test_metrics.py | 555 | assert df.equals(df1) |
| HIGH | tests/data/test_datahandler.py | 130 | assert df.columns.equals(df1.columns) |
| HIGH | tests/data/test_datahandler.py | 357 | assert ohlcv.equals(ohlcv1) |
| HIGH | tests/data/test_btanalysis.py | 101 | assert bt_data.equals(bt_data2) |
| HIGH | tests/data/test_btanalysis.py | 105 | assert bt_data.equals(bt_data3) |
| HIGH | tests/data/test_btanalysis.py | 124 | assert bt_data.equals(bt_data2) |
| HIGH | tests/data/test_converter.py | 367 | assert not data_modify.equals(data) |
| HIGH | tests/data/test_converter.py | 377 | assert not data_modify.equals(data) |
| HIGH | tests/data/test_converter.py | 387 | assert not data_modify.equals(data) |
| HIGH | tests/data/test_converter.py | 397 | assert not data_modify.equals(data) |
| HIGH | tests/data/test_converter.py | 411 | assert res.equals(trades_history_df) |
| HIGH | tests/data/test_converter.py | 206 | assert data.equals(df1) |
| HIGH | tests/data/test_converter.py | 234 | assert dfs.equals(dfm) |
| HIGH | tests/data/test_converter.py | 235 | assert dfs.equals(df1) |
| HIGH | tests/data/test_dataprovider.py | 32 | assert ohlcv_history.equals(dp.ohlcv("UNITTEST/BTC", timeframe, candle_type=candletype)) |
| HIGH | tests/data/test_dataprovider.py | 144 | assert ohlcv_history.equals( |
| HIGH | tests/data/test_dataprovider.py | 147 | assert ohlcv_history.equals( |
| HIGH | tests/data/test_dataprovider.py | 198 | assert ohlcv_history.equals( |
| HIGH | tests/data/test_dataprovider.py | 204 | assert ohlcv_history.equals( |
| HIGH | tests/data/test_dataprovider.py | 420 | assert ohlcv_history.equals(dataframe) |
| HIGH | tests/data/test_dataprovider.py | 424 | assert ohlcv_history.equals(dataframe) |
| HIGH | tests/data/test_history.py | 924 | assert stored_data.equals(expected_result) |
| HIGH | tests/data/test_history.py | 1002 | assert stored_data.equals(existing_data) |
| HIGH | freqtrade/exchange/exchange_utils.py | 182 | # true then it's true. If it's undefined, then it's most likely true, but not 100% )" |
| HIGH | …trade/freqai/prediction_models/PyTorchMLPClassifier.py | 33 | "n_epochs": null, |
| HIGH | …qtrade/freqai/prediction_models/PyTorchMLPRegressor.py | 34 | "n_epochs": null, |
| HIGH | freqtrade/loggers/ft_rich_handler.py | 33 | # Handles pythonw, where stdout/stderr are null, and we return NullFile |
| HIGH | freqtrade/plugins/pairlist/VolatilityFilter.py | 53 | "either None (undefined), 'asc' or 'desc'" |
| HIGH | freqtrade/plugins/pairlist/rangestabilityfilter.py | 47 | "either None (undefined), 'asc' or 'desc'" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/conftest.py | 3198 | "minNotional": 0, # stake(before leverage) = 0 |
| MEDIUM | tests/conftest.py | 3199 | "maxNotional": 100000, # max stake(before leverage) = 5000 |
| MEDIUM | tests/exchange/test_exchange.py | 6110 | # limit leverage tiers |
| MEDIUM | tests/exchange/test_binance.py | 684 | # Assert if conftest leverage tiers have less or equal tiers than the exchange |
| MEDIUM | tests/optimize/test_backtesting.py | 630 | # leverage = 5 |
| MEDIUM | tests/optimize/test_backtest_detail.py | 567 | # Test 27: (copy of test26 with leverage) |
| MEDIUM | tests/optimize/test_backtest_detail.py | 589 | # Test 28: (copy of test26 with leverage and as short) |
| MEDIUM | tests/freqtradebot/test_freqtradebot.py | 1027 | # leverage=1.0, open_rate=10.00000000, open_since=...) |
| MEDIUM | tests/freqtradebot/test_freqtradebot.py | 1029 | # leverage=3.0, open_rate=10.00000000, open_since=...) |
| MEDIUM | tests/persistence/test_persistence.py | 796 | # 10 minute limit trade on Binance/Kraken at 1x, 3x leverage |
| MEDIUM | tests/strategy/strats/strategy_test_v3.py | 192 | # Bot-logic must make sure it's an allowed leverage and eventually adjust accordingly. |
| MEDIUM | freqtrade/freqtradebot.py | 1156 | # Cap leverage between 1.0 and max_leverage. |
| MEDIUM | freqtrade/freqtradebot.py | 1159 | # Changing leverage currently not possible |
| MEDIUM | freqtrade/freqtradebot.py | 1164 | # We do however also need min-stake to determine leverage, therefore this is ignored as |
| MEDIUM | freqtrade/freqtradebot.py | 1960 | # Filled val is in quote currency (after leverage) |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 213 | # There are no leverage tiers |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 221 | # Hyperliquid expects leverage to be an int |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 223 | # Hyperliquid needs the parameter leverage. |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 261 | # Docs: The maintenance margin is half of the initial margin at max leverage, |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 263 | # (for 50x max leverage assets) and 16.7% (for 3x max leverage assets) |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 265 | # The key thing here is 'Half of the initial margin at max leverage'. |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 268 | # 2. Assume max leverage, calculate the initial margin by dividing the position value |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 269 | # by the max leverage |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 282 | # Docs: The maintenance margin is half of the initial margin at max leverage |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 283 | # The docs don't explicitly specify maintenance leverage, but this works. |
| MEDIUM | freqtrade/exchange/hyperliquid.py | 284 | # Double because of the statement 'half of the initial margin at max leverage' |
| MEDIUM | freqtrade/exchange/exchange.py | 3560 | # Fetch all leverage tiers at once |
| MEDIUM | freqtrade/exchange/exchange.py | 3563 | # Must fetch the leverage tiers for each market separately |
| MEDIUM | freqtrade/exchange/exchange.py | 3703 | # Adjust notional by leverage to do a proper comparison |
| MEDIUM | freqtrade/exchange/exchange.py | 3738 | return 1.0 # Default if max leverage cannot be found |
| MEDIUM | freqtrade/freqai/freqai_interface.py | 296 | # Loop enforcing the sliding window training/backtesting paradigm |
| MEDIUM | freqtrade/optimize/backtesting.py | 1035 | # Cap leverage between 1.0 and max_leverage. |
| MEDIUM | freqtrade/persistence/trade_model.py | 488 | """Returns true if this is a non-leverage, non-short trade""" |
| MEDIUM | freqtrade/persistence/trade_model.py | 1303 | # Leverage not updated, as we don't allow changing leverage through DCA at the moment. |
| MEDIUM | freqtrade/persistence/wallet_history.py | 33 | # Total position value in `quote_currency` - including leverage |
| MEDIUM | freqtrade/rpc/rpc.py | 906 | # est_stake = rate * pos.position - pos.collateral * (pos.leverage - 1) |
| MEDIUM | freqtrade/rpc/rpc.py | 909 | # = collateral + (pos.collateral * pos.leverage) |
| MEDIUM | freqtrade/rpc/api_server/api_v1.py | 47 | # 2.17: Forceentry - leverage, partial force_exit |
| MEDIUM | freqtrade/strategy/interface.py | 66 | # Version 3 - First version with short and leverage support |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/conftest.py | 172 | |
| LOW | tests/optimize/test_backtesting.py | 2563 | |
| LOW | tests/plugins/test_pairlist.py | 768 | |
| LOW | tests/plugins/test_pairlist.py | 1020 | |
| LOW | tests/exchange_online/test_ccxt_compat.py | 128 | |
| LOW | tests/exchange_online/test_ccxt_compat.py | 212 | |
| LOW | tests/rpc/test_rpc_apiserver.py | 910 | |
| LOW | tests/strategy/test_strategy_helpers.py | 253 | |
| LOW | scripts/ws_client.py | 197 | |
| LOW | freqtrade/freqtradebot.py | 79 | |
| LOW | freqtrade/freqtradebot.py | 449 | |
| LOW | freqtrade/freqtradebot.py | 516 | |
| LOW | freqtrade/freqtradebot.py | 1298 | |
| LOW | freqtrade/freqtradebot.py | 1379 | |
| LOW | freqtrade/freqtradebot.py | 1585 | |
| LOW | freqtrade/freqtradebot.py | 1788 | |
| LOW | freqtrade/freqtradebot.py | 2369 | |
| LOW | freqtrade/configuration/config_validation.py | 296 | |
| LOW | freqtrade/configuration/configuration.py | 189 | |
| LOW | freqtrade/configuration/timerange.py | 125 | |
| LOW | freqtrade/configuration/environment_vars.py | 14 | |
| LOW | freqtrade/exchange/hyperliquid.py | 163 | |
| LOW | freqtrade/exchange/binance_public_data.py | 108 | |
| LOW | freqtrade/exchange/binance_public_data.py | 232 | |
| LOW | freqtrade/exchange/binance_public_data.py | 388 | |
| LOW | freqtrade/exchange/binance_public_data.py | 442 | |
| LOW | freqtrade/exchange/exchange.py | 649 | |
| LOW | freqtrade/exchange/exchange.py | 1241 | |
| LOW | freqtrade/exchange/exchange.py | 2102 | |
| LOW | freqtrade/exchange/exchange.py | 2509 | |
| LOW | freqtrade/exchange/exchange.py | 2611 | |
| LOW | freqtrade/exchange/exchange.py | 3126 | |
| LOW | freqtrade/exchange/exchange.py | 3339 | |
| LOW | freqtrade/exchange/exchange.py | 3393 | |
| LOW | freqtrade/exchange/exchange.py | 3557 | |
| LOW | freqtrade/exchange/exchange.py | 3627 | |
| LOW | freqtrade/exchange/exchange_ws.py | 234 | |
| LOW | freqtrade/exchange/krakenfutures.py | 61 | |
| LOW | freqtrade/exchange/krakenfutures.py | 142 | |
| LOW | freqtrade/exchange/exchange_utils.py | 305 | |
| LOW | freqtrade/exchange/common.py | 120 | |
| LOW | freqtrade/exchange/common.py | 121 | |
| LOW | freqtrade/exchange/bitget.py | 104 | |
| LOW | freqtrade/exchange/gate.py | 109 | |
| LOW | freqtrade/freqai/utils.py | 94 | |
| LOW | freqtrade/freqai/freqai_interface.py | 273 | |
| LOW | freqtrade/freqai/freqai_interface.py | 871 | |
| LOW | freqtrade/freqai/data_drawer.py | 440 | |
| LOW | freqtrade/freqai/data_drawer.py | 572 | |
| LOW | freqtrade/freqai/data_drawer.py | 636 | |
| LOW | freqtrade/freqai/data_drawer.py | 711 | |
| LOW | freqtrade/freqai/torch/PyTorchModelTrainer.py | 71 | |
| LOW | freqtrade/freqai/RL/Base5ActionRLEnv.py | 32 | |
| LOW | freqtrade/freqai/RL/Base3ActionRLEnv.py | 30 | |
| LOW | freqtrade/freqai/RL/Base4ActionRLEnv.py | 31 | |
| LOW | freqtrade/loggers/__init__.py | 126 | |
| LOW | freqtrade/optimize/backtesting.py | 470 | |
| LOW | freqtrade/optimize/backtesting.py | 807 | |
| LOW | freqtrade/optimize/backtesting.py | 1573 | |
| LOW | freqtrade/optimize/backtesting.py | 1697 | |
| 64 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/test_misc.py | 52 | # Create a temporary directory and file |
| MEDIUM | tests/test_wallets.py | 567 | # Create a trade and verify the new currency is added to the wallets |
| MEDIUM | tests/util/test_historic_wallets_migration.py | 262 | # Create a trade with a pair that won't be in markets |
| MEDIUM | tests/util/test_historic_wallets_migration.py | 293 | # Create a trade |
| MEDIUM | tests/util/test_historic_wallets_migration.py | 353 | # Create a trade |
| MEDIUM | tests/util/test_historic_wallets_migration.py | 395 | # Create a trade |
| MEDIUM | tests/rpc/test_rpc_apiserver.py | 3236 | # Create a temporary directory and file |
| MEDIUM | tests/rpc/test_rpc_apiserver.py | 3267 | # Create a temporary directory and file |
| MEDIUM | tests/rpc/test_rpc_apiserver.py | 3356 | # Create a temporary directory and file |
| MEDIUM | tests/rpc/test_rpc_apiserver.py | 3394 | # Create a temporary directory and file |
| MEDIUM | tests/rpc/test_rpc.py | 866 | # Create a short and a long position wallet directly to avoid depending on position parsing |
| MEDIUM | tests/data/test_converter_orderflow.py | 91 | # Define the configuration for order flow calculation |
| MEDIUM | tests/data/test_converter_orderflow.py | 320 | # Define the bin size for the first test |
| MEDIUM | tests/data/test_converter_orderflow.py | 576 | # Create a sample DataFrame with known imbalances |
| MEDIUM | tests/data/test_trade_parallelism.py | 30 | # Create a minimal trades DataFrame with 4 trades over time |
| MEDIUM | tests/data/test_history.py | 463 | # Create the Json file |
| MEDIUM | freqtrade/exchange/exchange.py | 268 | # Initialize ccxt objects |
| MEDIUM | freqtrade/freqai/torch/PyTorchTransformerModel.py | 43 | # Define the encoder block of the Transformer |
| MEDIUM | freqtrade/optimize/backtesting.py | 503 | # Create a copy of the dataframe before shifting, that way the entry signal/tag |
| MEDIUM | freqtrade/optimize/analysis/lookahead_helpers.py | 97 | # Create a new empty DataFrame with the desired column names and set the index |
| MEDIUM | …ptimize/hyperopt_loss/hyperopt_loss_short_trade_dur.py | 55 | # Create an alias for This to allow the legacy Method to work as well. |
| MEDIUM | freqtrade/plot/plotting.py | 460 | # Define the graph |
| MEDIUM | freqtrade/plot/plotting.py | 703 | # Create an average close price of all the pairs that were involved. |
| MEDIUM | freqtrade/templates/sample_strategy.py | 39 | # This class is a sample. Feel free to customize it. |
| MEDIUM | freqtrade/commands/optimize_commands.py | 59 | # Initialize backtesting object |
| MEDIUM | freqtrade/commands/optimize_commands.py | 109 | # Initialize backtesting object |
| MEDIUM | freqtrade/rpc/external_message_consumer.py | 156 | # Create a connection to each producer |
| MEDIUM | freqtrade/rpc/external_message_consumer.py | 204 | # Create the message stream for this channel |
| MEDIUM | freqtrade/rpc/api_server/api_backtest.py | 164 | # Initialize backtesting object |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.sh | 284 | # Verify if 3.11+ is installed |
| LOW | tests/test_pip_audit.py | 59 | # Check if pip-audit found any vulnerabilities |
| LOW | tests/test_pip_audit.py | 64 | # Check if it's an actual vulnerability vs an error |
| LOW | tests/optimize/test_hyperopt.py | 495 | # Check if some indicators are generated. We will not test all of them |
| LOW | tests/plugins/test_pairlist.py | 810 | # Set whitelist_result to None if pairlist is invalid and should produce exception |
| LOW | tests/plugins/test_pairlist.py | 2211 | # Set max_open_trades to 4, the filter should empty the whitelist |
| LOW | tests/plugins/test_pairlist.py | 2231 | # Set max_open_trades to 3, the filter should empty the whitelist |
| LOW | tests/exchange_online/conftest.py | 711 | # Set proxy to test in CI. |
| LOW | tests/exchange_online/test_ccxt_compat.py | 268 | # Check if last-timeframe is within the last 2 intervals |
| LOW | tests/exchange_online/test_ccxt_compat.py | 286 | # Check if last-timeframe is within the last 2 intervals |
| LOW | tests/exchange_online/test_ccxt_compat.py | 323 | # Check if first-timeframe is either the start, or start + 1 |
| LOW | tests/persistence/test_migrations.py | 26 | # Check if init create a session |
| LOW | freqtrade/freqtradebot.py | 300 | # Check if we need to adjust our current positions before attempting to enter new trades. |
| LOW | freqtrade/freqtradebot.py | 1331 | # Check if we can exit our current position for this trade |
| LOW | freqtrade/freqtradebot.py | 1694 | # Check if new candle |
| LOW | freqtrade/configuration/configuration.py | 114 | # Check if the exchange set by the user is supported |
| LOW | freqtrade/configuration/environment_vars.py | 56 | # Check if any ccxt config key is in the key parts |
| LOW | freqtrade/exchange/bybit.py | 266 | # Set acknowledged to True to avoid ccxt exception |
| LOW | freqtrade/exchange/exchange.py | 358 | # Check if timeframe is available |
| LOW | freqtrade/exchange/exchange.py | 361 | # Check if all pairs are available |
| LOW | freqtrade/exchange/exchange.py | 732 | # Set markets to avoid reloading on websocket api |
| LOW | freqtrade/exchange/exchange.py | 1553 | # Verify if stopPrice works for your exchange, else configure stop_price_param |
| LOW | freqtrade/exchange/exchange.py | 2278 | # Check if cache has been invalidated |
| LOW | freqtrade/exchange/exchange.py | 2733 | # Check if 1 call can get us updated candles without hole in the data. |
| LOW | freqtrade/exchange/exchange_ws.py | 160 | # Check if they're already scheduled |
| LOW | freqtrade/exchange/common.py | 123 | kucoin = args[0].name == "KuCoin" # Check if the exchange is KuCoin. |
| LOW | freqtrade/loggers/__init__.py | 148 | # Check if we have the module available |
| LOW | freqtrade/optimize/backtesting.py | 296 | # Set stoploss_on_exchange to false for backtesting, |
| LOW | freqtrade/optimize/backtesting.py | 601 | # Set close_rate to stoploss |
| LOW | freqtrade/optimize/backtesting.py | 692 | # Check if we should increase our position |
| LOW | freqtrade/optimize/backtesting.py | 938 | # Check if we need to adjust our current positions |
| LOW | freqtrade/optimize/optimize_reports/bt_output.py | 539 | # Print results |
| LOW | …ptimize/hyperopt_loss/hyperopt_loss_short_trade_dur.py | 14 | # Set TARGET_TRADES to suit your number concurrent trades so its realistic |
| LOW | freqtrade/optimize/hyperopt/hyperopt_interface.py | 40 | # Assign timeframe to be used in hyperopt |
| LOW | freqtrade/plot/plotting.py | 57 | # Set timerange to use |
| LOW | freqtrade/plugins/pairlist/IPairList.py | 274 | # Check if market is active |
| LOW | freqtrade/plugins/pairlist/CrossMarketPairList.py | 82 | # Check if pair quote currency equals to the stake currency. |
| LOW | freqtrade/plugins/pairlist/VolumePairList.py | 187 | # Check if pair quote currency equals to the stake currency. |
| LOW | freqtrade/plugins/pairlist/PercentChangePairList.py | 182 | # Check if pair quote currency equals to the stake currency. |
| LOW | freqtrade/plugins/pairlist/MarketCapPairList.py | 146 | # Check if pair quote currency equals to the stake currency. |
| LOW | freqtrade/resolvers/strategy_resolver.py | 56 | # Check if we need to override configuration |
| LOW | freqtrade/resolvers/hyperopt_resolver.py | 47 | # Assign timeframe to be used in hyperopt |
| LOW | freqtrade/persistence/migrations.py | 431 | # Check if migration necessary |
| LOW | freqtrade/rpc/telegram.py | 750 | # Check if there's at least one numerical ID provided. |
| LOW | freqtrade/rpc/rpc.py | 1032 | # Check if there is there are open orders |
| LOW | freqtrade/rpc/rpc.py | 1148 | # Check if pair quote currency equals to the stake currency. |
| LOW | freqtrade/rpc/fiat_convert.py | 135 | # Check if the fiat conversion you want is supported |
| LOW | freqtrade/rpc/fiat_convert.py | 165 | # Check if the fiat conversion you want is supported |
| LOW | freqtrade/rpc/api_server/api_auth.py | 64 | # Check if ws_token is/in secret_ws_token |
| LOW | freqtrade/rpc/api_server/api_auth.py | 77 | # Check if ws_token is a JWT |
| LOW | freqtrade/data/converter/orderflow.py | 28 | # Set columns to object type |
| LOW | freqtrade/data/converter/orderflow.py | 126 | # Check if the trades are already in the cache |
| LOW | freqtrade/data/history/datahandlers/idatahandler.py | 204 | # Check if regex found something and only return these results to avoid exceptions. |
| LOW | freqtrade/strategy/interface.py | 1302 | # Check if dataframe is out of date |
| LOW | freqtrade/strategy/interface.py | 1702 | # Check if time matches and current rate is above threshold |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ft_client/freqtrade_client/ft_client.py | 114 | except Exception as e: |
| LOW | ft_client/freqtrade_client/__init__.py | 27 | except Exception: # pragma: no cover |
| LOW | ft_client/freqtrade_client/__init__.py | 34 | except Exception: # noqa: S110 |
| LOW | tests/conftest.py | 87 | except Exception as e: |
| LOW | tests/test_configuration.py | 639 | except Exception: |
| LOW | tests/optimize/test_hyperopt.py | 267 | except Exception: |
| LOW | docs/strategy-callbacks.md | 1053 | except Exception as exception: |
| LOW | scripts/ws_client.py | 273 | except Exception as e: |
| LOW | freqtrade/wallets.py | 513 | except Exception as e: |
| LOW | freqtrade/freqtradebot.py | 191 | except Exception as e: |
| LOW | freqtrade/freqtradebot.py | 216 | except Exception as e: |
| LOW | freqtrade/freqtradebot.py | 232 | except Exception: |
| LOW | freqtrade/freqtradebot.py | 604 | except Exception: |
| LOW | freqtrade/__init__.py | 26 | except Exception: # pragma: no cover |
| LOW | freqtrade/__init__.py | 33 | except Exception: # noqa: S110 |
| LOW | freqtrade/main.py | 75 | except Exception: |
| LOW | freqtrade/configuration/deploy_config.py | 19 | except Exception: |
| LOW | freqtrade/configuration/deploy_config.py | 27 | except Exception: |
| MEDIUM | freqtrade/configuration/deploy_config.py | 15 | def validate_is_int(val): |
| MEDIUM | freqtrade/configuration/deploy_config.py | 23 | def validate_is_float(val): |
| LOW | freqtrade/configuration/directory_operations.py | 43 | except Exception: |
| LOW | freqtrade/exchange/hyperliquid.py | 190 | except Exception as e: |
| LOW | freqtrade/exchange/hyperliquid.py | 206 | except Exception as e: |
| LOW | freqtrade/exchange/binance_public_data.py | 86 | except Exception as e: |
| LOW | freqtrade/exchange/binance_public_data.py | 163 | except Exception as e: |
| LOW | freqtrade/exchange/binance_public_data.py | 299 | except Exception as e: |
| LOW | freqtrade/exchange/binance_public_data.py | 330 | except Exception as e: |
| LOW | freqtrade/exchange/binance_public_data.py | 434 | except Exception as e: |
| LOW | freqtrade/exchange/binance_public_data.py | 494 | except Exception as e: |
| LOW | freqtrade/exchange/exchange.py | 3191 | except Exception: |
| LOW | freqtrade/exchange/exchange.py | 3648 | except Exception: |
| LOW | freqtrade/exchange/exchange_ws.py | 89 | except Exception: |
| LOW | freqtrade/exchange/exchange_ws.py | 98 | except Exception: |
| LOW | freqtrade/exchange/exchange_ws.py | 205 | except Exception: |
| LOW | freqtrade/exchange/exchange_ws.py | 220 | except Exception: |
| MEDIUM | freqtrade/exchange/exchange_ws.py | 92 | def _cleanup_async(self) -> None: |
| LOW | freqtrade/freqai/freqai_interface.py | 258 | except Exception as msg: |
| LOW | freqtrade/freqai/freqai_interface.py | 376 | except Exception as msg: |
| LOW | freqtrade/loggers/ft_rich_handler.py | 48 | except Exception: |
| MEDIUM | freqtrade/loggers/ft_rich_handler.py | 19 | def emit(self, record): |
| LOW | freqtrade/loggers/std_err_stream_handler.py | 25 | except Exception: |
| MEDIUM | freqtrade/loggers/std_err_stream_handler.py | 17 | def emit(self, record): |
| LOW | freqtrade/plugins/pairlist/RemotePairList.py | 178 | except Exception as e: |
| LOW | freqtrade/plugins/pairlist/RemotePairList.py | 232 | except Exception as e: |
| LOW | freqtrade/plugins/pairlist/RemotePairList.py | 273 | except Exception as e: |
| LOW | freqtrade/commands/list_commands.py | 278 | except Exception as e: |
| LOW | freqtrade/rpc/telegram.py | 353 | except Exception as ex: |
| LOW | freqtrade/rpc/fiat_convert.py | 75 | except Exception as exception: |
| LOW | freqtrade/rpc/fiat_convert.py | 188 | except Exception as exception: |
| MEDIUM | freqtrade/rpc/fiat_convert.py | 58 | def _load_cryptomap(self) -> None: |
| LOW | freqtrade/rpc/external_message_consumer.py | 234 | except Exception as e: |
| LOW | freqtrade/rpc/external_message_consumer.py | 270 | except Exception as e: |
| LOW | freqtrade/rpc/external_message_consumer.py | 283 | except Exception as e: |
| LOW | freqtrade/rpc/rpc_manager.py | 83 | except Exception: |
| LOW | freqtrade/rpc/api_server/webserver.py | 329 | except Exception: |
| LOW | freqtrade/rpc/api_server/api_pair_history.py | 43 | except Exception as e: |
| LOW | freqtrade/rpc/api_server/api_pair_history.py | 77 | except Exception as e: |
| LOW | freqtrade/rpc/api_server/api_v1.py | 129 | except Exception as e: |
| LOW | freqtrade/rpc/api_server/api_v1.py | 174 | except Exception: |
| LOW | freqtrade/rpc/api_server/ws/channel.py | 189 | except Exception: |
| 15 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/strategy/strats/strategy_test_v2.py | 75 | # ------------------------------------ |
| MEDIUM | tests/strategy/strats/strategy_test_v3.py | 105 | # ------------------------------------ |
| MEDIUM | docs/includes/strategy-imports.md | 41 | # -------------------------------- |
| MEDIUM | scripts/ws_client.py | 27 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/ws_client.py | 88 | # ---------------------------------------------------------------------------- |
| MEDIUM | scripts/ws_client.py | 120 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/ws_client.py | 282 | # --------------------------------------------------------------------------- |
| MEDIUM | freqtrade/templates/sample_strategy.py | 33 | # -------------------------------- |
| MEDIUM | freqtrade/templates/sample_strategy.py | 159 | # ------------------------------------ |
| MEDIUM | freqtrade/templates/sample_strategy.py | 240 | # ------------------------------------ |
| MEDIUM | freqtrade/templates/sample_strategy.py | 293 | # ------------------------------------ |
| MEDIUM | freqtrade/templates/sample_strategy.py | 300 | # ------------------------------------ |
| MEDIUM | freqtrade/templates/sample_strategy.py | 315 | # ------------------------------------ |
| MEDIUM | freqtrade/templates/sample_strategy.py | 330 | # ------------------------------------ |
| MEDIUM | freqtrade/templates/sample_strategy.py | 345 | # # ------------------------------------ |
| MEDIUM | freqtrade/templates/sample_strategy.py | 354 | # ------------------------------------ |
| MEDIUM | freqtrade/rpc/api_server/ws_schemas.py | 73 | # -------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docker-compose.yml | 1 | --- |
| LOW | docker/docker-compose-freqai.yml | 1 | --- |
| LOW | tests/exchange/test_binance.py | 1081 | exchange = get_patched_exchange(mocker, default_conf_usdt, exchange="binance") |
| LOW | tests/optimize/test_backtesting.py | 621 | 0, # exit_hsort |
| LOW | tests/optimize/test_backtesting.py | 641 | # = ((wb + cum_b) - (side_1 * position * ep1)) / ((position * mmr_b) - (side_1 * position)) |
| LOW | docs/producer-consumer.md | 121 | producer_pairs = self.dp.get_producer_pairs() |
| LOW | docs/advanced-setup.md | 61 | services: |
| LOW | freqtrade/exchange/hyperliquid.py | 261 | # Docs: The maintenance margin is half of the initial margin at max leverage, |
| LOW | freqtrade/freqai/RL/BaseEnvironment.py | 381 | initialized env for tensorboard callback |
| LOW | freqtrade/freqai/RL/BaseEnvironment.py | 401 | # previous_price = self.add_entry_fee(previous_price) |
| LOW | freqtrade/optimize/hyperopt/hyperopt_interface.py | 81 | # to adjust resulting ranges of the ROI tables. |
| LOW | freqtrade/templates/FreqaiExampleStrategy.py | 201 | # Classifiers are typically set up with strings as targets: |
| LOW | freqtrade/templates/sample_strategy.py | 161 | # ADX |
| LOW | freqtrade/templates/sample_strategy.py | 181 | # # Keltner Channel |
| LOW | freqtrade/templates/sample_strategy.py | 201 | dataframe["rsi"] = ta.RSI(dataframe) |
| LOW | freqtrade/templates/sample_strategy.py | 221 | # Please read https://github.com/freqtrade/freqtrade/issues/2961 before using this. |
| LOW | freqtrade/templates/sample_strategy.py | 261 | # dataframe["wbb_percent"] = ( |
| LOW | freqtrade/templates/sample_strategy.py | 281 | # dataframe['sma10'] = ta.SMA(dataframe, timeperiod=10) |
| LOW | freqtrade/templates/sample_strategy.py | 301 | # # Hammer: values [0, 100] |
| LOW | freqtrade/templates/sample_strategy.py | 321 | # dataframe['CDLGRAVESTONEDOJI'] = ta.CDLGRAVESTONEDOJI(dataframe) |
| LOW | freqtrade/templates/sample_strategy.py | 341 | # # Three Inside Up/Down: values [0, -100, 100] |
| LOW | freqtrade/rpc/api_server/api_v1.py | 41 | # 1.12: add blacklist delete endpoint |
| LOW | freqtrade/rpc/api_server/api_v1.py | 61 | # 2.33: Additional weekly/monthly metrics |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | build_helpers/create_command_partials.py | 92 | # freqtrade-client still uses subprocess as requested |
| HIGH | freqtrade/freqai/data_kitchen.py | 369 | # ensure we are predicting on exactly same amount of data as requested by user defined |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.sh | 167 | echo_block "Don't forget to activate your virtual environment with 'source .venv/bin/activate'!" |
| MEDIUM | freqtrade/freqai/RL/BaseReinforcementLearningModel.py | 431 | # you can use feature values from dataframe |
| MEDIUM | freqtrade/templates/sample_strategy.py | 39 | # This class is a sample. Feel free to customize it. |