Commit Graph

10804 Commits

Author SHA1 Message Date
Yinon Polak b795a70102 fix config example in pytorch mlp documentation 2023-03-28 14:44:43 +03:00
Yinon Polak 026b6a39a9 bugfix skip test split when empty 2023-03-28 14:40:23 +03:00
Matthias 2860e817bd Update cached binance leverage Tiers 2023-03-28 07:05:37 +02:00
Matthias 19b78fbc22 Override ccxt's marketOrderRequiresPrice settings for gate 2023-03-28 06:57:18 +02:00
Matthias cde432fef0 Enable gate market orders
closes #8368
2023-03-28 06:56:11 +02:00
Matthias 8ae44c204e
Merge pull request #8361 from TheJoeSchr/feature/trades-feather
featherdatahandler: implement trades_store/_trades_load
2023-03-27 21:05:30 +02:00
Matthias ed0e7ead31 Fix wrong import 2023-03-27 20:36:05 +02:00
Matthias 3928051baf Revert unneeded formatting changes 2023-03-27 20:35:26 +02:00
robcaulk 3cabcabcbd ensure labels are properly defined in backtesting 2023-03-27 15:23:01 +02:00
Matthias 4891174a71 list-data should sort pairs also in timerange mode 2023-03-27 06:44:36 +02:00
Matthias 80a27bc0db Fix random uvicorn error 2023-03-26 18:18:52 +02:00
Matthias 1c9abd9e35 Properly respect can_short flag in backtesting
closes  #8387
2023-03-26 17:27:52 +02:00
Matthias c14ac8a205 Properly handle non-replaced first entry orders 2023-03-26 16:46:41 +02:00
Matthias b09fb5826f don't use "can_short" in backtesting to determine application of leverage 2023-03-26 16:21:51 +02:00
Matthias fb1541bdf6 Explicitly close loop in async tests 2023-03-26 16:21:51 +02:00
Matthias 444d18aa39 Revert binance PO fix, since ccxt has fixed this bug. 2023-03-26 16:21:51 +02:00
Matthias d97500581d
Merge pull request #8379 from xmatthias/type_sendmsg
Type sendmsg
2023-03-26 14:09:01 +02:00
robcaulk f1e831a7b8 fix bug in backtest target setting 2023-03-26 13:43:59 +02:00
Matthias 73b59df77b Merge branch 'develop' into pr/paranoidandy/8272 2023-03-26 11:22:24 +02:00
Matthias 86aef7cf9d Add current_time to bot_loop_start callbak 2023-03-26 11:22:19 +02:00
Matthias 0cb28f3d82 Use kwarg for rounding_mode, update tests with additional parameter 2023-03-26 11:00:41 +02:00
Matthias d0d0cbe1d1 Implement price_to_precision logic for stoploss 2023-03-26 10:37:18 +02:00
Matthias 02078456fc Merge branch 'develop' into pr/asuiu/8296 2023-03-26 10:28:02 +02:00
Matthias 01dfb1cba8 Revert having price_rounding_mode as configuration 2023-03-26 10:24:47 +02:00
Matthias ee205ddc86 Improve trade.from_json when stops are used 2023-03-25 20:26:56 +01:00
Matthias 298f5685ee Reuse existing "cancel_stoploss" call 2023-03-25 20:06:21 +01:00
Matthias d426077445 Merge branch 'develop' of github.com:freqtrade/freqtrade into develop 2023-03-25 16:33:07 +01:00
Matthias 9aa455fcd4
Merge pull request #8364 from freqtrade/robcaulk-patch-1
Update freqai_interface.py
2023-03-25 16:27:25 +01:00
Robert Caulk d9c8b322ce
Update freqai_interface.py 2023-03-25 13:37:07 +01:00
Matthias f7c1ee6d3e add precision values to api schema 2023-03-25 11:55:47 +01:00
Matthias 9c6a49436b Export amount/price precisions per trade 2023-03-25 11:42:19 +01:00
Matthias c0a57d352f send base_currency with messages that need it. 2023-03-25 08:16:07 +01:00
Matthias cbdd86d777 Fix test failures due to additional field 2023-03-24 21:05:10 +01:00
Matthias 281dd7785e Fix some remaining type errors 2023-03-24 20:56:18 +01:00
Matthias ad58bac810 Type WS messagetypes 2023-03-24 20:54:28 +01:00
Matthias 8928d3616a Improve msgtypes 2023-03-24 20:47:53 +01:00
Matthias e8cffeeffd Update RPCStatusMessage type 2023-03-24 20:36:29 +01:00
Matthias 76d289f0ce Don't overwrite types 2023-03-24 20:35:01 +01:00
Matthias 245ae99273 Further typing ... 2023-03-24 20:33:00 +01:00
Matthias 70ad7b42b1 Improve msg typing 2023-03-24 20:33:00 +01:00
Matthias 0ece73578c Add typedDict for RPC messages
Currently not fully functional.
2023-03-24 20:33:00 +01:00
Matthias b317524ed7 protect adjust_trade_position from crashing in case of unsafe code 2023-03-24 20:27:45 +01:00
Matthias 469166636c Set initial stoploss when creating the order
This ensures that a trade never has "None" as stoploss
2023-03-24 07:27:45 +01:00
Matthias 150c5510c7 Don''t fully fail bot when invalid price value is reached
closes #8300
2023-03-22 19:46:07 +01:00
Yinon Polak 479aafc331 rename Torch to PyTorch 2023-03-22 17:50:00 +02:00
Robert Caulk bdf19f1d66
Update freqai_interface.py 2023-03-21 22:44:56 +01:00
Matthias 8cf3e9f91b Accept "insufficient funds" error on set_leverage from stop calls
closes #8341
2023-03-21 19:29:27 +01:00
Matthias 36c45fd14f Remove unused argument from set_leverage 2023-03-21 19:14:09 +01:00
Joe Schr 0128b63c1c add 'feather' to AVAILABLE_DATAHANDLERS_TRADES 2023-03-21 19:13:32 +01:00
Joe Schr e16db814fa featherdatahandler: implement trades_store/_trades_load 2023-03-21 17:56:51 +01:00
robcaulk 1ba01746a0 organize pytorch files 2023-03-21 15:09:54 +01:00
Yinon Polak 83a7d888bc type hint init in pytorch mlp classes 2023-03-21 15:19:34 +02:00
Yinon Polak a80afc8f1b add optional target tensor squeezing to pytorch trainer 2023-03-21 13:20:54 +02:00
Yinon Polak 97339e14cf round up divisions in calc_n_epochs 2023-03-21 12:29:05 +02:00
Yinon Polak 443263803c unsqueeze target tensor when 1 dimensional 2023-03-21 11:42:05 +02:00
Yinon Polak 9906e7d646 clean code 2023-03-21 11:23:45 +02:00
Yinon Polak e8f040bfbd add class_name attribute to freqai interface 2023-03-20 20:38:43 +02:00
Matthias 97c420b2df Add explicit test for okx lev_prep 2023-03-20 19:27:48 +01:00
Yinon Polak a4b617e482 type hints fixes 2023-03-20 20:22:28 +02:00
Matthias 7b5e322ef2
Merge pull request #8360 from freqtrade/okx_stop
Okx stoploss on exchange
2023-03-20 19:19:59 +01:00
Yinon Polak c06cd38951 clean code 2023-03-20 19:55:39 +02:00
Yinon Polak 0a55753faf move default attributes of pytorch classifier to initializer,
to prevent mypy from complaining
2023-03-20 19:40:36 +02:00
Yinon Polak 6b4d9f97c1 clean code 2023-03-20 19:28:30 +02:00
Matthias 639987cbab Prevent parameter reuse 2023-03-20 18:19:17 +01:00
Matthias 56c2aa89bc
Merge pull request #8344 from freqtrade/fix/db_concurrent
Fix db concurrent problem
2023-03-20 18:17:09 +01:00
Yinon Polak 500c401b75 improve pytorch classifier documentation 2023-03-20 18:41:04 +02:00
Yinon Polak 9aec1ddb17 sort imports 2023-03-20 18:41:04 +02:00
Yinon Polak d98890f32e sort imports 2023-03-20 18:41:04 +02:00
Yinon Polak f659f8e309 remove unused imports 2023-03-20 18:41:04 +02:00
Yinon Polak 54db239175 add pytorch regressor example 2023-03-20 18:41:04 +02:00
Yinon Polak 601c37f862 refactor classifiers class names 2023-03-20 18:41:04 +02:00
Yinon Polak 501e746c52 improve mlp documentation 2023-03-20 18:41:04 +02:00
Yinon Polak d04146d1b1 improve mlp documentation 2023-03-20 18:41:04 +02:00
Yinon Polak ea08931ab3 add mlp documentation 2023-03-20 18:41:04 +02:00
Yinon Polak ddd1b5c0ff modify feedforward net, move layer norm to start of thr block 2023-03-20 18:41:04 +02:00
Yinon Polak fbf7049ac5 sort imports 2023-03-20 18:41:04 +02:00
Yinon Polak 833aaf8e10 create children class to PyTorchClassifier to implement the fit method where we initialize the trainer and model objects 2023-03-20 18:41:04 +02:00
robcaulk fab505be1b cheat flake8 for now until we can refactor save into the model class 2023-03-20 18:41:03 +02:00
Matthias 4f4bfdac4d Adjustments to okx stoploss 2023-03-20 09:00:00 +01:00
Matthias a7c7f720c0 Add test for okx fetch_stop 2023-03-19 20:03:34 +01:00
Matthias 224f289ec8 OKX Stop: Add some more okx specific logic 2023-03-19 19:45:30 +01:00
Matthias d84ece7258 Use conditional orders for stop orders 2023-03-19 19:44:35 +01:00
Matthias 6c5dc7e0a9 OKX: improve stop order handling 2023-03-19 19:44:35 +01:00
Matthias df20757d21 OKX stop: implement proper stoploss fetching 2023-03-19 19:44:35 +01:00
Matthias a2ce288241 Add okx stoploss on exchange (non-working for futures). 2023-03-19 19:44:35 +01:00
Matthias ce3efa8f00 Remove pointless asserts 2023-03-19 18:05:08 +01:00
Matthias c92f28bf6f ruff: Activate UP ruleset 2023-03-19 17:57:56 +01:00
Matthias 222ecdecd2 Improve code quality 2023-03-19 17:50:08 +01:00
Matthias 3d91dd8a98 Support post-only orders for Binance spot
closes #8044
2023-03-19 15:36:35 +01:00
Matthias 9ccc3e52ec Simplify time in force code structure 2023-03-19 15:30:27 +01:00
Matthias f5f151fcc5 Fix typing error 2023-03-19 15:06:56 +01:00
hippocritical 763f4f4a3e
Merge branch 'freqtrade:develop' into strategy_utils 2023-03-18 20:15:12 +01:00
hippocritical 4925d8f580 Merge remote-tracking branch 'origin/strategy_utils' into strategy_utils 2023-03-18 20:07:34 +01:00
hippocritical b1f88e8861 fixed typo from trades to trade 2023-03-18 20:02:55 +01:00
Matthias 62c8dd98d5 Use combination of thread-local and asyncio-aware session context 2023-03-18 19:28:22 +01:00
Matthias b0a7b64d44 Close sessions after telegram calls 2023-03-18 19:28:22 +01:00
Matthias d808dd49e8 Fix ruff violation 2023-03-18 19:28:13 +01:00
Matthias 818d2bf92a Fix stoploss on exchange value in /show_config call 2023-03-18 18:02:46 +01:00
Matthias 477dc50425 Add pair output to "tossed" messages 2023-03-18 16:32:07 +00:00
Robert Caulk 186fe5933b
Merge pull request #8338 from freqtrade/freqai_exception
Fix exceptions when training fails
2023-03-18 12:56:25 +01:00