Matthias
a964884077
chore: Remove now unused type ignore comment
2024-07-22 19:31:44 +02:00
Matthias
b3e3dff560
Improve log message uppon pair watchlist removal
2024-07-22 19:27:55 +02:00
Matthias
72f6ee8e8b
feat: Add Orderflow -> exchange support validation
2024-07-22 18:07:32 +02:00
Matthias
4ee7c3741f
Merge pull request #9066 from TheJoeSchr/feature/fetch-public-trades
...
[Feature] fetch public trades
2024-07-21 20:00:54 +02:00
Matthias
faf7b830c9
fix: Fix WS restart bug after network outage
...
This could lead to messed up candles in case of an outage that took more than 1 candle.
2024-07-21 19:56:51 +02:00
xmatthias
8cd20f1914
chore: update pre-commit hooks
2024-07-20 06:43:19 +00:00
Matthias
a8f707eee2
Merge branch 'develop' into feature/fetch-public-trades
2024-07-20 08:15:34 +02:00
colorfulgray0
b5e7c6406a
chore: remove redundant raise
2024-07-19 15:49:30 +08:00
Joe Schr
9eb5993833
chore: drop candle_start
and candle_end
from trades and add test asserting trades columns
2024-07-18 20:04:34 +02:00
Matthias
f5a92fcfc5
Support accountId as exchange secret
2024-07-16 18:26:51 +02:00
Matthias
5c371133a0
chore: Improve wording
2024-07-16 18:21:01 +02:00
Matthias
dcc9d20cca
Remove unnecessary statement
2024-07-16 07:31:11 +02:00
Matthias
d590ab003f
Add unlock_at config test, simplify validation
2024-07-16 07:26:41 +02:00
Matthias
a3c52445ee
Simplify validation
2024-07-16 07:14:46 +02:00
Matthias
be3fcd90e2
Remove unneeded property
2024-07-16 07:14:33 +02:00
Matthias
26aa336450
Combine "until" logic into calculate_lock_end
2024-07-16 07:05:42 +02:00
Matthias
d13f47ec0b
align wording to simplify "locking for" element
2024-07-16 06:48:30 +02:00
Matthias
1e36bc98b9
chore: Remove unused method
2024-07-16 06:35:32 +02:00
Matthias
16dd86e732
_unlock_at should be private
2024-07-16 06:31:12 +02:00
Matthias
8922f0cdf3
feat: use dicts instead of nested dataframes
2024-07-15 20:08:55 +02:00
colorfulgray0
eba0aaf3c2
chore: remove contextmanager
2024-07-15 14:08:10 +08:00
simwai
be894664ef
Fixed building of wrong reason texts
...
Removed unnecessary method set_unlock_at_as_stop_duration()
2024-07-14 21:47:43 +02:00
Matthias
5cabd49bec
Fix comment
...
closes #10422
2024-07-14 17:28:08 +02:00
Matthias
103db9a025
Add hyperliquid exchange overrides
...
part of #10377
2024-07-14 09:14:44 +02:00
Matthias
9736e0d13f
Update docstring alignment
2024-07-14 09:08:36 +02:00
Matthias
1c46b287d7
chore: add support for "walletAddress" and "privateKey"
...
part of #10377
2024-07-14 09:05:25 +02:00
Matthias
5b2b5285ed
chore: Support apiKey as config value
...
(aligns secret configuration with ccxt)
2024-07-14 08:57:23 +02:00
Matthias
ba352522d4
Implement progress tracker to trades download
2024-07-13 18:01:22 +02:00
Matthias
b41cdfb683
Simplify by extracting progressbar definition
2024-07-13 15:47:50 +02:00
Matthias
04c9626c8c
feat: Implement rich Progress to download-data
2024-07-13 10:54:23 +02:00
Matthias
87b78b5ec5
Add default to customProgress cust_objs
2024-07-13 10:52:03 +02:00
Matthias
d3ffdbf300
chore: Add small todo
2024-07-13 09:49:21 +02:00
Matthias
50dcd04816
chore: Add cryptocom base exchange class
...
adjust candle-limit to the appropriate number
2024-07-12 07:09:52 +02:00
Matthias
9ebd34daba
Merge branch 'develop' into feature/fetch-public-trades
2024-07-11 07:06:58 +02:00
xmatthias
d25c76698c
chore: update pre-commit hooks
2024-07-11 03:12:39 +00:00
Matthias
9975788f57
Add workaround to drop orderflow columns before sending to plotting
2024-07-10 20:21:32 +02:00
Matthias
e5f6ce9724
Fix "needed_candle_for*" logic
...
we can't compare this to "required_candle_call_count" - that'd yield 1 ...
2024-07-10 20:19:01 +02:00
Matthias
a7fcd1263b
chore: Fix typing
2024-07-09 19:39:47 +02:00
Matthias
9c41ab10ff
chore: remove tabulate output
2024-07-09 07:15:18 +02:00
Matthias
f9af659153
feat: edge-cli output to rich
2024-07-09 07:08:10 +02:00
Matthias
2d31314eb4
feat: bt-result to tabulate
2024-07-09 06:54:04 +02:00
Matthias
06a0264f2b
feat: period breakdown -> rich table
2024-07-09 06:51:11 +02:00
Matthias
315351b573
feat: Tag table -> rich
2024-07-09 06:49:33 +02:00
Matthias
a605ae20a7
feat: initial backtest table to rich
2024-07-09 06:43:12 +02:00
Matthias
5765bb4a4f
feat: Update initial bt table
2024-07-09 06:38:10 +02:00
Matthias
0e870ab47c
chore: don't use pipe operator, not supported on 3.9
2024-07-08 19:15:05 +02:00
Matthias
64d22bbd89
chore: Fix fstring incompatibility with older python versions
2024-07-08 18:20:39 +02:00
Matthias
49a60fa67f
Properly support "--no-color" for hyperopt
2024-07-08 06:44:21 +02:00
Matthias
28f4e1c068
Colorama is not necessary for hyperopt commands anymore
2024-07-08 06:38:29 +02:00
Matthias
94565d0d39
"best" should be shown in gold
2024-07-07 20:03:49 +02:00
Matthias
004e1101e7
Improve resiliance, drop compatibility test
2024-07-07 17:12:30 +02:00
Matthias
879797e7c5
chore: remove no longer used result formatting methods
2024-07-07 17:12:30 +02:00
Matthias
f51b63fc37
Fix wrong type for live running
2024-07-07 16:33:47 +02:00
Matthias
4d6f399131
Implement colors for hyperopt-output
2024-07-07 16:28:02 +02:00
Matthias
8f0ac0aaea
Remove old output from hyperopt-list
2024-07-07 16:27:53 +02:00
Matthias
f05c019757
feat: Update output for hyperopt to Rich
2024-07-07 16:15:09 +02:00
Matthias
befefd449c
Add a generic Progressbar which allows printing additional objects
2024-07-07 16:13:55 +02:00
Matthias
69628736b2
feat: add hyperopt output functionality
2024-07-07 15:29:58 +02:00
Matthias
8c807f00bb
Extract row before exploding for better typing
2024-07-07 15:10:14 +02:00
Matthias
4d5b330b77
Improve rich generic
2024-07-07 13:08:52 +02:00
Matthias
296bf9dc1d
chore: Fix unused import
2024-07-07 13:05:37 +02:00
Matthias
dba7f9968b
chore: fix minor type gotcha
2024-07-07 12:58:44 +02:00
Matthias
7adc3c2ef5
Improve rich_tables generic
2024-07-07 12:47:27 +02:00
Matthias
8e2f28955e
feat: rich table for recursive analysis
2024-07-07 10:05:17 +02:00
Matthias
5e88bd231d
feat: lookahead-heplpers -> rich table
2024-07-07 10:00:36 +02:00
Matthias
e705471946
chore: don't return what ain't being needed
2024-07-07 09:49:15 +02:00
Matthias
cdae61e155
feat: use rich tables for entryexitanalysis
2024-07-07 09:49:15 +02:00
Matthias
ffb0cf1a2c
chore: Improve typing
2024-07-07 08:36:51 +02:00
Matthias
9f628309e9
feat: Update list-pairs command to use rich tables
2024-07-06 21:00:34 +02:00
Matthias
c296a8cf82
Improve rich tables interface
2024-07-06 20:59:50 +02:00
Matthias
c9b3987d33
chore: update rich-table print helper
2024-07-06 18:30:48 +02:00
Matthias
768a51cb9b
Extract rich_table print to utils
2024-07-06 18:26:36 +02:00
Matthias
2d8470b254
Remove unused imports
2024-07-06 18:26:08 +02:00
Matthias
8d00e1d929
feat: Use Rich for list-strategies command
2024-07-06 18:09:03 +02:00
Matthias
2e0372d247
extract print_rich_table
2024-07-06 13:12:16 +02:00
Matthias
bafb6507c4
Use Rich table for pair list output
2024-07-06 13:09:37 +02:00
Matthias
b6b589b1f0
Update list-exchanges to use rich tables
2024-07-06 12:59:50 +02:00
Matthias
95097d1f51
chore: don't overwrite exchanges variable
2024-07-06 11:49:26 +02:00
Matthias
6b98bfe9b7
Simplify output
2024-07-06 11:42:40 +02:00
Matthias
7a67771e46
feat: include orderbook / fetchTicker to exchange_has
...
this will ensure one of the "get price" methods is available.
2024-07-06 10:55:10 +02:00
Matthias
bfe18573f3
Improve wording for list-exchanges command
2024-07-06 10:52:03 +02:00
Simon Waiblinger
f126120421
Merge branch 'freqtrade:develop' into feature/stoploss-start-at
2024-07-05 22:23:56 +02:00
simwai
af505b346c
Fixed an access on the config by a wrong config key
2024-07-05 22:17:40 +02:00
simwai
77b4689ac8
Fixed implementation of unlock_at and updated unit tests
2024-07-05 22:14:35 +02:00
Matthias
4a4e6bc952
chore: fix flake8-builtins overrides
2024-07-05 08:51:23 +02:00
Matthias
deeabbca12
chore: Don't override builtins
2024-07-05 08:51:20 +02:00
Matthias
8d9825ac95
chore: noqa S404
...
we're using static parameters with subpross, so it should be safe.
2024-07-05 08:25:24 +02:00
Matthias
ab0fd461ed
chore: Replace np.NAN with np.nan
...
properly implements what #10402 tried to do.
2024-07-05 08:18:36 +02:00
Joe Schr
aa86e95650
refresh_latest_trades: use max_candles
to determine trades download count
2024-07-04 18:33:05 +02:00
Matthias
cd8bd9038e
fix: Reassign "options" on market reload
...
Ensures that all data is available after init or reload.
2024-07-04 18:12:14 +02:00
Joe Schr
3486327e78
Extract global cached_grouped_trades_per_pair
into IStrategy
2024-07-04 17:23:59 +02:00
Joe Schr
e5221bded7
Align constant defaults for cache_size
with max_candles
2024-07-04 17:06:59 +02:00
Matthias
7c697d4ded
fix: Validate trades for fee
...
We can't rely on the "trades" subarray from the order
to contain everything we need
As such, we need to ensure that required properties are present and not None.
closes #10398
2024-07-04 16:38:12 +02:00
Matthias
6b99033164
Improve trades-cached handling
2024-07-04 15:21:16 +02:00
Matthias
c891e38f2b
Merge branch 'develop' into feature/fetch-public-trades
2024-07-04 14:39:17 +02:00
Matthias
a0a5ccc445
Merge branch 'develop' into ci/ccxt.pro
2024-07-04 12:08:36 +02:00
Joe Schr
05b2d8a2bf
Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades
2024-07-04 11:01:17 +02:00
simwai
2b456cbdeb
Added unlock_at field for protection config
2024-07-04 10:29:13 +02:00
xmatthias
01506a2ad3
chore: update pre-commit hooks
2024-07-04 03:12:01 +00:00
Matthias
b58e412982
feat: Add "DEX" output for list- exchanges
subcommand
2024-07-03 13:34:00 +02:00
Matthias
7209b2e71a
Merge branch 'develop' into ci/ccxt.pro
2024-07-03 13:13:13 +02:00
Matthias
d8eb6e59fa
Fix missing import
2024-07-03 12:01:22 +02:00
Matthias
e5a453a1f3
Improve clarity on argument definition
2024-07-03 12:01:13 +02:00
Matthias
44c9358ac1
Simplify argparse imports
2024-07-03 11:55:55 +02:00
Matthias
0f1894037d
Increased Args typehint
2024-07-03 11:51:11 +02:00
Matthias
dcb442f1df
Fix / Improve supported options for lookahead-analysis
2024-07-03 11:42:44 +02:00
Matthias
f294aafbf5
Merge pull request #10352 from freqtrade/feat/pairlist_bt_check
...
Feat/pairlist_bt_check
2024-07-03 09:58:45 +02:00
Matthias
a800152a43
Update gzip open mode to text mode
...
It's slightly faster this way, as json files are text anyway.
2024-07-03 09:19:23 +02:00
Matthias
11798ae018
chore: update version to 2024.7-dev
2024-06-30 09:42:08 +00:00
konradbeck
1c4e809f84
Update telegram.py
...
The help command doesn't have consistent formatting.
- /stop: "Description" doesn't conform to the other formatting.
- Statistics header isn't on it's own line.
2024-06-29 09:58:37 +02:00
Joe Schr
b2bcac8447
Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades
2024-06-27 15:23:12 +02:00
Joe Schr
7de102320c
orderflow: use cache per pair
2024-06-27 15:06:16 +02:00
xmatthias
5fa24163f5
chore: update pre-commit hooks
2024-06-27 03:12:21 +00:00
Joe Schr
dad2cad525
orderflow: fixing typing
2024-06-26 19:54:13 +02:00
Joe Schr
323274ecee
orderflow: clean code
2024-06-24 18:07:17 +02:00
Joe Schr
5379400ab3
Merge branch 'feature/fetch-public-trades-cached' into feature/fetch-public-trades
2024-06-24 18:07:01 +02:00
Joe Schr
54df6f5b9c
orderflow: adds cache_size
to config
2024-06-24 17:40:24 +02:00
Joe Schr
390373cb9b
orderflow: ruff format
2024-06-24 17:15:39 +02:00
Joe Schr
ecd2118941
fix: copying orderflow dataframe from cache doesn't work
2024-06-24 17:14:22 +02:00
Matthias
282198a81c
update enum value to Biased
2024-06-21 17:43:27 +02:00
Matthias
b7f180ab3f
fix: Improve safety of custom_stop return validation
...
If the return is inf or NaN freqtrade should not fail
closes #10349
2024-06-21 16:43:07 +02:00
Joe Schr
08a27abbdc
orderflow: clean up populate_dataframe_with_trades code
2024-06-21 16:10:27 +02:00
Joe Schr
d23c33a47f
feat: add caching to populate_dataframe_with_trades
2024-06-21 15:28:11 +02:00
Matthias
dd42a79234
Remove most explicit "supports backtesting" checks
2024-06-21 14:57:57 +02:00
Matthias
ea58be2705
Classify individual pairlists for backtestability
2024-06-21 14:57:57 +02:00
Matthias
c1e938ccda
Add "BacktestnigSupport" method to pairlists
2024-06-21 14:57:57 +02:00
Matthias
02c38f7396
Prevent data-downloads for exchanges that don't support this.
2024-06-20 18:29:17 +02:00
Matthias
776a8e43cd
Add trades_has_history attribute
2024-06-20 18:24:43 +02:00
xmatthias
d5bad0ed45
chore: update pre-commit hooks
2024-06-20 03:14:42 +00:00
Joe Schr
ffda564f05
Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades
2024-06-19 20:38:50 +02:00
Joe Schr
2d6408a363
feat: adds max_candles
to orderflow config
2024-06-19 19:23:26 +02:00
Matthias
b43d578bb0
Merge branch 'develop' into ci/ccxt.pro
2024-06-18 20:34:18 +02:00
Matthias
a9ebefdc37
Prevent warning on __del__ during tests
2024-06-16 09:56:03 +02:00
Matthias
2223c16d00
Load hyperparameters when calling plot_config
2024-06-16 09:52:25 +02:00
Matthias
1775d86af2
Merge branch 'develop' into ci/ccxt.pro
2024-06-14 19:46:14 +02:00
Matthias
03d2d5dc5d
Update bt_output types
2024-06-13 06:43:31 +02:00
Matthias
dd469944c9
Extract per-tag subresults from main backtest_result method
2024-06-13 06:43:31 +02:00
Matthias
156eeb90b9
Output mixed tags table
2024-06-13 06:43:31 +02:00
Matthias
68b8b29089
Calculated mixed tags results
2024-06-13 06:43:31 +02:00
xmatthias
7106ff6923
chore: update pre-commit hooks
2024-06-13 03:02:25 +00:00
Matthias
1b2cfc9857
Simplify generate_tag_metrics logic
2024-06-11 19:53:22 +02:00
Matthias
2ec4449558
Use better column header for backtest output
2024-06-11 19:08:24 +02:00
Matthias
09b1b1ab94
Use "trades" wording in backtest tables
2024-06-11 07:03:47 +02:00
Matthias
90efd04617
Improve typing in backtesting
2024-06-11 06:47:23 +02:00
Matthias
f314607bb6
Update pairlists to use *args **kwargs init
2024-06-09 08:55:03 +02:00
Matthias
29e23dfdb9
Use self._ for pairlist inits
2024-06-09 08:55:03 +02:00
Matthias
2cb89996d2
Remove unused imports
2024-06-09 08:44:26 +02:00
Matthias
3b86e3e66e
Fix deprecated "abstractproperty"
2024-06-09 08:44:04 +02:00
Matthias
598e461892
Remove unused __init__ method
2024-06-09 08:42:51 +02:00
Matthias
de5a5d0967
Don't use assert in non-test code.
2024-06-08 09:32:54 +02:00
Matthias
cef9c45f68
don't use plain eval
2024-06-08 09:31:50 +02:00
Matthias
2f83ff73e2
Further bandid noqa's
2024-06-08 09:27:40 +02:00
Matthias
50e4d273f4
noqa empty passes on version detection
2024-06-08 09:23:02 +02:00
Matthias
6b932133ea
Log during cleanup
2024-06-08 09:20:23 +02:00
Matthias
bd8b8e8b8b
Add a few bandid noqa's on acceptable use
2024-06-08 09:19:54 +02:00
Matthias
0eeaee21fb
Avoid "restart" failure - reset ccxt cache
2024-06-07 19:03:28 +02:00
Matthias
84e8a19bd3
Remove duplicate log message
2024-06-06 18:05:58 +02:00
Matthias
31219299d2
Don't fail trades loop if one pair fails
2024-06-06 18:05:45 +02:00
xmatthias
779905a8f2
chore: update pre-commit hooks
2024-06-06 03:02:43 +00:00
Matthias
9da0437e3d
Improve exchange_ws shutdown
2024-06-04 19:52:19 +02:00
Matthias
50bf770351
Merge branch 'develop' into feature/fetch-public-trades
2024-06-04 19:49:27 +02:00
Matthias
0f9335d242
Merge branch 'develop' into ci/ccxt.pro
2024-06-04 19:45:22 +02:00
Matthias
133dc1d343
api_async is mandatory ...
2024-06-04 19:42:04 +02:00
Joe Schr
f075d728c5
constants: make "orderflow" fields required
2024-06-04 19:23:23 +02:00
Matthias
a2251d045c
Only load markets once
...
Increases startup speed by 6s on binance (from 9 to 3s).
2024-06-04 19:01:00 +02:00
Matthias
5a08d1acf9
combine _load_markets and reload_markets
2024-06-04 07:21:42 +02:00
Matthias
d5361d84fa
use np.where instead of apply
2024-06-02 17:09:23 +02:00
Matthias
6913aed027
Merge branch 'develop' into ci/ccxt.pro
2024-06-01 08:48:50 +02:00
Matthias
0e44cd91d8
StrEnum was only introduced in 3.11 . . .
2024-06-01 08:43:04 +02:00
Joe Schr
bfb29d3c14
orderflow: fix ask/bid & buy/sell mixup
2024-05-31 21:25:36 +02:00
Matthias
5a0e0263d8
use StrEnum for RunMode
2024-05-31 20:36:18 +02:00
Matthias
122896f9ab
Improved "task done" message
2024-05-31 07:12:02 +02:00
Matthias
8b90643f3a
Don't show "exchange closed by user" exceptions
2024-05-31 07:03:40 +02:00
Matthias
12852438a5
Call connection at intervals
2024-05-31 06:52:11 +02:00
Matthias
33e61b1308
Extract connection reset from exchange_ws
2024-05-31 06:48:38 +02:00
Matthias
7e736a34dd
Reduce ccxt.pro verbosity
2024-05-31 06:40:14 +02:00
Matthias
f33c4db572
Apply ruff formatting to ws branch
2024-05-31 06:40:14 +02:00
Matthias
cabd36253e
Reduce level of "reuse watch result" . . .
2024-05-31 06:40:14 +02:00
Matthias
212ac2073e
Don't multiply klines_last_refresh
...
with 1000 - it's already in ms
2024-05-31 06:40:14 +02:00
Matthias
627154cb66
improve ws "removing" condition
2024-05-31 06:40:14 +02:00
Matthias
7ec8b28be3
Re-adjust ts handling to not use time.time()
2024-05-31 06:40:14 +02:00
Matthias
765fa06daa
Deepcopy ccxt ws result
2024-05-31 06:40:14 +02:00
Matthias
d5d818be8b
Remove unused import
2024-05-31 06:40:14 +02:00
Matthias
ed8b9018c5
Properly handle shutdown (canceled coroutines)
...
This will imrove shutdown behavior
2024-05-31 06:40:14 +02:00
Matthias
68c36ce07d
Fix typo
2024-05-31 06:40:14 +02:00
Matthias
b5239f06ae
Improve log formatting
2024-05-31 06:40:14 +02:00
Matthias
7bc4fdca27
remove pairs from _pairs_schedules when their coroutine stops
2024-05-31 06:40:14 +02:00
Matthias
93cdf1bb54
Simplify logging
2024-05-31 06:40:14 +02:00
Matthias
554d4134ff
Add humanized date to debug log
2024-05-31 06:40:14 +02:00
Matthias
45c17f2448
Reduce excessive log again
2024-05-31 06:40:14 +02:00
Matthias
ce33b031f2
Show pair for task finished
2024-05-31 06:40:14 +02:00
Matthias
fc66a12c14
Improve "stopped" messages
2024-05-31 06:40:14 +02:00
Matthias
85725b5472
Improved exception message
2024-05-31 06:40:14 +02:00
Matthias
c482b7e40f
Add log for "removal" tracking
2024-05-31 06:40:14 +02:00
Matthias
80c7d4eb5f
Improve debug logging
2024-05-31 06:40:14 +02:00
Matthias
d3962a7c07
Remove websocket init for non-trade modes
2024-05-31 06:40:14 +02:00
Matthias
2ade5191e6
Ensure shutdown of async exchange, fix test
2024-05-31 06:40:14 +02:00
Matthias
d42e012ec3
ws - Improve cleanup behavior
2024-05-31 06:40:14 +02:00
Matthias
9f2708247a
Enable ws for bybit
2024-05-31 06:40:14 +02:00
Matthias
f324af938a
Improve WS logic to assume a candle is complete if time rolled over
2024-05-31 06:40:14 +02:00
Matthias
b5dc54072e
Ensure exchange objects are not undefined
2024-05-31 06:40:14 +02:00
Matthias
c61d9e0dec
Reduce verbosity
2024-05-31 06:40:14 +02:00
Matthias
c0c775114e
Slightly improved loggign
2024-05-31 06:40:14 +02:00
Matthias
0ec751826b
Opt in binance to websocket support
2024-05-31 06:40:14 +02:00
Matthias
137ddb2ec3
Require opt-in for ws enablement to allow slow rollout
2024-05-31 06:40:14 +02:00
Matthias
f9ce0bb9ab
Improve exchange formatting
2024-05-31 06:40:14 +02:00
Matthias
35e2e58a5c
Improve formatting
2024-05-31 06:40:14 +02:00
Matthias
8375209a8e
Add fixtures for exchange_ws
2024-05-31 06:40:14 +02:00
Matthias
55bd7db022
Don't forget to close WS session
2024-05-31 06:40:14 +02:00
Matthias
c18b6cdb74
Improve stop behavior
2024-05-31 06:40:14 +02:00
Matthias
4832c10973
Only import ccxt.async when necessary
2024-05-31 06:40:14 +02:00
Matthias
67a6c11f6d
No longer import ccxt.async_support
2024-05-31 06:40:14 +02:00
Matthias
55ed505f94
Update exchange_ws get_ohlcv logic
2024-05-31 06:40:14 +02:00
Matthias
f90574abee
use OHLCVResponse in ws
2024-05-31 06:40:14 +02:00
Matthias
0b620817a2
Don't append fake candle
2024-05-31 06:40:14 +02:00
Matthias
fcaee33706
Improve log msg
2024-05-31 06:40:14 +02:00
Matthias
ec6c54367b
Add exchange_ws test case
2024-05-31 06:40:14 +02:00
Matthias
f223319909
Improve typehint for ohlcv endpoint
2024-05-31 06:40:14 +02:00
Matthias
e8b4bcc65d
use default argument
2024-05-31 06:40:14 +02:00
Matthias
dadc96306f
Better define what interface is external
2024-05-31 06:40:14 +02:00
Matthias
8a00bf3188
Use proper typehint
2024-05-31 06:40:14 +02:00
Matthias
aef0324aa7
set markets for ws exchange on reload
2024-05-31 06:40:14 +02:00
Matthias
f4f8b910fe
Improve exchange_ws terminology
2024-05-31 06:40:14 +02:00
Matthias
60cfda5d52
Add very basic exception handling
2024-05-31 06:40:14 +02:00
Matthias
f9524aebe9
Improve temporary log output for exchange_ws
2024-05-31 06:40:14 +02:00
Matthias
eda8a767ca
Improve ws exchange
2024-05-31 06:40:14 +02:00
Matthias
18dabd519a
ccxt.pro - move get_klines to ws_exchange
2024-05-31 06:40:13 +02:00
Matthias
e2b567165c
remove double log
2024-05-31 06:40:13 +02:00
Matthias
972b932e5d
Implement ws cleanup
2024-05-31 06:40:13 +02:00
Matthias
2fd5b4a6e1
Use websocket results
2024-05-31 06:40:13 +02:00
Matthias
1d12985b70
Update exchange_ws with cleanup function
2024-05-31 06:40:13 +02:00
Matthias
bd494ed67a
Cleanup exchange changes
2024-05-31 06:40:13 +02:00
Matthias
3468edddf6
Add enable_ws config setting
2024-05-31 06:40:13 +02:00
Matthias
51890f80c4
Add parameter for ws enablin
2024-05-31 06:40:13 +02:00
Matthias
34ccada909
Tests with seperate thread
2024-05-31 06:40:13 +02:00
Matthias
e985c1890b
Implement basic ccxt.pro to test
2024-05-31 06:40:13 +02:00
Matthias
ad7b78ec93
Update exchange init to use .pro if available
2024-05-31 06:40:13 +02:00
Matthias
c9b1071baa
Use api_async for exchange_has
2024-05-31 06:40:13 +02:00
Matthias
feeccfedaa
Update list-exchanges with watchOHLCV
2024-05-31 06:40:13 +02:00
Matthias
a02ef7dce1
Bump dev version to 2024.6-dev
2024-05-30 06:40:15 +02:00
xmatthias
d983572358
chore: update pre-commit hooks
2024-05-30 03:02:44 +00:00
Joe Schr
41def8b28b
orderflow: removes unnecessary code
2024-05-29 20:09:34 +02:00
Joe Schr
5dcf75f648
exchange: replace OperationalException
with logger.error
message
2024-05-29 19:52:37 +02:00
Joe Schr
82e8901db4
orderflow: remove unused function orderflow_to_volume_profile
2024-05-29 19:49:33 +02:00
Joe Schr
07034ed7a6
orderflow: add comment with insight about imbalances
2024-05-29 19:49:33 +02:00
Joe Schr
24707ab7b9
orderflow: raise DependencyException instead of raising generic exception
2024-05-29 19:49:33 +02:00
Joe Schr
4629362a60
Fixing merge error
2024-05-29 19:46:27 +02:00
Joe Schr
bf3eeeb0fc
Use .exception
instead of .error
for trace logging
2024-05-29 19:46:27 +02:00
Joe Schr
32f931ca25
Revert "refresh_latest_trades
: remove "-cached" from trades pair files"
...
This reverts commit 839827c0d7
.
2024-05-29 19:46:27 +02:00
Matthias
72d33070d4
Fix a few codespell typos
2024-05-28 06:37:54 +02:00
Matthias
30ad4ca9a9
Add bingx to list of supported exchanges
2024-05-26 16:37:21 +02:00
Matthias
64c7f6b06a
Improve bingx file formatting
2024-05-26 16:37:21 +02:00
Matthias
71cb2ded79
Add Bingx stoploss documentation
2024-05-26 16:37:21 +02:00
Matthias
7f990e7df6
Enable bingx stoploss
2024-05-26 16:37:21 +02:00
Matthias
46e97e5806
fix htx: Reduce amount of data downloaded on higher timeframes
...
closes #10247
2024-05-26 15:49:48 +02:00
Matthias
32ff3ebb99
Improve handling for immediately canceled orders
2024-05-26 09:42:28 +02:00
Matthias
edd92194b0
have handle_onexchange_order delete trades if no order filled.
2024-05-26 08:36:02 +02:00
Matthias
ec0f6cb246
Add Properties for canceled orders to trade_model
2024-05-26 08:35:57 +02:00
Matthias
dc92787f1d
Fix gone-wrong hyperopt fix
...
closes #10192
2024-05-25 11:52:41 +02:00
xmatthias
d59422159a
chore: update pre-commit hooks
2024-05-23 03:02:28 +00:00
Matthias
c3fa8a4c45
feat: Allow empty fiat_display_currency
...
(instead of completely deleting that key)
2024-05-22 20:30:35 +02:00
Matthias
aecb86d3f9
Merge pull request #10229 from freqtrade/feat/coingecko_apikey
...
Support Coingecko api keys
2024-05-20 18:04:53 +02:00
Matthias
531843ebcb
Improve message for fiat_display_currency
...
allow leaving empty for new-config
2024-05-20 17:02:00 +02:00
Matthias
468d0f8cf0
use FtCoinGeckoApi for marketCapPairlist, too
2024-05-20 15:22:13 +02:00
Matthias
94e0a808b7
Add test, invert logic
2024-05-20 15:14:15 +02:00
Matthias
9e0ccb1cf4
Rename coingecko wrapper file
2024-05-20 15:11:43 +02:00
Matthias
8d1285bb21
Set session params instead of headers
2024-05-20 14:44:25 +02:00
Matthias
3729daf082
Add type check for coingecko settings
2024-05-20 14:34:18 +02:00
Matthias
1ff162cf17
Use coingecko api keys
2024-05-20 14:32:08 +02:00
Matthias
62166e23f6
Improve singleton pattern
2024-05-20 14:15:20 +02:00
Matthias
cb1600d7b0
Update fiat_convert to use FtCoinGeckoApi
2024-05-20 14:08:44 +02:00
Matthias
c1f780794a
Add CoinGeckoApi Wrapper
2024-05-20 14:02:09 +02:00
Matthias
4d2db33445
Add support for ipv6
...
closes #10222
2024-05-20 10:39:08 +02:00
Matthias
1a86d81200
Initial config for Bingx stop orders
2024-05-20 09:53:52 +02:00
Matthias
1717733b0f
Merge pull request #10221 from freqtrade/hyp/profit-drawdown
...
improve MaxDrawDownHyperOptLoss
2024-05-20 09:01:21 +02:00
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