Commit Graph

20595 Commits

Author SHA1 Message Date
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
Yinon Polak 8903ba5d89 fix enf of file 2023-03-24 20:35:55 +03: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
Yinon Polak eabd321281 small docs change 2023-03-23 15:59:57 +02:00
Yinon Polak 45c6ae446f small docs change 2023-03-23 15:04:29 +02:00
Yinon Polak 952e641213 small docs change 2023-03-23 12:43:37 +02:00
Yinon Polak c44b5b1b3a add pytorch parameters to parameter table docs 2023-03-23 12:41:20 +02:00
Yinon Polak fc8625c5c5 add pytorch classes uml diagram 2023-03-23 12:13:27 +02: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 36a005754a add pytorch documentation 2023-03-22 18:15:57 +02: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 ebebcb886c Move build-system to the top of pyproject.toml 2023-03-21 19:28:26 +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
Yinon Polak f81e3d8667 sort imports 2023-03-21 16:42:13 +02:00
Yinon Polak b9c7d338b3 fix test_start_backtesting 2023-03-21 16:38:05 +02:00
Yinon Polak 4f93106755 Merge remote-tracking branch 'origin/feat/add-pytorch-model-support' into feat/add-pytorch-model-support 2023-03-21 16:26:42 +02:00
Yinon Polak 02bccd0097 add pytorch mlp models to test_start_backtesting 2023-03-21 16:20:35 +02: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 eba82360fa skip pytorch tests on python 3.11 and intel based mac os 2023-03-21 15:18:05 +02:00
Yinon Polak 3fa23860c0 skip pytorch tests on python 3.11 and intel based mac os 2023-03-21 14:34:27 +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 bf4aa91aab Merge remote-tracking branch 'origin/feat/add-pytorch-model-support' into feat/add-pytorch-model-support
# Conflicts:
#	freqtrade/freqai/base_models/PyTorchModelTrainer.py
#	freqtrade/freqai/prediction_models/PyTorchClassifier.py
#	freqtrade/freqai/prediction_models/PyTorchMLPClassifier.py
#	freqtrade/freqai/prediction_models/PyTorchMLPModel.py
#	tests/freqai/test_freqai_interface.py
2023-03-20 18:44:24 +02:00
Yinon Polak 500c401b75 improve pytorch classifier documentation 2023-03-20 18:41:04 +02:00
Yinon Polak 81a2cbb4eb fix tests 2023-03-20 18:41:04 +02:00
Yinon Polak 0510cf4491 add config params to tests 2023-03-20 18:41:04 +02:00
Yinon Polak 68728409aa add pytorch regressor test 2023-03-20 18:41:04 +02:00
Yinon Polak c00ffcee59 fix pytorch classifier test 2023-03-20 18:41:04 +02:00