Matthias
c1d26d0330
Don't calculate the "legacy" version of drawdown anymore.
2024-05-19 17:57:21 +02:00
Matthias
3bf02c8a64
Simplify hyperopt drawdown logic
...
Reduces tons of fallback logic
2024-05-19 17:57:05 +02:00
Matthias
480477d17a
Improve profitdrawdownhyperopt balancing
2024-05-19 10:12:50 +02:00
Matthias
2a1ff7f9b3
Try improve profit-drawdown hyperopt
2024-05-19 09:45:32 +02:00
Matthias
c6a5134815
Improve wording of log message
2024-05-18 20:20:58 +02:00
Matthias
c0d43f6d03
Improve line formatting
2024-05-18 20:16:25 +02:00
Matthias
aa0f90bb68
Don't convert trades to OHLCV unless explicitly specified
2024-05-18 20:14:52 +02:00
Matthias
e6d5aa1349
add --convert-trades argument to download-data
2024-05-18 20:14:08 +02:00
Matthias
0673f3ec6c
Remove unused function
2024-05-18 16:46:17 +02:00
Matthias
d0eb55a0be
Small type fixes
2024-05-18 16:45:49 +02:00
Joe Schr
1167917cf6
constants
: add ranges for orderflow config properties
2024-05-17 16:14:54 +02:00
Joe Schr
8afcaeeed9
trades()
: add lookahead warning to docstring
2024-05-17 15:58:29 +02:00
Joe Schr
ab7f8b3a0f
imbalance_ratio
: use ratio instead of percentage
2024-05-17 15:49:53 +02:00
Matthias
1e04140fff
Partially revert bybit leverage-tiers workaround
2024-05-16 19:25:19 +02:00
Matthias
a92178dd60
load_cached_leverage_tiers should allow a remote cache period
2024-05-16 19:11:51 +02:00
Matthias
1e2662b627
Greatly simplify leverage tier loading for binance
2024-05-16 18:20:14 +02:00
Joe Schr
0460ce45ff
ruff format: exchange/trades_load
2024-05-16 14:28:30 +02:00
Joe Schr
f99e8f18bc
refresh_latest_trades
: removes TODO
2024-05-16 14:10:08 +02:00
Joe Schr
839827c0d7
refresh_latest_trades
: remove "-cached" from trades pair files
2024-05-16 14:08:02 +02:00
Matthias
c06ae41fed
Remove catboost stdout workaround
...
https://github.com/catboost/catboost/issues/2195 is fixed, so this SHOULD work
2024-05-16 07:25:49 +02:00
xmatthias
fb73e23e64
chore: update pre-commit hooks
2024-05-16 03:02:21 +00:00
Joe Schr
a56faf503b
ruff format: orderflow / public trades
2024-05-15 17:09:32 +02:00
Joe Schr
b9035da981
Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades
2024-05-15 14:43:00 +02:00
Matthias
702ac14f27
Fix using wrong type
2024-05-15 07:04:36 +02:00
Matthias
a6b07ec96f
Remove compatibility layer for calculate_max_drawdown
2024-05-15 06:54:17 +02:00
Matthias
bcb59265b5
Use default parameters for DrawdownResult
2024-05-14 19:50:35 +02:00
Matthias
94786454b7
Use calc_drawdown method throughout the bot
2024-05-14 19:37:41 +02:00
Matthias
0aa3ec2845
Have hyperopt-loss function use calc_max_drawdown
2024-05-14 19:28:48 +02:00
Matthias
c8eb22dcbd
Add typed max_drawdown function
2024-05-14 19:28:33 +02:00
Joe Schr
dd432ffbde
cleanup ruff and isort errors
2024-05-14 17:28:07 +02:00
Stefano Ariestasia
75965cd50f
modify MeasureTime log message to include time limit and 's' suffix
2024-05-14 16:20:20 +09:00
Matthias
9291698561
A few more formatting updates
2024-05-13 19:49:15 +02:00
Matthias
58edb0a54a
Update misspellings that are being detected now
2024-05-13 07:10:25 +02:00
Matthias
18e03f398e
Partially revert odd formatting decisions
2024-05-13 07:10:25 +02:00
Matthias
b97ff77d65
Update a few missed ruff format updates
2024-05-13 07:10:25 +02:00
Matthias
9d6e4ae67d
A few more minor fixes
2024-05-13 07:10:25 +02:00
Matthias
a9732c6195
Fix odd formatting by ruff format
2024-05-13 07:10:25 +02:00
Matthias
876a8f9e3e
ruff format: remaining files
2024-05-13 07:10:25 +02:00
Matthias
fea1653e31
ruff format: freqtrade.data
2024-05-13 07:10:25 +02:00
Matthias
801ab4acc9
ruff format: optimize
2024-05-13 07:10:25 +02:00
Matthias
2c60985e2d
ruff format: optimize analysis
2024-05-13 07:10:25 +02:00
Matthias
da7addcd98
ruff format: hyperopt
2024-05-13 07:10:25 +02:00
Matthias
f1ef537dfa
ruff format: hyperopt-loss
2024-05-13 07:10:25 +02:00
Matthias
d1db43dee0
ruff format: freqai
2024-05-13 07:10:25 +02:00
Matthias
e4e8c3967c
ruff format: exchange class
2024-05-13 07:10:25 +02:00
Matthias
53eefb9442
ruff format: exchange classes
2024-05-13 07:10:25 +02:00
Matthias
7ea5e40919
ruff format: util
2024-05-13 07:10:25 +02:00
Matthias
5f64cc8e76
ruff format: rpc modules
2024-05-13 07:10:25 +02:00
Matthias
cebbe0121e
ruff format: update persistence
2024-05-13 07:10:25 +02:00
Matthias
5783a44c86
ruff format: template directory
2024-05-13 07:10:25 +02:00
Matthias
439b8a0320
ruff format: freqtrade/strategies
2024-05-13 07:10:25 +02:00
Matthias
6bfe7aa72d
ruff format: plugins/protections
2024-05-13 07:10:25 +02:00
Matthias
700b7acb6f
ruff format: pairlist plugins
2024-05-13 07:10:25 +02:00
Matthias
c9d301e4f9
Ruff format: more random files
2024-05-13 07:10:25 +02:00
Matthias
73e182260e
ruff format: more files
2024-05-13 07:10:25 +02:00
Matthias
f8f9ac38b2
ruff format: loggers
2024-05-13 07:10:25 +02:00
Matthias
9303ae29d3
ruff format: freqtrade/configuration
2024-05-13 07:10:25 +02:00
Matthias
8ffc48e4f0
ruff format: constants
2024-05-13 07:10:25 +02:00
Matthias
3c9be47236
ruff format: commands
2024-05-13 07:10:25 +02:00
Matthias
5eb4ad2208
Ruff format edge
2024-05-13 07:10:25 +02:00
Matthias
794e30fedb
ruff format: update enums
2024-05-13 07:10:25 +02:00
Matthias
1a4bff7fb8
ruff format freqtrade/resolvers
2024-05-13 07:10:25 +02:00
Matthias
dc3a3d1cf9
ruff format: udpate build_helpers
2024-05-13 07:10:25 +02:00
Matthias
a8eabd0b2e
Update remaining files with new import sorting
2024-05-13 07:10:24 +02:00
Matthias
e4881580fd
Slightly extend background jobs api
2024-05-12 09:12:53 +02:00
Matthias
0279cf5fed
Improved API endpoint ordering
2024-05-12 09:04:03 +02:00
robcaulk
2d069d6156
fix: allow classifiers to work
2024-05-11 16:21:15 +02:00
Stefano Ariestasia
4c2586b3aa
remove duplicate stat from BT table
2024-05-11 10:24:55 +09:00
Matthias
e86a0736f3
Add workaround for bybit's changed markets endpoint
...
closes #10196
2024-05-09 19:42:20 +02:00
xmatthias
ce6445f6b5
chore: update pre-commit hooks
2024-05-09 03:02:41 +00:00
Joe Schr
10cbc76482
use timeframe_to_next_date
and date
to calculate candle_start
/candle_end
2024-05-08 15:12:52 +02:00
Joe Schr
56b07386ae
fix _now_is_time_to_refresh_trades
so it checks for latest fetched trades
2024-05-08 15:12:42 +02:00
Matthias
39613c0785
no suspect function calls in function headers . . .
2024-05-05 19:55:21 +02:00
Matthias
3f9019a1ad
Don't use coro directly
2024-05-05 19:55:02 +02:00
Matthias
c3516dbba6
Simplify trade_statistics function
2024-05-05 16:56:00 +02:00
Matthias
fa79c48c8f
Exclude unfilled Trades from "all" /profit
...
These are not actual profits, as it's unclear if the order
will be filled or will be canceled.
Discovered as part of #10165
2024-05-05 16:48:42 +02:00
Matthias
28449f551a
Don't show "0" when fiat_currency is empty
2024-05-05 16:48:42 +02:00
Matthias
566add7a8b
Rename variable to show it's just a temporary variable
2024-05-05 16:12:22 +02:00
Matthias
866f059d6a
Use FtPrecise to avoid rounding errors
2024-05-04 11:25:07 +02:00
Matthias
ab93fd3be4
Enhance trade to verify #10166
2024-05-04 11:21:25 +02:00
Matthias
ee7be1cd5a
move "add_bt_trade" call for entries into enter_trade function
2024-05-04 09:14:56 +02:00
Matthias
c81c07c24a
Add docstring for process_exit_order
2024-05-04 09:07:56 +02:00
Matthias
67636abb30
Fix #10166 with fewer side-effects
2024-05-04 09:01:05 +02:00
Matthias
e5b79eee5a
Extract _process_exit_order to separate function
2024-05-04 09:00:46 +02:00
Matthias
62a3ed6f8d
partial exit order should not close immediately
...
closes #10166
2024-05-04 08:41:24 +02:00
xmatthias
569e8a74b0
chore: update pre-commit hooks
2024-05-02 03:02:33 +00:00
Matthias
c534d47c12
Merge pull request #10138 from freqtrade/backtest_max_fee
...
Backtest max fee
2024-04-30 15:33:42 +02:00
Matthias
7bb4b5003d
Bump version to 2024.5-dev
2024-04-30 11:46:43 +02:00
Matthias
1649aca411
Support empty array to return only the base columns
2024-04-28 18:22:37 +02:00
Matthias
ab10379833
Add pair_history post endpoint, too
2024-04-28 16:14:09 +02:00
Matthias
ccd788e2ce
Improve naming of the schema
2024-04-28 16:14:09 +02:00
Matthias
3e20770446
Slightly change returned column scheme
2024-04-28 16:14:09 +02:00
Matthias
54d467d2bf
Add Post endpoint for to filter dataframe by columns
2024-04-28 16:14:09 +02:00
Matthias
cabdfabf03
Eliminate duplicate word in wallets docstring
2024-04-28 15:16:45 +02:00
goodmost
38b35ec528
chore: remove repetitive words
...
Signed-off-by: goodmost <zhaohaiyang@outlook.com>
2024-04-28 18:14:19 +08:00
Matthias
21b1f5aab8
Update wording
2024-04-28 09:31:28 +02:00
Matthias
997db6c706
Type-ignore
...
we can't type variables of the list-comprehension ...
2024-04-27 19:59:53 +02:00
Matthias
3f2f2a1dbd
Use worst case of maker / taker fee for backtest
2024-04-27 18:26:23 +02:00
Matthias
935e8f49de
Type-check fee from configuration ...
2024-04-27 15:36:26 +02:00
Matthias
73905b33ad
Ensure consistent program naming
...
(`python -m freqtrade --version`)
2024-04-27 08:48:40 +02:00
Matthias
dd04c51c42
Use time() instead of creating a temporary time object
2024-04-26 20:28:59 +02:00
Matthias
8e5c574224
Don't handle case where base_currency is not set
...
(very old trades)
2024-04-25 19:56:27 +02:00
Matthias
adbf1b5e6f
Adjust trade amount by 2% if trade recovery remains above the trade amount
...
closes #10002
2024-04-25 13:43:46 +02:00
Matthias
0a89efd002
Only cancel stoploss if really necessary
...
partial workaround for #10002
2024-04-25 11:43:24 +02:00
Matthias
96bb4db68e
Fix remaining coingecko spellings
2024-04-25 10:28:25 +02:00
Matthias
2d9be6c818
Fix some coingecko spellings
2024-04-25 10:27:58 +02:00
Matthias
3ca0be7543
Fix misspelled coingecko variable
2024-04-25 10:26:33 +02:00
Matthias
5f1ab7508f
Add idex subclass defining the applicable ohlcv limit
2024-04-25 08:18:21 +02:00
xmatthias
652819309d
chore: update pre-commit hooks
2024-04-25 03:02:27 +00:00
Matthias
365b9c9cfe
kwargs for re.sub count
2024-04-24 07:02:26 +02:00
Matthias
fa6c17c067
Remove mutable default-args from generate-candlestick
2024-04-24 07:00:17 +02:00
Matthias
115cb4bf40
Don't use datetime.utcnow ...
2024-04-23 20:08:28 +02:00
Matthias
6113e47991
Merge pull request #10090 from CoolCu/develop
...
chore: remove repetitive words
2024-04-23 19:29:38 +02:00
Matthias
7b78912d71
Merge pull request #10105 from freqtrade/feat/humanize
...
Replace arrow with humanize
2024-04-23 09:46:35 +02:00
Matthias
472d5d8703
Improve format_ms_time logic by reusing dt_from_ts
2024-04-22 07:08:49 +02:00
Matthias
54c2febe1c
Remove dt_humanize
2024-04-21 15:51:08 +02:00
Matthias
d48cff3b9a
Update to dt_humanize_delta for all usages
2024-04-21 15:49:50 +02:00
Matthias
cc534c5000
switch from arrow to humanize
2024-04-21 15:29:16 +02:00
Matthias
c802d39f67
Merge pull request #10097 from freqtrade/feat/measure_time
...
Add "measure time" to warn users about strategies taking excessive time
2024-04-21 11:28:54 +02:00
Matthias
608088bc03
Simplify trade_statistics
2024-04-20 10:30:04 +02:00
Matthias
d4ce774532
Add requests timeout to deploy commands
2024-04-20 10:25:05 +02:00
Matthias
08f2eebd6e
Extract httpBasic from function header
2024-04-20 10:12:06 +02:00
Matthias
927c54094a
Improve some bugbear findings
2024-04-20 10:10:36 +02:00
Matthias
0c99ff7f66
Fix more default arg usages
2024-04-20 09:26:50 +02:00
Matthias
a078088ea3
Fix some more default argument usage in exchange classes
2024-04-20 09:24:51 +02:00
Matthias
31f6030c67
Reduce some mutable default argument usage
2024-04-20 09:22:28 +02:00
Matthias
8004829696
Further reduce problematic default args
2024-04-20 09:15:11 +02:00
Matthias
448b74840e
Don't use mutable default arguments to functions
2024-04-20 09:09:42 +02:00
Matthias
9b1def604f
Fix mutable arg in freqtradebot
2024-04-20 09:08:04 +02:00
Matthias
3d4250ca99
Fix type error
2024-04-20 09:04:23 +02:00
Matthias
f2cfb127ae
Merge pull request #10099 from cclauss/codespell
...
Fix typos discovered by codespell
2024-04-19 07:37:29 +02:00
Matthias
be1e1453da
Further mutable-default fix to template-renderer
2024-04-19 07:27:10 +02:00
Matthias
a451b94387
Remove mutable default from template-rendere
2024-04-19 07:24:11 +02:00
Matthias
862d4c8857
Revert relationship to "selectin"
2024-04-19 06:36:32 +02:00
Matthias
37feede6a5
Fix some codespell introduced syntax errors
2024-04-19 06:32:59 +02:00
Christian Clauss
99b4767bf4
Fix typos discovered by codespell
2024-04-18 22:51:25 +02:00
Matthias
0a7ed55ade
Reduce duplicate warning
2024-04-18 21:01:48 +02:00
Matthias
bc85352098
Split timeframe_to_secs from loggingmixin init
2024-04-18 06:55:05 +02:00
Matthias
6a570bd82e
Fix excessive whitespace
2024-04-18 06:41:14 +02:00
xmatthias
77682808ea
chore: update pre-commit hooks
2024-04-18 03:02:26 +00:00
Matthias
82482ec159
Fix / improve types
2024-04-17 20:58:58 +02:00
Matthias
c6a50b3c06
Use MeasureTime to warn if a strategy takes too long
...
using 25% of the candle as reference time for now.
2024-04-17 20:53:49 +02:00
Matthias
3c8366e609
Add measure_time module to measure time taken by functions
2024-04-17 20:52:37 +02:00
Matthias
2297b3ed55
Split timeframe_to_secs from loggingmixin init
2024-04-17 20:13:02 +02:00
Matthias
393d4b8eb3
Add test for market_change endpoint
2024-04-17 07:22:36 +02:00
Matthias
54d9dbaea8
Formatting
2024-04-16 20:54:12 +02:00
Matthias
ba27c41c93
Support market-change for "online" backtesting
2024-04-16 20:53:46 +02:00
Matthias
d7920c4b64
Simplify backtest storage
2024-04-16 20:53:06 +02:00
Matthias
3338fdece3
Relative profit should be relative cumulative profit
2024-04-16 20:34:07 +02:00
Matthias
523054e8ea
Add endpoint to fetch market_change data
2024-04-16 19:27:55 +02:00
Matthias
c8a5904959
Store and load backtest-market-change data
2024-04-16 19:27:41 +02:00
Matthias
7f386874ad
Trim dataframes accordingly ...
2024-04-16 18:17:20 +02:00
Matthias
18a4d6972d
generate_filename should be private
2024-04-16 18:02:00 +02:00
Matthias
a0a22f62e0
Update typehint for backtesting
2024-04-16 18:00:24 +02:00
CoolCu
7fc1d38ffb
chore: remove repetitive words
...
Signed-off-by: CoolCu <coolcui@qq.com>
2024-04-16 15:55:36 +08:00
Matthias
3f8078618e
add Combine dataframes with pct_change
2024-04-16 07:19:26 +02:00
Matthias
e7b907a175
Enhance / simplify bt-storage logic
...
Removes repeated filename generation pattern
2024-04-16 06:57:58 +02:00
robcaulk
7a401415e5
fix: for some reason we werent including high_price
2024-04-14 14:19:12 +02:00
Matthias
65654a4a44
Update ccxt exception handlers
...
OperationFailed is the new NetworkError
closes #10071
2024-04-13 11:12:10 +02:00
Matthias
094bbb3a50
Remove pointless docstring comment
2024-04-11 21:02:54 +02:00
Matthias
df2432bc18
Re-align adjust_trade_position bt with live.
2024-04-11 20:57:03 +02:00
xmatthias
78535bc7e8
chore: update pre-commit hooks
2024-04-11 03:02:25 +00:00
robcaulk
081e50ec48
fix: ensure full hist-preds is kept
2024-04-09 17:17:11 +02:00
robcaulk
d8aaaa34d3
fix: pandas.
2024-04-07 14:20:52 +02:00
robcaulk
08d0e76187
fix: pandas.
2024-04-07 13:50:59 +02:00
robcaulk
6a8abd5d45
fix: astype handling
2024-04-06 23:43:29 +02:00
robcaulk
b19b4d001c
fix: ensure future pandas will be happy
2024-04-06 23:34:07 +02:00
Matthias
8c12a1fd8b
Rename TRADING_MODES constant to avoid naming collision
2024-04-06 16:47:55 +02:00
Matthias
f32154f380
Exchange assert is only relevant for live mode.
2024-04-05 07:09:54 +02:00
Matthias
e0f1b1e48e
Attempt to reduce diff as much as possible
2024-04-05 06:53:48 +02:00
Matthias
843c68b072
Don't use noqa.
2024-04-05 06:41:46 +02:00
Matthias
59dee5f6da
Update config test exception due to changes on dev
2024-04-05 06:41:40 +02:00
Matthias
63ac183e91
Merge branch 'develop' into feature/fetch-public-trades
2024-04-05 06:35:35 +02:00
xmatthias
d4872eae16
chore: update pre-commit hooks
2024-04-04 03:02:18 +00:00
Matthias
b284abf9e0
Add bingx exchange subclass
2024-04-02 07:14:52 +02:00
Matthias
55c0cfefec
Add missing typehint to telegram class
2024-04-02 07:14:30 +02:00
Matthias
fcfd25d50b
Merge pull request #10023 from freqtrade/feat/lock_api
...
Add lock post endpoint
2024-03-31 14:05:05 +02:00
Matthias
d6aa7f1b8b
Merge pull request #10022 from freqtrade/align-exitreasons
...
Align exitreasons, remove duplicated code
2024-03-31 14:04:16 +02:00
Matthias
d112a8c0ed
Bump version to 2024.4-dev
2024-03-31 09:58:35 +02:00
xmatthias
a534340cc1
chore: update pre-commit hooks
2024-03-31 07:15:47 +00:00
Matthias
8fae64f373
Update typehints
2024-03-30 18:31:09 +01:00
Matthias
05f8bb357f
Add Lock post endpoint
...
(allows manual locking through API)
closes #10018
2024-03-30 14:29:58 +01:00
Matthias
7b5e444333
Improve code stability
2024-03-30 13:36:19 +01:00
Matthias
0906f050e5
Fix remaining tests
2024-03-30 13:28:13 +01:00
Matthias
be26e31235
Remove obsolete code, improve resilience
2024-03-30 13:20:43 +01:00
Matthias
36f1111d92
Remove custom handling for exit reason stats.
...
It's not different from regular tag outputs, really
2024-03-30 13:11:59 +01:00
Matthias
9726c4ae21
don't use cum profit
2024-03-30 11:28:23 +01:00
Matthias
7895eeb3b6
Fix tests after modified output
2024-03-30 11:20:41 +01:00
Matthias
0a186eb8b7
Remove Cum Profit %
...
it's a missleading metric in any case where stake-amount is not 100% identical.
2024-03-30 11:18:56 +01:00
stevanStevic
1ec04a8dc8
Add support for max_value in volume pair list
2024-03-28 22:20:34 +01:00
Matthias
82565a9667
Merge pull request #9955 from Axel-CH/feature/trade-lifecycle-callbacks
...
Feature: trade lifecycle callbacks
2024-03-28 19:35:53 +01:00
Joe Schr
53702bfdfe
fix: make until
non-optional
2024-03-28 15:35:19 +01:00
Joe Schr
d226e7054c
fix: remove unused stop_on_from_id
2024-03-28 15:26:28 +01:00
Matthias
e49ab2593c
Update / improve docs
2024-03-28 06:49:02 +01:00
Matthias
c433f49089
Remove temporary gate workaround
2024-03-27 19:59:30 +01:00
Matthias
553094c3c6
Assign 'status_stop' for gate stop orders
2024-03-27 19:50:52 +01:00
Matthias
666f2fc10a
Fix bug where amount becomes 0
...
closes #10003
2024-03-25 20:59:39 +01:00
Axel-CH
f60d6c8f65
remove duplicate call of order_filled callback
2024-03-25 13:12:13 -04:00
Robert Caulk
18e34632d8
Update PyTorchModelTrainer.py
...
The n_epochs should be defined using the `max` not the `min` function.
2024-03-25 09:21:32 +01:00
Matthias
82a9bdca5e
Merge pull request #9986 from freqtrade/feat/show_config
...
add show-config command
2024-03-22 06:39:04 +01:00
Axel-CH
b2a6722687
remove order filled cb from handle_stoploss_on_exchange
2024-03-21 21:51:52 -04:00
Axel-CH
72225daa6a
add order_filled callback call for stoploss orders
2024-03-21 19:36:58 -04:00
Matthias
7d6d3d38f7
Merge pull request #9975 from freqtrade/feat/configError
...
exception ConfigurationError
2024-03-21 08:38:45 +01:00
Matthias
d2a6781379
Revert one error to OperationalException
2024-03-21 07:02:23 +01:00
Matthias
cc7d341afc
Add overrides for Exchange Support
2024-03-21 06:31:34 +01:00
Matthias
65105f7768
Don't modify original config
2024-03-20 07:22:12 +01:00
Matthias
b1fe5b6d8a
Add "sensitive information" warning output
2024-03-20 07:12:17 +01:00
Matthias
81d1a662a2
Add --show-sensitive CLI option
2024-03-20 07:06:24 +01:00
Matthias
38ae3ac03c
Add "sanitize config" section
2024-03-19 19:30:35 +01:00
Matthias
3059d66ece
use original config for printing
2024-03-19 19:19:26 +01:00
Matthias
7543b2681d
Add show_config command
2024-03-19 19:10:30 +01:00
Matthias
21dcb4a6a1
update setup_utils_configuration to not force-set dry-run mode
2024-03-19 19:10:30 +01:00
Matthias
35253f9c8d
Add overrides for Exchange Support
2024-03-19 18:19:22 +01:00
Matthias
6219a25901
Add documentation link, re-align imports
2024-03-19 07:20:38 +01:00
Matthias
4a097bd644
More usages for ConfigurationError
2024-03-19 07:13:17 +01:00
Matthias
64019e0e6c
More configError usages
2024-03-19 07:08:05 +01:00
Matthias
3621ba034b
Use configError in more places
2024-03-19 07:06:43 +01:00
Matthias
17d052df3f
Configerror handling for bt api endpoint
2024-03-19 07:04:28 +01:00
Matthias
ebd516cadb
Use combined exception handler at startup
2024-03-19 07:02:48 +01:00
Matthias
b5548dbee0
Add proper handler for config-error
2024-03-19 06:58:29 +01:00
Matthias
3a64749678
Raise ConfigurationError on config validation
2024-03-19 06:41:23 +01:00
Matthias
ca94bbe994
Add configuration error to Exception hierarchy
2024-03-19 06:39:34 +01:00
Axel-CH
996fcb6f56
fix current_time parameter of order_filled usage in backtest
2024-03-18 22:07:43 -04:00
Axel-CH
08c1866cdc
fix mypy artype error
2024-03-18 20:57:47 -04:00
Axel-CH
d1e1b8410b
add order parameter to order_filled callback
2024-03-18 20:47:27 -04:00
Axel-CH
cd986ced45
moove order_filled callback position from update_trade_state to _update_trade_after_fill
2024-03-18 17:56:46 -04:00
Axel-CH
18a3489a6f
add order_filled callback to bot and backtest
2024-03-18 15:46:47 -04:00
Matthias
dafc968602
Merge pull request #9941 from stash86/bt-metrics
...
Simplify the return value for full exit using adjust trade
2024-03-18 06:34:12 +01:00
Matthias
f663b53ac9
Add basic config validation
2024-03-17 19:34:03 +01:00
Matthias
1d5f2b64a2
Add simple verification that orderflow is configured correctly
2024-03-17 19:31:29 +01:00
Matthias
409729f9d2
Temporarily support 'finish' in the order, too
2024-03-17 17:00:18 +01:00
Matthias
838d9cd4d0
Improve stop fills order handling on gate
...
closes #9940
2024-03-17 15:17:04 +01:00
Matthias
3ed53218a0
Fix rate display rounding problem on telegram messages
2024-03-17 13:55:25 +01:00
Matthias
c06f892109
don't use :.8g formatting - it's unreliable
2024-03-17 13:55:25 +01:00
Matthias
ca2d322eb8
chore: Split strip_trailing_zeros function in formatters
2024-03-17 13:55:25 +01:00
Matthias
d07ec50549
Remove unused line
2024-03-17 13:55:25 +01:00
hippocritical
01c0fd0420
If enable_protections are enabled, disable all
...
- some work on all pairs, and we don't check protections either so ... just disable them completely
- added info in the docs
Changed pairs-check to if no definition is in the config (but it s maybe in the strategy) it will just force-set it to the proper amount of len(config['pairs']
2024-03-17 09:53:45 +01:00
Matthias
b5307f8281
Fix bug caused by any typing
2024-03-16 17:19:01 +01:00
Matthias
21bca95b6a
Group things logically in exchange class
2024-03-16 17:05:18 +01:00
Matthias
86fe765180
Improved naming on max_trades
2024-03-16 17:01:27 +01:00
Matthias
9020c3290c
Fix imports after dev merge
2024-03-16 16:45:48 +01:00
Matthias
88e25df78c
Merge branch 'develop' into feature/fetch-public-trades
2024-03-16 16:34:57 +01:00
Matthias
0f3d538f6c
Avoid duplicate pandas imports
2024-03-16 16:26:17 +01:00
Matthias
bce5dc4a49
Simplify formatting
2024-03-16 16:23:20 +01:00
Matthias
9a72003c74
Merge pull request #9878 from TheJoeSchr/chore/extract-timeframe-to-xyz-from-exchange-utils
...
chore: extract `timeframe_to_*` functions into `exchange_utils_timeframe.py`
2024-03-15 20:01:43 +01:00
Matthias
45bb9ee9a0
Reduce stacktrace length for "no config" errors
2024-03-15 18:20:01 +01:00
Matthias
4281642f54
Fix flake failure due to flake update
2024-03-15 06:51:11 +01:00
Matthias
dbcb07275a
Refactor datahandlers into their own package
2024-03-15 06:49:42 +01:00
Matthias
4aff24f6df
Fix imports that import directly from file
...
instead from the exporting package
2024-03-15 06:40:42 +01:00
Stefano Ariestasia
c5201a6476
fix precommit
2024-03-12 16:31:53 +09:00
Stefano Ariestasia
8000f94295
changing the partial exit logic to be simpler and easier to understand
2024-03-12 16:28:40 +09:00
Matthias
225ef6b8ca
Update to latest ruff format
2024-03-11 17:50:47 +01:00
Stefano Ariestasia
048cad04a8
remove unrelated old changes
2024-03-11 22:07:58 +09:00
Stefano Ariestasia
1d0c0d6ab7
Merge branch 'freqtrade:develop' into bt-metrics
2024-03-11 21:56:54 +09:00
Joe Schr
c12e203054
Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades
2024-03-11 12:29:00 +01:00
Joe Schr
6827e17d17
raise error if populate_dataframe_with_trades fails
2024-03-11 11:34:59 +01:00
Joe Schr
174c830b2a
formatting changes
2024-03-11 11:34:45 +01:00
Joe Schr
1f6046df97
work through open TODOs
2024-03-11 11:34:03 +01:00
Matthias
518b6eb565
use dt_ts to simplify exchange date math
2024-03-10 19:31:43 +01:00
Matthias
7cceddb3df
Improve wording on /health message
2024-03-09 17:35:29 +01:00
Matthias
1b608a162e
Add type-hint for result dictionary
2024-03-09 16:10:33 +01:00
Matthias
f8cbf138ee
Add Initial bot start and current bot start to /health telegram msg
2024-03-09 15:47:01 +01:00
Matthias
acbb485302
Add bot start and bot-startup to health endpoint
2024-03-09 15:01:13 +01:00
Matthias
98c2f81bb9
Merge pull request #9917 from syco/develop
...
update status table to show total amounts in stake currency
2024-03-08 07:12:10 +01:00
Matthias
2cfe993951
Fix condition for min-stake in position-adjust mode
...
closes #9915
2024-03-08 07:10:47 +01:00
Matthias
6f0f4f06ef
Merge pull request #6908 from eSeR1805/feature_keyval_storage
...
Persistent storage of user-custom information
2024-03-08 07:00:17 +01:00
Matthias
b690325f22
Remove typo in change-dir notebook
...
closes #9916
2024-03-08 06:39:39 +01:00
Alberto
865ebc3143
update status table to show total amounts in stake currency
...
Signed-off-by: Alberto <alberto.rinaudo+seiza@gmail.com>
2024-03-07 17:05:13 +00:00
Joe Schr
6c1d70df89
Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades
2024-03-05 17:29:24 +01:00
Matthias
426bc4c97b
Merge pull request #9897 from freqtrade/fix/xgboosttensorboard
...
fix: try plotting as much info in xgboost tensorboard as possible
2024-03-04 06:38:22 +01:00
robcaulk
a948796ef7
fix: manually add train eval since xgboost does not expose this information by default
2024-03-03 15:47:19 +01:00
Matthias
255ea88638
Add to telegram documentation
2024-03-03 15:24:26 +01:00
Matthias
ed8469f23a
use trading_mode to determine trades file location
2024-03-03 13:12:42 +01:00
Matthias
30b4f27152
Cleanup some nitpicks
2024-03-03 12:50:28 +01:00
Matthias
1176c16b93
REmove unnecessary assignment
2024-03-03 12:41:51 +01:00
robcaulk
093a093bd5
fix: use data metric_name directly
2024-03-03 12:38:51 +01:00
robcaulk
b8a1089592
fix: try plotting as much info in xgboost tensorboard as possible
2024-03-03 12:23:18 +01:00
Matthias
fcb16098d8
Reduce Error level when converting trades
2024-03-02 15:40:43 +01:00
Matthias
7ed7ed4081
Accept trading-mode for trades-to-ohlcv command
2024-03-02 15:38:36 +01:00
Matthias
09d763b604
convert-trades should do proper pair expansion to support regex in pairlists
2024-03-02 13:23:03 +01:00
Matthias
5e7868a28d
Remove block from download-trades for futures
2024-03-02 13:22:41 +01:00
Matthias
43103f51e5
Update functions that use datahandler trade methods
2024-03-02 13:10:57 +01:00
Matthias
b6040e270f
Update data handlers to accept trading_mode
...
for trade data related functions
2024-03-02 13:08:58 +01:00
Matthias
bdd63aa1d6
FIx futures trades pair download directory
2024-03-01 20:17:43 +01:00
Matthias
46e616f997
Remove defaults for converter - they're always provided and necessary.
2024-03-01 19:32:35 +01:00
Matthias
baf2cf6967
Fix import error in one test case
2024-03-01 06:55:52 +01:00
Matthias
82f191f7b0
Merge pull request #9861 from freqtrade/feat/sort_volatility
...
Add sorting to volatility and RangeStability pairlists
2024-03-01 06:52:34 +01:00
Matthias
cdfeae9f90
Update merge to "left" to avoid creating non-existing mark candles
2024-02-29 07:31:22 +01:00
Matthias
e988995d71
Handle NaN funding fees
...
closes #9831
2024-02-29 07:22:47 +01:00
Matthias
2384ba74a3
Merge branch 'develop' into feat/sort_volatility
2024-02-27 20:50:41 +01:00
Matthias
d1028b8ca2
Merge pull request #9871 from freqtrade/dependabot/pip/develop/pandas-2.2.1
...
Bump pandas from 2.1.4 to 2.2.1
2024-02-27 20:47:31 +01:00
Joe Schr
b55105ec82
chore: adjust timeframe_to_*
imports accordingly
2024-02-27 10:42:29 +01:00
Joe Schr
4a8c8f296a
chore: extract timeframe_to_*
functions into exchange_utils_timeframe.py
2024-02-27 10:23:07 +01:00
Matthias
883f27d99e
Version bump to 2024.3-dev
2024-02-27 07:01:16 +01:00
Matthias
c0e9726f49
don't use "1M" - but be explicit in the intend
2024-02-27 06:20:08 +01:00
Matthias
0021e2c205
fillna needs explicit type.
2024-02-27 06:19:54 +01:00
Matthias
ce2f4f89c4
update pandas deprecation to_hdf
2024-02-27 06:19:38 +01:00
Matthias
5912d87b65
Pandas - update view to astype
2024-02-27 06:19:27 +01:00
Matthias
74f01c4374
Clearer wallets variable/parameter wording
2024-02-26 13:54:19 +01:00
Matthias
0649fe3551
Update comment around funding fees
2024-02-26 13:54:19 +01:00
Matthias
f3f4a659e8
Improve some type safety
2024-02-26 13:54:19 +01:00
Matthias
cfa8fd825d
Remove pointless comment
2024-02-26 13:54:19 +01:00
Matthias
983aefeab5
Remove duplicate pairlistmanager init
2024-02-26 13:54:19 +01:00
Matthias
426e7c48e4
Update typehint for candle_cache
2024-02-26 13:54:19 +01:00
Matthias
7db2367de9
Improve ohlcv pair cache with since_ms
...
avoids some rare bugs in more complex configurations.
2024-02-26 13:54:19 +01:00
Matthias
0b9e7be8f0
Fix range-stability filter downloading too little data
2024-02-26 13:54:19 +01:00
Matthias
392d5ae09a
Use set to reduce iterations
2024-02-26 13:54:19 +01:00
Matthias
eb175eeeb7
Add type-hint to exchange_has dict
2024-02-26 13:54:19 +01:00
Matthias
b18733831e
Update "exchange_has" validation with new fallbacks
2024-02-26 13:54:19 +01:00
Matthias
322a3a3bbd
Add fetch_order_emulated to support exchanges without proper fetch_order method
2024-02-26 13:54:19 +01:00
Matthias
bb6c31c55a
Improve formatting in drawdown calc
2024-02-26 13:54:19 +01:00
Matthias
b67f2ddb4e
Update telegram help with new wording
2024-02-26 13:54:19 +01:00
Matthias
165003e17f
Fail if unified account is detected.
2024-02-26 13:54:19 +01:00
Matthias
24735945fd
Add log message for Bybit accout type
2024-02-26 13:54:19 +01:00
Matthias
0f4bffca9c
Remove unused import
2024-02-26 13:54:19 +01:00
Matthias
440a843d06
Use "ohlcv_with_cache" for further pairlists
2024-02-26 13:54:19 +01:00
Matthias
671426540e
Refactor ohlcv caching to exchange class
2024-02-26 13:54:16 +01:00
Matthias
a0dc21e17c
Enable caching for "filter only" Volumepairlist
2024-02-26 13:53:10 +01:00
Matthias
4c07d2fb86
Improve validate_exchange
...
returns now both required and optional dependencies
2024-02-26 13:53:10 +01:00
Matthias
103af46e70
Use Markdown V1 - update tests
2024-02-26 13:53:10 +01:00
CaffeinatedTech
51d799828b
Change enter_tag, exit_reason, mix_tag performance messages from HTML to Markdown to fix some string encoding issues.
2024-02-26 13:53:10 +01:00
CaffeinatedTech
c99184af21
Added escaping to enter and exit tags on telegram performance messages.
2024-02-26 13:53:10 +01:00
Matthias
ec1b676ab4
Fix edge-case when calculating cagr
...
edge-case with leveraged trades - yielding a negative final balance.
closes #9820
2024-02-26 13:53:10 +01:00
Matthias
aa1d54993f
Double newlines between functions ...
2024-02-26 13:53:10 +01:00
Matthias
ff5364ae5b
Fix duplicate parentheses
2024-02-26 13:53:10 +01:00
Matthias
f7eb14ae0e
Add open_fill_date stuff to json schema
2024-02-26 13:53:10 +01:00
Matthias
d004509176
Simplify trade_model serializations
2024-02-26 13:53:10 +01:00
Matthias
cb95298936
Add dt_ts_none helper
2024-02-26 13:53:10 +01:00
Matthias
c491c2a8ee
Adjust for ccxt exception hierarchy change
...
caused by https://github.com/ccxt/ccxt/pull/21035
2024-02-26 13:53:10 +01:00
Matthias
731fbe6f1e
Improve log message
2024-02-26 13:53:10 +01:00
Matthias
e63da230d8
Simplify some pairlist conditions
2024-02-26 13:53:10 +01:00
Matthias
27556f934e
Don't load empty dataframes - skip these
...
closes #9811
2024-02-26 13:53:10 +01:00
Matthias
9a8ae99fc7
Add debug output showing the pair to be converted
...
part of #9811
2024-02-26 13:53:10 +01:00
Matthias
3341964417
use query.edit_message_text to simplify telegram class
2024-02-26 13:53:10 +01:00
Matthias
82771cf85c
Slightly improve memory-usage of kraken-convert
2024-02-26 13:51:39 +01:00
Matthias
34b046355a
Allow wildcards for pairs filter
2024-02-26 13:51:39 +01:00
Matthias
4351d93f23
Allow limiting kraken pairs to --pairs
selection
2024-02-26 13:51:39 +01:00
Matthias
5dd856af6e
Allow int as trade-id parameter
...
closes #9780
2024-02-26 13:51:39 +01:00
Matthias
e84bc14944
Fix wording fully.
2024-02-26 13:51:39 +01:00
Shane
caf169cabc
fix: logical error
...
Fix logical error in the conditional checks for model classes. The `elif` statement that looks for "lightgbm.sklearn" or "xgb" in the model class string is now broken into two separate conditions because the old condition would always evaluate to `True` due to the non-empty string "xgb".
2024-02-26 13:51:39 +01:00
Matthias
7bfb6a0c65
Update cached binance leverage tiers
2024-02-26 13:50:50 +01:00
Matthias
d530dd5900
Improve formatting of leverage
...
closes #9759
2024-02-26 13:50:50 +01:00
Matthias
79066c3d3c
enable sub-minute backtest detail timeframes
...
closes #9635
2024-02-26 13:50:50 +01:00
Joe Schr
d15f17a03f
chore: remove unused parameter pairs
from populate_dataframe_with_trades
2024-02-26 12:00:36 +01:00
Matthias
e2d3774b07
Clearer wallets variable/parameter wording
2024-02-25 09:07:53 +01:00
Matthias
aad327b1fe
Update comment around funding fees
2024-02-25 09:02:58 +01:00
Matthias
e80ad309f1
Improve type safety, refactor volatilityfilter
2024-02-24 15:04:54 +01:00
Matthias
67152ad48a
Improve and parametrize pairlist tests
2024-02-24 14:56:42 +01:00
Matthias
9dd5967275
Add sorting capabilities to rangeStabilityFilter
2024-02-24 14:03:50 +01:00
Matthias
6a313aa9e3
Improve help wording
2024-02-24 14:03:26 +01:00
Matthias
81de29a1e3
Improve conditions for removal of pairs
2024-02-24 14:00:50 +01:00
Matthias
3677953d90
Properly cache volatility-average
2024-02-24 13:54:52 +01:00
Matthias
7af46628f8
Simplify rangeStability Filter
2024-02-24 13:50:54 +01:00
Matthias
88a2995b4c
Fix wrong typehint
2024-02-24 13:39:46 +01:00
Matthias
38ca58c728
Add verification for volatilityfilter
2024-02-24 13:12:52 +01:00
Matthias
0bf73cc64b
Voliatilityfilter - sorting
2024-02-24 13:11:43 +01:00
Matthias
7ddaa09a23
Refactor VolatilityFilter
2024-02-24 08:26:07 +01:00
Matthias
c663016b47
Improve some type safety
2024-02-24 08:06:06 +01:00
Matthias
6307e16304
Properly format notification date
2024-02-23 06:45:28 +01:00
Matthias
0acde28902
Remove pointless comment
2024-02-22 19:28:02 +01:00
Matthias
e30fa3a445
Remove duplicate pairlistmanager init
2024-02-22 18:17:58 +01:00
Matthias
db83b0cdb0
Update typehint for candle_cache
2024-02-22 07:09:47 +01:00
Matthias
4cfd5d004e
Improve ohlcv pair cache with since_ms
...
avoids some rare bugs in more complex configurations.
2024-02-22 06:38:28 +01:00
Matthias
3680e199ce
Fix range-stability filter downloading too little data
2024-02-22 06:29:08 +01:00
Matthias
4e87169a0c
Use set to reduce iterations
2024-02-22 06:28:54 +01:00
Matthias
f1af00dd39
Merge branch 'develop' into feature_keyval_storage
2024-02-20 19:21:44 +01:00
Matthias
0199e7d3d8
Add type-hint to exchange_has dict
2024-02-20 06:30:10 +01:00
Matthias
f53c019d2a
Update "exchange_has" validation with new fallbacks
2024-02-20 06:21:03 +01:00
Matthias
65af7750e6
Add fetch_order_emulated to support exchanges without proper fetch_order method
2024-02-20 06:21:03 +01:00
Matthias
39941a7ac0
Improve formatting in drawdown calc
2024-02-19 07:09:23 +01:00
Matthias
61e09ac719
Update telegram help with new wording
2024-02-18 16:07:03 +01:00
Matthias
583b2fc690
Fail if unified account is detected.
2024-02-18 11:50:42 +01:00
Matthias
e06b70eb05
Add log message for Bybit accout type
2024-02-18 11:50:42 +01:00
Matthias
51a6a7b632
Merge pull request #9821 from freqtrade/feat/volumepairlist_caching
...
improve volumepairlist "advanced filter mode" caching
2024-02-18 11:46:31 +01:00
Matthias
3250f42257
Improve validate_exchange
...
returns now both required and optional dependencies
2024-02-18 11:21:34 +01:00
Matthias
ebd439cdd1
Remove unused import
2024-02-17 16:41:10 +01:00
Matthias
78d8a4df2e
Use "ohlcv_with_cache" for further pairlists
2024-02-17 16:29:52 +01:00
Matthias
bcfe7ef547
Refactor ohlcv caching to exchange class
2024-02-17 16:26:44 +01:00
Matthias
190ba272de
Merge pull request #9818 from CaffeinatedTech/develop
...
Added escaping to enter and exit tags on telegram performance messages.
2024-02-17 13:36:52 +01:00
Matthias
3f3760c0ae
Use Markdown V1 - update tests
2024-02-17 12:02:26 +01:00
CaffeinatedTech
4761bf2427
Change enter_tag, exit_reason, mix_tag performance messages from HTML to Markdown to fix some string encoding issues.
2024-02-17 09:12:49 +10:00
Matthias
c0da1b6922
Fix edge-case when calculating cagr
...
edge-case with leveraged trades - yielding a negative final balance.
closes #9820
2024-02-16 20:04:49 +01:00
CaffeinatedTech
a0b7df70d6
Added escaping to enter and exit tags on telegram performance messages.
2024-02-16 13:36:16 +10:00
Matthias
60b12c1d9e
Double newlines between functions ...
2024-02-15 20:45:16 +01:00
Matthias
fd48991fb0
Fix duplicate parentheses
2024-02-15 20:44:16 +01:00
Matthias
fb54c9ffe4
Add open_fill_date stuff to json schema
2024-02-15 20:35:34 +01:00
Matthias
0f85ef0997
Simplify trade_model serializations
2024-02-15 19:52:50 +01:00
Matthias
c6d1c1a980
Add dt_ts_none helper
2024-02-15 19:50:56 +01:00
Matthias
c1d7184849
Adjust for ccxt exception hierarchy change
...
caused by https://github.com/ccxt/ccxt/pull/21035
2024-02-15 19:20:08 +01:00
Matthias
a22181d721
Enable caching for "filter only" Volumepairlist
2024-02-15 18:20:19 +01:00
Matthias
d01e9cf299
Improve log message
2024-02-15 18:20:11 +01:00
Matthias
86da9cb659
Simplify some pairlist conditions
2024-02-15 18:20:11 +01:00
Matthias
280737447c
Don't load empty dataframes - skip these
...
closes #9811
2024-02-14 07:26:23 +01:00
Matthias
3d6079ae19
Add debug output showing the pair to be converted
...
part of #9811
2024-02-13 17:47:43 +01:00
Joe Schr
7248f20938
Direct import to avoid circular import error
2024-02-13 12:00:24 +01:00
Matthias
d5b21f2a32
Fix bug in backtest mode
2024-02-13 07:16:09 +01:00
Matthias
304f52ab79
Fix some minor custom-data bugs
2024-02-13 07:06:32 +01:00
Matthias
6a6e3aacf3
Fix broken deletion
2024-02-12 20:51:44 +01:00
Matthias
1c81a21bb6
Merge branch 'develop' into feature_keyval_storage
2024-02-12 20:39:37 +01:00
Matthias
67b910835e
Simplify access to custom_data - users will usually only care about the value, not about the metadata.
2024-02-12 20:39:29 +01:00
Matthias
8364a704d6
Fix a few sql gotchas
2024-02-12 20:31:44 +01:00
Matthias
790c7e386a
re-adjust logic for custom_data in rpc module
2024-02-12 20:27:56 +01:00
Matthias
8dda28351e
Simplify custom_data stuff
2024-02-12 20:25:26 +01:00
Matthias
b7904b8e80
Combine custom_data classes to one file
2024-02-12 20:14:37 +01:00
Matthias
7fd70b82fa
custom_data: Simplify and fix a few things
2024-02-12 20:05:17 +01:00
Matthias
9699011cd9
Remove pointless wrapper
2024-02-12 18:28:29 +01:00
Matthias
83b22dedd5
Fix non-reset of use_db
2024-02-12 18:25:02 +01:00
Matthias
c67e451fe1
Remove unused imports
2024-02-12 18:24:26 +01:00
Matthias
8593094619
Ensure custom data access goes through the accessor functions
2024-02-12 18:22:49 +01:00
Joe Schr
bff93e31c8
Moves orderflow logic to it's own file
2024-02-12 13:45:56 +01:00
Joe Schr
64e9784d1f
Remove formatting changes
2024-02-12 13:45:56 +01:00
Joe Schr
d7b88194e0
Resolve various issues and comments
2024-02-12 13:45:56 +01:00
Joe Schr
6e7a536c7a
Replaces public_trades_to_dataframe with trades_list_to_df
2024-02-12 13:45:56 +01:00
Joe Schr
c610c44a43
Removes unrequired drop_incomplete
2024-02-12 12:12:20 +01:00
Joe Schr
a7e4a5e2dc
Removes clean_duplicate_trades
2024-02-12 12:11:52 +01:00
Joe Schr
c85ded14d1
Extract _if_enabled_populate_trades
2024-02-12 10:18:17 +01:00
Joe Schr
71e36be34b
Use get_historic_trades
directly
2024-02-12 10:10:45 +01:00
Joe Schr
aab3c07b87
Use _max_trades_candle_limit
directly
2024-02-12 10:10:36 +01:00
Joe Schr
50070bc2ca
Removes unused import
2024-02-12 09:39:09 +01:00
Joe Schr
e60b997fd0
Pass on missed argument stop_on_from_id
2024-02-12 09:38:49 +01:00
Joe Schr
e8714d52cd
Removes nonsensical if gate
2024-02-12 09:31:37 +01:00
Joe Schr
0a4da26f2d
Resolve using trades directly from trades_load
when backtesting
2024-02-12 09:29:30 +01:00
Matthias
fd737af69d
use query.edit_message_text to simplify telegram class
2024-02-12 06:29:42 +01:00
Joe Schr
0fd2aca47e
Remove if since
2024-02-11 13:14:17 +01:00
Joe Schr
e8c911e7b4
Remove since/until superfluous arguments
2024-02-11 13:04:39 +01:00
Matthias
d23079f837
improve tests slighly
2024-02-10 20:13:17 +01:00
Matthias
fc15f98b80
Reduce unnecessary newlines
2024-02-10 17:45:03 +01:00
Matthias
4b0383f197
Fix overly long lines
2024-02-10 17:40:24 +01:00
Matthias
a216a08f09
Formatting ...
2024-02-10 17:29:17 +01:00
Matthias
7ae69a9cde
update imports
2024-02-10 17:27:11 +01:00
Joe Schr
849413c5ea
Changes scale from type int to float
2024-02-10 11:53:40 +01:00
Matthias
3aa2d0c30a
Slightly improve memory-usage of kraken-convert
2024-02-10 09:37:59 +01:00
Matthias
a83b5abb51
Allow wildcards for pairs filter
2024-02-10 08:48:52 +01:00
Matthias
f89147fd44
Allow limiting kraken pairs to --pairs
selection
2024-02-10 08:44:16 +01:00
Joe Schr
4ae63d7ecb
Fix superfluous formatting
2024-02-09 13:15:12 +01:00
Joe Schr
9ec45ce042
Ruff fix
2024-02-08 19:48:53 +01:00
Joe Schr
5b264d66e0
Ruff and flake fixes
2024-02-08 19:38:21 +01:00
Joe Schr
c40f3d91d4
Ruff fix
2024-02-08 19:06:43 +01:00
Joe Schr
1a0610f3e4
mypy fixes
2024-02-08 12:11:10 +01:00
Joe Schr
14fb29516a
Removes unused code path
2024-02-08 11:56:57 +01:00
Joe Schr
0647ce59e7
Fix error if until is undefined
2024-02-08 11:06:15 +01:00
Matthias
3e5a572fc6
Allow int as trade-id parameter
...
closes #9780
2024-02-08 07:16:56 +01:00
Matthias
626c904103
Fix some issues with types
2024-02-07 19:28:06 +01:00
Matthias
2393a9fecf
Fix some minor test failures
2024-02-07 19:06:41 +01:00
Joe Schr
2925a2a2fa
Fix regression BaseException
2024-02-07 17:39:49 +01:00
Joe Schr
d6e3464973
Flake8 fix
2024-02-07 13:39:02 +01:00
Joe Schr
ca8cb73efa
Ruff fixes
2024-02-07 13:37:17 +01:00
Joe Schr
69eb35deff
Ruff fixes
2024-02-07 13:35:20 +01:00
Joe Schr
b8f92ecc52
Ruff fixes
2024-02-07 13:23:43 +01:00
Joe Schr
118ca784e8
Adds TRADESResponse
2024-02-07 13:20:39 +01:00
Joe Schr
634e81c7e0
Fix ruff
2024-02-07 13:10:04 +01:00
Joe Schr
79074ea4b3
Fix untrue ruff error by adding line ignore
2024-02-07 12:51:18 +01:00
Joe Schr
39ba6fe56b
Ruff --fix
2024-02-07 12:48:15 +01:00
Joe Schr
72a20e9928
Ruff changes for clean_duplicate_trades, populate_dataframe_with_trades, public_trades_to_dataframe
2024-02-07 12:42:30 +01:00
Joe Schr
b117f1b474
Fix superfluous changes
2024-02-07 12:30:50 +01:00
Joe Schr
e6c1c3d60b
Fix immediate rename of argument
2024-02-07 12:30:50 +01:00
Joe Schr
9c070431e1
Fix isort after ruff changes
2024-02-07 12:30:48 +01:00
Matthias
8f9f4b40cd
Update model to new sqlalchemy version
2024-02-07 07:25:02 +01:00
Matthias
4700782f60
Merge branch 'develop' into feature_keyval_storage
2024-02-07 07:13:41 +01:00
Joe Schr
f61c75ffcc
Fix isort imports
2024-02-06 20:35:16 +01:00
Joe Schr
3ae5667684
Fix merge regression regarding _pairs_last_refresh_time
2024-02-06 20:23:10 +01:00
Joe Schr
c04cce52ea
Fix unnecessary deep intend
2024-02-06 20:13:23 +01:00
Matthias
9e89567eeb
Merge pull request #9704 from ShaneOss/patch-2
...
fix: logical error in the conditional checks for model classes
2024-02-06 19:53:04 +01:00
Matthias
cb2aaa7bbb
Fix wording fully.
2024-02-03 15:00:48 +01:00
Matthias
2989b42760
Update cached binance leverage tiers
2024-02-03 13:16:32 +01:00
Matthias
3711fa5098
Improve formatting of leverage
...
closes #9759
2024-02-03 13:14:50 +01:00
Matthias
c5948693a3
enable sub-minute backtest detail timeframes
...
closes #9635
2024-02-03 13:14:46 +01:00
TheJoeSchr
5487e02ba2
Merge branch 'develop' into feature/fetch-public-trades
2024-02-02 15:14:04 +01:00
Joe Schr
8337bf3c47
Fix typo
2024-02-02 15:12:05 +01:00
TheJoeSchr
0153fd8d70
Update constants.py
...
Fix formatting change
2024-02-02 14:59:45 +01:00
Joe Schr
43645729a0
Don't fetch trades for informatitve pairs
2024-02-02 14:33:45 +01:00
Joe Schr
6aaf5d6069
Explain why not using IDataHandler
2024-02-02 14:17:18 +01:00
Joe Schr
e405c42097
Copy trades
dataframe directly instead of using deepcopy
2024-02-02 14:15:17 +01:00
Matthias
0d14b7a800
perf: only create detail timedelta object once for detail backtests
2024-02-02 07:03:44 +01:00
Matthias
ad121c19b0
Allow <1m timeframes for utility modes
2024-02-02 06:57:12 +01:00
Matthias
9bfd34a4f3
Merge pull request #9267 from Axel-CH/feature/update_sl_order_mgt
...
Update stoploss order management
2024-02-02 06:43:02 +01:00
Joe Schr
2833169955
Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades
2024-02-01 11:46:38 +01:00
Stefano Ariestasia
008c2feff9
Merge branch 'freqtrade:develop' into bt-metrics
2024-02-01 10:43:11 +09:00
Matthias
6ba8966090
chore: Add minified parameter docstring to to_json method
2024-01-30 07:25:46 +01:00
Matthias
78a1c7247a
keep ft_order_tag for backtest responses
2024-01-30 07:25:15 +01:00
Matthias
6806fab1b5
Fix migration not triggering
2024-01-30 07:24:36 +01:00
Matthias
79b8496f38
Fix backtesting not setting entry_tag out of position adjustments
2024-01-30 07:24:36 +01:00
Matthias
2d704a77b5
Improve formatting
2024-01-30 07:24:36 +01:00
Matthias
830a004dfd
Move response handling to interface wrappermethod
2024-01-30 07:24:36 +01:00
Matthias
535ff387ff
add order_tag handlig to running bot
2024-01-30 07:24:36 +01:00
Matthias
95e51bf816
allow adjust_trade_position to return tuples in backtesting
2024-01-30 07:24:36 +01:00
Matthias
e8288a34c9
add ft_order_tag to backtesting
2024-01-30 07:24:36 +01:00
Matthias
39ffee381b
Improve type hint
2024-01-30 07:24:36 +01:00
Matthias
ccd4c715ca
add order-tag to serialize / unserialize methods
2024-01-30 07:24:36 +01:00
Matthias
d82bfc9fad
Add order_tag to orders model
2024-01-30 07:24:36 +01:00
Matthias
c59ae30e31
chore: Add minified parameter docs to to_json method
2024-01-30 07:24:26 +01:00
Matthias
6c27b27d4f
Bump version to 2024.2-dev
2024-01-30 07:03:07 +01:00
Stefano
17af69435f
remove mode, add max_rank, modify test
2024-01-29 17:57:14 +09:00
Matthias
63d8239011
Merge branch 'develop' into bt-metrics2
2024-01-27 16:24:05 +01:00
Matthias
b72078e76e
use get_pair_base_currency
2024-01-27 16:07:55 +01:00
Matthias
132e143b9a
Minor comment fix
2024-01-27 14:49:50 +01:00
Bloodhunter4rc
99b11c088b
add available_parameters
2024-01-27 08:20:20 +01:00
Matthias
f42fd25800
Improve function naming better reflecting what it aims to do
2024-01-27 08:15:05 +01:00
Bloodhunter4rc
c398504f23
fix tests
2024-01-26 20:55:24 +01:00
Bloodhunter4rc
dd3fbfcfda
+ return type
2024-01-26 18:56:47 +01:00
Bloodhunter4rc
f0562c391c
remove debug, reduce duplicate code -> init_check, add docs example for save_to_file
2024-01-26 18:32:46 +01:00
Bloodhunter4rc
027ce4337d
refresh_period not necessary for a local file
2024-01-26 17:08:38 +01:00
Bloodhunter4rc
fd21658523
extend error except, add saving to a file of processed pairlist + docs
2024-01-26 16:46:54 +01:00
Matthias
8d72ee358c
Improve code styles ...
2024-01-24 20:31:38 +01:00
Matthias
0077f3c9a5
Code style improvements
2024-01-24 20:25:25 +01:00
Matthias
817aaa164c
Enhance list-data (detailed) view with "candles" column
2024-01-24 20:13:06 +01:00
Matthias
ea9c51570f
use resample_freq where possible
2024-01-24 19:19:16 +01:00
Matthias
2fe6fe14aa
Simplify volumepairlist footprint slightly
2024-01-24 18:27:41 +01:00
Matthias
85dd371ee3
use prepared timedelta object for backtesting
2024-01-24 17:57:18 +01:00
Matthias
1ae3b1e622
Fix weekly resamples to ensure they're on monday.
2024-01-23 19:21:06 +01:00
Matthias
c15f811602
Merge pull request #9708 from PabloRuizCuevas/develop
...
shorten configuration code
2024-01-23 08:14:46 +01:00
Matthias
48ea43f954
Fix yearly resample timeframe
2024-01-23 07:22:18 +01:00
Matthias
6b78dac6f0
Re-align naming for resample_freq generator
2024-01-23 07:12:27 +01:00
Matthias
0a40a345fe
use timeframe_as_resample_freq for trade_parallel analysis
2024-01-23 07:11:59 +01:00
Matthias
656b32814b
Have trade_converter use timeframe_as_resample_freq
2024-01-23 07:10:25 +01:00
Matthias
c9c44a4710
Extract resample_interval generation
2024-01-23 07:02:09 +01:00
Matthias
5167f6936d
Prepare converter to work on 1s data.
2024-01-23 06:42:12 +01:00
Matthias
a1b93dc915
Improve call sequence
2024-01-23 06:42:12 +01:00
Pablo
991a279b23
Removed duplicated key
...
The key was already duplicated in the original version
2024-01-22 22:48:45 +01:00
Matthias
5b879df2b0
Improve indentation
2024-01-22 20:16:08 +01:00
Pablo
d191138009
restored accidentally deleted lines
2024-01-22 16:26:47 +01:00
Pablo
e704c2def4
shorten configuration code
2024-01-21 19:56:00 +01:00
Matthias
612ec38e57
Don't skip trades if the exchange doesn't do inclusive filtering
2024-01-21 16:50:49 +01:00
Matthias
ac5b12cfd2
Improve kraken pagination behavior
2024-01-21 15:55:34 +01:00
Matthias
c167575098
Move extracting trade pagination id to fetch_trades
2024-01-21 15:22:03 +01:00
Matthias
501a9a8c98
Improve error message, add test for trade_pagination_id validation
2024-01-21 14:11:59 +01:00
Matthias
c333c9c5a1
Improve kraken trades pagination logic
2024-01-21 14:08:35 +01:00
Matthias
d355f011df
Invert exchange_class mapping
2024-01-21 13:57:26 +01:00
Matthias
ef80772fc3
Rename class and tests
2024-01-21 13:57:26 +01:00
Matthias
ff95adb2eb
Update supported exchanges, add mapping
2024-01-21 13:57:26 +01:00
Matthias
5b1cda9236
Update Huboi brandin to htx
2024-01-21 13:57:26 +01:00
Stefano Ariestasia
60812983e3
fix error
2024-01-21 13:33:38 +09:00
Stefano Ariestasia
bbec51685d
remove can_filter, and use log_once
2024-01-21 13:28:50 +09:00
Shane
ad0f88796b
fix: logical error
...
Fix logical error in the conditional checks for model classes. The `elif` statement that looks for "lightgbm.sklearn" or "xgb" in the model class string is now broken into two separate conditions because the old condition would always evaluate to `True` due to the non-empty string "xgb".
2024-01-20 10:42:37 +11:00
Matthias
e76888882d
Fix typehint
2024-01-19 18:59:52 +01:00
Matthias
3ab226a096
Remove unused import
2024-01-19 18:24:03 +01:00
Matthias
6eaf42fe33
Default order_date to dt_now if it's not set via ccxt and wasn't previously set.
2024-01-19 18:17:53 +01:00
robcaulk
5bfda534b2
feat: allow custom user features to be plotted in backtesting (freqai)
2024-01-19 17:46:34 +01:00
Matthias
b9a43b8e24
Don't store 'stoploss_last_updated' explicitly
...
it can easily be derived from the very last stoploss order.
2024-01-19 07:12:49 +01:00
Matthias
59b3486574
Update migrations
2024-01-19 06:49:49 +01:00
Matthias
22a08c7c8d
Merge pull request #9549 from freqtrade/freqai/fixdownloaddata
...
Only download tradable pairs
2024-01-18 18:12:25 +01:00
Matthias
c2d6ab2fa5
Add unified kraken stoploss settings
2024-01-17 19:44:09 +01:00
Matthias
6069670ce2
Remove kraken custom stoploss handling
2024-01-17 19:43:53 +01:00
Matthias
c248bb27e9
use safe_price for adjust_entry_price callback
...
closes #9692
2024-01-16 20:15:35 +01:00
Matthias
ea1b3c38f8
remove last utcnow usage
2024-01-14 20:00:30 +01:00
Matthias
393df83a91
Implement enter_tag initialization to avoid futures warning
2024-01-14 14:33:47 +01:00
Matthias
338ff66268
Only load environment variables when config is allowed
2024-01-13 17:09:02 +01:00
Matthias
629a6be269
Rename methods to make exposure explicit
2024-01-13 16:53:31 +01:00
Matthias
4896e04c41
Improve formatting
2024-01-13 16:46:22 +01:00
Matthias
cd392fbbdf
Slightly update formatting in arguments
2024-01-13 08:18:30 +01:00