Commit Graph

10590 Commits

Author SHA1 Message Date
Yinon Polak 76fbec0c17 ad multiclass target names encoder to ints 2023-03-08 14:29:38 +02:00
Yinon Polak 4241bff32a type hints fixes 2023-03-06 20:15:36 +02:00
Yinon Polak 5dd60eda36 type hints fixes 2023-03-06 19:37:08 +02:00
Yinon Polak 8acdd0b47c type hints fixes 2023-03-06 19:14:54 +02:00
Yinon Polak 125085fbaf add freqai.model_exists pytorch file type support 2023-03-06 18:10:49 +02:00
Yinon Polak 7eedcb9c14 reformat code 2023-03-06 17:56:07 +02:00
Yinon Polak e6e747bcd8 reformat code 2023-03-06 17:50:02 +02:00
Yinon Polak 348a08f1c4 add todo - currently assuming class labels are strings ['0.0', '1.0' .. n_classes]. need to resolve it per ClassifierModel 2023-03-06 16:41:47 +02:00
Yinon Polak b1ac2bf515 use data loader, add evaluation on epoch 2023-03-06 16:16:45 +02:00
Yinon Polak 751b205618 initial commit 2023-03-05 16:59:24 +02:00
Matthias 9444bbb6f3 `/maxentries` should be in single tics. 2023-03-04 20:09:39 +01:00
Matthias 7c0c98a368 Properly format first entry value, too. 2023-03-04 20:08:20 +01:00
Matthias 60e651b481 Updat bybit ohlcv data to v5 2023-03-04 19:49:37 +01:00
Matthias 548db18857 Improve wording on partial exit notifications 2023-03-04 19:27:55 +01:00
Matthias aec11618ce Telegram improved formatting 2023-03-04 18:28:15 +01:00
Matthias f0cbb4f949 Expose relative realized profit 2023-03-04 18:20:31 +01:00
Matthias c03c3a5706 improve order REPR display 2023-03-03 18:12:41 +01:00
Matthias 6e9ff5fdd8
Merge pull request #8202 from freqtrade/remove-populate-any-indicators
remove populate_any_indicators
2023-03-03 06:33:25 +01:00
Matthias 022f85095e Show Number of exits
part of #8234
2023-03-03 06:31:40 +01:00
Matthias 103bd9e2f2 keep Trade.session private 2023-03-02 07:26:50 +01:00
Matthias b980f45b2b Fix test mypy errors 2023-03-02 06:23:01 +01:00
Matthias f0f72fdd33 Don't define "mapped" on LocalTrade class 2023-03-01 20:32:32 +01:00
Matthias 388dfec50b Remove last type error 2023-03-01 20:32:32 +01:00
Matthias 874413ccc5 Fix some style violations 2023-03-01 20:32:32 +01:00
Matthias 4a35d32b6a Improve trade stop types 2023-03-01 20:32:32 +01:00
Matthias a1166b1077 allow null fee on calc_base_close 2023-03-01 20:32:32 +01:00
Matthias e5c9cde36f Update trades_proxy typing 2023-03-01 20:32:32 +01:00
Matthias b5f55c9b14 Improve type safety in backtesting 2023-03-01 20:32:32 +01:00
Matthias 7c09c01788 Add some more typehints 2023-03-01 20:32:32 +01:00
Matthias 0f914cf2bd Use Mapped for LocalTrade
this won't initialize sqlalchemy, as the base class is not inheriting from sqlalchemy.
2023-03-01 20:32:32 +01:00
Matthias d175ab495b Move SessionType to base module 2023-03-01 20:32:32 +01:00
Matthias 764001a4c2 Don't reuse variable 2023-03-01 20:32:32 +01:00
Matthias b65cff0adc Update "Query" type 2023-03-01 20:32:32 +01:00
Matthias db4f4498dc Experimentally type query property ... 2023-03-01 20:32:32 +01:00
Matthias c2c039151c Improve typesafety around trade object 2023-03-01 20:32:32 +01:00
Matthias 8765e3a4d6 Fix some Type issues 2023-03-01 20:32:32 +01:00
Matthias f6b3998bbd Fix backtesting type incompatibilities 2023-03-01 20:32:32 +01:00
Matthias 0691bbaad9 Update some db types 2023-03-01 20:32:32 +01:00
Matthias 101d9ab87f Improvements - tests runnable again 2023-03-01 20:32:32 +01:00
Matthias 65a5cf64df Re-type session 2023-03-01 20:32:32 +01:00
Matthias 608a7c2d38 Add safe_close_rate 2023-03-01 20:32:31 +01:00
Matthias e59eaf33e0 Update _session to session 2023-03-01 20:32:31 +01:00
Matthias 47b66f3220 More fun with types 2023-03-01 20:32:31 +01:00
Matthias 491f49388c "Mapped" for trade_model 2023-03-01 20:32:31 +01:00
Matthias bb116456a9 Update Types for Order object 2023-03-01 20:32:31 +01:00
Matthias 13b1a3e737 Properly pairlock columns using mapped 2023-03-01 20:32:31 +01:00
Matthias 98791752a9 Update TradeModels to mapped_column 2023-03-01 20:32:31 +01:00
Matthias 0bd9b00132 Pairlock to mappedColumn 2023-03-01 20:32:31 +01:00
Matthias 39a658eac2 Update DeclarativeBase 2023-03-01 20:32:31 +01:00
Matthias 3c019e0e16 tentative augmented typing of Trade object 2023-03-01 20:32:31 +01:00
Matthias 41e27ba621 Enhance some type info 2023-03-01 20:32:31 +01:00
Matthias 9d455f58b1 Improve some trade model Types 2023-03-01 20:32:31 +01:00
Matthias 829e10ff87 Improve Type for models.py 2023-03-01 20:32:31 +01:00
Matthias b62830031f Dummy-type query objects 2023-03-01 20:32:31 +01:00
Matthias a553a9923a Update types for pairlock 2023-03-01 20:32:31 +01:00
Matthias 756c284ecd
Merge pull request #8225 from freqtrade/ruff2
Ruff - add PTH rule and subsequent changes
2023-03-01 20:27:06 +01:00
Matthias d1b2e38ae9 if a stoploss order exists, always allow canceling that 2023-02-28 20:39:17 +01:00
Matthias dd10dec73d Improve variable wording 2023-02-28 20:31:02 +01:00
Matthias f822f1795a Reduce `/status` verbosity 2023-02-28 19:54:56 +01:00
Matthias 386915378b Improve /status message (show Total profit) 2023-02-28 19:54:47 +01:00
Matthias 0707e70183 Remove deprecated current_profit from api responses 2023-02-28 18:20:37 +01:00
Matthias bebee15d10 Improve TradeSchema readability 2023-02-28 18:20:36 +01:00
Matthias 5660036f47
Merge pull request #8245 from eSAMTrade/bugfix-8244
Fix last_process related bug in RPC.health (BUG-#8231)
2023-02-28 18:18:53 +01:00
Matthias 244fd0e731
Merge pull request #8184 from LangLazy/feature
Feature market direction
2023-02-28 17:22:31 +01:00
Rahul 39331b59ed Fixed issues raised in PR 2023-02-27 22:51:22 +00:00
Matthias 65d1598a90 Show absolute profit in /status command 2023-02-27 21:17:02 +01:00
Matthias 46b987042b Include realized_profit in api output 2023-02-27 20:47:07 +01:00
Matthias 75d1dd2793 Properly round Stake currencies in telegram message 2023-02-27 20:47:07 +01:00
Matthias e5c68661fe Simplify code line wrapping 2023-02-27 19:57:28 +01:00
Matthias e482feed7d Further improve behavior for telegram /status with stop on exchange 2023-02-27 19:40:02 +01:00
Matthias 87fe4108a2 Fix order numeration to also work with stoploss on exchange 2023-02-27 18:24:19 +01:00
ASU bcd416c83d Removed unresolved FreqTrade typehint 2023-02-27 16:18:24 +02:00
ASU 1d5608d627 Fix last_process related bug in RPC.health 2023-02-27 12:14:38 +02:00
Matthias 5b0bc5bbc5 Don't "fix" dry-run kucoin orders
closes #8229
2023-02-26 16:17:41 +01:00
Matthias 66c2e145cb
Merge pull request #7975 from freqtrade/improve-freqai-gap-handling
handle data gaps between FreqAI and DP better
2023-02-26 15:26:46 +01:00
Matthias d3d7cb1b14
Merge pull request #8216 from freqtrade/close-rl-env
Close training and eval environments in ReinforcementLearner_multiproc
2023-02-26 15:20:32 +01:00
Matthias e88bb4e05c Revert small change - otherwise the data is never updated. 2023-02-26 15:09:25 +01:00
Matthias 305eda74e2 Enable Complexity for ruff 2023-02-25 20:50:26 +01:00
Matthias 26315b6bc2 add PTH ruff selection 2023-02-25 17:17:05 +01:00
Matthias d014e4590e use Path.open() instead of open 2023-02-25 17:15:54 +01:00
Matthias c8a4a773ee Fix _pairs_last_refresh_time storing the wrong date
Depending on the drop_incomplete settings, this can lead to implicit bugs
2023-02-25 16:18:46 +01:00
Matthias ff3aa7c1a9 Bump Version to 2023.3.dev 2023-02-25 16:18:33 +01:00
Matthias be352ae014 Update more enums 2023-02-25 15:49:45 +01:00
Matthias 563742f13c Fix enum behavior for python 3.11
closes #8221
closes #8217
2023-02-25 15:49:45 +01:00
Matthias dc2cfee056 Don't request sorted candles from HitBTC.
Apparently hitBTC cannot properly handle this anymore.

closes #8214
2023-02-25 13:49:16 +01:00
Matthias 3471f5204b Don't reuse variable 2023-02-24 14:34:41 +01:00
Matthias 521025037d
Merge pull request #8203 from freqtrade/add-bufer-train-data-candles
Add buffer_train_data_candles feature
2023-02-24 13:25:18 +01:00
Matthias ac2a2512ef
Merge pull request #8210 from freqtrade/clean-data-drawer
Allow user to control number of historical model files
2023-02-24 13:19:38 +01:00
robcaulk cb80d7c26f close the multi_proc env before creating new ones in an attempt to avoid increasing processes 2023-02-24 11:19:54 +01:00
Matthias 34c42be74f Fix minor stylistic errors 2023-02-23 20:06:10 +01:00
Matthias 659140e190 Add bt-error to UI backtest method. 2023-02-23 20:06:10 +01:00
Matthias 63e5d33028 Better handle backtest errors 2023-02-23 20:06:10 +01:00
Joe Schr 7d906fd4c2 refactor(if-gate): use temp variable instead of if-gate 2023-02-23 10:58:43 +01:00
robcaulk b8f011a2ab give users ability to decide how many models to keep in dry/live 2023-02-22 22:27:56 +01:00
robcaulk 9633081c31 remove remnants of follower, clean data-drawer, improve doc 2023-02-22 22:01:41 +01:00
Matthias 0f878daa98 Remove some too generic noqa statements 2023-02-22 19:56:32 +01:00
Matthias 01d51aa979 Add necesary noqa statements 2023-02-22 19:56:32 +01:00
Matthias f8fa5bd969 Fix gone wrong noqa ... 2023-02-22 19:56:32 +01:00
Matthias 18bbfa10e5 Reduce amount of variables for API backtesting 2023-02-22 19:56:32 +01:00
Matthias ff1258fd20 Better handle random UI backtest errors 2023-02-22 19:56:32 +01:00