robcaulk
946d4c7cfc
fix trailing whitespace for flake8
2022-07-31 18:39:46 +02:00
robcaulk
4e68626bcb
ensure convolutional window is prepended for frequi consistency
2022-07-31 17:51:19 +02:00
robcaulk
d830105605
*BREAKING CHANGE* remove unnecessary arguments from populate_any_indicators(), accommodate tests
2022-07-31 17:05:29 +02:00
robcaulk
153336d424
move corr_pairlist expansion to after expand_pairlist()
2022-07-31 15:45:28 +02:00
Matthias
659870312d
Use JSON Schema validation for freaAI schema validation
2022-07-31 15:23:27 +02:00
Kavinkumar
a4bada3ebe
Partial exit using average price ( #6545 )
...
Introduce Partial exits
2022-07-31 14:19:04 +02:00
Matthias
369c6da5d8
Merge pull request #7146 from freqtrade/fix/liquidation
...
Update liquidation price handling
2022-07-31 08:09:54 +02:00
Matthias
bad15f077c
Simplify fetch_positions by using already existing method
2022-07-30 17:49:06 +02:00
Matthias
fc31c890e3
Merge pull request #7135 from freqtrade/rpc/sendmsg
...
Strategy allow rpc messages
2022-07-30 16:15:00 +02:00
Matthias
d046f0cc5e
Improve method wording for liquidation price setter
2022-07-30 16:11:31 +02:00
Matthias
dba7a7257d
Use stop_or_liquidation instead of stop_loss
2022-07-30 16:10:16 +02:00
Matthias
845cecd38f
Add stoploss or liquidation property
2022-07-30 16:10:16 +02:00
Matthias
15752ce3c2
Rename set_stoploss method to be fully private
2022-07-30 16:10:16 +02:00
Matthias
9852733ef7
Improve tests to align with modified logic
2022-07-30 16:10:16 +02:00
Matthias
8711b7d99f
Liquidations cannot be rejected.
2022-07-30 16:10:16 +02:00
Matthias
995be90f91
Liquidation should be a separate exit type
2022-07-30 16:10:16 +02:00
robcaulk
dd8288c090
expose full parameter set for SVM outlier detection. Set default shuffle to false to improve reproducibility
2022-07-30 13:40:05 +02:00
robcaulk
f22b140782
fix backtesting bug, undo move of label stat calc, fix example strat exit logic
2022-07-29 17:27:35 +02:00
robcaulk
08d3ac7ef8
add keras and conv_width to schema and documentation
2022-07-29 08:49:35 +02:00
robcaulk
59624181bd
isort BaseRegressionModel imports
2022-07-29 08:23:44 +02:00
robcaulk
c84d54b35e
Fix typing issue, avoid using .get() when unnecessary, convert to fstrings
2022-07-29 08:12:50 +02:00
Matthias
efbd83c56d
Small type and typo fixes in freqai_interface
2022-07-28 07:24:30 +02:00
Matthias
a2a0d35a24
Update missing typehints
2022-07-28 07:07:40 +02:00
Matthias
3273881282
Merge branch 'develop' into feat/freqai
2022-07-28 06:36:38 +02:00
Matthias
cc3ead9d7b
Set required_profit for stoploss guard, allowing to ignore small stoplosses.
...
closes #7076
2022-07-27 19:52:39 +02:00
Matthias
f31106dc61
Minor comment fixes
2022-07-27 07:27:24 +02:00
Matthias
7bac054668
Add documentation and clarity for send_msg
2022-07-26 20:24:52 +02:00
Matthias
229e8864bb
Add send_msg capability to dataprovider
2022-07-26 20:15:49 +02:00
Matthias
bc760b7eb2
Simplify small segment in datadrawer
2022-07-26 19:41:49 +02:00
robcaulk
324e54c015
fix possible memory leak associated with Catboost Pool object
2022-07-26 17:29:29 +02:00
robcaulk
3f149c4067
fix return type in BaseTensorFlowModel
2022-07-26 16:01:54 +02:00
robcaulk
ad25a4cb56
reduce number of pair_dict lookups, remove coin_first
2022-07-26 15:58:40 +02:00
robcaulk
fb4e8430cd
isort auto import sorting
2022-07-26 10:51:39 +02:00
robcaulk
e213d0ad55
isolate data_drawer functions from data_kitchen, accommodate tests, add new test
2022-07-26 10:24:14 +02:00
robcaulk
56b17e6f3c
allow user to pass test_size = 0 and avoid using eval sets in prediction models
2022-07-25 19:40:13 +02:00
Matthias
4c68bec171
Fix problem in is_cancel_order_result_suitable
...
fixes #7119
2022-07-25 17:47:52 +02:00
Robert Caulk
897f18a8c8
ensure proper integer type casting for timestamps. Add check test for backtesting subdaily time periods
2022-07-25 15:07:09 +02:00
Robert Caulk
7b105532d1
fix mypy error and add test for principal component analysis
2022-07-25 11:46:59 +02:00
Robert Caulk
c9d46a5237
finish bringing follow_mode up to date
2022-07-25 09:24:40 +02:00
Robert Caulk
ab587747fb
first fix for follower path bug
2022-07-24 23:32:24 +02:00
Matthias
520ee3f7a1
Convert freqAI into packages
2022-07-24 17:07:45 +02:00
Matthias
1885deb632
More docstring changes
2022-07-24 16:54:39 +02:00
Matthias
70b7a254af
Update some areas to use default docstring formatting
2022-07-24 16:51:48 +02:00
Matthias
61c41fd919
Merge branch 'develop' into feat/freqai
2022-07-24 16:18:58 +02:00
Robert Caulk
88e10f7306
add exception for not passing timerange. Remove hard coded arguments for CatboostPredictionModels. Update docs
2022-07-24 09:01:23 +02:00
Robert Caulk
fff39eff9e
fix multitarget bug
2022-07-24 08:42:50 +02:00
Matthias
2eb1d18c2a
Don't load leverage tiers when not necessary
2022-07-23 19:56:38 +02:00
robcaulk
f3d46613ee
move prediction denormalization into datakitchen. remove duplicate associated code. avoid normalization/denormalization for string dtypes.
2022-07-23 17:14:33 +02:00
Matthias
81c1aa3c13
Update imports in freqAI sample strategies
2022-07-23 17:08:05 +02:00
Matthias
8a3cffcd1b
Remove remaining CustomModel references
2022-07-23 17:08:05 +02:00
Matthias
8fa6e8b4ba
Remove freqAI model bridge in favor of self.freqai
2022-07-23 17:08:05 +02:00
robcaulk
c91e23dc50
let user avoid normalizing labels
2022-07-23 16:14:13 +02:00
robcaulk
50d630a155
remove unnecessary comments from data_drawer.py
2022-07-23 13:35:44 +02:00
robcaulk
a1cff377ec
add record of contribution to data_kitchen.py
2022-07-23 13:32:04 +02:00
robcaulk
c2d6a0e891
add record of contribution to doc and source
2022-07-23 13:04:06 +02:00
Matthias
e97468964a
Add support for --timeframe-detail in hyperopt
...
fix #7070
2022-07-23 08:52:03 +02:00
robcaulk
5559e605b8
small PR conversation resolutions
2022-07-22 17:46:14 +02:00
robcaulk
40f00196eb
use cloudpickle in place of pickle. define Paths once in data_drawer.
2022-07-22 17:37:51 +02:00
robcaulk
98c8a447b2
add LightGBMPredictionMultiModel
2022-07-22 12:40:51 +02:00
robcaulk
afcb0bec00
clean up obsolete comments, move remove_features_from_df to datakitchen
2022-07-22 12:29:20 +02:00
robcaulk
3205788bce
extend doc to include descriptions of the return values from FreqAI to the strategy
2022-07-21 22:11:46 +02:00
robcaulk
8033e0bf23
add counter to backtesting log so users know how many more pairs and how many more models will need to be trained
2022-07-21 13:22:12 +02:00
robcaulk
183dec866a
remove ability to backtest open ended timeranges (safer)
2022-07-21 13:02:52 +02:00
robcaulk
e694ea1cfd
make sure backtesting gets the populated indicators with slimmed down user strat
2022-07-21 12:48:09 +02:00
robcaulk
ca4dd58642
remove superceded function from datakitchen
2022-07-21 12:40:54 +02:00
robcaulk
8f86b0deaa
*breaking change* simplify user strat by consolidating feature loops into backend
2022-07-21 12:24:22 +02:00
robcaulk
e7337728bf
add separator in folder name just incase an asset ends in an integer
2022-07-21 11:25:28 +02:00
robcaulk
921a7ef216
add requirements-freqai.txt to builds
2022-07-20 15:51:25 +02:00
robcaulk
d43c146676
add more tests for datakitchen functionalities, add regression tests for freqai_interface train/backtest
2022-07-20 12:56:46 +02:00
lolong
9c051958a6
Feat/freqai ( #7105 )
...
Vectorize weight setting, log training dates
Co-authored-by: robcaulk <rob.caulk@gmail.com>
2022-07-19 17:49:18 +02:00
robcaulk
714d9534b6
start adding tests
2022-07-19 16:16:44 +02:00
lolong
ed0f8b1189
Improve FreqAI documentation ( #7072 )
...
Improve doc + some other small fixes
Co-authored-by: robcaulk <rob.caulk@gmail.com>
2022-07-18 11:57:52 +02:00
Robert Caulk
921f3899f0
revert pickle reading for historic predictions
2022-07-17 16:06:36 +02:00
Robert Caulk
41eeb99177
load pickle file for writing
2022-07-17 10:05:21 +02:00
Matthias
05a5ae4fcf
Update plotting to use entry/exit terminology
2022-07-16 22:28:46 +02:00
Robert Caulk
9d184586f1
fix bug in historic prediction saving
2022-07-16 21:16:59 +02:00
Matthias
f6bfd89cef
Merge branch 'develop' into feat/freqai
2022-07-16 18:14:34 +02:00
Matthias
423af371c0
Simplify calculation by calling "get_fee" only once
2022-07-16 17:59:05 +02:00
Matthias
4172f92bfc
simplify dry-run taker/maker selection
2022-07-16 17:25:13 +02:00
Matthias
8b2535a8da
Update Typing for fees
2022-07-16 15:42:17 +02:00
Matthias
8d2e22f009
Merge branch 'develop' into pr/samgermain/6780
2022-07-16 15:35:00 +02:00
Matthias
004bf31142
Merge pull request #7093 from freqtrade/fix/gate_futures_stoposs
...
gateio futures - several fixes
2022-07-16 15:18:32 +02:00
Matthias
357000c478
Extract exchange validation to separate method
2022-07-16 13:45:26 +02:00
Matthias
d03dfb3934
Oder cost is real cost (including leverage)
2022-07-16 13:14:21 +02:00
Matthias
ed64e4299b
Stoploss orders should also be eligible to update closed fees
2022-07-16 13:14:21 +02:00
Matthias
415780a4fe
gateio order cost is not in contracts
...
closes #7081
2022-07-16 13:14:21 +02:00
Matthias
7b8a5585dd
Fetch 2ndary stoploss order once the order triggered.
2022-07-16 13:14:21 +02:00
Matthias
7c4dd4c48c
Support fee cost as string
...
closes #7056
2022-07-16 13:14:21 +02:00
Matthias
40e2da10f3
Add hypeorpt cloudpickle magic
...
closes #7078
2022-07-16 11:49:33 +02:00
Wagner Costa Santos
ca2029a46b
fix issue when bot restarts with same identifier, does not load prediction history
2022-07-14 18:55:24 -03:00
Matthias
cdc58058d7
Add candletype to notebook example
...
closes #7084 , closes #7073
2022-07-14 19:40:26 +02:00
robcaulk
4141d165ff
add BaseTensorFlowModel class
2022-07-12 19:10:09 +02:00
robcaulk
ef409dd345
Add ground work for TensorFlow models, add protections from common mistakes
2022-07-12 18:09:17 +02:00
Robert Caulk
fea63fba12
Fix saving/loading historic predictions
2022-07-12 10:12:50 +02:00
Robert Caulk
8ce6b18318
start collecting indefinite history of predictions. Allow user to generate statistics on these predictions. Direct FreqAI to save these to disk and reload them if available.
2022-07-11 22:01:48 +02:00
Matthias
0669d93f56
Merge pull request #7068 from freqtrade/ccxt_ordertype_validations
...
Ccxt ordertype validations
2022-07-11 19:41:05 +02:00
Matthias
5c164efdb6
Also check for createLimitOrder as optionals
2022-07-11 16:09:12 +02:00
Matthias
f9d3775d4c
Move "candle" logic for message to telegram
...
this avoids calling this method unless necessary
2022-07-11 14:09:39 +02:00
Matthias
9a3a2f9013
Simplify adding candle to message
2022-07-11 13:55:32 +02:00
Matthias
8e8f026ea7
Telegram candle message should be configurable
2022-07-11 12:14:19 +02:00
Matthias
ed03ef47ef
Merge branch 'develop' into pr/SurferAdmin/6916
2022-07-11 11:49:22 +02:00
Matthias
ec3179156c
Revert unwanted changes.
2022-07-11 11:48:24 +02:00
Matthias
3fc92b1b21
Create BaseRegression model - designed to reduce code duplication across currently available models.
2022-07-11 11:33:59 +02:00
Matthias
6ac1aa15f5
Reenable ccxt order checks
2022-07-11 10:36:19 +02:00
Matthias
523d8a84a8
skip "supports market order" for now until CCXT fixes their assignemnt bugs.
2022-07-11 10:22:51 +02:00
Matthias
7d6b3d0e02
Update hyperopt param docs to be clear that non-conclusive parameters will be ignored
2022-07-11 08:17:16 +02:00
Robert Caulk
607455919e
Change config parameter names to improve clarity and consistency throughout the code (!!breaking change, please check discord support channel for migration instructions or review templates/FreqaiExampleStrategy.py config_examples/config_freqai_futures.example.json file changes!!)
2022-07-10 12:35:44 +02:00
Matthias
819cc9c0e4
Fully align LightGBM with Catboost
2022-07-10 11:06:18 +02:00
Matthias
58b18770e3
Fix LightGBM missing argument in predict method
2022-07-10 11:05:35 +02:00
Matthias
9313a2d294
Update leverage tiers to latest version
2022-07-10 10:11:39 +02:00
Matthias
2e1061af64
Fix faulty LightGBM model
2022-07-09 08:21:42 +00:00
Matthias
c98e7ea055
Revert allowing empty currency for futures
2022-07-09 08:57:15 +02:00
Matthias
b7167ec880
Fix wrong fee calclulation for gateio futures
2022-07-09 08:51:59 +02:00
Matthias
5b733a723d
use "fees" for trades responses
2022-07-09 08:51:28 +02:00
Matthias
81f7d77d74
Allow fee currency to be empty for futures
2022-07-09 08:51:28 +02:00
Matthias
2499276fca
Refactor calculate_fee_rate to take separate parameters instead of an "Order"
...
we passed in a trade object anyway
2022-07-09 08:51:28 +02:00
Matthias
e52f82b565
Add leverage to custom_stake_amount callback
...
closes #7047
2022-07-08 19:44:20 +02:00
Matthias
b39508f64d
remove loadMarkets from "required" section,
...
it's now implied that all ccxt exchanges provide this method.
2022-07-07 19:44:54 +02:00
robcaulk
d9acdc9767
remove excess, increase no model warning clarity
2022-07-06 18:20:21 +02:00
Matthias
dbc3376fe9
Add alias for gate to gateio
2022-07-06 07:12:13 +02:00
robcaulk
514f7d491c
change rejected to denied
2022-07-05 12:58:43 +02:00
robcaulk
647f9b5460
replace the word abortion with rejected in log messages
2022-07-05 12:49:09 +02:00
robcaulk
4cac67fd66
Catch infrequent issue associated with grabbing first candle
2022-07-05 12:43:33 +02:00
Matthias
6f0721ae2b
Update dry-order-fix to use sqlalchemy internals
2022-07-04 17:17:39 +02:00
Matthias
6da3fa08e4
Update migrations to also support Postgres
...
closes #7038
2022-07-04 11:14:59 +02:00
robcaulk
bd3a6ba2fe
update backtesting to handle new output framework
2022-07-03 17:34:44 +02:00
robcaulk
8ac8d53c32
All LGBMRegressor model parameters are now set in config
2022-07-03 16:30:01 +02:00
robcaulk
a6077ac7f4
Merge feat/freqai into develop to get new features
2022-07-03 16:17:13 +02:00
Matthias
07aa372e2a
Ensure bot_loop_start is called in hyperopt, too
...
closes #7001
2022-07-03 14:10:59 +02:00
Matthias
c5e6520fee
Reorder methods in freqtradebot
2022-07-03 13:35:26 +02:00
robcaulk
4ff0ef7359
fix bug returning multiple targets for training
2022-07-03 12:15:59 +02:00
Matthias
f2fdc21374
Only use exit_tag if exit_type i exit_signal
...
closes #7027
2022-07-03 11:07:05 +02:00
robcaulk
ffb39a5029
black formatting on freqai files
2022-07-03 10:59:38 +02:00
robcaulk
106131ff0f
Rehaul organization of return values
2022-07-02 18:09:38 +02:00
robcaulk
93e1410ed9
first step toward cleaning output and enabling multimodel training per pair
2022-07-01 14:00:30 +02:00
robcaulk
6c7d02cb18
expose nu in the SVM outlier detection via svm_nu in config
2022-06-28 15:12:25 +02:00
robcaulk
7dfbd432d1
fix config saving bug, assign priorities to pairs in scanning, sleep the scanning loop to reduce CPU usage
2022-06-27 11:35:33 +02:00
robcaulk
68bafa9517
archive config to the model folder, filter out features before returning dataframe to strategy (to alleviate frequi issues)`
2022-06-26 23:03:48 +02:00
robcaulk
051b99791d
reduce unnecessary verbosity, fix error on first training sweep, add LightGBMPredictionModel
2022-06-26 19:04:23 +02:00
Matthias
2b07d34611
Revert several undesired changes
2022-06-23 20:47:51 +02:00
Matthias
8bf0bf10c5
Merge branch 'develop' into pr/SmartManoj/6859
2022-06-23 20:43:35 +02:00
Surfer
06571e99aa
Merge branch 'freqtrade:develop' into develop
2022-06-22 09:38:23 -04:00
Matthias
53e5483daa
Store StopPrice for dry-run orders
...
closes #6996
2022-06-22 06:31:51 +02:00
Surfer
cc4e5b26f0
Merge branch 'freqtrade:develop' into develop
2022-06-21 14:16:03 -04:00
Surfer Admin
e2a94d75b4
Merge branch 'develop' of https://github.com/Surfableio/freqtrade into develop
2022-06-21 14:06:56 -04:00
Surfer Admin
405ea74f16
stopPrice
2022-06-21 14:06:41 -04:00
Matthias
3a0f31fe89
Merge pull request #6914 from freqtrade/leverage_tiers_async
...
Leverage tiers async
2022-06-21 10:18:40 +02:00
Robert Caulk
852706cd6b
Fix default behavior for expiration_hours
2022-06-21 08:12:51 +02:00
eSeR1805
c420304b33
Delete custom data before the trade.
2022-06-19 20:03:56 +03:00
eSeR1805
8494bea64f
Handle max message length.
2022-06-19 19:59:14 +03:00
robcaulk
b35c64b6c0
fix bug in backtest, typo in example strat
2022-06-19 16:41:09 +02:00
eSeR1805
c8ba8106e6
Update telegram reporting.
2022-06-19 17:24:13 +03:00
Matthias
0d967f93ba
Improve performance of some RPC calls
...
These don't need orders to be loaded. As a side-effect, this will
also reduce the strain on the database.
2022-06-19 16:13:04 +02:00
eSeR1805
ce9d9d7e60
Finish renaming persistant storage infrastructure.
2022-06-19 16:02:24 +03:00
eSeR1805
365527508b
Rename files.
2022-06-19 15:59:21 +03:00
eSeR1805
9fdb8b07ac
Rename persistant storage infrastructure.
2022-06-19 15:56:50 +03:00
eSeR1805
0009b987e4
Merge branch 'develop' into feature_keyval_storage
2022-06-19 13:32:25 +03:00
Matthias
0809f9aef6
Add offset to trade response
2022-06-18 19:27:05 +02:00
Matthias
bb61250bfe
Merge pull request #6987 from freqtrade/profit_metrics
...
Profit metrics
2022-06-18 17:20:20 +02:00
Matthias
0168343b76
Add trading-volume to api schema
2022-06-18 16:53:25 +02:00
Matthias
474e6705e6
Add Profit factor to backtesting
2022-06-18 16:35:40 +02:00
Matthias
8c46d19071
Fix backtesting bug
...
balance was never released on cancelled trades
2022-06-18 16:27:54 +02:00
robcaulk
3599d18ff6
fix bug in follow_mode, thanks @blood4rc
2022-06-18 12:05:28 +02:00
Matthias
40c9abc7e1
Add trading volume to /profit output
2022-06-18 11:40:32 +02:00
Matthias
6a15d36d14
Add Drawdown and profit_factor to /profit
...
#6816
2022-06-18 11:14:28 +02:00
Matthias
d77ce468ea
Add "dry" hint to buy/sell messages
...
part of #6962
2022-06-18 09:40:53 +02:00
Matthias
03815cb81b
Use fstrings in telegram messaging
2022-06-18 09:23:16 +02:00
Matthias
d62273294d
Update /help for /fx to align with actual command name
...
closes #6985
2022-06-18 09:10:33 +02:00
Matthias
017fd03180
Fix but with late entries in backtesting
2022-06-18 09:05:22 +02:00
Matthias
616bf315cb
gateio: futures market orders require IOC to be set.
2022-06-17 23:02:39 +02:00
Matthias
fda8248d41
Gateio allow market orders on futures markets
2022-06-17 22:43:24 +02:00
robcaulk
6da7a98857
add docstrings to new functions, remove superceded code
2022-06-17 16:16:23 +02:00
robcaulk
f631ae911b
add model expiration feature, fix bug in DI return values
2022-06-17 14:55:40 +02:00
Matthias
6bdf9c2a94
Simplify trade profit calculations further
2022-06-17 11:17:05 +00:00
Matthias
91f9818ae3
Simplify trade calculations
2022-06-17 09:53:29 +00:00
Matthias
d7770c507b
Remove implicit use of certain rates in profit calculations
2022-06-17 07:00:42 +00:00
robcaulk
0b0688a91e
ensure scanning purges models
2022-06-16 16:12:38 +02:00
Surfer
36f7315481
Merge branch 'freqtrade:develop' into develop
2022-06-16 08:19:57 -04:00
robcaulk
c5de0c49e4
first functional scanning commit
2022-06-16 00:24:18 +02:00
robcaulk
4d472a0ea1
merging datarehaul into scanning branch
2022-06-16 00:22:49 +02:00
Matthias
8f32fa5cb3
Avoid exception on exchange recycling if __init__ fails
2022-06-15 20:13:07 +02:00
Matthias
f9e2e87346
Improve some formatting and typehints
2022-06-15 20:03:36 +02:00
Matthias
ec40e79362
Merge pull request #6874 from froggleston/buy_reasons
...
Buy reasons
2022-06-15 19:06:00 +02:00
froggleston
14110bd5ca
Merge branch 'buy_reasons' of github.com:froggleston/freqtrade into buy_reasons
2022-06-15 11:25:24 +01:00
froggleston
c391ca08de
Change backtesting-analysis options to space separated lists
2022-06-15 11:25:06 +01:00
Matthias
29d8aeb9b3
Don't fail on invalid parameter
2022-06-15 07:13:47 +02:00
Matthias
3c62df6b86
Ensure the same timestamp is used for backtest and signal export
2022-06-15 06:53:52 +02:00
froggleston
6bb342f23a
Add export-filename support
2022-06-14 16:54:27 +01:00
eSeR1805
24b6ce450b
Further cleanup.
2022-06-14 13:27:50 +03:00
eSeR1805
3ad8111d11
Remove stray debug messages.
2022-06-14 13:26:45 +03:00
Matthias
01a68e1060
Remove unnecessary check and condition
2022-06-13 20:48:49 +02:00
Matthias
1ffee96bad
Fix protection parameters not loading from parameter file
...
closes #6978
2022-06-13 19:59:05 +02:00
eSeR1805
4c6074062c
Merge branch 'develop' into feature_keyval_storage
2022-06-13 20:05:45 +03:00
eSeR1805
4f799cc9db
Add /list_kvals command for TG and underlying RPC.
2022-06-13 20:04:14 +03:00
eSeR1805
c719860a16
get_kval() -> get_kvals(). Update docs also.
2022-06-13 20:03:22 +03:00
eSeR1805
f3dee5ec4f
Update handling for query_kv when no Key is supplied.
2022-06-13 20:02:06 +03:00
eSeR1805
be169a23f4
Add a new session for KeyValues.
2022-06-13 20:00:21 +03:00
Matthias
d5fd1f9c38
Improve order filled handling
2022-06-13 13:24:48 +00:00
Matthias
c981ad4608
Fix missing space
2022-06-12 08:31:02 +02:00
Matthias
75a248cf42
Fstring freqAI sample strategy, remove duplicate features
2022-06-11 19:56:37 +02:00
Matthias
2e1ed132f7
Merge pull request #6964 from freqtrade/rpc_rel_daily
...
Telegram / api daily relative profit
2022-06-11 19:31:32 +02:00
Matthias
9c65fad73f
Merge Pull request #6919 into develop
2022-06-11 17:49:32 +02:00
Matthias
4b70e03daa
Add some rudimentary tsts for discord webhook integration
2022-06-11 17:49:23 +02:00
Matthias
fdfa94bcc3
make discord notifications fully configurable.
2022-06-11 17:43:46 +02:00
Matthias
f816c15e1e
Update discord message format
2022-06-11 16:48:28 +02:00
Matthias
3a06337601
Update API to provide new values.
2022-06-11 11:28:45 +02:00
Matthias
9ba11f7bcc
Update docs and tests for new daily command
2022-06-11 11:26:49 +02:00
Matthias
76827b31a9
Add relative profit to daily/weekly commands
2022-06-11 11:18:21 +02:00
robcaulk
eb47c74096
merge datarehaul into main freqai branch
2022-06-10 20:26:19 +02:00
Matthias
76f87377ba
Reduce decimals on FIAT daily column
2022-06-10 20:18:53 +02:00
Matthias
e8f8cd9d36
Merge pull request #6960 from italodamato/opt-ask-force-new-points
...
remove `random_state` condition when sampling random points
2022-06-10 19:45:36 +02:00
Italo
7142394121
remove random_state condition
...
otherwise the random sample always draws the same set of points
2022-06-10 09:46:45 +01:00
Matthias
ad3c01736e
time aggregate to only query for data necessary
...
improves the query by not creating a full trade object.
2022-06-10 07:26:53 +02:00
Matthias
2218313f5c
Merge pull request #6957 from freqtrade/rpc_consolidate_daily
...
Rpc consolidate daily
2022-06-10 06:39:59 +02:00
Italo
dce9fdd0e4
don't overwrite is_random
...
this should fix issue #6746
2022-06-09 20:06:23 +01:00
Matthias
8fb743b91d
improve variable wording
2022-06-09 20:13:26 +02:00
Matthias
dd32127014
Merge pull request #6944 from gaugau3000/develop
...
give extra info on rate origin for confirm_trade_*
2022-06-09 20:10:29 +02:00
Matthias
1ddd5f1901
Update docstring throughout the bot.
2022-06-09 19:41:08 +02:00
Matthias
88f8cbe172
Update tests to reflect new naming
2022-06-09 19:38:18 +02:00
eSeR1805
1551510c6f
Merge branch 'develop' into feature_keyval_storage
2022-06-09 11:35:35 +03:00
Matthias
a547001601
Reduce Telegram "unit" stats
2022-06-09 07:06:32 +02:00
Matthias
d4dd026310
Consolidate monthly stats to common method
2022-06-09 07:06:32 +02:00
Matthias
3cb15a2a54
Combine weekly and daily profit methods
2022-06-09 07:06:32 +02:00
Matthias
c550cd8b0d
Simplify query in freqtradebot
2022-06-09 07:04:46 +02:00
Matthias
7eacb847b0
Fix backtesting bug when order is not replaced
2022-06-08 20:21:45 +02:00
robcaulk
d9b79d94e4
increase candle update flexibility to allow long sequential trainings that may last more than one candle
2022-06-07 20:57:10 +02:00
robcaulk
66800c7a45
ensure newest candles are always appended
2022-06-07 20:24:23 +02:00
robcaulk
f8f25e36ef
update example config/strat
2022-06-07 19:54:45 +02:00
robcaulk
15d049cffe
detect if upper tf candles are new or not, append if so. Correct the epoch for candle update check
2022-06-07 19:49:20 +02:00
Matthias
9534d6cca1
Cancel orders which can no longer be found after several days
2022-06-07 07:03:40 +02:00
robcaulk
cab8f517b4
add lock to datadrawer
2022-06-07 01:07:30 +02:00
robcaulk
4b26b6aaec
add lock to any historic data access
2022-06-07 00:54:18 +02:00
Robert Caulk
3c2e314ee5
Fix bugs
2022-06-06 16:26:07 -06:00
Robert Caulk
e6c5e737a2
Fix other bugs
2022-06-06 16:24:32 -06:00
Robert Caulk
bf19055e53
Update function spelling
2022-06-06 15:56:12 -06:00
Robert Caulk
2451ed8c88
Quick bug fix
2022-06-06 15:11:54 -06:00
Matthias
0b806af487
Add orders column to btresult
2022-06-06 10:59:10 +02:00
Matthias
79107fd062
Add minimal order object serialization
2022-06-05 22:12:27 +02:00
Matthias
8369d5bedd
Include open orders in json responses
2022-06-05 22:12:27 +02:00
Matthias
c0ff554d5b
Cleanup old, left open dry-run orders
2022-06-05 22:12:27 +02:00
Matthias
f709222943
Properly close out orders in backtesting
2022-06-05 22:12:27 +02:00
Matthias
c499bb051f
Allow empty unfilledtimeout for webserver mode
2022-06-05 19:41:17 +02:00
eSeR1805
9f1a7209d6
Merge branch 'develop' into feature_keyval_storage
2022-06-05 12:18:30 +03:00
eSeR1805
abda02572b
Fix KeyValue __repr__.
2022-06-05 12:18:07 +03:00
Matthias
a790bad1e4
Add entry_tag to leverage callback
...
closes #6929
2022-06-05 10:24:54 +02:00
robcaulk
d6b8801f41
fix follower bug
2022-06-05 04:40:58 +02:00
robcaulk
e8c0dcf9f3
add debug message to timerange
2022-06-03 17:14:07 +02:00
robcaulk
f2762e3b4b
fix bug in return_values()
2022-06-03 16:58:51 +02:00
robcaulk
16b4a5b71f
rehaul of backend data management - increasing performance by holding history in memory, reducing load on the ratelimit by only pinging exchange once per candle. Improve code readability.
2022-06-03 15:19:46 +02:00
robcaulk
15a971346d
catch infinity values when filtering
2022-06-02 17:13:20 +02:00
Robert Caulk
7d41542f93
process_only_new_candles in examplestrat should be True, thanks @Bloodhunter4rc
2022-06-02 07:24:08 -06:00
robcaulk
fea39254d9
fix custom_exit (thanks @paranoidandy)
2022-06-02 14:58:45 +02:00
robcaulk
b37c31cc21
fix ta-lib issue with simultaneous method access
2022-06-02 14:37:40 +02:00
robcaulk
4ac6ef2972
make defining period intervals more user friendly and flexible
2022-06-02 13:45:29 +02:00
robcaulk
ace951bf7e
another queue bug fix for fresh starts
2022-06-02 13:28:06 +02:00
Anuj Shah
eb4adeab4d
fix flake8 issues
2022-06-02 11:19:29 +05:30
Anuj Shah
45c47bda60
refactor into discord rpc module
2022-06-01 21:14:48 +05:30
Anuj Shah
afd8e85835
feat: add support for discord notification
2022-06-01 15:54:32 +05:30
robcaulk
833d25bda0
Save data after queue reorg
2022-06-01 08:05:38 +02:00
robcaulk
0b0dd8dd80
Force high priority pair to be trained before anything else.
2022-06-01 07:55:05 +02:00
Surfer Admin
7fe8b7661d
Display the signal candle analyzed in telegram.
2022-05-31 15:46:43 -04:00
Matthias
34a44b9dd2
Fix backtesting bug when canceling orders
...
closes #6911
2022-05-31 20:32:41 +02:00
Matthias
66edbcd3d5
Fix slight backtesting bug in edge-case scenarios
2022-05-31 20:08:34 +02:00
robcaulk
7523ed825e
automatically detect maximum required data based on user fed indicators (to avoid NaNs in dataset for rolling indicators), add new config parameter for backtesting to let users increase their startup_candles to accommodate high timeframe indicators, add docs to explain all. Add new feature for automatic indicator duplication according to user defined intervals (exhibited in example strat and configs now).
2022-05-31 18:42:27 +02:00
Matthias
3549176370
Update missleading docstring
...
closes #6913
2022-05-31 17:52:45 +02:00
Matthias
88845f6d88
Fix cancel order deleting trade
...
if one order was successfully filled, the trade cannot be deleted.
closes #6907
2022-05-31 17:49:51 +02:00
robcaulk
9b3b08a2bb
let follower purge old model files
2022-05-31 15:37:38 +02:00
eSeR1805
096e98a68c
Remove stray debug message.
2022-05-31 16:16:57 +03:00
robcaulk
bac4ced382
Ensure follower predictions are persistent and uniquely stored
2022-05-31 14:35:04 +02:00
robcaulk
70adf55643
Automatically detect and change follower data_path to accommodate remote systems
2022-05-31 12:35:09 +02:00
robcaulk
0306f5ca13
Add autopurge feature so that FreqAI cleans up after itself when it no longer needs old models on disk
2022-05-31 11:58:21 +02:00
eSeR1805
854bd9af2b
Merge branch 'develop' into feature_keyval_storage
2022-05-31 12:28:58 +03:00
eSeR1805
10917a280a
Add initial structure and wrapping.
2022-05-31 12:26:07 +03:00
Matthias
cce8d1aa4d
Update get_market_leverage_tiers to be async
2022-05-31 08:48:34 +00:00
Matthias
be6e0813db
Remove --strategy from analysis test
2022-05-31 06:53:03 +02:00
robcaulk
45f4f0f603
ensure follower sends back null arrays in case leader hasnt created a model file yet
2022-05-31 01:48:48 +02:00
robcaulk
29d2f59f12
fix PCA bug
2022-05-31 00:40:45 +02:00
robcaulk
606f18e5c1
Add follow_mode feature so that secondary bots can be launched with the same identifier and load models trained by the leader
2022-05-30 21:35:48 +02:00
Matthias
c285ad0e2b
Remove --strategy parameters, update docs
2022-05-30 20:26:24 +02:00
robcaulk
5b4c649d43
detect variable sized dataframes coming from strat, adjust our stored/returned data accordingly
2022-05-30 13:55:46 +02:00
robcaulk
e229902381
fix bug in previous commit
2022-05-30 12:48:22 +02:00
robcaulk
a20651efd8
Increase performance by only predicting on most recent candle instead of full strat provided dataframe. Collect predictions and store them so that we can feed true predictions back to strategy (so that frequi isnt updating historic predictions based on newly trained models).
2022-05-30 11:37:05 +02:00
Matthias
8e2c7e1298
extract detect_parameters to separate function
2022-05-30 07:26:26 +02:00
Matthias
eaa656f859
Hyperoptable parameters can be instance attributes
2022-05-30 07:07:47 +02:00
Matthias
386d3e0353
Rename stop/roi loading method
2022-05-30 06:52:44 +02:00
Matthias
ad8ff10a05
Minor doc changes
2022-05-30 06:32:46 +02:00
robcaulk
2f1a2c1cd7
allow users to store data in custom formats, update spot config to reflect better target horizon to training period ratio
2022-05-30 02:12:31 +02:00
robcaulk
d59eac3321
revert a79032b
2022-05-29 21:33:38 +02:00
robcaulk
a79032bf75
fixing bug in training queue
2022-05-29 20:19:32 +02:00
Matthias
056047f635
Fix --help
2022-05-29 20:07:02 +02:00
robcaulk
3f72263278
allow pairs deeper in the queue to get trained if the higher priority pairs dont need training
2022-05-29 20:02:43 +02:00
robcaulk
cc6cae47ec
allow pairs deeper in the queue to get trained if the higher priority pairs dont need training
2022-05-29 19:49:43 +02:00
robcaulk
4eb4753e20
allow subdaily retraining for backtesting
2022-05-29 17:44:35 +02:00
froggleston
9a068c0b14
Add test for each analysis group, remove default table output if not indicator-list
2022-05-29 16:25:31 +01:00
Matthias
e6affcc23e
Move parameter file loading to hyper-mixin
2022-05-29 16:39:52 +02:00
Matthias
1ee08d22d2
Delay parameter init
...
closes #6894
2022-05-29 16:39:52 +02:00
robcaulk
0aa7162055
ensure the prediction is reset in the pair_dict after any trade exit, not just custom_exit
2022-05-29 16:36:46 +02:00
robcaulk
fe36b08fce
fix key error in example strat
2022-05-29 16:26:34 +02:00
robcaulk
ce365eb9e3
improve example strat so that it has dynamic buy and sell logic according to original prediction
2022-05-29 14:45:46 +02:00
froggleston
df1c36e5aa
Change command name, use load_backtest_stats for strategy resolving
2022-05-29 11:54:27 +01:00
froggleston
c59209a01a
Merge branch 'buy_reasons' of github.com:froggleston/freqtrade into buy_reasons
2022-05-29 11:20:32 +01:00
froggleston
e7c5818d16
First pass changes for cleaning up
2022-05-29 11:20:11 +01:00
Matthias
a875a7dc40
Use unified stopPrice for binance
2022-05-29 11:01:01 +02:00
Matthias
f64f2b1ad8
Fix /stats Formatting issue in multi-message settings
2022-05-29 10:34:22 +02:00
robcaulk
4eb29c8810
Dont reset pair priority if it doesnt successfully train
2022-05-28 18:34:26 +02:00
robcaulk
83dd453723
catch errors occuring on background thread, and make sure to keep the ball rolling. Improve pair retraining queue.
2022-05-28 18:26:19 +02:00
robcaulk
e54614fa2f
remove remnants of single threaded version, ensure pair queue priority is checked before retraining
2022-05-28 14:55:07 +02:00
robcaulk
2a4d1e2d64
fix bug in setting new timerange for retraining
2022-05-28 12:23:26 +02:00
robcaulk
7870a86e9a
fix live retraining bug
2022-05-28 11:38:57 +02:00
robcaulk
0bf915054d
handle key check correctly
2022-05-28 11:22:32 +02:00
robcaulk
c5a16e91fb
throw user error if user tries to load models but feeds the wrong features (while using PCA)
2022-05-28 11:11:41 +02:00
robcaulk
b8f9c3557b
dirty dirty, dont look here (hacking a flag to avoid reloading leverage_tiers in dry/live)
2022-05-27 13:56:34 +02:00
robcaulk
891fb87712
give load_cached_data_for_updating the right flags to avoid redownloading data in dry/live
2022-05-27 13:38:22 +02:00
robcaulk
65fdebab75
let load_pairs_histories load futures candles in live
2022-05-27 13:01:33 +02:00
robcaulk
c080571b7a
help futures go dry/live with auto download feature
2022-05-27 12:23:32 +02:00
Matthias
24cf044646
Fix bybit spot mode
2022-05-27 08:18:04 +00:00
robcaulk
8a501831d6
fix the error logic on previous commit
2022-05-27 01:15:55 +02:00
robcaulk
23c30dbc10
add error for user trying to backtest with backtest_period<1
2022-05-27 00:43:52 +02:00
robcaulk
6193205012
fix bug for target_mean/std array merging in backtesting
2022-05-26 21:07:50 +02:00
Matthias
43b7955fc2
Fully rely on pathlib
2022-05-26 19:37:55 +02:00
Matthias
682daa4e94
Reset logging mixin to avoid random test failure
2022-05-26 18:05:40 +02:00
Stefano Ariestasia
e1c6cf5f91
fix typo
2022-05-26 10:12:50 +09:00
Matthias
537d10c627
Improve some typing
2022-05-25 20:43:43 +02:00
Matthias
3e66275c98
Refactor bot_start to separate function
...
to be reused further ...
2022-05-25 20:01:21 +02:00
robcaulk
ff531c416f
reduce complexity
inside start_download_data() in an effort to appease flake8
2022-05-25 15:31:50 +02:00
robcaulk
d79983c791
try to pass flake8
2022-05-25 14:55:19 +02:00
robcaulk
7593339c14
small cleanup
2022-05-25 14:42:46 +02:00
robcaulk
b79d4e8876
Allow user to go live and start from pretrained models (after a completed backtest) by simply reusing the identifier
config parameter while dry/live.
2022-05-25 14:40:32 +02:00
robcaulk
7486d9d9e2
proper validation of freqai config parameters
2022-05-25 12:37:25 +02:00
Matthias
b2968df5dc
Fix some type problems
2022-05-25 10:13:37 +00:00
robcaulk
7ff3258607
remove assertions, log error if user has not assigned freqai in config, fix stratify bug
2022-05-25 11:43:45 +02:00
robcaulk
35bed842cb
cleanup, add clarity to comments and docstrings
2022-05-25 11:31:03 +02:00
froggleston
2873ca6d38
Add cleanup, adjust _print_table for indicators, add rsi to test output
2022-05-25 09:57:12 +01:00
froggleston
3adda84b96
Update docs, add test
2022-05-24 20:27:15 +01:00
Matthias
d6773bc32c
Merge pull request #6886 from freqtrade/fix/typing
...
Fix/typing
2022-05-24 19:41:59 +02:00
Matthias
a8ee77cd5e
Simplify backtesting typechecking
2022-05-24 19:13:35 +02:00
robcaulk
58b5abbaa6
improve multithreaded training queue system
2022-05-24 15:28:38 +02:00
robcaulk
31ae2b3060
alleviate FutureWarning in sklearn about ensuring svm model features are passed with identical order
2022-05-24 14:46:16 +02:00
froggleston
8c03ebb78f
Fix group 0 table, add pathlib.Path use
2022-05-24 12:48:13 +01:00
robcaulk
255d35976e
add priority metadata to pairs to avoid a sync of train time + train period
2022-05-24 12:58:53 +02:00
froggleston
80c6190c05
Fix analyze_commands setup
2022-05-24 11:47:26 +01:00
froggleston
ae1ede58da
Fix import order
2022-05-24 11:47:26 +01:00
froggleston
a1a09a802b
Add analyze_commands
2022-05-24 11:47:25 +01:00
froggleston
9488e8992d
First commit for integrating buy_reasons into FT
2022-05-24 11:47:25 +01:00
robcaulk
059c285425
paying closer attention to managing live retraining on separate thread without affecting prediction of other coins on master thread
2022-05-24 12:01:01 +02:00
Matthias
7f3853bbcd
Merge pull request #6883 from freqtrade/makeProcessCandlesTrue
...
Change default value of process_only_new_candles to True since False …
2022-05-24 07:03:14 +02:00
Matthias
904f094b80
Don't reassign method, but implement it properly
2022-05-24 06:59:54 +02:00
Matthias
23e089061b
Merge pull request #6870 from freqtrade/should_exit_list
...
Should exit list
2022-05-24 06:57:50 +02:00
Matthias
0a713faca8
Fix some type errors
2022-05-24 06:54:16 +02:00
Matthias
f1a72e448a
Align interfaces and strategy templates
2022-05-24 06:54:16 +02:00
Matthias
3f68c3b68e
Update some types
2022-05-24 06:54:16 +02:00
Matthias
7f4161ff78
Add typehints to strategy wrapper
2022-05-24 06:54:16 +02:00
Matthias
07ec3b27fe
Add typing information to retrier decorator
2022-05-24 06:54:16 +02:00
robcaulk
b0d2d13eb1
improve data persistence/mapping for live/dry. This accommodates quick reloads after crash and handles multi-pair cleanly
2022-05-23 21:05:05 +02:00
Matthias
42ae8ba6fb
Refactor hyperopt parameters to separate file
2022-05-23 20:18:09 +02:00
robcaulk
e1c068ca66
add config asserts, use .get method with default values for optional functionality, move data_cleaning_* to freqai_interface (away from user custom pred model) since it is controlled by config params.
2022-05-23 12:07:09 +02:00
robcaulk
5c4014ee62
Change default value of process_only_new_candles to True since False is an uncommon usecase for expert strategy devs
2022-05-23 10:24:58 +02:00
robcaulk
dede128648
set process_only_new_candles to true in example strat
2022-05-23 10:15:59 +02:00
robcaulk
ee3cdd0ffe
more cleanup
2022-05-23 09:55:58 +02:00
Matthias
eb5fe9e3ae
Merge pull request #6857 from froggleston/develop
...
Add support for fudging unavailable funding rates, allowing backtesti…
2022-05-23 06:31:51 +02:00
robcaulk
3587bd82e1
cleanup superceded code
2022-05-23 00:10:36 +02:00
robcaulk
af0cc21af9
Enable hourly/minute retraining in live/dry. Suppress catboost folder output. Update config + constants + docs to reflect updates.
2022-05-23 00:06:26 +02:00
Matthias
e3beaae8be
update hyperopt typing
2022-05-22 19:32:32 +02:00
Matthias
0b5544ef9e
Stoploss fill should fill as "filled" notification
...
Closes #6873
2022-05-22 19:18:12 +02:00
robcaulk
42d95af829
Aggregated commit. Adding support vector machine for outlier detection, improve user interface to dry/live, better standardization, fix various other bugs
2022-05-22 17:51:49 +02:00
Matthias
938a66511a
Update Documentation for new confirm_trade_exit behavior
2022-05-22 11:28:11 +02:00
Matthias
3692fcd3d5
Improve exit signal sequence
2022-05-22 11:01:18 +02:00
Matthias
ce3bfd59f5
Add explicit should_sell test
2022-05-22 10:31:29 +02:00
Matthias
bdb904e714
Should_exit should return all sell signals
2022-05-22 10:17:49 +02:00
Matthias
1315d02437
Fix startup sending "longed" messages for open stoplosses
2022-05-22 09:01:46 +02:00
Matthias
26d394ca74
Add liquidation Price to api response
2022-05-22 08:54:27 +02:00
Matthias
1ff1e3b43d
Merge pull request #6869 from freqtrade/update_levtiers
...
Update leveraged tiers
2022-05-22 08:35:02 +02:00
Matthias
f006978caf
Be more explicit in default value
2022-05-21 17:35:49 +02:00
Matthias
97abcf4b32
Add documentation for leverage_tiers update
2022-05-21 16:10:00 +02:00
Matthias
963cc17c18
Update leveraged tiers
2022-05-21 16:05:00 +02:00
Matthias
0d388b561b
Add test for "combine_funding_and_mark", fix bug
2022-05-21 09:03:30 +02:00
Matthias
2df42a3035
Move "funding fillup" logic to exchange class
2022-05-21 08:50:39 +02:00
Matthias
6bd5535d6c
Use exchange method to combine funding and mark candles
2022-05-21 08:31:34 +02:00
froggleston
c499a92f57
Remove surplus mark columns, and make fillna on funding rate only
2022-05-20 11:48:53 +01:00
Matthias
0138114fc2
Merge pull request #6866 from freqtrade/dry_order_db
...
Dry orders from db
2022-05-20 12:10:09 +02:00
Matthias
c3e3188c6a
Rename variable
2022-05-20 11:30:25 +02:00
robcaulk
c5ecf94177
move live retraining to separate thread.
2022-05-19 21:15:58 +02:00
Matthias
46ea135b6b
Update dry-run considerations
2022-05-19 20:10:11 +02:00
Matthias
219363fffb
Check for both ask and bid in SpreadFilter
...
closes #6865
2022-05-19 19:53:23 +02:00
Matthias
56a73575a1
Add explicit test for order_to_ccxt
2022-05-19 19:29:39 +02:00
robcaulk
1fae6c9ef7
keep model accessible in memory to avoid loading objects from disk during live/dry
2022-05-19 19:27:38 +02:00
robcaulk
67eb94c69d
download-data will now check if freqai is active in config, and if so will also download data for corr_pairlist
2022-05-19 17:55:00 +02:00
robcaulk
89eacf2f47
Retrain model if FreqAI found a pretrained model but user strategy is not passing the expected features (user has changed the features in the strategy but has passed a the same config[freqai][identifier]). Logger warning output to user.
2022-05-19 17:15:50 +02:00
Matthias
a3d9384bc0
Remove clean-dry-run code
2022-05-19 06:56:34 +02:00
Matthias
0a95ef6ab2
Don't reset open orders in dry-run on restart
2022-05-19 06:42:38 +02:00
froggleston
363098d32d
Fix reversed makr/funding_rate columns
2022-05-18 12:56:43 +01:00
froggleston
736f9f4972
Fix docs and add outer join support for merging funding rates across full timerange
2022-05-18 12:47:37 +01:00
மனோஜ்குமார் பழனிச்சாமி
2b61aa282a
Removed None in dict.get()
...
https://stackoverflow.com/a/12631641
Extra Changes: freqtrade\freqtradebot.py:70
freqtrade\plugins\pairlistmanager.py:31
2022-05-18 03:41:10 +05:30
froggleston
37e4ede65c
Fix flake issues
2022-05-17 22:32:17 +01:00
froggleston
bb758da940
Add support for fudging unavailable funding rates, allowing backtesting of timeranges where futures candles are available, but rates are not
2022-05-17 22:05:33 +01:00
Matthias
c81b960791
Fix some typos
2022-05-17 19:58:36 +02:00
robcaulk
db66b82f6f
accept open-ended timeranges from user
2022-05-17 19:50:06 +02:00
robcaulk
d1d451c27e
auto populate features based on a prepended % in the strategy (remove feature assignment from config). Update doc/constants/example strategy to reflect change
2022-05-17 18:15:03 +02:00
robcaulk
8664e8f9a3
create a prediction_models folder where basic prediction models can live (similar to optimize/hyperopt-loss. Update resolver/docs/and gitignore to accommodate change
2022-05-17 17:13:38 +02:00
eSeR1805
34684ec86a
Merge branch 'freqtrade:develop' into feat_bt_cancel_entry_reporting
2022-05-17 14:09:57 +03:00
eSeR1805
0585b378b3
BT: Report canceled/replaced orders also.
2022-05-17 14:07:42 +03:00
eSeR1805
6e8f24f6a7
BT: track canceled/replaced orders also.
2022-05-17 14:07:02 +03:00
Matthias
8d46e16c46
Merge pull request #6848 from freqtrade/datahandler_case
...
Datahandler case insensitive
2022-05-17 09:34:11 +02:00
Matthias
1cd8ebc8c8
Merge pull request #6847 from freqtrade/use_Precise
...
Use precise
2022-05-17 09:33:39 +02:00
Matthias
6fd003c655
Merge pull request #6851 from eSeR1805/feat_bt_cancel_entry_reporting
...
BT: Reporting canceled trade entries
2022-05-17 07:05:26 +02:00
மனோஜ்குமார் பழனிச்சாமி
7cd0f8a7b1
Merge branch 'develop' into patch-10
2022-05-17 08:07:13 +05:30
eSeR1805
f2e2e57237
Report trade entries canceled by user.
2022-05-17 01:41:31 +03:00
eSeR1805
fb7c0792c0
Track trade entries canceled by user.
2022-05-17 01:41:01 +03:00
Matthias
76637d3939
Simplify timeframe-transition
2022-05-16 20:10:52 +02:00
Matthias
2e65a1793d
Add fallback to load 1M files as well as 1Mo files
2022-05-16 19:48:27 +02:00
Matthias
a1048fb619
Store monthly candles as "Mo"
2022-05-16 19:39:43 +02:00
Matthias
9607d04279
Improve ccxt imports
2022-05-16 19:22:07 +02:00
Matthias
c8e0fc926d
Update to do Builtin Precise math
2022-05-16 19:21:38 +02:00
Matthias
a793cf8f05
Use ccxt's "precise" to do precise math
2022-05-16 19:21:38 +02:00
Matthias
528509f809
Extract get_price_side from get_rate
2022-05-16 19:20:13 +02:00
Stefano Ariestasia
2cb8eecf18
add space
2022-05-16 07:43:36 +09:00
Stefano Ariestasia
e21f6a7787
missing newline
2022-05-16 07:28:40 +09:00
Matthias
3d36d35e30
Merge pull request #6825 from freqtrade/okx_history
...
Okx history
2022-05-15 19:27:45 +02:00
robcaulk
80dcd88abf
allow user to run config from anywhere on their system
2022-05-15 17:42:15 +02:00
robcaulk
a8022c104a
give beta testers more information in the doc
2022-05-15 17:42:15 +02:00
robcaulk
a7029e35b5
ensure informative pairs includes any combination of whitelist - corr_pairlist
2022-05-15 17:42:15 +02:00
robcaulk
9b3e5faebe
create more flexible whitelist, avoid duplicating whitelist features into corr_pairlist, update docs
2022-05-15 17:42:15 +02:00
robcaulk
22bd5556ed
add self-retraining functionality for live/dry
2022-05-15 17:42:15 +02:00
robcaulk
178c2014b0
appease mypy
2022-05-15 17:42:15 +02:00
robcaulk
a4f5811a5b
fix flake8 issue in arguments.py
2022-05-15 17:42:15 +02:00
robcaulk
aae233bd6c
try passing the check tests
2022-05-15 17:42:15 +02:00
robcaulk
f653ace24b
another attempt at fixing datalength bug
2022-05-15 17:42:15 +02:00
robcaulk
b08c0888bb
add USERPATH_FREQAIMODELS, remove return values from @abstract methods
2022-05-15 17:42:15 +02:00
robcaulk
b03c7b514d
optional style for interfacing freqai with backtesting
2022-05-15 17:42:15 +02:00
robcaulk
e9a7b68bc1
revert constants.py and add changes
2022-05-15 17:42:15 +02:00
Matthias
a0b25938f4
Fix exit_reason assignment in backtesting
2022-05-15 17:41:59 +02:00
Matthias
a8f064a8cb
Fix exit_reason assignment in live mode
2022-05-15 17:41:59 +02:00
robcaulk
3020218096
fix bug on backtest timerange
2022-05-15 17:41:34 +02:00
robcaulk
00ff0c9b91
ensure user defined timerange truncates final backtest so that we arent mismatching data lengths upon return to strategy. Rename DataHandler class to FreqaiDataKitchen
2022-05-15 17:41:34 +02:00
robcaulk
def71a0afe
auto build full_timerange and self manage training_timerange
2022-05-15 17:41:34 +02:00
robcaulk
764f9449b4
fix logger, debug some flake8 appeasements
2022-05-15 17:41:34 +02:00
robcaulk
29c2d1d189
use logger in favor of print
2022-05-15 17:38:58 +02:00
robcaulk
99f7e44c30
flake8 passing, use pathlib in lieu of os.path to accommodate windows/mac OS
2022-05-15 17:38:58 +02:00
robcaulk
2600ba4e74
remove unused remnants
2022-05-15 17:38:58 +02:00
robcaulk
630d201546
remove trained_stake
2022-05-15 17:38:58 +02:00
robcaulk
b40f8f88ac
cleaning and bug fixing
2022-05-15 17:38:58 +02:00
robcaulk
fc837c4daa
add freqao backend machinery, user interface, documentation
2022-05-15 17:38:58 +02:00
Matthias
706994340f
Fix bad docstring
2022-05-15 17:06:40 +02:00
Matthias
ebab02fce3
Merge pull request #6827 from eSeR1805/fix_readjust_entry_bt_sl
...
Fix: Refresh SL on entry order replacement
2022-05-15 16:41:18 +02:00
Matthias
18fd3bb333
Update stoploss handling for entry-order adjustment
2022-05-15 15:45:39 +02:00
Matthias
9143e9ecb1
Add some safety measures for new startup_candles verification
2022-05-15 15:12:29 +02:00
Matthias
d60d0f64d2
Revert ohlcv_candle_limit logic for okx
2022-05-14 19:35:06 +02:00
Matthias
116b58e97c
add "date_minus_candles" method
2022-05-14 19:30:42 +02:00
Matthias
3b14439240
Slightly improve performance of order adjusts
...
Avoind 2nd call to `get_rate()`.
closes #6821
2022-05-14 16:16:32 +02:00
eSeR1805
c27e0a0a1b
Allow SL refresh only if no filled entry orders.
2022-05-14 16:56:56 +03:00
eSeR1805
1c20fb7638
Refresh open_rate and stoploss on order replacement.
2022-05-14 16:37:04 +03:00
Matthias
5767d652bf
Add explicit test and document behavior
2022-05-14 14:18:51 +02:00
Matthias
2a1368d508
Offsetfilter: add number_assets parameter
...
closes #6824
2022-05-14 14:16:13 +02:00
Matthias
bb1b283d95
Update some ohlcv_candle_limit calls
2022-05-14 13:44:10 +02:00
Matthias
111b04c9e6
Okx - conditional candle-length
2022-05-14 09:51:44 +02:00
Matthias
64668b11da
add ohlcv_has_history - disabling kraken downloads
2022-05-14 09:10:38 +02:00
மனோஜ்குமார் பழனிச்சாமி
64670726a6
flake8 fix
2022-05-13 21:52:26 +05:30
மனோஜ்குமார் பழனிச்சாமி
71a80cab3a
fixed variable naming style
2022-05-13 21:19:40 +05:30
மனோஜ்குமார் பழனிச்சாமி
8a3c2c6cad
Corrected docstring
...
Discussed in Discord
2022-05-13 19:32:52 +05:30
Matthias
c299601ece
Add warning about OKX futures backtesting data
2022-05-13 07:03:18 +02:00
Matthias
5444f4ee6f
Merge pull request #6793 from mkavinkumar1/log
...
logged balance details
2022-05-12 19:11:28 +02:00
Matthias
891900c186
Merge pull request #6812 from freqtrade/db_migrate
...
Db migrate
2022-05-11 19:54:31 +02:00
Matthias
1fc041d0d6
Fix formatting issue
2022-05-11 19:39:56 +02:00
Matthias
ae463fcdf2
Merge pull request #6792 from mkavinkumar1/rpc
...
consistent exchange name
2022-05-11 19:23:36 +02:00
Matthias
f374c9da70
PR cleanup
2022-05-11 06:30:40 +02:00
Matthias
044afdf7af
Add better test scenario
2022-05-10 20:27:24 +02:00
Matthias
31cce741ac
Add sequence migration
2022-05-10 07:13:51 +02:00
Matthias
269630e755
Add preliminary documentation for database conversion
2022-05-10 07:13:42 +02:00
Matthias
0958c06b84
Implement database migration to other system
2022-05-09 20:58:40 +02:00
Matthias
c3b0f6b64b
Add feature shell for database conversion
2022-05-09 20:58:40 +02:00
Matthias
0f499469fc
Merge pull request #6796 from freqtrade/model_reorg
...
Model reorg
2022-05-09 20:15:45 +02:00
Matthias
30d6eeffd0
Fix migration bug
2022-05-08 17:49:13 +02:00
Matthias
b58e811b14
Move trade/order Models to their own class
2022-05-08 17:45:20 +02:00
Matthias
af1a5e0449
Extract base and Pairlock from models file
2022-05-08 17:38:06 +02:00
Matthias
3221726d85
Update migration to use boolean value
...
closes #6794
2022-05-08 17:29:42 +02:00
Matthias
ab91758c7e
Merge pull request #6790 from eSeR1805/profit_reporting
...
Report profit only on filled entries.
2022-05-08 17:25:42 +02:00
Matthias
4a7515e66a
Add test for 0.0 case
2022-05-08 16:04:06 +02:00
மனோஜ்குமார் பழனிச்சாமி
f43ae0ea43
logged balance details
2022-05-08 13:53:07 +05:30
மனோஜ்குமார் பழனிச்சாமி
d79b90a98f
consistent exchange name
2022-05-08 12:46:58 +05:30
Matthias
45b328af2e
explicitly call cleanup when cleaning backtest
2022-05-08 08:11:39 +02:00
eSeR1805
bfc7898654
Report profit only on filled entries.
2022-05-07 21:56:22 +03:00
Matthias
c9498d0117
Merge pull request #6692 from eSeR1805/feat_readjust_entry
...
Feature: Readjust Entry Order
2022-05-07 20:11:20 +02:00
Matthias
277e07589e
update/fix some comments and docs
2022-05-07 17:47:37 +02:00
Matthias
f5f599c7f0
Add LowProfitPairs only_per_side option
2022-05-07 15:25:15 +02:00
Matthias
dc0c1bf87d
Only fetch accounts when authenticated.
2022-05-07 13:17:27 +02:00
Matthias
149704e748
Fix wrong type
2022-05-07 11:39:47 +02:00
Matthias
6fdcf3a10a
Support both position modes on OKX
2022-05-07 10:58:41 +02:00
Matthias
2da284b921
Properly type side for create_order
2022-05-07 10:02:54 +02:00
Matthias
5b3eaa3003
Ensure advanced strategy template is runnable
2022-05-06 06:42:08 +02:00
Matthias
d11c44940e
Slightly reword docs
...
remove some Note-boxes - people tend to skip these.
2022-05-06 06:42:01 +02:00
Matthias
2d9be6dace
move open_rate updating to close_bt_order
2022-05-05 19:50:16 +02:00
eSeR1805
29f1edbde7
Cleanup. Remove stray new line.
2022-05-05 12:24:32 +03:00
eSeR1805
495708df76
Merge branch 'develop' into feat_readjust_entry
2022-05-05 12:20:09 +03:00
eSeR1805
2bed0eab0c
BT: Update trade open_rate on first filled order.
2022-05-05 12:19:05 +03:00
eSeR1805
25c74e26d1
Models:Trade: Revert trade open_rate update.
2022-05-05 12:18:19 +03:00
Matthias
1a37c6ff42
Bump ccxt to 1.81.43
...
fixes bug in okx live liquidation pricing
2022-05-05 07:05:00 +02:00
eSeR1805
ae01afdd0f
Models:Trade: Fix open_rate updates.
2022-05-04 22:05:53 +03:00
eSeR1805
496bf84e3a
Merge branch 'develop' into feat_readjust_entry
2022-05-04 21:43:41 +03:00
eSeR1805
dbecc097df
Models:Trade: Update trade open_rate based on lastest order.
2022-05-04 21:34:45 +03:00
Sam Germain
e8803477df
exchange/exchange add param taker_or_maker to add_dry_order_fee
2022-05-03 23:56:40 -06:00
Mark Regan
ce035a5947
Add bot_loop_start() call in plotting.py
...
plotting.py was missing a call to strategy.bot_loop_start() resulting in strategies using this callback to not work.
Made changes and confirmed plotting now works for strategies using bot_loop_start() callback.
LMK if anything else needed for PR.
2022-05-03 23:34:12 +01:00
Matthias
2705096ce6
Merge pull request #6777 from freqtrade/fix/contractsizefee
...
Fix fee handling for futures trades
2022-05-03 20:34:37 +02:00
Matthias
091cb4fb8d
Reduce no stake amount verbosity
...
closes #6768
2022-05-03 19:42:17 +02:00
Matthias
eb996a152a
Fix fee handling for futures trades
2022-05-03 19:06:17 +02:00
Matthias
88c8fe5570
Merge pull request #6715 from nicolaspapp/feat/relative-drawdown
...
Add relative drawdown
2022-05-02 21:09:14 +02:00
Matthias
3f64c6307f
Maintain compatibility with old backtest results
2022-05-02 20:01:44 +02:00
Matthias
1e2523af61
Fix some assumptions on the data
...
available_capital is not guaranteed to be available, while dry-run-wallet is.
2022-05-02 19:44:14 +02:00
eSeR1805
52d510c331
Merge branch 'develop' into feat_readjust_entry
2022-05-02 18:30:05 +03:00
eSeR1805
4c74601073
Freqtradebot: Cleanup stray debug messages.
2022-05-02 18:22:41 +03:00
eSeR1805
59397cdd19
Freqtradebot: Fix full cancel logging location.
2022-05-02 18:09:28 +03:00
Matthias
2a6efab8a2
Don't use deprecated abstractclassmethod decorator
2022-05-02 06:24:52 +00:00
eSeR1805
04c51d2d1a
Merge branch 'develop' into feat_readjust_entry
2022-05-01 21:42:15 +03:00
Nicolas Papp
f9244aad92
Fix on max drawdown formula to match tests
2022-05-01 12:25:53 -03:00
eSeR1805
4e43194dfe
BT: Refactor open order management.
2022-05-01 18:06:20 +03:00
Matthias
582e30bca6
Merge pull request #6716 from freqtrade/pairlocks_direction
...
Pairlocks direction
2022-05-01 17:04:20 +02:00
Matthias
910addd02b
Merge pull request #6753 from freqtrade/download_prepend
...
Download prepend
2022-05-01 15:15:16 +02:00
Matthias
995c48b642
Merge branch 'develop' into pairlocks_direction
2022-05-01 14:59:04 +02:00
eSeR1805
9d205132d0
Revert unintended comment change.
2022-05-01 12:10:11 +03:00
eSeR1805
8c19953cdd
Quick exit when order should be maintained.
2022-05-01 12:08:19 +03:00
Matthias
53a2f55cf0
Merge branch 'develop' into pr/nicolaspapp/6715
2022-05-01 10:03:10 +02:00
Matthias
d5fc923dcb
Properly validate stoploss existence for optimize commands
...
closes #6740
2022-05-01 09:53:46 +02:00
Matthias
5c1ac3cf95
Fix caching bug with freqUI backtesting
2022-04-30 19:55:13 +02:00
Matthias
8b5d454b50
Fix subtle bug in trades download
2022-04-30 17:44:57 +02:00
Matthias
e49b3ef051
Improve message formatting
2022-04-30 17:35:11 +02:00
Matthias
f6a7e6b785
Add prepend option to download-data
2022-04-30 17:32:50 +02:00
Matthias
11d447cd5a
Add support for download-data "until"
2022-04-30 15:42:41 +02:00
Matthias
4580127fa8
Small refactor
2022-04-30 14:51:57 +02:00
Matthias
c6c569b772
chore: split BTAnalyais to metrics
2022-04-30 14:47:27 +02:00
Matthias
4262f84744
Merge branch 'develop' into pr/nicolaspapp/6715
2022-04-30 14:22:18 +02:00
Matthias
2acb68e6e2
Move hyperopt-loss functions to their own package
2022-04-30 13:59:23 +02:00
eSeR1805
3be2afdd88
Merge branch 'develop' into feat_readjust_entry
2022-04-30 13:39:23 +03:00
eSeR1805
ad0c5d9440
Refactor entry adjustment for backtesting.
2022-04-30 13:38:17 +03:00
eSeR1805
f9977c26e7
Full cancel only for non DCA trades.
2022-04-30 12:55:03 +03:00
Matthias
09b74cebce
Move edge bot_loop_start to edge_cli
...
(otherwise it's called twice when running trade mode with edge on).
2022-04-30 08:55:07 +02:00
Sam Germain
8756e7d9a1
flake8 linting
2022-04-29 23:35:08 -06:00
Sam Germain
4a6f1e90c3
Merge branch 'develop' into bot-start
2022-04-29 22:23:42 -06:00
Matthias
43049e0465
Evict cache if parameter file changed
...
closes #6735
2022-04-29 19:44:17 +02:00
Matthias
fbd142844f
Refactor bt-caching stuff to it's own module
2022-04-29 19:37:13 +02:00
eSeR1805
09089b160e
Merge branch 'develop' into feat_readjust_entry
2022-04-29 13:02:38 +03:00
Matthias
48ff788e82
Clarify that stoploss is required
...
closes #6740
2022-04-29 09:53:05 +00:00
Matthias
21df1b0db3
Use ORJSON for http responses
2022-04-29 07:17:31 +02:00
eSeR1805
17650d7e60
Maintain existing order. Update functionality and documentation
2022-04-29 00:10:17 +03:00
eSeR1805
eb23170c43
Merge branch 'develop' into feat_readjust_entry
2022-04-28 23:06:52 +03:00
Matthias
d1a61f9c61
Don't start futures backtest if leverage-tiers don't contain pair
2022-04-28 20:05:19 +02:00
Matthias
cb5c3316d1
Simplify log output
2022-04-28 19:43:52 +02:00
Matthias
e0d86307cb
Merge pull request #6732 from freqtrade/remove_duplicate_liqprice_call
...
Don't call interest_rate and isolated_liq twice
2022-04-28 07:38:32 +02:00
Matthias
2ef1181e16
Simplify trade __repr__
2022-04-28 07:33:30 +02:00
Matthias
1e83589641
Fix hyperopt
2022-04-28 06:59:03 +02:00
Matthias
ca49821df0
Fix race condition for loop
2022-04-28 06:29:14 +02:00
Matthias
46855221aa
Fix rounding issue with contract-sized pairs for dry-run orders
2022-04-27 19:58:19 +02:00
Matthias
2c0a7c5d74
Don't call interest_rate and isolated_liq twice
2022-04-27 17:13:58 +02:00
Matthias
30c9dc6975
Fix exit-signa being assigned when tag is set but no signal is present.
2022-04-27 13:53:11 +02:00
Matthias
ad7fbfab1b
Slightly improved styling
2022-04-27 13:27:33 +02:00
Matthias
108f11b1d7
Fix docs typos
2022-04-27 06:42:56 +02:00
Rokas Kupstys
6d99222320
Add 'exit_tag' parameter to 'custom_exit_price' callback.
2022-04-26 10:01:51 +03:00
Sam Germain
e76c6e8ad3
added bot_start call to edge_positioning.__init__
2022-04-25 17:48:57 -06:00
Sam Germain
e09b4498fa
added bot_start call to plot/plotting
2022-04-25 17:48:57 -06:00
Sam Germain
4fd904e0a9
added bot_start to backtesting
2022-04-25 17:48:57 -06:00
Sam Germain
d92761b2b1
Revert "strategy callback on_whitelist_update"
...
This reverts commit 39798dc1192161c3060830dd4684571aa86b7821.
2022-04-25 17:48:43 -06:00
Sam Germain
bf7da35e31
strategy callback on_whitelist_update
2022-04-25 17:48:07 -06:00
Sam Germain
0b90e1d309
Added bot_start callback to strategy interface
2022-04-25 17:47:12 -06:00
Matthias
44000ae0b3
Fix CAGR missing for old results
2022-04-25 17:37:25 +02:00
Matthias
246a336f56
Merge pull request #6726 from froggleston/bt_concat
...
Move df append to pd concat
2022-04-25 16:03:27 +02:00
Matthias
e38c4883dc
Merge pull request #6725 from freqtrade/cagr
...
Add CAGR calculation to backtesting
2022-04-25 16:02:39 +02:00
Matthias
9a5a57d848
Merge pull request #6724 from freqtrade/pre-commit-additional_updates
...
Check pre-commit verison updates
2022-04-25 14:57:45 +02:00
froggleston
431c539cbd
Fix isort import order
2022-04-25 10:42:24 +01:00
Matthias
4444259078
Fix hyperopt-loss interface to enforce kwargs
2022-04-25 11:33:18 +02:00
froggleston
580da21dda
Move df append to pd concat
2022-04-25 10:31:19 +01:00
Matthias
500fdc2759
run mypy also against tests
2022-04-25 11:12:35 +02:00
Matthias
4143ebbeae
Add CAGR calculation to backtesting
2022-04-25 10:51:11 +02:00
Matthias
7b02114ad2
Restrict trading pairs with too low precision
...
closes #6606
2022-04-25 09:49:51 +02:00
Matthias
86b3aac9ba
Fix FTX not fetching the very latest data
2022-04-25 08:38:02 +02:00
Matthias
9bc6bbe472
Improve test for max_drawdown calculations
2022-04-25 07:23:16 +02:00
Matthias
562e36c3ec
Remove Interface V1 support
2022-04-25 07:01:27 +02:00
Nicolas Papp
e8aec967dd
Update on note
2022-04-24 17:42:52 -03:00
Nicolas Papp
086cc6be93
Correction on tests
2022-04-24 17:37:09 -03:00
Matthias
4de0fdbfca
Minor edits found during review
2022-04-24 14:43:30 +02:00
Matthias
6623192108
improve doc wording
2022-04-24 14:39:13 +02:00
Matthias
737bdfe844
Use "side" parameter when calling Pairlocks
2022-04-24 14:33:24 +02:00
Matthias
b0a8bf3025
Show lock side
2022-04-24 14:33:24 +02:00
Matthias
4942d73693
update pairlock tests
2022-04-24 14:33:24 +02:00
Matthias
845f960a4e
realign pairlock naming to side
2022-04-24 14:33:24 +02:00
Matthias
fc201bb4ff
implement pairlock side further
2022-04-24 14:33:24 +02:00
Matthias
7c79d937e0
Properly type "side" parameter
2022-04-24 14:33:24 +02:00
Matthias
b7cada1edd
Convert ProtectionReturn to dataclass
2022-04-24 14:33:24 +02:00
Matthias
9e199165b4
Update protection-interface to support per-side locks
2022-04-24 14:33:24 +02:00
Matthias
6ff3b178b0
Add direction column to pairlocks
2022-04-24 14:33:24 +02:00
Matthias
25c6c5e326
Update backtest sell terminology to exit
2022-04-24 14:30:50 +02:00
Matthias
3c17409bd7
Update buy to entry in backtesting
2022-04-24 14:28:15 +02:00
Nicolas Papp
0f943c482b
PEP8 code compliance
2022-04-23 13:15:14 -03:00
Matthias
8cac0a47cc
Fix joblib being in wrong requirements
2022-04-23 17:08:34 +02:00
Matthias
d4e12371c2
Merge pull request #6558 from samgermain/recursive-strategy-folder
...
Recursively search subdirectories in config['user_data_dir']/strategies for a strategy
2022-04-23 14:23:53 +02:00
Matthias
b1ca47e3d6
Merge pull request #6707 from koradiyakaushal/develop
...
Ref: timeseries friendly merge_ordered in merge_informative_pair func…
2022-04-23 14:22:23 +02:00
Matthias
f2912f8815
Improve mypy runs
2022-04-23 11:31:12 +02:00
Matthias
84f5a4d5bc
Fix indentation
2022-04-23 10:51:24 +02:00
Matthias
89f16ad3a5
Merge pull request #6543 from froggleston/v3_fixes
...
Add support for storing buy candle indicator rows in backtesting results
2022-04-23 09:45:11 +02:00
Matthias
5a90d5ece6
Fix docstring quotes
2022-04-23 09:44:04 +02:00
Matthias
7328553c0b
Merge pull request #6563 from italodamato/opt-ask-force-new-points
...
Optimize only new points
2022-04-23 09:43:33 +02:00
Matthias
580a2c6545
Don't repeat backtest-storing
2022-04-23 09:23:53 +02:00
Matthias
f1f4846053
Merge branch 'develop' into pr/samgermain/6558
2022-04-23 09:16:28 +02:00
Matthias
ba92e09b7b
list-strategies should find recursively as well
2022-04-23 09:11:50 +02:00
Matthias
c6927a1501
Fix argument spelling
2022-04-23 09:10:40 +02:00
Matthias
dff9d52b30
Remove hints on no longer used option, add very primitive test
2022-04-23 08:51:52 +02:00
froggleston
2fc4e5e117
Fix weird removal of comma
2022-04-22 18:54:02 +01:00
froggleston
767592a1d6
Add signals enum to 'export' cli option
2022-04-22 18:46:12 +01:00
Patel Kaushal
ba305e93ed
Ref: timeseries friendly merge_ordered in merge_informative_pair function
2022-04-21 18:35:41 +05:30
froggleston
f92997d378
Move signal candle generation into separate function
2022-04-20 14:05:33 +01:00
froggleston
b3cb722646
Use joblib instead of pickle, add signal candle read/write test, move docs to new Advanced Backtesting doc
2022-04-20 13:38:52 +01:00
froggleston
aa5984930d
Fix filename generation
2022-04-19 13:00:09 +01:00
froggleston
165f59325f
Merge branch 'v3_fixes' of github.com:froggleston/freqtrade into v3_fixes
2022-04-19 12:48:29 +01:00
froggleston
84f486295d
Add tests for new storing of backtest signal candles
2022-04-19 12:48:21 +01:00
Robert Davey
4b0f168e52
Merge branch 'freqtrade:develop' into v3_fixes
2022-04-19 12:10:30 +01:00
eSeR1805
76558f284f
Fix user cancellation functionality.
2022-04-19 13:33:37 +03:00
eSeR1805
cea4f663d5
Merge branch 'develop' into feat_readjust_entry
2022-04-18 21:22:19 +03:00
eSeR1805
d24ee9032a
Update usage in backtest. No functional update.
2022-04-18 21:21:38 +03:00
eSeR1805
d9f838a65f
Update template usage to reflect changes.
2022-04-18 21:20:50 +03:00
eSeR1805
3166739ec9
Update strategy callback params and description.
2022-04-18 21:17:39 +03:00
eSeR1805
95e009b9cb
Update adjustment functionality and add cancelation option
2022-04-18 21:16:45 +03:00
eSeR1805
2cac1b7dcc
Add new (user cancellation) reason.
2022-04-18 21:14:35 +03:00
eSeR1805
17da4ca099
Use order_date_utc
2022-04-17 12:11:30 +03:00
Sam Germain
591a2fb7fc
switch notionalFloor -> minNotional and notionalCap -> maxNotional
2022-04-16 21:47:44 -06:00
froggleston
34fb8dacd7
Fix isort complaints
2022-04-16 17:03:24 +01:00
froggleston
b738c4e695
Fix flake8 complaints
2022-04-16 16:49:20 +01:00
froggleston
7210a11730
Fix flake8 complaints
2022-04-16 16:37:06 +01:00
froggleston
a63affc5f1
Fix flake8 complaints
2022-04-16 16:32:04 +01:00
froggleston
f55a9940a7
Fix line spacing
2022-04-16 16:15:04 +01:00
froggleston
b1bcf9f33c
Fix backtest_enable typo
2022-04-16 14:58:17 +01:00
froggleston
8990ba2709
Fix store signal candles
2022-04-16 14:49:53 +01:00
froggleston
21734c5de7
Add pickle import
2022-04-16 14:46:30 +01:00
froggleston
26ba899d7d
Add constant, boolean check, rename option to fit with other x_enable, check that RunMode is BACKTEST
2022-04-16 14:37:36 +01:00
Robert Davey
afd3a32883
Merge branch 'develop' into v3_fixes
2022-04-16 14:23:13 +01:00
eSeR1805
d65b64a46f
Merge branch 'develop' into feat_readjust_entry
2022-04-16 15:20:50 +03:00
eSeR1805
452f44206a
Add new callback to advanced template.
2022-04-16 15:08:09 +03:00
eSeR1805
bf5799ef9e
Add new functionality to backtesting.
2022-04-16 15:07:18 +03:00
eSeR1805
f8a7fdd5ed
Add new callback to strategy interface.
2022-04-16 15:04:22 +03:00
eSeR1805
317c1e0746
Add option to handle_cancel_enter to prevent closing trade.
2022-04-16 15:03:44 +03:00
eSeR1805
76c545ba0d
Reorganize, rename, redescribe and add new functionality
2022-04-16 15:03:09 +03:00
eSeR1805
e5d4f7766e
Add new cancel reason for when replacing orders.
2022-04-16 14:44:41 +03:00
Matthias
4019c05fee
Update entry/exit timeout documentation
...
the type of order is now an Order, no longer a dictionary.
closes #6691
2022-04-16 06:48:12 +02:00
Matthias
a4ec8984cd
Merge pull request #6685 from freqtrade/bt_load_history
...
Backtesting load history
2022-04-15 16:06:20 +02:00
kokimame
d23d830346
Avoid ignoring the case precision amount = 0
2022-04-15 00:35:11 +09:00
Italo
1153e65b3e
fix flake8
2022-04-14 14:34:04 +01:00
Italo
340c0ea391
update is_random before asked_non_tried
...
is_random depends on asked_non_tried and needs to be updated first
2022-04-14 14:15:11 +01:00
Matthias
4acb77305a
Don't break when running hyperopt-x tools on old resuts
2022-04-13 19:33:27 +02:00
Matthias
b1a6db8d29
Fix bad usage of base_currency
2022-04-13 19:24:21 +02:00
Italo
35cea6dcfa
fix unique_list
2022-04-13 09:36:46 +01:00
Matthias
f89b64c972
Improve test by having multistrat.meta file available
2022-04-13 07:09:26 +02:00
Matthias
4ac54a76af
Add strategy as mandatory argument
2022-04-13 06:47:39 +02:00
Italo
fa298d6f1c
fix unique_list logic
2022-04-12 23:57:40 +01:00
Nicolas Papp
c8e4687833
Plots and hyperopt
2022-04-11 16:41:48 -03:00
Matthias
85e7deb2cd
Add loading of historic backtest result
2022-04-11 20:04:47 +02:00
Matthias
d9039152ba
Add "get backtest historic results" endpoint
2022-04-11 19:44:47 +02:00
Nicolas Papp
178240aa6c
Merge branch 'develop' of https://github.com/nicolaspapp/freqtrade into feat/relative-drawdown
2022-04-11 14:42:10 -03:00
Matthias
baefda80d1
Enable flake8 E226 rule
2022-04-11 18:02:06 +02:00
Sam Germain
c876d42e36
safe check for recursive_strategy_search in strategy_resolver
2022-04-10 18:50:51 -06:00
Sam Germain
9070114417
Merge branch 'recursive-strategy-folder' of https://github.com/samgermain/freqtrade into recursive-strategy-folder
2022-04-10 18:45:09 -06:00
Sam Germain
d5ce868f1a
removed 1 letter alias for recursive-strategy-folder
2022-04-10 18:44:33 -06:00
Nicolas Papp
47a6ef4f00
Max relative drawdown
2022-04-10 12:53:47 -03:00
Matthias
68fe7476c9
Update more terminology to forceexit
2022-04-10 15:56:29 +02:00
Matthias
77c840c2a4
Fix syntax-error in exit_reason migration
2022-04-10 15:10:13 +02:00
Matthias
9556af1e6c
Improve documentation for config imports
2022-04-10 10:14:34 +02:00
Matthias
cd2e49bb60
Simplify downloading futures data code
2022-04-10 09:53:33 +02:00
Matthias
95f69a8c3b
Remove some outdated TODO's
2022-04-10 09:53:33 +02:00
Matthias
2653d83fee
Merge branch 'develop' into pr/cyberjunky/6615
2022-04-10 09:24:53 +02:00
Matthias
54633e90a7
Merge branch 'develop' into pr/italodamato/6563
2022-04-10 09:16:31 +02:00
Matthias
a99cbe459c
Merge pull request #6671 from freqtrade/custom_exit_profit
...
Custom exit - call it independent of profit
2022-04-10 09:09:45 +02:00
Matthias
282804463c
Add Documentation for /forceexit without parameter
2022-04-10 09:07:51 +02:00
Matthias
ffff45e76b
simplify exit message
2022-04-10 08:44:49 +02:00
Matthias
850760bc00
Remove migration from very old database
...
(database without Orders table)
2022-04-10 08:43:30 +02:00
Matthias
46c18dfce2
Merge pull request #6670 from freqtrade/store_asset
...
store base and quote currency separately in the database
2022-04-10 08:42:28 +02:00
Matthias
6ebd30db88
Merge pull request #6665 from freqtrade/config_from_config
...
Allow recursive loading of configuration files
2022-04-09 17:18:51 +02:00
Matthias
114591048c
Always call custom_sell - also when there's a new enter signal
2022-04-09 17:17:49 +02:00
Matthias
139b65835c
Only show long/short signals on telegram for non-spot markets
2022-04-09 17:09:17 +02:00
Matthias
ef18d09161
Call custom_exit also when the trade is not in profit and exit_profit_only is set.
2022-04-09 16:50:38 +02:00
Matthias
8e98a2ff9f
api - provide assset_currency via API
2022-04-09 16:42:18 +02:00
Matthias
ebcb530d4f
Log if no stake-amount is left for trade
2022-04-09 09:58:03 +02:00
Matthias
ddfc68d533
Add test case for interactive telegram exit
2022-04-09 09:41:01 +02:00
Matthias
9cd92ed48c
Fix forceexit to work
2022-04-09 09:24:20 +02:00
Matthias
40eb3f274f
Fix merge mistake
2022-04-09 08:36:22 +02:00
Matthias
392967a26f
Update formatting
2022-04-08 18:07:01 +02:00
Matthias
967bbe99bb
Merge branch 'develop' into pr/cyberjunky/6615
2022-04-08 18:05:27 +02:00
Matthias
16e64ddf97
Update docs for multi-config loading
2022-04-08 17:59:16 +02:00
Matthias
238ff6c9fe
Use better naming
2022-04-08 17:30:23 +02:00
Matthias
1435d26996
store config-file loading paths
2022-04-08 17:26:51 +02:00
Matthias
3427df0653
Add simple test for recursive loading
2022-04-08 16:11:18 +02:00
Matthias
1ea49ce864
Support nested configurations
2022-04-08 15:50:44 +02:00
Matthias
aee0cfd17a
forcebuy_enable -> force_entry_enable
2022-04-08 13:39:41 +02:00
Italo
1559692e47
Update hyperopt.py
...
remove duplicates from list of asked points
2022-04-08 11:44:42 +01:00
Matthias
ef2f8be526
Merge pull request #6653 from mkavinkumar1/renaming-forceentry-forceexit
...
renamed forceentry forceexit
2022-04-08 12:31:48 +02:00
Matthias
075fc6d35e
Apply suggestions from code review
2022-04-08 11:45:03 +02:00
மனோஜ்குமார் பழனிச்சாமி
0e9b348868
Update api_v1.py
2022-04-08 11:08:11 +05:30
மனோஜ்குமார் பழனிச்சாமி
ca400b8195
Updated requested changes in PR #6653
2022-04-08 10:45:05 +05:30
மனோஜ்குமார் பழனிச்சாமி
f7020df097
Updating requested changes in PR #6653
2022-04-08 07:07:51 +05:30
மனோஜ்குமார் பழனிச்சாமி
9417bb01dc
Merge branch 'develop' into renaming-forceentry-forceexit
2022-04-08 00:01:51 +05:30
Matthias
1347107c1e
extract load_from_files to load_config
2022-04-07 20:15:06 +02:00
Matthias
673b3034ee
Simplify load_from_files
2022-04-07 20:05:51 +02:00
Matthias
ea1c55b161
Update backtesting to use row instead of sell_row
2022-04-07 19:43:34 +02:00
Matthias
890694da08
Merge pull request #6661 from SmartManoj/patch-5
...
Update fiat_convert.py
2022-04-07 19:25:58 +02:00
Matthias
3188d036a6
improve trading_mode handling
...
Ensure trading_mode is set by new-config
handle empty strings to default to spot.
closes #6663
2022-04-07 08:45:45 +00:00
மனோஜ்குமார் பழனிச்சாமி
7bf3475fbd
Update fiat_convert.py
2022-04-07 10:28:55 +05:30
Matthias
299dd84cfe
Merge pull request #6656 from freqtrade/use_sell_signal
...
Use sell signal -> use_exit_signal
2022-04-06 19:46:46 +02:00
Matthias
916764d4f2
Merge pull request #6658 from mkavinkumar1/rename-enter-side
...
renamed enter-side
2022-04-06 19:32:55 +02:00
Matthias
28b58712fb
Add compatibility shim for trade.entry_trade
2022-04-06 19:13:46 +02:00
Matthias
d5ec79c0b9
Update deprecated settings to support non-nested transitions
2022-04-06 19:09:34 +02:00
Matthias
146d6e7c6c
Add UAH to supported fiat currencies
...
closes #6657
2022-04-06 06:43:06 +02:00
மனோஜ்குமார் பழனிச்சாமி
aa76191636
fixed tests
2022-04-06 07:19:00 +05:30
மனோஜ்குமார் பழனிச்சாமி
28f4a3b373
updated for PR #6653
2022-04-06 07:05:43 +05:30
மனோஜ்குமார் பழனிச்சாமி
7e97e58820
renamed enter-side
2022-04-06 06:32:13 +05:30
Matthias
8d95e76d26
Add tests for new naming definitions
2022-04-05 20:43:39 +02:00
Matthias
82e9f62381
Add missing setting in arguments.py
2022-04-05 20:27:32 +02:00
Matthias
b1378efdeb
ignore_roi_if_buy_signal -> ignore_roi_if_entry_signal
2022-04-05 20:21:39 +02:00
Matthias
4897731030
use_sell_signal -> use_exit_signal
2022-04-05 20:10:20 +02:00
Matthias
5ce5c70be6
sell_profit_offset -> exit_profit_offset
2022-04-05 20:03:27 +02:00
Matthias
bba9629a2a
Rename sell_profit_only to exit_profit_only
2022-04-05 20:00:35 +02:00
மனோஜ்குமார் பழனிச்சாமி
8442fb915f
renamed
2022-04-05 16:01:53 +05:30
Matthias
2a46e6a214
Change some sell terminology
2022-04-05 06:50:44 +02:00
Matthias
4cd4edf08b
Update exit_reasons while migrating the database
2022-04-04 19:52:26 +02:00
Matthias
0db5d9f7fa
Update telegram message formatting
2022-04-04 19:37:23 +02:00
Matthias
7d3116f9fb
webhookbuy -> webhookentry
2022-04-04 19:32:27 +02:00
Matthias
eff636ba53
Update RPC message types to ENTRY
2022-04-04 19:29:15 +02:00
Matthias
125dff1dad
Properly deprecate webhook settings (with transition)
2022-04-04 19:21:13 +02:00
Matthias
5ecb695e50
Update deprecated notification settings
2022-04-04 19:17:11 +02:00
Matthias
129a7c632c
Update method names
2022-04-04 19:14:21 +02:00
Matthias
8a9839fb6d
Update telegram notification settings
2022-04-04 19:10:44 +02:00
Matthias
0b88185c2c
Sell-fill -> exit_fill
2022-04-04 19:08:50 +02:00
Matthias
8b33d9cdb2
sell_cancel -> exit_cancel
2022-04-04 19:07:20 +02:00
Matthias
6a0110aa3c
Update webhook configuration
2022-04-04 19:05:36 +02:00
Matthias
6d9218cb34
sell_signal -> exit_signal
2022-04-04 17:11:11 +02:00
Matthias
1917527179
custom_sell -> custom_exit
2022-04-04 17:04:43 +02:00
Matthias
cd146bfa8f
emergency_sell -> emergency_exit
2022-04-04 17:03:27 +02:00
Matthias
54ad130bb9
Update force_sell to force_exit
2022-04-04 16:59:27 +02:00
Matthias
33841da382
Slightly imporve Typing by reusing long/short type
2022-04-04 16:51:57 +02:00
Matthias
f8783c908e
Add side to custom_entry_price
2022-04-04 16:48:27 +02:00
Matthias
69491c1430
Update more wording to "exit"
2022-04-03 19:39:13 +02:00
Matthias
283d04a5ad
Update docstring wording
2022-04-03 19:36:32 +02:00
Matthias
9dfb3db1aa
Update local variable
2022-04-03 19:22:59 +02:00
Ron Klinkien
dd61886341
Readded missing keyboard commands
...
Rename forcesell methods to forceexit
2022-04-03 12:29:29 +02:00
Matthias
8acffbc1d8
sell_type -> exit_type
2022-04-03 11:18:36 +02:00
Matthias
2d2bea17e7
sell_order_status -> exit_order_status
2022-04-03 11:17:01 +02:00
Matthias
d054916439
Merge pull request #6632 from freqtrade/short_terminology
...
Short terminology
2022-04-03 11:10:16 +02:00
Matthias
a27c837d18
Update sell_reason to exit_reason
2022-04-03 10:41:35 +02:00
Matthias
cd78792f48
Improve some telegram terminology
2022-04-03 10:40:13 +02:00
Ron Klinkien
936ada5699
Fixed syntax error
2022-04-03 09:58:55 +02:00
Matthias
157f8f8139
Update some more sell_reason occurances
2022-04-03 08:17:17 +02:00
Matthias
e894f620c2
Improve compatibility
2022-04-03 08:15:23 +02:00
Matthias
240ca421af
Merge pull request #6630 from SmartManoj/patch-4
...
checking exchange name with lower
2022-04-02 20:09:10 +02:00
Matthias
ec63cfd656
Add compatibility layer for backtesting results
2022-04-02 20:04:30 +02:00
Matthias
543aa74278
update sell_reason to exit_reason
2022-04-02 20:04:29 +02:00
Ron Klinkien
f89265e0fb
Merge branch 'develop' into cyber-forcesell-tg
2022-04-02 20:02:42 +02:00
Matthias
39d925c295
Change to precise casing instead of .lower()
2022-04-02 19:48:01 +02:00
Matthias
b0fab3ad50
Properly handle empty dataframes after trimming
...
closes #6629
2022-04-02 16:16:29 +02:00
மனோஜ்குமார் பழனிச்சாமி
40b4a9977e
checking exchange name with lower
2022-04-02 11:23:06 +05:30
topscoder
7db3c846b4
Fixes CoinGecko typos in fiat_convert.py
2022-04-01 20:52:16 +02:00
Ron Klinkien
f029702bd1
Fixed flake8 issues
2022-04-01 09:16:35 +02:00
Matthias
775305e9c4
Use correct candleconfig in plot endpoint
2022-04-01 08:57:58 +02:00
Matthias
e3a624cf68
Fix futures plotting
2022-04-01 06:44:17 +02:00
Sam Germain
4b238987b0
plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function
2022-04-01 06:27:42 +02:00
Sam Germain
2fe5a1594f
Add conditional to recursive strategy searching if in config
2022-03-31 08:21:15 -06:00
Sam Germain
b4b809ff8e
changed recursive to recursive_strategy_search
2022-03-31 08:16:21 -06:00
Sam Germain
f44ae494fb
Added recursive to configuration
2022-03-31 08:12:02 -06:00
Sam Germain
185daf5772
add recursive command line option
2022-03-31 08:12:02 -06:00
Sam Germain
6df15a7af9
Recursively search subdirectories in user_data/strategies for a strategy
2022-03-31 08:12:02 -06:00
Ron Klinkien
3d8cfa7ea5
Several fixes
...
Code optimizations
2022-03-31 08:30:20 +02:00
Matthias
94274e4823
Remove order.leverage column
2022-03-31 06:57:16 +02:00
Matthias
2d914c8e13
Simplify formatting in exchange class
2022-03-30 20:02:56 +02:00
Ron Klinkien
6c811b3de1
Made regex strings raw
...
Removed unwanted changes
2022-03-30 19:57:02 +02:00
Matthias
1f6ca29bbf
Update comment
2022-03-30 19:38:25 +02:00
Ron Klinkien
3ed7f3f2df
Display all trade info in buttons
...
First step to fix tests for changed forcesell code
2022-03-30 12:28:30 +02:00
Italo
8d4afc0eaf
Merge branch 'opt-ask-force-new-points' of https://github.com/italodamato/freqtrade-1 into opt-ask-force-new-points
2022-03-30 09:49:07 +01:00
Italo
bad179ebaa
fix merge mess
...
This reverts commit 9f171193ef
.
2022-03-30 09:48:10 +01:00
Italo
b560248165
Merge branch 'develop' into opt-ask-force-new-points
2022-03-30 09:42:38 +01:00
Italo
9f171193ef
Revert "Merge branch 'plot_hyperopt_stats' into opt-ask-force-new-points"
...
This reverts commit 4eb9cc6e8b
, reversing
changes made to a3b401a762
.
2022-03-30 09:39:07 +01:00
Matthias
b91b7b4464
Fix hyperopt assigning sell_signal to wrong field
2022-03-30 07:16:48 +02:00
Matthias
dafc2bf361
Merge branch 'develop' into feat/short
2022-03-30 07:09:41 +02:00
Matthias
e1ccbdb927
Merge pull request #6607 from freqtrade/short_pricing
...
Short pricing updates
2022-03-30 06:59:40 +02:00
Italo
4eb9cc6e8b
Merge branch 'plot_hyperopt_stats' into opt-ask-force-new-points
2022-03-30 00:30:33 +01:00
Italo
a3b401a762
highlight random points in hyperopt results table
2022-03-30 00:29:14 +01:00
Italo
229b0b037e
reduce search loops
2022-03-29 19:33:35 +01:00
Ron Klinkien
29d6725fb7
Allow forcesell to be a valid keyboard option
2022-03-29 19:41:49 +02:00
Ron Klinkien
46acc8352f
Add selection buttons for trades to forcesell cmd in telegram
2022-03-29 19:19:07 +02:00
Matthias
648e969a7a
Realign entry_pricing fields
2022-03-29 19:07:29 +02:00
Italo
a1816434b7
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-03-29 17:24:40 +01:00
Jason Risch
6b57be35e9
Update kucoin candle limit
2022-03-29 07:23:45 -07:00
Matthias
2d740230f7
price_last_balance renaming
2022-03-28 19:53:55 +02:00
Matthias
d7c6520268
Update remaining tests
2022-03-28 19:30:14 +02:00
Matthias
cee09493be
Update market order validation
2022-03-28 19:25:46 +02:00
Matthias
440967e483
Update some tests
2022-03-28 19:17:22 +02:00
adriance
d6082c33a7
fix type error
2022-03-28 21:29:50 +08:00
adriance
a0971a3e2c
fix using future data to fill when use timeout
2022-03-28 21:00:05 +08:00
Matthias
f70166270d
Update pricing to use entry/exit pricing
2022-03-28 07:07:46 +02:00
Matthias
9f863369bd
Migrate bid/ask strategy to entry/exit pricing
2022-03-27 18:58:46 +02:00
Matthias
bcf326a035
Initial steps to change bid/ask pricing to enter/exit
2022-03-27 18:03:49 +02:00
Matthias
d1f61c4cf9
Use proper fee for DCA entries
2022-03-27 17:00:45 +02:00
Matthias
30cff1bd2c
Update hdf5 to not raise naturalNaming warnings
2022-03-27 16:39:34 +02:00
Matthias
d244391860
no need to "abs" cost will be fixed in ccxt
2022-03-26 19:06:37 +01:00
Matthias
f509959bd4
Update
2022-03-26 16:26:31 +01:00
Matthias
f5578aba48
Update trading_fee naming
2022-03-26 15:16:04 +01:00
Matthias
9a8c24ddf3
Update gateio to patch fees
2022-03-26 15:04:17 +01:00
Matthias
33229c91cb
Add fetch_trading_fees endpoint
2022-03-26 13:53:36 +01:00
Matthias
0624817242
update unfilledtimeout settings to entry/exit
2022-03-26 11:55:11 +01:00
Matthias
6f1b14c013
Update buy_timeout and sell_timeout methods
2022-03-25 19:57:06 +01:00
Matthias
78fe29cc2d
Merge pull request #6588 from samgermain/contracts
...
Add amount_to_contracts and order_contracts_to_amount to exchange.stoploss
2022-03-25 19:18:01 +01:00
Matthias
46f4227329
Check if symbol is not None
2022-03-25 18:11:02 +01:00
Matthias
1c0946833d
Fix bug in exit-count detection
2022-03-25 16:06:03 +01:00
Matthias
cd11ba3489
Fix naming in interface.py
2022-03-25 15:36:30 +01:00
Matthias
1ab6773257
Update todo-lev to todo
2022-03-25 15:17:46 +01:00
Matthias
f8e87e45a5
Merge pull request #6576 from samgermain/funding-tests
...
funding_fee tests
2022-03-25 15:11:45 +01:00
Sam Germain
054b637001
Add amount_to_contracts and order_contracts_to_amount to stoploss
2022-03-25 06:56:05 -06:00
Matthias
743a7b7849
Merge branch 'develop' into feat/short
2022-03-25 10:04:18 +01:00
Matthias
a004bcf00f
Small refactor to backtesting
2022-03-25 08:03:32 +01:00
Matthias
5f71232d6f
Fix doc typo
2022-03-25 07:03:50 +01:00
Matthias
dcfa3e8648
Update SellType to ExitType
2022-03-25 06:55:37 +01:00
Matthias
c07883b1f9
Move ExitCheckTuple to enums
2022-03-25 06:50:18 +01:00
Matthias
8d111d357a
Update SellCheckTuple to new naming
2022-03-25 06:46:29 +01:00
Matthias
62e8c7b5b7
Rename parameter to avoid ambiguity
2022-03-25 06:39:57 +01:00
Matthias
d7f76ee452
Update confirm_trade_exit to use sell_reason terminology
2022-03-25 06:37:40 +01:00
Matthias
46ca773c25
Simplify some rpc code
2022-03-24 19:58:53 +01:00
Matthias
83f6401820
Add additional endpoints to "has_optional" dict as comments
2022-03-23 19:56:29 +01:00
Matthias
08a55d4f6d
Extract supported Exchanges to exchange.common
2022-03-23 19:51:44 +01:00
Matthias
e545ac1978
Revert condition to exploit lazy evaluation
2022-03-23 19:41:57 +01:00
Matthias
7d02e81857
Remove impossible TODO
2022-03-23 19:40:40 +01:00
Matthias
3fa8327711
Remove sample_short_strategy - sample_strategy is a better long/short strategy example
2022-03-23 19:30:02 +01:00
Matthias
de6519eb05
Update config builder to include okx for futures
2022-03-23 06:56:52 +01:00
Matthias
14f9d712dc
Simplify okx lev_prep
2022-03-23 06:49:17 +01:00
Matthias
5791d0a394
Align kraken._get_params with okex
2022-03-23 06:49:07 +01:00
Matthias
8a708a9892
Don't assing attributes we never use
2022-03-23 06:48:23 +01:00
Matthias
b1e3ead88b
Merge branch 'develop' into feat/short
2022-03-22 20:28:38 +01:00
Matthias
247635db79
Fix tests
2022-03-22 19:28:13 +01:00
Italo
b5a346a46d
Update hyperopt.py
2022-03-22 11:01:38 +00:00
Matthias
fa3c00c673
Remove some default arguments in history_utils
2022-03-22 07:20:21 +01:00
Matthias
5b4f343d36
Update buy output for backtesting
2022-03-22 06:45:36 +01:00
Matthias
08777abd85
Update backtesting output terminology to "exit"
2022-03-22 06:43:37 +01:00
Italo
2733aa33b6
Update hyperopt.py
2022-03-22 00:28:11 +00:00
Matthias
00287febc6
Merge pull request #6542 from TheJoeSchr/check_version_with_endswith
...
[develop] Check version with endswith
2022-03-21 22:17:39 +01:00
Matthias
487d3e891e
Revert version to develop for now
2022-03-21 19:41:34 +01:00
Matthias
2c89da6bf7
Update code to properly behave when rounding open_date for funding fees
2022-03-21 19:38:27 +01:00
Matthias
35a4053dbe
Merge pull request #6561 from adrianceding/fix_taker_stake_amount
...
Unified taker and maker's stake amount calculation logic
2022-03-21 19:07:00 +01:00
Italo
37a43019d6
fix
...
- clear cache before calling `ask`
- avoid errors in case asked_non_tried has less than n_points elements
2022-03-21 11:36:53 +00:00
Matthias
4fd0681265
Combine stake_amount recalculation
2022-03-20 20:00:30 +01:00
Italo
fca93d8dfe
Update hyperopt.py
2022-03-20 16:12:06 +00:00
Matthias
22206d0d76
Merge pull request #6559 from freqtrade/short_docs
...
Futures strategy migration docs
2022-03-20 17:12:04 +01:00
Italo
f8a674f24d
make robust in case all points have been tried
2022-03-20 16:08:38 +00:00
Italo
23f1a1904b
more compact
2022-03-20 16:06:41 +00:00
Italo
0fd269e4f0
typo
2022-03-20 16:03:07 +00:00
Italo
e16bb1b34e
Optimize only new points
...
Enforce points returned from `self.opt.ask` have not been already evaluated
2022-03-20 16:02:03 +00:00
Italo
112738d68d
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-03-20 15:42:53 +00:00
Italo
d796ce0935
Update hyperopt.py
...
1. Try to get points using `self.opt.ask` first
2. Discard the points that have already been evaluated
3. Retry using `self.opt.ask` up to 3 times
4. If still some points are missing in respect to `n_points`, random sample some points
5. Repeat until at least `n_points` points in the `asked_non_tried` list
6. Return a list with legth truncated at `n_points`
2022-03-20 15:41:14 +00:00
Matthias
e9c4e6a69d
Update derived strategy documentation
2022-03-20 13:21:09 +01:00
Matthias
49e087df5b
Allow Strategy subclassing in different files by enabling local imports
2022-03-20 13:07:06 +01:00
adriance
f01c9cd28c
fix taker stake amount with leverage
2022-03-20 20:06:32 +08:00
Matthias
fcec071a08
Use order date to fetch trades
...
using the trade open-date may fail in case of several trade-entries spread over a longer timeperiod.
closes #6551
2022-03-20 09:46:51 +01:00
Matthias
8556e6a053
Automatically assign buy-tag to force-buys
...
closes #6544
2022-03-20 09:33:47 +01:00
Matthias
aceaa3faec
remove last ticker_interval compatibility shim
2022-03-20 09:33:47 +01:00
Matthias
eb08b92180
Raise exception when ticker_interval is set.
2022-03-20 09:01:36 +01:00
Matthias
95f69b905a
Remove ticker_interval support
2022-03-20 09:00:53 +01:00
Matthias
36287a84cb
enhance migration documentation
2022-03-20 08:30:14 +01:00
Matthias
72fd937a74
INTERFACE_VERSION to 3
2022-03-20 08:30:14 +01:00
Matthias
052758bbac
Refactor price and stake out of _enter_trade
2022-03-19 15:45:43 +01:00
Matthias
b292f28b35
Call leverage before custom_stake_amount to properly determine min-stake-amount
2022-03-19 15:44:37 +01:00
Matthias
7d8ca63752
Merge pull request #6550 from freqtrade/short_tickerproblems
...
Short tickerproblems
2022-03-19 15:43:40 +01:00
Matthias
9f34f824af
Fix hyperopt when using futures markets
2022-03-19 13:20:14 +01:00
Matthias
97c1316bf1
Add new validation to validate excludes
2022-03-18 19:26:54 +01:00
Matthias
d32153c8d3
Validate pricing configuration
2022-03-18 17:07:12 +01:00
Matthias
2791e799ee
Rename tickers_has_quoteVolume
2022-03-18 16:49:37 +01:00
Matthias
1de5d2fb94
Remove unnecessary condition
2022-03-18 16:44:27 +01:00
Matthias
0c63c0bbb3
Update Gateio stoploss adjust
2022-03-18 10:41:38 +01:00
Matthias
f37038fb7d
Fix gateio stoploss_adjust header
2022-03-18 10:35:00 +01:00
Matthias
7868e50141
Merge branch 'develop' into feat/short
2022-03-18 08:18:17 +01:00
Matthias
208a139d2b
Incorporate fetch_bids_asks to allow binance spread filter to work
...
closes #6474
2022-03-18 07:08:16 +01:00
Matthias
fdce055061
Update deep_merge_dicts to disallow null-overrides
2022-03-18 06:58:22 +01:00
Matthias
b56aab0bdf
Update Volumepairlist type
2022-03-18 06:34:35 +01:00
Matthias
f55db8e262
Spreadfilter should fail to start if fetchTickers is not supported
2022-03-17 20:21:10 +01:00
Matthias
1299a703e2
Implement fix for okx futures not having quoteVolume
2022-03-17 20:15:51 +01:00
Matthias
a13b633c56
update VOlumepairlist to also work without tickers
2022-03-17 20:11:56 +01:00
Matthias
b6a6aa48c9
Create separate _ft_has_futures dict
2022-03-17 20:05:05 +01:00
Matthias
96bf82dbc6
Remove gateio broker program
2022-03-17 17:06:10 +01:00
Matthias
6024fa482e
Use brackets to break IF lines
2022-03-17 07:41:08 +01:00
Matthias
9b2ec5e653
Fix missleading variable naming
2022-03-17 06:58:08 +01:00
Matthias
d6309449cf
Fix short bug where close_rate is wrongly adjusted
2022-03-16 20:12:09 +01:00
Matthias
a89c1da19f
Fix 2 bugs in ROI calculation
2022-03-16 20:12:09 +01:00
froggleston
162e94455b
Add support for storing buy candle indicator rows in backtesting results
2022-03-16 12:16:24 +00:00
Matthias
7c9d2dd20a
Fix a few more short bugs in backtesting
2022-03-16 07:00:50 +01:00
Joe Schr
47317e0f06
version: use 'contains' to check for "develop" instead of literal comparison
2022-03-15 21:08:37 +01:00
adriance
ceba4d6e9b
Remove meaningless code
2022-03-15 14:03:06 +08:00
Matthias
cbbdf00ddd
Update comments in short backtest rates
2022-03-15 06:39:07 +01:00
Matthias
ebd61ebdef
Merge pull request #6513 from samgermain/gateio-stoploss
...
Gateio stoploss on exchange
2022-03-15 06:27:54 +01:00
adriance
fd211166f0
fixed side error
2022-03-15 12:23:59 +08:00
adriance
7059892304
Optimize the code. Fix stop_rate judgment error
2022-03-15 12:04:02 +08:00
Matthias
18030a30e7
Add exchange parameter to test-pairlist command
...
This will allow for quick tests of the same pairlist config against
multiple exchanges.
2022-03-14 19:21:58 +01:00
adriance
31182c4d80
format
2022-03-14 18:38:44 +08:00
adriance
26a74220fd
remove buy filled logic
2022-03-14 13:43:42 +08:00
adriance
bea38a2e7c
remove filled date logic
2022-03-14 13:42:52 +08:00
adriance
a750369796
adjust none
2022-03-14 12:09:13 +08:00
adriance
f9e93cf3f8
fix buy filled date none
2022-03-14 11:55:36 +08:00
adriance
3d9c55d519
restore set_isolated_liq
2022-03-14 11:29:26 +08:00
adriance
c9bbc4a824
Merge branch 'feat/short' into fs_fix
2022-03-14 11:26:04 +08:00
Matthias
c63b5fbbbf
Use last to get rates for /balance endpoints
2022-03-13 17:53:52 +01:00
Matthias
d5f0c6c78d
Exclude alternative candletypes from timeframe check
2022-03-13 16:16:48 +01:00
Matthias
cfa9458bcc
Merge branch 'develop' into feat/short
2022-03-13 15:38:12 +01:00
Matthias
3133be19e3
Update precisionfilter to use last instead of ask or bid.
2022-03-13 15:23:01 +01:00
Matthias
7146122f4a
Update docstring
2022-03-13 15:06:32 +01:00
Matthias
b8b56d95f3
Update missleading docstring
2022-03-13 14:57:32 +01:00
Matthias
9107819c95
Fix order migration "forgetting" average
2022-03-13 14:42:15 +01:00
adriance
0fce0f64d1
Merge branch 'feat/short' into fs_fix
2022-03-13 14:41:22 +08:00
adriance
52bf926066
fix duplicate long
2022-03-13 12:26:57 +08:00
adriance
56c4ea6619
Merge branch 'feat/short' into fs_fix
2022-03-13 12:13:33 +08:00
Sam Germain
843606c9cb
gateio stoploss adjust
2022-03-12 20:14:23 -06:00
Sam Germain
7e7e596372
Revert "moved binance.stoploss_adjust to exchange class"
...
This reverts commit 6bb93bdc25
.
2022-03-12 20:07:50 -06:00
Sam Germain
bf5afbcdbd
Merge branch 'develop' into gateio-stoploss
2022-03-12 19:50:46 -06:00
Matthias
f343036e66
Add stoploss-ordertypes mapping for gateio
2022-03-12 19:23:20 +01:00
Matthias
b044dd2c45
Update custom_sell to custom_exit
2022-03-12 11:37:56 +01:00
Matthias
fe62a71f4c
Simplify implementation of "check_override" by extracting it to function
2022-03-12 10:58:48 +01:00
Matthias
6946203a7c
Add tests and test-strategies for custom "implements" requirements
2022-03-12 10:05:16 +01:00
adriance
b5662d6547
Merge branch 'feat/short' into fs_fix
2022-03-12 16:50:27 +08:00
Matthias
9460fd8d75
Add Appropriate test for loading error
2022-03-12 09:49:20 +01:00
Matthias
28046c6a22
Change populate_buy_trend to populate_entry_trend
2022-03-12 09:38:28 +01:00
Matthias
efc313b28b
Merge pull request #6512 from freqtrade/short_order_types
...
Short order types renamal
2022-03-12 09:32:16 +01:00
Matthias
b9b5d749bb
Fix typo causing an implicit bug
2022-03-12 08:58:59 +01:00
Matthias
12c909d8a8
Add can_short to sample strategies
2022-03-12 07:00:57 +01:00
Matthias
0aa170ac95
Check can_short in live-mode as well.
2022-03-12 06:58:22 +01:00
Matthias
20fc9459f2
Add test for can_short strategy attribute
2022-03-11 19:37:45 +01:00
Matthias
1c9dbb512a
Initial attempt at is_short_strategy block
2022-03-11 19:29:40 +01:00
Italo
d2a5448305
Update hyperopt.py
2022-03-11 17:38:32 +00:00
Italo
1a573d57b9
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-03-11 17:36:00 +00:00
Matthias
11c76c3c89
Check if timeframe is available before calling exchange
...
closes #6517
2022-03-11 18:01:30 +01:00
adriance
51947ded6b
Merge branch 'feat/short' into fs_fix
2022-03-11 22:35:35 +08:00
Matthias
24f480b4ce
Double-check stoploss behaviour
...
closes #6508
2022-03-11 08:28:47 +01:00
Matthias
f6c263882d
Update outdated TODO-lev
2022-03-10 07:09:48 +01:00
Matthias
cb9da78a27
Merge branch 'develop' into feat/short
2022-03-10 06:54:20 +01:00
Matthias
98755c1874
Fix wrong estimated output from /balance endpoints
2022-03-10 06:47:17 +01:00
Sam Germain
6bb93bdc25
moved binance.stoploss_adjust to exchange class
2022-03-09 15:47:16 -06:00
Matthias
0d754111e9
Fix dry-run-wallets bug in case of futures
2022-03-09 19:02:22 +01:00
Matthias
6e10439f90
Map usdt fiat to correct coingecko fiat
2022-03-09 17:35:41 +01:00
adriance
499e9c3e98
fix duration
2022-03-10 00:34:59 +08:00
adriance
d579febfec
add filled time
2022-03-09 23:55:57 +08:00
adriance
1c86e69c34
use filled time calculate duration
2022-03-09 21:55:13 +08:00
adriance
82e0eca128
add short close rate calu
2022-03-09 20:00:06 +08:00
Sam Germain
d47274066e
Added stoploss_on_exchange flag to gateio
2022-03-09 01:05:21 -06:00
Sam Germain
e3ced55f5c
gateio.fetch_order and gateio.cancel_order
2022-03-09 00:45:50 -06:00
Sam Germain
61182f849b
exchange.fetch_order and exchange.cancel_order added params argument
2022-03-09 00:45:10 -06:00
Matthias
93a91bdeee
Update order_Types documentation
2022-03-09 07:44:21 +01:00
Matthias
50ab0dc6c5
Fix subtle bug
2022-03-09 07:04:59 +01:00
Matthias
66afc233db
Use Deprecated method for order_Time_in_force
2022-03-09 06:54:13 +01:00
Matthias
943d080f5e
Add test for order-types migration
2022-03-09 06:37:08 +01:00
Matthias
420cc5c595
deprecated-setting moval should delete old setting
2022-03-09 06:37:08 +01:00
Matthias
5d4386f037
Implement order_types validation
2022-03-09 06:37:08 +01:00
Matthias
e492bf3159
Update order_types to use entry/exit definition
2022-03-09 06:37:08 +01:00
Matthias
f2ed6165e9
convert price to precision price before verifying stoploss adjustment
...
closes #6504
2022-03-08 19:35:30 +01:00
dingzhoufeng
9facd5b52a
Merge branch 'feat/short' into fs_fix
2022-03-08 15:14:11 +08:00
dingzhoufeng
53ecdb931b
add leverage
2022-03-08 12:26:43 +08:00
Matthias
3ff261e22c
Update order time in force to use entry/exit wording
2022-03-07 19:55:15 +01:00
Matthias
d2a163e2cf
rename column to liquidation_price
2022-03-07 17:16:33 +01:00
Matthias
6360ef029c
Simplify and align liquidation price handling
2022-03-06 16:27:55 +01:00
Matthias
667054e1ad
Reorder methods in trade object
2022-03-06 15:07:07 +01:00
Matthias
46e17c9762
Fix stoploss_pct set wrongly for short trades
2022-03-06 15:07:04 +01:00
Matthias
cc38f0656d
Explicitly check for None to determine if initial stoploss was set
...
closes #6460
2022-03-06 15:06:57 +01:00
Matthias
76e5d5b232
Fix stake-amount handling for dry-run
2022-03-05 15:53:40 +01:00
Matthias
be4bc4955c
Explicitly check for None to determine if initial stoploss was set
...
closes #6460
2022-03-05 14:12:14 +01:00
Matthias
2b1a8f2fbb
Update binance stoploss to use correct stop order for futures
2022-03-05 13:57:54 +01:00
Matthias
8943d42509
Update telegram notifications to properly detect shorts
2022-03-04 19:42:33 +01:00
Matthias
9576fab621
Re-remove amount to precision from trade entry
2022-03-04 07:16:06 +01:00
Matthias
cee126a2cf
extract stop_limit-rate calculation
2022-03-04 07:10:14 +01:00
Matthias
62dcebee46
Update stoploss method to new functionality
2022-03-04 07:07:34 +01:00
Matthias
0622654bcf
Give tests a chance to pass
2022-03-04 06:50:42 +01:00
Sam Germain
488da9b875
Merge branch 'develop' into feat/short
2022-03-03 13:51:52 -06:00
Matthias
5ab72ac082
chore: realign enums imports
2022-03-03 07:07:33 +01:00
Matthias
9bcc79e118
Use parsed TradingMode from config
2022-03-03 07:06:13 +01:00
Matthias
f558d4b132
Merge pull request #6467 from samgermain/backtest-liq
...
Liquidation price in backtesting
2022-03-03 06:50:32 +01:00
Matthias
761ac6685a
Merge pull request #6489 from samgermain/gateio-market
...
gateio market orders futures
2022-03-03 06:34:06 +01:00
Sam Germain
dfb72d8a2f
gateio market orders futures
2022-03-02 21:37:53 -06:00
Italo
0804ef411b
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-03-03 01:44:41 +00:00
Matthias
e9456cdf15
Update trade response to use a single Order object
2022-03-02 19:58:08 +01:00
Matthias
17c9c3caf3
Enable orders via API
2022-03-02 19:58:08 +01:00
Matthias
eb30c40e0c
Fix hyperopt for futures
2022-03-02 19:50:16 +01:00
Matthias
c5cf73e67b
hdf5 datahandler should also create directory
2022-03-02 19:41:14 +01:00
Matthias
d4fbb785b5
Merge pull request #6458 from stash86/pos_adjust
...
Hide sell_reason if a trade is still open
2022-03-02 07:23:49 +01:00
Matthias
f74de1cca3
Improve Backtesting "wrong setup" message to include tradable_balance
2022-03-01 19:46:13 +01:00
Matthias
54165662ce
Don't require unfilledtimeout, it's optional.
2022-03-01 19:41:26 +01:00
Matthias
69cfb0b278
Revert change to telegram - this should be handled at the source
2022-03-01 19:32:25 +01:00
Matthias
c2b90afa61
Merge branch 'develop' into pr/stash86/6458
2022-03-01 19:31:36 +01:00
Matthias
a2c9879375
Reset sell-reason if order is cancelled
2022-03-01 19:30:16 +01:00
Matthias
736a930152
Update small things
2022-03-01 19:23:14 +01:00
Matthias
f26247e8e0
Revert wrong version string
2022-03-01 19:08:04 +01:00
Matthias
e8206bc751
Simplify backtesting enter_Trade
2022-02-28 20:10:23 +01:00
Matthias
1b07ad92cf
Merge branch 'feat/short' into pr/samgermain/6467
2022-02-28 20:07:19 +01:00
Matthias
c745f5828c
Update comments to clarify it's supposed to be a "offline" call
2022-02-28 20:05:14 +01:00
Matthias
79538368db
Simplify liquidation price calculation
2022-02-28 19:47:21 +01:00
Matthias
ab46476e63
Rename get_liquidation method
2022-02-28 19:42:26 +01:00
Matthias
1d27cbd01f
Simplify leverage_prep interface
2022-02-28 19:34:10 +01:00
Matthias
8e2d3445a7
Move leverage_prep calculations to exchange class
2022-02-28 19:29:42 +01:00
Matthias
bc92225441
Add todo about leverage_prep
2022-02-28 19:23:14 +01:00
Matthias
68bc2a6107
Add huobi to ccxt compat tests
2022-02-28 07:00:52 +01:00
Matthias
7948224892
leverage_prep should also becalled after filling a entry ordre
2022-02-27 21:14:28 +01:00
Sam Germain
b103045a05
backtesting._enter_trade update liquidation price on increased position
2022-02-27 12:09:45 -06:00
Sam Germain
6fdcc714bf
backtesting margin_mode key fix
2022-02-27 11:59:27 -06:00
Matthias
437b12fab7
Use trade.* props where possible
2022-02-27 17:16:38 +01:00
Matthias
33be14e7e2
Update stake_amount calculation with multiple entries when using leverage
2022-02-27 17:09:29 +01:00
Matthias
0ebf40f390
Don't call amount_to_precision twice on entry
2022-02-27 15:57:44 +01:00
Matthias
1b6548c8d8
Don't modify leverage through DCA
2022-02-27 15:44:23 +01:00
Matthias
536f54cfc6
is_short for forceentries
2022-02-27 15:44:23 +01:00
Matthias
f0f5a50975
Update tests to test DCA for shorts
2022-02-27 15:44:23 +01:00
Matthias
eed516a5c6
Update DCA logic to some extend
2022-02-27 15:44:23 +01:00
Matthias
bcfa73d492
Add "nr_of_successfull_entries"
2022-02-27 15:44:23 +01:00
Sam Germain
8af2ea754f
add margin mode to backtesting
2022-02-26 14:11:21 -06:00
Sam Germain
78194559f4
persistence.adjust_stop_loss accounts for leverage
2022-02-26 13:55:37 -06:00
Sam Germain
ac433eebfe
stoploss in freqtradebot leverage adjustment
2022-02-26 13:55:37 -06:00
Sam Germain
6dbd249570
backtesting._enter_trade get liquidation_price and backtesting._leverage_prep
2022-02-26 13:55:01 -06:00
Matthias
92ad353169
Fix OKX exception
2022-02-26 20:13:24 +01:00
Sam Germain
fbcd260bf6
flake8 import issues
2022-02-26 09:05:51 -06:00
Sam Germain
f5ea7827e0
removed gateio.get_max_leverage and gateio.get_maint_ratio_and_amt
2022-02-26 09:05:51 -06:00
Sam Germain
6cd01c45d5
exchange.get_leverage_tiers and exchange.get_market_leverage_tiers
2022-02-26 09:05:51 -06:00
Sam Germain
c7e87e86e2
added exception handlers to fetch_market_leverage_tiers
2022-02-26 09:05:51 -06:00
Sam Germain
b61cfada6d
moved okex.load_leverage_tiers to new method
2022-02-26 09:05:51 -06:00
Matthias
79ddc9abaa
Merge pull request #6423 from samgermain/wallet-amt
...
Futures wallet amount
2022-02-26 15:55:28 +01:00
Matthias
41316abb55
Sort supported exchanges alphabetically
2022-02-26 14:57:17 +01:00
Matthias
14d49e85af
Update Huobi stoploss to shared method
2022-02-26 14:57:13 +01:00
Matthias
a1f2f6ddeb
Updates required for huobi datadownload
2022-02-26 10:33:37 +01:00
Matthias
f3421dfa9f
Use unified stopPrice argument
2022-02-26 10:33:37 +01:00
Matthias
292c350885
Add stoploss support for huobi
2022-02-26 10:33:36 +01:00
Matthias
9504b3eb05
Improve huobi config generation
2022-02-26 10:33:11 +01:00
Matthias
ee7bc55727
Add huobi to Exchange setup
2022-02-26 10:33:11 +01:00
Matthias
2ec1a7b370
Add huobi exchange class
2022-02-26 10:33:11 +01:00
Matthias
3942b30ebf
Add kraken TODO
2022-02-26 08:34:23 +01:00
Matthias
6caa5f7131
Update dry-run behaviour
2022-02-26 08:25:42 +01:00
Matthias
0749199097
Add stoploss tests for kucoin
2022-02-26 08:25:42 +01:00
Matthias
768b526c38
Add kucoin stoploss on exchange
2022-02-26 08:25:42 +01:00
Matthias
7ba92086c9
Make stoploss method more flexible
2022-02-26 08:25:42 +01:00
Matthias
ea197b79ca
Add some more logic to stoploss
2022-02-26 08:25:42 +01:00
Matthias
1d57ce19eb
Move stoploss -limit implemenentation to exchange class, as this seems to be used by multiple exchanges.
2022-02-26 08:25:42 +01:00
Matthias
7883160ce0
Update to fstrings
2022-02-26 08:23:13 +01:00
Matthias
018c620057
Fix 0 Division error on exchanges without average
...
closes #6461
2022-02-26 08:19:45 +01:00
Italo
8d9d003671
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-02-25 17:58:57 +00:00
Matthias
551fe7d820
Merge pull request #6440 from clover-es/feat/short
...
Add leverage strategy to new-strategy command
2022-02-25 15:18:46 +01:00
Matthias
5826698c04
Don't emergencysell partial sold exit
...
closes #6457
2022-02-25 15:07:35 +01:00
Matthias
3c88b4cf0c
Merge pull request #6416 from froggleston/patch-2
2022-02-25 11:58:43 +01:00
Matthias
3b1b66bee8
Prevent backtest starting when not in webserver mode
...
#6455
2022-02-25 07:40:49 +01:00
Stefano Ariestasia
df726a54f8
cater for case where sell limit order expired
2022-02-25 00:20:53 +00:00
Matthias
9901decf0d
Rename get_positions to fetch_positions to align with ccxt naming
2022-02-24 20:05:56 +01:00
Matthias
62c42a73e2
Add initial rpc test
2022-02-24 20:05:56 +01:00
Matthias
d07a24a54f
Update tests for new wallet RPC structure
2022-02-24 20:05:56 +01:00
Matthias
13e74c5693
Add dry-run position wallet calculation
2022-02-24 20:05:56 +01:00
Matthias
6562511137
add trade_direction to trade object
2022-02-24 20:05:56 +01:00
Matthias
a2b17882e6
Don't use separate position field in /currency endpoint
2022-02-24 20:05:56 +01:00
Matthias
4b27bd9838
don't fetch free balance if we don't use it
2022-02-24 20:05:56 +01:00
Matthias
e54e6a7295
Update wallets to also keep Positions
2022-02-24 20:05:56 +01:00
Matthias
ed65692257
add get_position exchange wrapper
2022-02-24 20:05:56 +01:00
Sam Germain
9f4f65e457
exchange.get_balances minor fix
2022-02-24 20:05:56 +01:00
Sam Germain
f336e7fc5b
exchange.get_balances futures shorts taken out
2022-02-24 20:05:56 +01:00
Sam Germain
f67e0bd6dd
wallet amount for futures
2022-02-24 20:05:56 +01:00
Matthias
fd936e26ae
Merge branch 'develop' into feat/short
2022-02-24 19:56:42 +01:00
Matthias
42df65d4ec
Make sure backtesting is cleaned up in tests
2022-02-24 14:22:49 +00:00
Matthias
d973ba1f5d
Add leverage callback to advanced template
2022-02-23 20:19:52 +01:00
Matthias
c51603b110
Slightly improve formatting, Point to documentation
2022-02-23 20:16:52 +01:00
Matthias
53452c8d64
Merge pull request #6437 from freqtrade/update_trade
...
Migrate trade updating to use order model
2022-02-23 19:56:02 +01:00
Matthias
8952829adc
Merge branch 'develop' into feat/short
2022-02-23 06:28:15 +01:00
Matthias
5a4f30d1bd
Don't specially handle empty results.
2022-02-22 20:07:41 +01:00
Matthias
1f9ed0beff
Add test for wal mode
2022-02-22 19:39:55 +01:00
Guillermo Rodríguez
8e3839c74c
Merge branch 'freqtrade:feat/short' into feat/short
2022-02-22 19:34:59 +01:00
Guillermo Rodríguez
95b63ea496
Add short signal to base strategy template
2022-02-22 19:33:52 +01:00
Matthias
02ce0dc02e
Set journal mode to wal for sqlite databases
...
closes #6353
2022-02-22 19:31:58 +01:00
Matthias
70f4305dfa
don't allow short trades in spot mode
2022-02-21 19:19:12 +01:00
Matthias
fddacfedaa
Remove returntype
2022-02-20 16:47:02 +01:00
Matthias
a24586cd41
Update migrations for new column
2022-02-20 16:32:04 +01:00
Matthias
6fb5b22a8e
Some cleanup
2022-02-20 16:31:44 +01:00
Matthias
dc7bcf5dda
Update failing test
2022-02-20 14:29:26 +01:00
Matthias
db540dc990
Orders should also store fee if in receiving currency
2022-02-20 14:24:27 +01:00
Matthias
c3c815e794
Merge pull request #6425 from samgermain/stake-amount
...
leverage in trade.stake_amount calculation
2022-02-19 20:11:23 +01:00
Matthias
e9f451406c
Use correct order id
2022-02-19 16:43:38 +01:00
Matthias
874c161f78
Update more tests to use order_obj to update trade
2022-02-19 16:43:38 +01:00
Matthias
508e677d70
Fix some tests to call update_trade with order object
2022-02-19 16:43:38 +01:00
Matthias
1b1216fc87
Rename update_trade method
2022-02-19 16:43:38 +01:00
Matthias
c13eed2178
use Order object to update trade
2022-02-19 16:43:38 +01:00
Matthias
d610b6305d
Improve /balance output by removing trailing zeros
2022-02-19 16:40:30 +01:00
Matthias
a7a25bb285
Update "round coin value" to trim trailing zeros
2022-02-19 16:40:26 +01:00
Matthias
a32aed2225
Update FTX stoploss code to avoid exception for stoploss-market orders
...
closes #6430 , closes #6392
2022-02-19 10:07:32 +01:00
Matthias
3785f04be7
Handle empty min stake amount as observed on FTX
...
(closes #6429 )
2022-02-19 06:39:43 +01:00
Matthias
f0cbc47bb1
Merge pull request #6373 from samgermain/leverage-tiers
...
Leverage tiers
2022-02-17 20:23:33 +01:00
Matthias
e981d644e1
Add toto-lev for order-leverage
2022-02-16 19:24:59 +01:00
Sam Germain
a37287d9ba
test__get_params
2022-02-16 10:06:27 -06:00
Sam Germain
124532a4b7
maintenanceMarginRatio -> maintenanceMarginRate
2022-02-16 09:04:43 -06:00
Matthias
877a0750ce
Merge pull request #6417 from freqtrade/fix/6261
...
Attempt fix for #6261
2022-02-16 15:48:57 +01:00
Sam Germain
a65dcc709e
leverage in trade.stake_amount calculation
2022-02-16 08:09:43 -06:00
Sam Germain
88a8ff2f4e
Merge branch 'feat/short' into leverage-tiers
2022-02-16 08:05:51 -06:00
Matthias
de26844578
Merge pull request #6397 from samgermain/todos
...
edited todo-lev comments
2022-02-16 13:36:17 +01:00
Sam Germain
6697333118
Merge branch 'todos' of https://github.com/samgermain/freqtrade into todos
2022-02-16 05:47:49 -06:00
Sam Germain
a9eb8ce1bf
added todos back in
2022-02-16 05:47:41 -06:00
Sam Germain
c70050e750
fixed test_load_leverage_tiers
2022-02-16 05:26:52 -06:00
Sam Germain
3bfd9186f7
gateio.get_max_leverage small fix
2022-02-16 04:05:27 -06:00
Sam Germain
dbd2df6406
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-16 03:50:24 -06:00
Sam Germain
c9da6f480f
gateio get_max_leverage and get_maintenance_ratio_and_amt temporary solution
2022-02-16 03:36:08 -06:00
Matthias
ff5b3c323a
Fix okx trading mode
2022-02-16 09:13:49 +01:00
Matthias
78a93b6052
noqa
2022-02-15 20:15:03 +01:00
Italo
88459acbeb
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-02-15 19:10:49 +00:00
Matthias
3787b747ae
Simplify api schema by not using union types
2022-02-15 20:07:02 +01:00
Matthias
7f7c395b10
Add exception handling for lev_prep in okx
2022-02-15 19:30:02 +01:00
Matthias
64b98989d2
Update open candle ROI condition
2022-02-15 19:25:32 +01:00
Matthias
33cc5e0ac7
Use kwargs for set_leverage
2022-02-15 18:56:58 +01:00
Matthias
c37f03a638
Update static-markets to include futures pair
2022-02-15 08:04:16 +01:00
Matthias
1bae18c60a
Update decorator locations
2022-02-15 07:11:07 +01:00
Matthias
324fdcedb1
Attempt test fix
2022-02-15 06:59:10 +01:00
Sam Germain
5f42ebfa4c
Update candletype.py
2022-02-14 23:53:10 -06:00
Sam Germain
ae249a0f97
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-14 17:36:47 -06:00
Sam Germain
3753df26fc
fixed tests
2022-02-14 17:34:59 -06:00
Sam Germain
f4a57b71e7
Filled in test_load_leverage_tiers_okx
2022-02-14 16:53:29 -06:00
Matthias
30f6dbfc40
Attempt fix for #6261
2022-02-14 20:02:38 +01:00
Matthias
513669f834
Be verbose on okex startup to point out delay.
2022-02-14 19:44:05 +01:00
Sam Germain
a2b84561fe
removed a todo
2022-02-14 10:00:03 -06:00
Sam Germain
19783e0d39
edited todos
2022-02-14 09:02:55 -06:00
Matthias
09cc43b533
Test short trade exiting
2022-02-13 16:33:06 +01:00
Matthias
2523c12c71
Small enhancements and notes
2022-02-13 14:33:37 +01:00
Matthias
ad801e05f7
Filter loadable leverage tiers to stake-currency pairs
2022-02-13 13:05:57 +01:00
Matthias
7f0cedc769
Use "is_future" to check for futures markets
2022-02-13 12:54:49 +01:00
Matthias
eaf13f96f7
Use exchange_has to check for ccxt properties
2022-02-13 12:48:28 +01:00
Sam Germain
8fe3f0c933
fix breaking tests
2022-02-12 23:08:42 -06:00
Sam Germain
7a0f7da128
okex loads all leverage tiers at beginning, removed get tiers for pair
2022-02-12 23:02:16 -06:00
Sam Germain
8657e99c26
trimmed down get_maintenance_ratio_and_amt, now requires fetchLeverageTiers
2022-02-12 23:02:16 -06:00
Sam Germain
03b3756e4b
strengthened and fixed leverage_tier tests
2022-02-12 23:02:16 -06:00
Sam Germain
4a1ed01708
get_maintenance_ratio_and_amt tests
2022-02-12 23:02:16 -06:00
Sam Germain
60a45ff394
exchange.get_max_leverage de-complex
2022-02-12 23:02:16 -06:00
Sam Germain
41ab20d949
get_max_leverage checks if the number of tiers is < 1
2022-02-12 23:02:15 -06:00
Sam Germain
fa2c9fc51f
replaced mmr_key with unified maintenanceMarginRate
2022-02-12 23:02:15 -06:00
Sam Germain
e987e0e2a9
exchange minor fixes
2022-02-12 23:02:15 -06:00
Sam Germain
f3cb7e90e0
moved get_leverage_tiers_for_pair to be with other leverage_tier methods
2022-02-12 23:02:15 -06:00
Sam Germain
5f07546b86
moved leverage_tier caching to get_leverage_tiers_for_pair
2022-02-12 23:02:15 -06:00
Sam Germain
eb72e5cc42
Added some exchange leverage tier tests
2022-02-12 23:02:15 -06:00
Sam Germain
18b4d0be95
fixed error with exchange.fill_leverage_tiers
2022-02-12 23:02:14 -06:00
Sam Germain
41d8330fbc
freqtrade.exchange edited load_leverage_tiers
2022-02-12 23:02:14 -06:00
Sam Germain
0b717fbace
okex.load_leverage_tiers
2022-02-12 23:02:14 -06:00
Sam Germain
42e36f44f8
replaced "leverage" with "tiers"
2022-02-12 23:02:14 -06:00
Sam Germain
6b9915bc73
moved fill_leverage_brackets and get_max_leverage to base exchange class, wrote parse_leverage_tier and load_leverage_brackets
2022-02-12 23:02:14 -06:00
Sam Germain
a99cf2eeed
redid get_max_leverage
2022-02-12 23:02:07 -06:00
Sam Germain
720a86778e
okex.get_max_pair_stake_amount
2022-02-12 23:01:39 -06:00
Sam Germain
a5aba4813d
moved get_maintenance_ratio_and_amt to base.exchange. Wrote get_leverage_tiers. Added mmr_key to exchange._ft_has
2022-02-12 23:01:30 -06:00
Sam Germain
fc2d3649a1
edited todos
2022-02-12 16:23:14 -06:00
Matthias
c769e9757d
Improve "order refind" to also work for stoploss orders
2022-02-12 20:13:12 +01:00
Matthias
119d4d5204
select_order should use ft_order_side, not the exchange specific one
2022-02-12 17:06:03 +01:00
Matthias
ee5f05208e
Merge pull request #6394 from samgermain/todos
...
todo removal
2022-02-12 15:44:42 +01:00
Matthias
fad243e28d
Keep short edge support as regular TODO
2022-02-12 15:43:52 +01:00
Matthias
08803524bd
align variable naming to use current_time
2022-02-12 15:21:46 +01:00
Sam Germain
ca993c83ea
todo removal
2022-02-11 23:37:31 -06:00
Sam Germain
6ae85f9be1
fixed liq-buffer tests
2022-02-11 19:38:59 +01:00
Sam Germain
fb3a6e2ce8
added liquidation_buffer to constants.py
2022-02-11 19:38:59 +01:00
Sam Germain
3c3675ea1a
moved liquidation_buffer to exchange class, add check for valid liquidation_buffer values
2022-02-11 19:38:59 +01:00
Sam Germain
e5d68f12d2
Added liquidation_buffer to freqtradebot
2022-02-11 19:38:58 +01:00
Matthias
d0adc4ee62
Merge pull request #6391 from lukasgor/lg/feat/add-buy-tag-to-forcebuy
...
feature: add buy tag to forcebuy
2022-02-11 19:37:46 +01:00
Matthias
c9cfc246f1
Sort /forcebuy pairs alphabetically, add cancel button
...
closes #6389
2022-02-11 19:37:35 +01:00
Matthias
0c6d92a7a6
Merge branch 'develop' into feat/short
2022-02-11 17:02:04 +01:00
lukasgor
6511b3bec2
fix: rename buy_tag to entry_tag
2022-02-11 15:31:15 +01:00
lukasgor
d563bfc3d0
feature: add buy tag to forcebuy
2022-02-11 13:38:33 +01:00
Matthias
6a59103869
update wallets in backtesting to ensure a fresh wallet is used
...
closes #6388
2022-02-10 19:40:36 +01:00
Sam Germain
553da850ce
binance futures stoploss
2022-02-10 09:43:32 -06:00
Matthias
be84a028c1
Avoid mixed types in the api for /stats
2022-02-10 07:03:19 +01:00
Matthias
af984bdc0d
Update comment regarting NaT replacement
2022-02-09 09:32:53 +01:00
Matthias
2e41d80a2c
Merge pull request #6340 from TheJoeSchr/frequi-datetime
...
freqUI: fix can't import backtest with missing datetime data
2022-02-09 07:21:30 +01:00
Matthias
9f47853661
Merge pull request #6235 from freqtrade/backtest_order_timeout
...
Backtest order timeout
2022-02-09 07:12:35 +01:00
Matthias
45c03f1440
Docstrings are evaluated, while comments are not
2022-02-09 07:02:44 +01:00
Matthias
4e2f06fe9c
Simplify band-aid code
2022-02-09 06:48:26 +01:00
Matthias
6191288ff9
Add test for NaT problematic
2022-02-09 06:36:17 +01:00
Matthias
1d10d2c87c
Okex -> okx
2022-02-08 19:45:39 +01:00
Matthias
172e018d2d
Add probit to list of non-working exchanges
...
closes #6379
2022-02-08 19:21:27 +01:00
Matthias
dcf8ad36f9
Backtesting should not allow unrealistic (automatic-filling) orders.
2022-02-08 19:12:01 +01:00
Joe Schr
926b017981
Fix freqUI charts not displaying when dtype(datetime) column has NaT values
...
fix dataframe_to_dict() issues by replacing NaT empty string and
prepare for proper `.replace({NaT})` fix
2022-02-08 17:09:37 +01:00
Joe Schr
118ae8a3d0
Fix api_schemas/json_encoders by manually converting NaT values to empty Strings
...
makes import of datetime columns more robust by first checking
if value is null because strftime can't handle NaT values
use `isnull()` because it handles all NaN/None/NaT cases
2022-02-08 17:09:29 +01:00
Matthias
b192c82731
Only call "custom_exit_price" for limit orders
2022-02-08 07:10:54 +01:00
Matthias
535bbd681f
Merge pull request #6362 from ediziks/add-profit-drawdown-hypeloss
...
Add ProfitDrawdownHyperoptLoss method
2022-02-07 19:37:35 +01:00
Matthias
036c2888b4
Track timedout entry/exit orders
2022-02-07 18:49:30 +01:00
zx
4bce64b427
commented method deletition
2022-02-07 14:12:07 +01:00
Sam Germain
33b04b1992
deleted outdated todos
2022-02-07 02:47:18 -06:00
zx
7811a36ae9
max_drawdown_abs calc fix & .DS_Store deletition
2022-02-07 07:44:13 +01:00
zx
8cdb6e0774
DRAWDOWN_MULT back to a higher value as built-in for safer HOs first
2022-02-07 06:31:16 +01:00
zx
2893d0b50d
proper var name
2022-02-07 06:22:27 +01:00
Stefano Ariestasia
099a03f190
flake8
2022-02-07 01:52:59 +00:00
Stefano Ariestasia
6d91a5ecbd
Change "buy" and "sell" to "entry" and "exit"
2022-02-07 01:40:05 +00:00
zx
7d3b80fbde
isort fix and leftover cleaning
2022-02-06 21:09:40 +01:00
Matthias
fe33b86308
Merge pull request #6360 from stash86/pos_adjust
...
Hide some lines for /status when a trade is closed
2022-02-06 17:08:37 +01:00
Italo
d03378b1df
Update hyperopt.py
2022-02-06 15:32:59 +00:00
zx
6b5f63d4d6
change profit_ratio by profit_abs
2022-02-06 16:28:01 +01:00
Matthias
5eb5029856
Performancefilter - improve sorting
...
Ordering of Pairs without history should remain identical, so pairs with
positive performance move to the front, and negative pairs move to the back.
closes #4893
2022-02-06 16:19:11 +01:00
zx
0b01fcf047
Add ProfitDrawdownHyperoptLoss method
2022-02-06 15:40:54 +01:00
Matthias
303b12efd8
Merge pull request #6273 from freqtrade/pg_migrations
...
Update database migrations for PG and mariadb
2022-02-06 14:39:02 +01:00
Matthias
da73e754b4
Explicit map coingecko symbol to ID for bnb and sol
...
closes #6361
2022-02-06 14:20:09 +01:00
Matthias
644442e2f9
Track timedout orders
2022-02-06 13:37:31 +01:00
Matthias
17d748dd4c
Improve handling of left_open_trades
2022-02-06 13:19:00 +01:00
Italo
adf8f6b2d5
Update hyperopt.py
2022-02-06 10:33:49 +00:00
Stefano Ariestasia
2a3ab1ef61
1 more line to be hidden
2022-02-06 07:08:27 +00:00
Stefano Ariestasia
4cf514e293
fix flake8
2022-02-06 03:16:56 +00:00
Stefano Ariestasia
131b2d68d8
reduce complexity (flake8)
2022-02-06 03:04:23 +00:00
Stefano Ariestasia
0477070faa
hide some lines if trade is closed
2022-02-06 02:49:02 +00:00
Stefano Ariestasia
c4a54cc9cd
refinement of status
2022-02-06 02:31:14 +00:00
Stefano Ariestasia
cfaf13c90f
update
2022-02-06 02:21:16 +00:00
Italo
6c1729e20b
ignore warnings
2022-02-06 01:07:30 +00:00
Sam Germain
e0d42ad9a7
Update backtesting.py
2022-02-05 18:29:48 -06:00
Italo
6a4cae1f8c
Update hyperopt.py
2022-02-06 00:17:48 +00:00
Italo
992eac9efa
Update hyperopt.py
2022-02-05 17:36:19 +00:00
Matthias
808cefe526
Update order_selection logic
2022-02-05 16:28:47 +01:00
Matthias
9bf86bbe27
Extract backtesting row validation to separate function
2022-02-05 16:28:47 +01:00
Matthias
58fad72778
Update wallets when necessary
...
closes #6321
2022-02-05 16:28:47 +01:00
Matthias
4ea79a32e4
Use Order object for ft_timeout check
2022-02-05 16:28:47 +01:00
Matthias
1e603985c5
Extract backtesting order cancelling
2022-02-05 16:28:47 +01:00
Matthias
6637dacd7f
Extract protections in backtesting
2022-02-05 16:28:47 +01:00
Matthias
7ac44380f7
Extract backtest order closing to models class
2022-02-05 16:28:46 +01:00
Matthias
090554f197
Try fill backtest order imediately for adjusted order
2022-02-05 16:28:21 +01:00
Matthias
f4149ee462
Force ROI to be within candle
2022-02-05 16:28:21 +01:00
Matthias
44e616c264
Add unfilledtimeout to required props for backtesting
2022-02-05 16:28:21 +01:00
Matthias
49cecf1cb2
Small cosmetic fix
2022-02-05 16:28:21 +01:00
Rokas Kupstys
9140679bf4
Backtest order timeout continued.
2022-02-05 16:28:21 +01:00
Rokas Kupstys
15698dd1ca
Fix errors so it runs, implement timeout handling.
2022-02-05 16:28:21 +01:00
Matthias
f7a1cabe23
Add first version to fill orders "later" in backtesting
2022-02-05 16:28:21 +01:00
Matthias
c12e5a3b6c
Initial idea backtesting order timeout
2022-02-05 16:28:21 +01:00
Matthias
6ed237a72a
Merge pull request #6272 from stash86/fix-docs
...
Add more info on Telegram's status message
2022-02-05 16:22:45 +01:00
Sam Germain
8b57827676
exchange.get_max_pair_stake_amount hard set leverage to 0
2022-02-04 14:26:15 -06:00
Joe Schr
761f7fdefb
fix: linter
2022-02-04 13:14:55 +01:00
Joe Schr
e84a58de28
fix: don't use different configuration keys, just add as 2nd argument
2022-02-04 12:47:13 +01:00
Joe Schr
a3e045f69d
Plotting: add alias --backtest-filename
for --export-filename
...
makes it easier to discover how to use this argument
2022-02-04 12:47:13 +01:00
Sam Germain
dc6cb445fd
Merge branch 'feat/short' into max-amount
2022-02-04 04:42:38 -06:00
Sam Germain
1824ee6b73
removed TODO
2022-02-04 04:41:41 -06:00
Sam Germain
e7d71d01c0
removed plotting todo
2022-02-03 20:39:47 -06:00
Sam Germain
3ee2b7978c
wallets.validate_stake_amount added param max_stake_available
2022-02-03 20:33:16 -06:00
Sam Germain
30c476e3c1
freqtradebot.get_valid_enter_price_and_stake gets min of stake_amount and max_stake_amount before calling wallets.validate_stake_amount
2022-02-03 20:33:16 -06:00
Sam Germain
a50f4d2c57
Exchange.createOrder added * as second param
2022-02-03 20:33:16 -06:00
Sam Germain
16c2d54482
updated margin_modes
2022-02-03 20:33:16 -06:00
Sam Germain
7465037906
freqtradebot.execute_entry test for too high stake amount
2022-02-03 20:33:16 -06:00
Sam Germain
8c680d75b9
moved max_stake_amount check for None to exchange.get_max_pair_stake_amount
2022-02-03 20:33:16 -06:00
Sam Germain
6b6b35ac1c
check for max stake limit in freqtradebot and backtesting
2022-02-03 20:33:04 -06:00
Sam Germain
55d91f018f
exchange._get_stake_amount_limit (merged min_pair_stake_amount and get_max_tradeable amount)
2022-02-03 20:33:04 -06:00
Sam Germain
ff5fffefb4
exchange.get_max_amount_tradable looks at cost also
2022-02-03 20:33:03 -06:00
Sam Germain
6e8420914e
removed unnecessary CCXT checks in exchange.get_min_pair_stake_amount
2022-02-03 20:33:03 -06:00
Sam Germain
64ad810445
Revert "moved get_max_leverage to get_min_pair_stake_amount"
...
This reverts commit 90e48d5b98bcfb1452aa818a3274745eac395712.
2022-02-03 20:33:03 -06:00
Sam Germain
73319a74d3
moved get_max_leverage to get_min_pair_stake_amount
2022-02-03 20:33:03 -06:00
Sam Germain
f3b42b0ef3
wrote exchange.get_max_amount_tradable
2022-02-03 20:33:03 -06:00
Sam Germain
de557f1386
models.update removed TODO-lev
2022-02-03 17:48:34 -06:00
Sam Germain
99b8a8ca79
Revert "plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function"
...
This reverts commit 0abba7f9b7299ba3c45df6a2ba6e35ad6a19c5a0.
2022-02-03 17:48:34 -06:00
Sam Germain
84dea0339b
Added todo to freqtradebot._safe_exit_amount
2022-02-03 17:48:34 -06:00
Sam Germain
edc0e9c75f
backtesting._get_ohlcv_as_lists changed candle_type to candle_type_def
2022-02-03 17:48:34 -06:00
Sam Germain
1f74cfe841
plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function
2022-02-03 17:48:34 -06:00
Sam Germain
a31cf236e4
freqtradebot._safe_exit_amount, no _safe_exit_amount is needed for futures
2022-02-03 17:48:34 -06:00
Sam Germain
d5376c2c89
wrote freqtradebot.test_leverage_prep
2022-02-03 17:48:33 -06:00
Sam Germain
977f87659c
edited backtesting._get_sell_trade_entry TODO: removed "Other fees"
2022-02-03 17:48:33 -06:00
Sam Germain
73d10b5c02
backtesting._get_ohlcv_as_lists removed # TODO-lev: Candle-type should be conditional, either "spot" or futures
2022-02-03 17:48:33 -06:00
Sam Germain
64bfa118e0
freqtradebot.handle_cancel_enter todo - Check edge cases, we dont want to make leverage > 1.0 if we dont have to
2022-02-03 17:48:33 -06:00
Sam Germain
bc6614df2d
fixed failing tests in tests/commands/test_commands.py by adding NONE='' option to MarginMode
2022-02-03 17:48:33 -06:00
Sam Germain
f58b92bb86
exchange.create_order removed default for leverage
2022-02-03 17:48:08 -06:00
Matthias
f8faf748df
Simplify prepare_buy_details
2022-02-03 19:47:03 +01:00
Matthias
1e6362debf
Add test for new /status telegram message
2022-02-03 19:41:45 +01:00
Matthias
29879bb415
Update wording to entry/exit
2022-02-03 19:11:35 +01:00
Matthias
a733a74dd9
Merge pull request #6294 from xataxxx/health
...
/health api and telegram commands to return last processing time
2022-02-02 19:53:45 +01:00
Matthias
a4e1aaa9bd
Merge pull request #6307 from freqtrade/bt_shift
...
Remove shift in analyzed dataframe columns
2022-02-02 19:52:10 +01:00
Matthias
2d45163f8f
Bump version to 2022.1
2022-02-02 19:46:48 +01:00
Matthias
e95fb7ef3e
Merge branch 'stable' into new_release
2022-02-02 19:46:33 +01:00
Sam Germain
179947fa72
New config ( #6333 )
...
* updated new-config to add trading_mode and margin_mode
* added trading_mode and margin_mode to config examples
* added okex config example
* new file: config_examples/config_binance_futures.example.json
* removed trading_mode and margin_mode from base_config and binance and okex example
* deleted okex and futures config files
* updated full config file
* updated new-config command to add trading_mode and margin_mode to config
* new file: config_examples/config_okex_futures.example.json
* removed config_okex_futures.example.json
* added trading_mode to test_start_new_config
* new-config asks exchange before asking futures
* Simplify trading_mode selection
* margin_mode is empty string for spot new configs
* build_config_commands sorted exchanges
* isort
Co-authored-by: Matthias <xmatthias@outlook.com>
2022-02-02 14:46:44 +01:00
Matthias
0058abcc2d
Fix crash when no min-stake-amount could be determined
2022-02-02 12:20:05 +01:00
Sam Germain
a741356d65
okex._lev_prep, removing rounding from default set_leverage
2022-02-02 00:28:57 -06:00
Sam Germain
8e51360f75
exchange._set_leverage rounds leverage
2022-02-02 00:09:58 -06:00
Sam Germain
8a64f6a27f
exchange.set_margin_mode param swap
2022-02-02 00:09:53 -06:00
Sam Germain
386be2d889
set reduceOnly for futures exit orders
2022-02-02 00:08:50 -06:00
Sam Germain
b3477c4802
_api.fetch_funding_history argument pair->symbol
2022-02-02 00:08:50 -06:00
Matthias
ac04d5852a
change to margin_mode also in documentation
2022-02-02 06:41:42 +01:00
Sam Germain
30519aa3be
Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
2022-02-01 13:05:40 -06:00
Matthias
64d0c75bbb
Fix deprecation warnings
2022-02-01 19:11:51 +01:00
Matthias
45e533fc3e
Add leverage/short properties to api responses
2022-02-01 07:08:43 +01:00
Matthias
7dd50f78cf
Small finetuning improving a comment
2022-02-01 06:37:13 +01:00
Italo
328b969801
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into freqtrade-develop
2022-02-01 01:06:57 +00:00
Sam Germain
fc15e14707
Merge branch 'feat/short' into isolated-liq
2022-01-31 14:22:01 -06:00
Sam Germain
ed320bb2ac
exchange.get_liquidation_price check length of positions
2022-01-31 14:01:06 -06:00
Sam Germain
9de63412c1
exchange.get_liquidation_price arguments are not optional
2022-01-31 14:00:52 -06:00
Sam Germain
430051275a
freqtradebot.leverage_prep moved wallet_balance to a variable
2022-01-31 13:21:27 -06:00
Sam Germain
8190b0d83b
binance.get_max_leverage adjustment
2022-01-31 12:49:18 -06:00
Sam Germain
a368f8b322
exchange.get_max_leverage changed variable names, made more effecient
2022-01-31 12:21:12 -06:00
Sam Germain
08e4a4a6dd
binance.get_max_leverage_fix
2022-01-31 12:21:12 -06:00
Sam Germain
43db4c34d1
added okex back to unsupported exchanges
2022-01-31 12:18:30 -06:00
Sam Germain
2c1497b348
contracts_to_amount no longer in amount_to_precision
2022-01-31 12:18:30 -06:00
Sam Germain
b8f4cebce7
exchange.liquidation_price methods combined, dry_run check on exchange for liquidation price
2022-01-31 12:18:25 -06:00
Sam Germain
143c37d36f
cleaned up liquidation price methods
2022-01-31 12:17:07 -06:00
Sam Germain
ede9012fcc
removed TODO-levs about okex liquidation price
2022-01-31 12:17:07 -06:00
Sam Germain
d133a7c789
added isolated, futures to okex trading_mode_collateral_pairs
2022-01-31 12:17:07 -06:00
Sam Germain
88ce66650c
Okex and Gateio liquidation_price formula are the same, moved liquidation_price to exchange.exchange class
2022-01-31 12:17:07 -06:00
Sam Germain
7f4894d68e
okex.liquidation_price formula update
2022-01-31 12:17:07 -06:00
Sam Germain
fe037aa971
exchange.liquidation_price combined position and position_assets
2022-01-31 12:17:07 -06:00
Sam Germain
0b5c2e97b3
exchange._get_maintenance_ratio_and_amount
2022-01-31 12:17:07 -06:00
Sam Germain
0c13e387fe
moved liquidation_price method to exchange classes
2022-01-31 12:16:43 -06:00
Sam Germain
5a97760bd1
binance.get_max_leverage divide by 0 warning
2022-01-31 12:16:43 -06:00
Sam Germain
1f8111d1c6
exchange.get_max_leverage pair is required
2022-01-31 12:16:43 -06:00
Sam Germain
caff7e227f
binance.fill_leverage_brackets remove excess bracket
2022-01-31 12:16:43 -06:00
Sam Germain
e4b37c6462
freqtradebot.leverage_prep minor fixes
2022-01-31 12:16:43 -06:00
Sam Germain
1f1ac8ce9d
test_get_liquidation_price/test_get_maintenance_ratio_and_amt_binance/fill_leverage_brackets/test_validate_trading_mode_and_collateral TODO comments
2022-01-31 12:16:43 -06:00
Sam Germain
c2f9201512
Added get_liquidation_price check
2022-01-31 12:16:43 -06:00
Sam Germain
bb2b2211d0
exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
2022-01-31 12:16:43 -06:00
Sam Germain
b4a0611afc
exchange.get_liquidation_price removed irrelevant comment
2022-01-31 12:16:43 -06:00
Sam Germain
0c8205ab3b
replace single quote docstrings with double quote docstrings
2022-01-31 12:16:43 -06:00
Sam Germain
7abffee755
liquidation_price formula organize and comment clean up
2022-01-31 12:16:43 -06:00
Sam Germain
387a9fbf36
test_execute_entry liquidation_price test test_get_maintenance_ratio_and_amt_gateio
2022-01-31 12:16:38 -06:00
Sam Germain
2d545a2def
fixed breaking tests for liquidation price
2022-01-31 12:15:54 -06:00
Sam Germain
1eee5373b9
gateio.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
8889512887
freqtradebot.leverage_prep gets taker_fee_rate
2022-01-31 12:15:54 -06:00
Sam Germain
bff53c52af
rewrite fill_leverage_brackets
2022-01-31 12:15:54 -06:00
Sam Germain
69a6223ca0
implemented binance.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
ba5fc21d84
added isolated futures to supported modes for binance,gateio
2022-01-31 12:15:54 -06:00
Sam Germain
e0df7ee72a
Changed variable names in binance.get_max_leverage
2022-01-31 12:15:54 -06:00
Sam Germain
42360592ba
trimmed down liquidation_price variable and edited comments
2022-01-31 12:15:54 -06:00
Sam Germain
5796d95a95
Added gateio and okex isolated liquidation formulas
2022-01-31 12:15:54 -06:00
Sam Germain
ba02605d77
Isolated liq branch passes all tests and has the general structure that it is supposed to, but is patchy, and doesnt get the correct maintenance amt and maintenance margin rate yet
2022-01-31 12:15:54 -06:00
Sam Germain
eee7271ab8
Added live isolated-liq get
2022-01-31 12:15:54 -06:00
Arunavo Ray
778e3bcba6
Suppress incompatible type "Optional[float]"; expected "float" as the check exists.
2022-01-31 12:15:54 -06:00
Sam Germain
92c94bb62a
added position and wallet_balance to LocalTrade.set_isolated_liq
2022-01-31 12:15:54 -06:00
Arunavo Ray
447312d4c8
Fixed parameter check which failed when 0.0 was passed
2022-01-31 12:15:54 -06:00
Sam Germain
d26a068adf
rearanged isolated_liq in models a bit
2022-01-31 12:15:54 -06:00
Arunavo Ray
3709130eb7
Added Tests for Binance Liquidation price, shortened liquidation param names
2022-01-31 12:15:54 -06:00
Arunavo Ray
f9a2d1a71d
Binance Liquidation Price Hedge-Mode Removed
2022-01-31 12:15:54 -06:00
Arunavo Ray
7119dc6e41
Converted kwargs to params
2022-01-31 12:15:54 -06:00
Sam Germain
80f4bae3fe
Revert "Added Formulas to Calculate Liquidation Price of Binance USDⓈ-M Futures Contracts"
...
This reverts commit d343e84507
.
2022-01-31 12:15:54 -06:00
Sam Germain
b30458f871
Revert "Added Margin Mode Check for Binance."
...
This reverts commit abcb9729e5
.
2022-01-31 12:15:54 -06:00
Arunavo Ray
1299cff894
Added Margin Mode Check for Binance.
2022-01-31 12:15:54 -06:00
Arunavo Ray
60454334d9
Added Formulas to Calculate Liquidation Price of Binance USDⓈ-M Futures Contracts
2022-01-31 12:15:54 -06:00
Sam Germain
fe5e00361e
separated test_leverage into test_interest and test_liquidation_price, and paramaterized tests
2022-01-31 12:15:54 -06:00
Sam Germain
a087d03db9
Added liquidation_price function
2022-01-31 12:15:54 -06:00
Sam Germain
da0d2590b9
Removed PrecisionFilter liquidation price TODO-lev
2022-01-31 12:06:04 -06:00
Matthias
be866f04fa
Merge pull request #6330 from samgermain/market-checks
...
Removed unnecessary CCXT market checks
2022-01-31 19:01:59 +01:00
Sam Germain
689174ea0d
removed TODO-lev comments
2022-01-31 04:12:37 -06:00
Sam Germain
29c5dfd4ca
Removed unnecessary CCXT market checks
2022-01-31 02:40:10 -06:00
Matthias
cf7edace2b
Merge pull request #6312 from freqtrade/short_informative_decorator
...
Short informative decorator
2022-01-30 15:33:52 +01:00
Matthias
cafda31869
Merge pull request #6320 from stash86/pos_adjust
...
Change new-config message for max_open_trades input
2022-01-30 14:11:20 +01:00
Matthias
7aae9565c7
Only look at buy orders when looking to recalculate trade value
2022-01-30 14:08:42 +01:00
Stefano Ariestasia
da39ca6650
fix new-config
2022-01-30 21:19:05 +09:00
Matthias
000b8ff281
Merge pull request #6306 from freqtrade/short_forceentry
...
add `/forcelong` and `/forceshort` commands
2022-01-30 07:36:14 +01:00
Matthias
aea84dc117
Limit should default to None when calling pair_candles
2022-01-29 20:16:58 +01:00
Matthias
8a6823deb1
Convert InformativeData to dataclass
2022-01-29 19:59:54 +01:00
Stefano Ariestasia
326ba46bf8
Merge branch 'freqtrade:develop' into fix-docs
2022-01-29 23:20:41 +09:00
Matthias
ab932d8398
Properly detect default candle type
2022-01-29 14:31:58 +01:00
Matthias
d1d520769e
Improve status table for position adjust
...
don't show "/max" if no maximum is set
closes #6317
2022-01-29 14:29:09 +01:00
Matthias
463714832d
Merge branch 'develop' into feat/short
2022-01-29 14:19:30 +01:00
Matthias
e7409e74c2
Remove default from position_adjustment (otherwise strategy parameters won't work anymore)
2022-01-28 19:21:42 +01:00
Matthias
c620e38c7d
Informative decorator updates for futures
2022-01-28 19:17:46 +01:00
Matthias
fb3c67d86b
Accept that keys sometimes are not provided
2022-01-28 17:07:34 +01:00
Matthias
fdea4fcb1b
Remove some todo's
2022-01-28 15:52:12 +01:00
Matthias
571ddceaf6
Merge pull request #6310 from Verbalinsurection/perso
...
Fix ETH duplicate in CoinGecko
2022-01-28 12:35:44 +01:00
Matthias
15d5389564
Update /health endpoint to be in local timezone
2022-01-28 10:33:35 +01:00
Verbalinsurection
660f474ab8
Fix ETH duplicate in CoinGecko
2022-01-28 10:26:31 +01:00
Matthias
5d0c2bcb44
Shift candles after pushing them to dataprovider
...
this will ensure that the signals are not shifted in callbacks
closes #6234
2022-01-28 07:25:10 +01:00
Matthias
138e867a68
Filter tickers on stake-currency for kraken
2022-01-28 07:20:47 +01:00
Stefano Ariestasia
bd1b991448
Merge branch 'freqtrade:develop' into fix-docs
2022-01-28 06:57:13 +09:00
Matthias
82e193d9f0
Merge pull request #6260 from stash86/pos_adjust
...
Add max_buy_position_adjustment as attribute
2022-01-27 20:13:51 +01:00
Matthias
108018b30b
Merge pull request #6231 from freqtrade/funding_rate_backtest
...
Funding rate backtest
2022-01-27 17:01:28 +01:00
Matthias
002226f5fd
Update setting to max_entry_position_adjustment
2022-01-27 16:57:50 +01:00
Matthias
c4f71cc103
More forceenter updates
2022-01-27 07:38:11 +01:00
Matthias
6e72effbf0
Update forcebuy telegram tests
2022-01-27 06:31:45 +01:00
Matthias
0a52d79208
Update forcesell to work as forceexit
2022-01-26 20:17:00 +01:00
Matthias
7afaf4b5d4
Add /forceshort
command
2022-01-26 19:53:46 +01:00
Matthias
e2ddea79ee
Add "market" to /show_config
2022-01-26 19:49:15 +01:00
Matthias
be7ce208dc
Update tests to test forceenter endpoint
2022-01-26 19:24:01 +01:00
Matthias
48d8cd82af
_rpc_forcebuy
2022-01-26 19:11:01 +01:00
Matthias
4998f3bdd7
Add order_side to forcebuy endpoint
2022-01-26 19:07:44 +01:00
Stefano Ariestasia
396ebebdc1
Merge branch 'freqtrade:develop' into fix-docs
2022-01-26 16:09:11 +09:00
Stefano Ariestasia
ed71f777a3
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-26 07:07:00 +00:00
Stefano Ariestasia
1f26709aca
changes
2022-01-26 07:06:52 +00:00
Matthias
67651e013e
Add /forceenter endpoint
2022-01-26 07:10:38 +01:00
Matthias
88ccfedd32
Improve wording of "no history found" error
2022-01-26 06:53:00 +01:00
Matthias
b6943f3bca
Merge pull request #6296 from freqtrade/python_37_remove
...
Update references to remove python 3.7 support
2022-01-25 20:01:14 +01:00
Matthias
12c79967f5
Merge pull request #6258 from italodamato/pass_dimensions_to_generate_estimator
...
Pass dimensions to generate_estimator
2022-01-25 19:37:22 +01:00
Matthias
13978e9893
Merge pull request #6276 from clover-es/feat/short
...
Add support for shorts in strategy.stoploss_from_absolute()
2022-01-25 19:11:05 +01:00
Italo
30b27ae736
explicit dtype
2022-01-25 12:29:55 +00:00
Italo
f7a5b2cb71
explicit dimensions, added **kwargs, updated docs
2022-01-25 11:43:40 +00:00
Matthias
d9347e9900
Update references to remove python 3.7 support
2022-01-25 06:43:36 +01:00
Matthias
f7be93aaa6
leverage limits can be None, so we need to check for that
2022-01-25 06:30:03 +01:00
Stefano Ariestasia
0fa7986369
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-25 10:30:18 +09:00
Stefano Ariestasia
7c975df42a
Merge branch 'freqtrade:develop' into fix-docs
2022-01-25 10:30:03 +09:00
Italo
a7ea06791a
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-01-24 21:46:33 +00:00
Reigo Reinmets
78986a0def
I sort managed to fit it on another row. Impressive.
2022-01-24 14:09:23 +02:00
Reigo Reinmets
1d59a6b7e3
Merge branch 'freqtrade:develop' into health
2022-01-24 13:52:53 +02:00
Matthias
194a5ce3cc
Update advanced strategy template with missing methods
2022-01-24 07:02:02 +01:00
Matthias
e252830229
Add entry_tag to "entry" callbacks
2022-01-24 07:02:01 +01:00
Italo
a2fb241a3b
increase initial points to 64
2022-01-24 01:35:42 +00:00
Reigo Reinmets
bf62fc9b25
Add /health endpoint that returns last_process timestamp, fix issue #6009
2022-01-23 21:58:46 +02:00
Reigo Reinmets
451eca51c8
Optimise the multiple usages of the same timestamp.
2022-01-23 20:58:25 +02:00
Reigo Reinmets
e67a54f7a9
Fix missing order time info in backtesting.
2022-01-23 20:52:35 +02:00
Matthias
daee59f4f1
Reorder interface methods
2022-01-23 19:20:31 +01:00
Matthias
57067ce88d
Add tests for max_adjustment_buy handling
2022-01-23 19:07:37 +01:00
Matthias
7429f535c1
Imrpove code by reusing available properties
2022-01-23 18:59:09 +01:00
Matthias
62df044618
Merge pull request #6279 from xataxxx/develop
...
Fix position adjustment not counting older orders because of missing average field value
2022-01-23 17:42:51 +01:00
Matthias
4b6f9121ca
Merge pull request #6275 from freqtrade/extract_timedout_from_ftbot
...
Extract timedout from ftbot
2022-01-23 17:28:10 +01:00
Reigo Reinmets
6613e3757a
Additional fix
2022-01-23 18:09:57 +02:00
Matthias
09db4bcadd
Don't use strings, use methods directly
2022-01-23 17:00:00 +01:00
Reigo Reinmets
51b94889b2
Just in case also check for closed to avoid counting in canceled orders.
2022-01-23 17:56:41 +02:00
Reigo Reinmets
8c79d55739
Fix issue #6268
2022-01-23 17:44:16 +02:00
Stefano Ariestasia
480ed90a02
create to_json function for Order
2022-01-23 11:33:06 +00:00
Matthias
821a9d9cdc
Add current_time to check_timeout functions for convenience
2022-01-23 08:10:35 +01:00
Stefano Ariestasia
cc3852daf3
Add defaults to constants.py and update docs
2022-01-23 03:54:58 +00:00
Matthias
ad28543d4d
Update kraken calculation
2022-01-22 19:46:11 +01:00
Matthias
a0c0c4dcbe
Update funding_fee formula to correctly calculate fees for long trades
2022-01-22 19:46:10 +01:00
Matthias
f26cd19146
Merge index and mark rates as part of dataload
2022-01-22 19:45:46 +01:00
Matthias
82c90c0049
Extract funding and mark mergin to separate method
2022-01-22 19:45:46 +01:00
Matthias
84c6d92d4c
calculate_funding_fees is actually a public exchange interface (used in backtesting).
2022-01-22 19:45:46 +01:00
Matthias
e9e7fd749b
Support funding-fees while running backtest
2022-01-22 19:45:43 +01:00
Matthias
c6c97efed3
Remove unused method _get_funding_fee
2022-01-22 19:44:20 +01:00
Matthias
ef3a1ea8f2
Split funding fee calculation from Download
2022-01-22 19:44:20 +01:00
Guillermo Rodríguez
17ae6a0c78
Harmonize short parameter name in stoploss_from_open()
2022-01-22 18:01:56 +01:00
Guillermo Rodríguez
40cd478c6d
Calculate stoploss_from_absolute for shorts
2022-01-22 18:01:02 +01:00
Matthias
f090dcc597
Merge branch 'develop' into feat/short
2022-01-22 17:56:01 +01:00
Italo
eacd1b0752
Merge branch 'plot_hyperopt_stats' into develop
2022-01-22 15:39:39 +00:00
Matthias
56daafd6b7
Use realistic date for dry-run orders
2022-01-22 16:31:59 +01:00
Matthias
01b331ee42
Merge pull request #6274 from italodamato/set-stoploss-at-trade-creation
...
set stoploss at trade creation
2022-01-22 16:17:47 +01:00
Matthias
7bef9a9b3e
Extract timeout handling from freqtradebot class
2022-01-22 15:59:10 +01:00
Italo
0ce6c150ff
set stoploss at trade creation
2022-01-22 14:06:45 +00:00
Italo
82f0d4d056
set stoploss at trade creation
2022-01-22 14:03:12 +00:00
Matthias
bd4014e1e6
Small cleanup
2022-01-22 15:01:27 +01:00
Matthias
a35b0b519a
Update forcebuy endpoint to support stake-amount
...
closes #6223
2022-01-22 13:26:02 +01:00
Stefano Ariestasia
fe5f61694b
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-22 21:25:16 +09:00
Matthias
1505ad451c
Merge pull request #6271 from freqtrade/fix/6267
...
Allow @informative in webserver mode
2022-01-22 10:33:52 +01:00
Matthias
9ecd7400c8
Allow NaN when calculating digests
2022-01-22 08:10:09 +01:00
Stefano Ariestasia
f79decdb9c
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-22 06:54:57 +00:00
Stefano Ariestasia
05046b9eef
Add more info on status message
2022-01-22 06:54:49 +00:00
Matthias
a43c088448
Allow @informative in webserver mode
2022-01-22 07:11:59 +01:00
Matthias
3d94d7df5c
Update migrations for mariadb
2022-01-21 19:31:11 +01:00
Matthias
c265f39323
Update sequences for postgres
2022-01-21 17:19:39 +01:00
Matthias
19948a6f89
Try fix sequence migrations
2022-01-21 16:49:08 +01:00
Matthias
5dca183b7b
Combine order and Trade migrations to better facilitate migrations in advanced DB systems
2022-01-21 16:49:08 +01:00
Matthias
bb1d8fb54f
Improve message when no hyperopt fie is found
...
closes #6266
2022-01-21 15:24:26 +01:00
Stefano Ariestasia
3249f9fb98
Add max buys on status table
2022-01-21 08:27:54 +00:00
Stefano Ariestasia
f3a152a5a2
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-21 17:11:36 +09:00
Matthias
730d2e3574
Merge pull request #6259 from stash86/fix-docs
...
add "# Buys" column to status table
2022-01-21 07:49:21 +01:00
Matthias
d02acb21c2
Add simple test for #buy header
2022-01-21 07:04:25 +01:00
Stefano Ariestasia
748381c5cd
Update based on flake8
2022-01-21 00:35:22 +00:00
Italo
e35a1e4a01
fix flake8
2022-01-20 21:00:33 +00:00
Italo
a9f14ac119
show buy_tag only if not None
2022-01-20 18:44:09 +00:00
Italo
4e9f0d89af
add buy_tag to trade tooltip in plots
2022-01-20 17:17:58 +00:00
Italo
52206e6f41
add buy tag to plot
2022-01-20 17:15:05 +00:00
Italo
34d19dc108
Merge branch 'freqtrade:develop' into plot_hyperopt_stats
2022-01-20 11:37:54 +00:00
Matthias
a6c7f45545
Update webserver backtseting to reuse prior results
2022-01-20 06:51:48 +01:00
Matthias
e9baabce6f
Store results when backtesting via API
2022-01-20 06:35:18 +01:00
Stefano Ariestasia
f30580e5f2
Update freqtradebot.py
2022-01-20 11:40:29 +09:00
Stefano Ariestasia
5fb9511556
fix typo
2022-01-20 10:34:35 +09:00
Stefano Ariestasia
62ea1a445e
add lines to show_config message
2022-01-20 10:03:26 +09:00
Stefano Ariestasia
2e537df358
Update strategy_resolver.py
2022-01-20 09:07:59 +09:00
Matthias
847e8977ca
Merge pull request #6255 from rokups/rk/backtest-result-caching-2
...
Rework backtesting --no-cahche to --cache=[none, day, week, month].
2022-01-19 21:01:24 +01:00
Matthias
afe46a55f7
Add documentation for --cache backtest option
2022-01-19 20:19:17 +01:00
Matthias
d319204dea
Add note about legacy metadata format
2022-01-19 20:08:09 +01:00
Stefano Ariestasia
ac93eea585
update
2022-01-19 21:58:24 +09:00
Rokas Kupstys
5fffc5033a
Rework backtesting --no-cahche to --cache=[none, day, week, month].
...
Fix an issue where config modification during runtime would prevent use of cached results.
2022-01-19 11:44:35 +02:00
Stefano Ariestasia
5525fdae1a
add max_buy_position_adjustment as attribute
2022-01-19 16:50:13 +09:00
Stefano Ariestasia
3925e8a7e3
add "# Buys" column to status table
2022-01-19 16:14:21 +09:00
Matthias
e04956be0e
Merge pull request #6185 from freqtrade/fix_funding_fee_calc
...
cleanup funding fee tests
2022-01-19 06:57:44 +01:00
Italo
16a516a882
added plot functionality
2022-01-19 01:50:15 +00:00
Italo
a4dbdb549d
added type spec
2022-01-19 01:37:47 +00:00
Italo
407c20412d
Pass dimensions to generate_estimator
...
It's needed in order to create isotropic kernels for the GaussianProcessRegressor
2022-01-19 01:07:41 +00:00
Matthias
1fb48a1f53
Add TODO-lev for "stoploss_from_absolute".
2022-01-18 16:52:34 +01:00
Matthias
120639e84b
Merge pull request #6228 from clover-es/feat/short
...
Stoploss from open for shorts
2022-01-18 16:49:58 +01:00
மனோஜ்குமார் பழனிச்சாமி
d918d24f08
Spreadfilter log % fix
...
Both the following same
print(f'{3:.3%}')
print(f'{3 *100 :.3}%')
# 300.000%
2022-01-18 14:05:03 +05:30
Matthias
3c06d31bbf
Merge pull request #6238 from stash86/fix-docs
...
Add position adjustment On or Off on startup message
2022-01-17 20:32:27 +01:00
Matthias
9c9c9f0171
Readd trailing white line
2022-01-17 20:00:35 +01:00
Matthias
6c7a4230ad
Update comment about funding_fees calculation
2022-01-17 19:20:47 +01:00
Reigo Reinmets
3de843ab2c
Add eager-loading for orders. This allows access to trade.orders in all callbacks.
2022-01-17 13:23:37 +02:00
Stefano Ariestasia
f9a935b9a3
Update rpc_manager.py
2022-01-17 16:37:06 +09:00
Stefano Ariestasia
b6ad0f52e9
Merge branch 'freqtrade:develop' into fix-docs
2022-01-17 10:59:16 +09:00
Stefano Ariestasia
edd2ea3699
Update rpc_manager.py
2022-01-17 10:57:10 +09:00
Matthias
c02497e4b8
Merge pull request #6172 from rokups/rk/backtest-results-caching
...
Backtest result reuse
2022-01-16 19:09:37 +01:00
Matthias
2bcfc0c90c
Add warning about cache problems
2022-01-16 18:01:05 +01:00
Matthias
d08885ed92
Fix empty "/log" endpoint in certain moments
2022-01-16 15:37:00 +01:00
Matthias
5bb48eaed0
Replace Nan with 0 or None in backtesting
...
part of #6224
2022-01-16 14:49:29 +01:00
Matthias
69c00db7cd
Only show /balance % improvement if trades have been made
2022-01-16 13:39:50 +01:00
Matthias
b96b0f89bd
improved unfilledtimeout defaults
2022-01-16 13:17:12 +01:00
Matthias
6c4b261469
Convert nan to None in get_signal.
2022-01-16 08:04:39 +01:00
Rokas Kupstys
062d00e8f2
Fix @informative decorator failing with edge.
2022-01-15 17:31:16 +02:00
Rokas Kupstys
2b7405470a
Fix timerange check.
2022-01-15 17:30:40 +02:00
Rokas Kupstys
16861db653
Implement previous backtest result reuse when config and strategy did not change.
2022-01-15 17:30:40 +02:00
Matthias
6684bff963
Dry-run orders should have filled set correctly
2022-01-15 15:25:16 +01:00
Guillermo Rodríguez
d28287880c
Add support for shorts in strategy.stoploss_from_open
...
Signed-off-by: Guillermo Rodríguez <guillebep@gmail.com>
2022-01-15 04:30:30 +01:00
Reigo Reinmets
93adb436f8
Fix flake8 intention issue.
2022-01-14 20:25:29 +02:00
Reigo Reinmets
320c9ccf90
Unify functions and make it easy to get a list of filled buy orders
2022-01-14 20:02:35 +02:00
Reigo Reinmets
08cae6f067
Fix horrible whitespace mistake.
2022-01-13 20:44:03 +02:00
Reigo Reinmets
ffe69535d8
These could be properties.
2022-01-13 20:31:03 +02:00
Reigo Reinmets
13bc5c5d8f
Fine, this does look better.
2022-01-13 20:24:21 +02:00
Reigo Reinmets
678be0b773
Slightly move code.
2022-01-13 20:16:45 +02:00
Matthias
faa35cb167
Small minor fixes
2022-01-13 17:18:07 +01:00
Reigo Reinmets
c826c9c2b9
Merge branch 'freqtrade:develop' into dca
2022-01-13 10:04:39 +02:00
Wings22Actual
a22e1b6500
minor spelling correction
...
line 89 "Tim"->"Time"
2022-01-13 01:48:38 +00:00
Reigo Reinmets
e50b07ecb4
Make code compatible.
2022-01-11 12:05:57 +02:00
Reigo Reinmets
94f2c99989
Temporary fix for lazy loading. Probably we can do it better.
2022-01-11 11:43:32 +02:00
Reigo Reinmets
fbf026ac43
Fix sorting of imports.
2022-01-10 20:43:57 +02:00
Reigo Reinmets
3b7167ab07
Fix backtesting missing filled amounts in orders.
2022-01-10 20:30:40 +02:00
Reigo Reinmets
26f2db4777
Fix notify_enter attempting to fetch rate during testing.
2022-01-10 20:30:32 +02:00
Reigo Reinmets
30d293bfec
Fix bug with None in backtesting.
2022-01-10 20:16:11 +02:00
Reigo Reinmets
91b89c8c42
Improve docs, fix telegram message to show current rate.
2022-01-08 21:30:42 +02:00
Reigo Reinmets
195d601b8e
Fix notification message showing "Current rate" as the initial buy order desired rate.
2022-01-08 17:41:59 +02:00
Reigo Reinmets
0bca07a32a
Added min_stake, max_stake. Removed pair as its included in trade.
2022-01-08 17:20:02 +02:00
Reigo Reinmets
813a2cd23b
Add useful helper methods for adjust_trade_position implementation
2022-01-08 17:18:37 +02:00
Matthias
2fb9e7940a
Improve "missing data" message
2022-01-08 14:39:09 +01:00
Reigo Reinmets
8e424f7c73
Merge branch 'freqtrade:develop' into dca
2022-01-08 14:57:15 +02:00
Matthias
dad080f56f
Merge branch 'develop' into feat/short
2022-01-08 10:45:15 +01:00
Sam Germain
c61acb9f19
removed rename todos
2022-01-08 03:09:47 -06:00
Matthias
04976658da
Fix crash when using backtesting-show on a old backtestresult
2022-01-07 17:34:47 +01:00
Matthias
522496d9e2
Add Compatibility code for BT_DATA_COLUMNS
2022-01-07 17:17:35 +01:00
Rokas Kupstys
11ace0f867
Instead of clearing processed
dict, store df_analyzed
(one with buy/sell signals) dataframe in it.
...
It still saves memory because this dataframe is kept by DataProvider.
Fixes #6179 .
Amends #6133 (a715083fc0
).
2022-01-07 12:07:49 +02:00
Matthias
46809f08fe
Merge branch 'develop' into feat/short
2022-01-07 10:13:16 +01:00
Matthias
e540959c27
Remove btdata from generate_strategy_stats
2022-01-07 09:27:07 +01:00
Matthias
1203d08d1e
generate_pair_metrics does not need processed dict
2022-01-07 09:27:07 +01:00
Matthias
b77943af0d
Merge pull request #6173 from freqtrade/volume_quote_workaround
...
Selectively convert quote to base volume in volumepairlist
2022-01-07 09:07:16 +01:00
Matthias
d64f9030c1
Remove now unused codesegment
2022-01-07 08:04:01 +01:00
Matthias
b3a4ecaf77
Remove old backtest format support
2022-01-06 19:49:25 +01:00
Matthias
24ec78b11c
Quote-volumelist fix for gateio
2022-01-06 19:07:47 +01:00
Matthias
326e3d1f8e
Selectively convert quote to base volume in volumepairlist
2022-01-06 19:07:43 +01:00
Matthias
173524ea5b
Merge pull request #6170 from freqtrade/contract_workaround
...
contractSize is a string coming from ccxt
2022-01-06 16:25:19 +01:00
Carlo Revelli
7451b60501
increase okex candle limit
2022-01-06 05:31:23 -08:00
Matthias
431fcdd76f
contractSize is a string comming from ccxt
2022-01-06 13:53:27 +01:00
Matthias
a0f9c1bf7b
Avoid failure when calculating max-drawdown
...
occurs if if no winning trade is recorded.
2022-01-06 13:51:15 +01:00
Matthias
e88a1ab209
Improve VolumePairlist behaviour
...
Filter pairs before downloading ohlcv candles - this will greatly speed up some instances.
2022-01-06 13:49:27 +01:00
Matthias
72b2d4ab5f
Update FTX to support new standardized futures format
2022-01-06 11:16:26 +01:00
Matthias
6ad521a0f7
Update apply_fee_conditional with note about futures
2022-01-06 10:22:28 +01:00
Matthias
addba6597a
Merge pull request #6165 from freqtrade/drawdown_fixes
...
Improved drawdown calculation
2022-01-06 09:56:05 +01:00
Matthias
2a2392fd73
Update parameter name in docstring
2022-01-06 09:15:30 +01:00
Matthias
33d95d245e
Fix unbounderror
...
closes #6169
2022-01-06 08:48:30 +01:00
Matthias
a9a6cf13f8
Add exit_tag to detail-sells
...
closes #6159
2022-01-06 08:22:15 +01:00
Matthias
4e2b9203d7
Remove no longer used BT_DATA_COLUMNS_MID
2022-01-05 20:40:59 +01:00
Matthias
6abd6bceb9
Avoid recalculating statistics for comparison line
2022-01-05 20:16:48 +01:00
Sam Germain
3d22497177
add warning for futures dust to freqtradebot.apply_fee_conditional
2022-01-05 00:57:36 -06:00
Sam Germain
501f473164
Merge branch 'develop' into feat/short
2022-01-04 22:47:33 -06:00
Matthias
8373a4e713
Small Adjustments to improve compatibility
2022-01-04 19:17:08 +01:00
Matthias
4d9b4ddc28
Update hyperopt-tools to use account drawdown
2022-01-04 17:43:39 +01:00
Matthias
09fae25c94
Fix some tests after drawdown calculation change
2022-01-04 17:07:31 +01:00
Matthias
7a2b50ce8b
Update drawdown calculation to account drawdown
2022-01-04 17:07:31 +01:00
Matthias
42579c0268
Drop hyperopt results legacy mode
2022-01-04 17:06:40 +01:00
Sam Germain
b2a1124a26
Merge branch 'feat/short' of https://github.com/freqtrade/freqtrade into feat/short
2022-01-04 00:17:42 -06:00
Matthias
e57c2d64a5
Merge pull request #5888 from samgermain/contract-sizes
...
Convert contract size to underlying asset size
2022-01-03 21:55:19 +01:00
Matthias
d8cb61278f
Simplify contract conversion code
...
by reusing "get_contract_size"
2022-01-03 18:12:45 +01:00
Sam Germain
707a6507b5
removed redundant todos
2022-01-02 21:46:06 -06:00
Matthias
711a6a6dbc
Merge branch 'develop' into pr/xataxxx/6079
2022-01-02 22:21:41 +01:00
Matthias
2116b0729f
Integration-test for DCA order
2022-01-02 20:20:56 +01:00
Matthias
209ecc8732
Fix typo in bt_progress
2022-01-02 19:38:03 +01:00
Matthias
7f88f9bf27
Revert unintended double-call of amount conversion
2022-01-02 13:11:29 +01:00
Sam Germain
33ab3c1bea
Removed some todo-lev comments
2022-01-01 14:10:24 -06:00
Sam Germain
14ae327459
grouped contract methods
2022-01-01 14:08:10 -06:00
Sam Germain
3e4912979a
exchange.py: removed get funding rate history
2022-01-01 14:03:26 -06:00
Sam Germain
fcded264e6
removed exchange._get_mark_price_history
2022-01-01 13:53:26 -06:00
Sam Germain
f92d47a16b
exchange._contracts_to_amount and exchange._amount_to_contracts safe checks
2022-01-01 13:52:06 -06:00
Matthias
8da596f66d
Implement PR feedback
2022-01-01 13:52:01 -06:00
Sam Germain
49a6ebb454
exchange class contract methods safe check for symbol
2022-01-01 13:50:50 -06:00
Sam Germain
78d1a267f0
contract-sizes tests
2022-01-01 13:50:50 -06:00
Sam Germain
d0a300a2e1
Added TODOs
2022-01-01 13:50:49 -06:00
Sam Germain
4f6203e45f
Added conversions from contract size to amount for objects returned from api
2022-01-01 13:50:43 -06:00
Sam Germain
e10ceb2362
Amount to precision has _amount_to_contract_size in it
2022-01-01 13:49:09 -06:00
Sam Germain
ee63f12236
Revert "Removed leverage param from get_min_pair_stake_amount"
...
This reverts commit 096588550ca1de5e5edf63cf7214af037d7bc93b.
2022-01-01 13:49:09 -06:00
Sam Germain
2df5993812
_contract_size_to_amount only impacts limits.amount and not limits.cost, put _get_stake_amount_considering_leverage back in
2022-01-01 13:49:09 -06:00
Sam Germain
ef6ad0e6d7
Removed leverage param from get_min_pair_stake_amount
2022-01-01 13:49:09 -06:00
Sam Germain
3f75531105
added methods _contract_size_to_amount and _amount_to_contract_size, added _amount_to_contract_size to create_order, added contract_size_to_amount to get_min_leverage
2022-01-01 13:49:09 -06:00
Matthias
ddfbe55e7c
Merge branch 'develop' into feat/short
2022-01-01 19:16:49 +01:00
Matthias
08ba5b0451
Update docs to include underwaterplot
2022-01-01 16:55:08 +01:00
Matthias
fb06a673e0
Add Underwater plot
2022-01-01 14:40:20 +01:00
Matthias
78ba2d3fc7
Add underwaterplot calculation to btanalysis
2022-01-01 14:39:58 +01:00
Matthias
a2d97eecfe
Add trade parallelism plot
...
closes #6142
2022-01-01 14:11:51 +01:00
Matthias
9becd20f20
Improve "Missing data" messages
2022-01-01 10:37:58 +01:00
Matthias
670aed06bf
Remove loop for hyperopt.
2021-12-31 17:35:08 +01:00
Matthias
0277d93a64
don't use deprecated asyncio.get_event_loop()
2021-12-31 17:27:42 +01:00
Matthias
c9296dc9a0
Uvloop_helper should use "get_running_loop"
2021-12-31 17:27:42 +01:00
Matthias
c06496e66f
Update some more TODO-lev's
2021-12-31 16:49:47 +01:00
Sam Germain
9a220f6cfe
removed a few todos
2021-12-31 07:30:01 -06:00
Sam Germain
46072be011
models.__init__ exception for no interest_rates on Margin trading
2021-12-31 06:20:00 -06:00
Sam Germain
867483170a
binance.funding_fee_cutoff removed TODO-lev
2021-12-31 06:11:43 -06:00
Matthias
550a1eef91
Reduce "cleanup" slowdown in telegram
2021-12-31 12:54:15 +01:00
Matthias
880ee016a4
Merge pull request #6133 from rokups/rk/reduce-memory-usage
...
Reduce memory usage by not holding on to no longer needed data
2021-12-31 11:36:52 +01:00
Matthias
39f8c5719b
Fix exception on exchange shutdown
2021-12-31 11:24:56 +01:00
Rokas Kupstys
a715083fc0
Reduce memory usage by not holding on to no longer needed data.
2021-12-31 12:10:01 +02:00
Matthias
b1b2eebd11
Change sequence of ROI/sell signal to favor sell-signal
2021-12-30 20:00:58 +01:00
Matthias
4b79d435ad
Merge pull request #6084 from aezomz/lev-telegram
...
Telegram and Webhook updates
2021-12-30 19:17:58 +01:00
Matthias
3c4eda14b1
Remove unused test parameter
2021-12-30 17:34:45 +01:00
Matthias
2395988bf8
Leverage defaults to 1.0, which should not be shown.
2021-12-30 17:32:36 +01:00
Matthias
45ac3b3562
Change formatting slightly
2021-12-30 17:18:46 +01:00
Aezo Teo
fa12098bff
changed to suggestion
2021-12-30 20:05:17 +08:00
Matthias
bd98637ae9
Fail gracefully from plot-profit when no data is provided
...
closes #6132
2021-12-30 10:14:45 +01:00
Matthias
1871165d21
Merge pull request #6127 from wadedyck/download_data_futures_fix
...
Download data futures fix
2021-12-29 19:08:38 +01:00
Matthias
77afb7b5e2
Merge pull request #6114 from cdimauro/reduce_kucoin_logs
...
Reduce kucoin logs
2021-12-29 17:33:21 +01:00
Matthias
2b94fbfa74
Avoid using singleton where not necessary
2021-12-29 17:05:53 +01:00
Matthias
043218cc7e
Version bump to 2021.12
2021-12-29 16:18:14 +01:00
Matthias
c3e9ef27f6
Merge branch 'stable' into new_release
2021-12-29 16:17:56 +01:00
Aezo Teo
ee7cbcd69f
fixed flake8 and mypy errors
2021-12-29 21:48:50 +08:00
Aezo Teo
b6092e2e3c
amended L/S for status table
2021-12-29 21:30:31 +08:00
Aezo Teo
1f773671ed
updated tests and telegram
2021-12-29 21:24:12 +08:00
Reigo Reinmets
3d336a736e
Improve documentation.
2021-12-29 14:51:57 +02:00
Wade Dyck
5bb2d3baea
Revert "Remove the guards against downloading data in futures mode."
...
This reverts commit 82cdfba494
.
2021-12-28 11:35:17 -07:00
Wade Dyck
60dfadf446
Don't attempt to calculate funding fees when the initial timeframe hasn't been exceeded.
2021-12-27 16:51:47 -07:00
Wade Dyck
a26c82b7cc
Also check candle_type_def when creating the pairlist and getting the ohlcv.
2021-12-27 16:51:02 -07:00
Wade Dyck
5743b3a0b7
When getting analyzed dataframes, use candle_type_def in the pair_key as that's how they're cached.
2021-12-27 13:29:25 -07:00
Wade Dyck
82cdfba494
Remove the guards against downloading data in futures mode.
2021-12-27 12:48:42 -07:00
Wade Dyck
3d9360bb8c
When backtesting, pass the candle_type to load_data.
2021-12-27 11:46:05 -07:00
Matthias
5a546855e6
Import TTLCache from cachetools
...
Importing from cachetools.ttl is deprecated, and will be removed in 5.0
2021-12-27 19:30:17 +01:00
Wade Dyck
5b3f907b0c
Fixes a download_data bug when in futures mode.
...
When specifying multiple pairs to download, the json filenames were
inconsistent due to the reassignment of candle_type. Also adds the
candle_type being downloaded to a log message.
2021-12-27 11:16:38 -07:00
Reigo Reinmets
4b654b2713
Reduce logging.
2021-12-27 19:48:18 +02:00
Reigo Reinmets
2a728c676e
Improve documentation. Fix bug.
2021-12-27 19:41:33 +02:00
Matthias
05a488a7a0
Further reduce log verbosity for kucoin 429000 exception
2021-12-27 17:15:30 +01:00
Matthias
ef2b326262
Reduce retrier message repetition
...
by combining messages, we can provide the same information in fewer log messages
2021-12-27 16:47:34 +01:00
Matthias
17f037cec6
Extract order_fee handling from update_trade_state
2021-12-27 16:07:43 +01:00
cdimauro
f77b8cbb7a
Reduce KuCoin logs only for 429000 error
...
Only KuCoin messages for 429000 error code are logged once.
Logs functions are also simplified and optimized.
test_remove_logs_for_pairs_already_in_blacklist is simplified as well.
2021-12-26 21:09:25 +01:00
Reigo Reinmets
bc8fc3ab09
We can actually call recalc_open_trade_value less since it's being called eventually anyway.
2021-12-26 20:09:18 +02:00
Reigo Reinmets
bd5520bee2
Adjust comments, fix stoploss_on_exchange for slower closed orders.
2021-12-26 20:03:10 +02:00
Reigo Reinmets
099dc07baf
No longer needed since recalc_trade_from_orders always calls it.
2021-12-26 20:02:20 +02:00
Reigo Reinmets
817a65b656
This is not needed since backtesting does not have open orders.
2021-12-26 20:01:48 +02:00
Matthias
d3f3c49b13
Fix minor "gotchas"
2021-12-26 15:29:10 +01:00
cdimauro
fbaf46901e
Reduce more KuCoin logs on retrier decorator
...
More logs are reduced, for KuCoin, on the retrier_async decorator:
_async_get_candle_history() returned exception
retrying _async_get_candle_history() still for
Giving up retrying: _async_get_candle_history()
Applying DDosProtection backoff delay
2021-12-26 09:06:26 +01:00
cdimauro
96fbf63d0b
Reduce KuCoin logs on DDosProtection error messages
...
KuCoin APIs generate A LOT of error messages.
Consequently, logs are flooded with lines like:
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=PDEX-USDT&type=5min&startAt=1640317818&endAt=1640467818
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
retrying _async_get_candle_history() still for 3 times
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
2 tries left before giving up
2021-12-25 22:30:24 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=UBX-USDT&type=5min&startAt=1640317821&endAt=1640467821
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
Messages like:
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
are logged only once for a certain period of time (default is 3600 seconds).
2021-12-25 22:32:22 +01:00
Reigo Reinmets
aa54592ec7
Merge branch 'freqtrade:develop' into dca
2021-12-25 21:06:26 +02:00
Matthias
2917cc1f2e
Bitpanda's "fetch_my_trades" requires "to" argument
...
closes #4938
2021-12-25 14:28:22 +01:00
Reigo Reinmets
ad247b2f07
Merge branch 'freqtrade:develop' into dca
2021-12-24 12:39:09 +02:00
Reigo Reinmets
de79d25caf
Refactoring to use strategy based configuration
2021-12-24 12:38:43 +02:00
Matthias
61dbb6206f
Slightly reduce verbosity when reload_conf is issued
...
part of #6095
2021-12-23 20:33:13 +01:00
Reigo Reinmets
ac690e9215
Remove unnecessary returns.
2021-12-23 18:49:11 +02:00
Reigo Reinmets
ace0a83c0c
Allow forcebuy to also buy more when trade is already open.
2021-12-23 11:57:53 +02:00
Reigo Reinmets
2e23e88fc1
Re-add back the log i accidentally removed.
2021-12-22 11:49:43 +02:00
Reigo Reinmets
d70ddeef9a
Remove whitespace. Darn IntelliJ.
2021-12-22 11:43:48 +02:00
Reigo Reinmets
e439ae1fea
Update wallet balance on every order close, not only trade close
2021-12-22 11:20:03 +02:00
Reigo Reinmets
76e7bf6cd2
Merge branch 'freqtrade:develop' into dca
2021-12-22 02:24:21 +02:00
Reigo Reinmets
7df3e7ada4
Add base_stake_amount_ratio config param to support unlimited stakes.
2021-12-22 02:19:11 +02:00
Matthias
f88b6af26f
Merge pull request #6070 from cdimauro/suppress_logs
...
Suppress additional logs for pairs in blacklist
2021-12-21 21:07:15 +01:00
Matthias
e5aaef6440
Fix CI failure
2021-12-21 19:20:09 +01:00
cdimauro
6ba8b17fdd
Use LoggingMixin.log_once to remove/reduce logs on pairlists
2021-12-21 09:11:57 +01:00
Reigo Reinmets
c9243fb4f6
Use buy side for price since mostly used for DCA.
2021-12-20 22:45:46 +02:00
Reigo Reinmets
f6d36ce56b
Fix the dca order not being counted bug.
2021-12-20 22:07:42 +02:00
Reigo Reinmets
d9f5694965
Merge branch 'freqtrade:develop' into dca
2021-12-20 22:05:58 +02:00
Matthias
40036bc710
Force dry-run for webserver backtest mode
...
closes #6094
2021-12-20 19:41:33 +01:00
Matthias
a557451eee
Okex uses 4h mark candle timeframe
2021-12-19 16:47:44 +01:00
Aezo Teo
ea418bc9ac
added stats for long short
2021-12-19 23:24:46 +08:00
Reigo Reinmets
5da38f3613
Fix typo. Make sure trade is market open.
2021-12-19 10:36:47 +02:00
Reigo Reinmets
3aca3a7133
Use parentheses instead of backslash
2021-12-18 18:55:47 +02:00
Matthias
ddce28c12d
Update data downloading to include funding_fee downloads
2021-12-18 15:32:02 +01:00
Reigo Reinmets
db2f0660fa
Some more compatibility fixes.
2021-12-18 11:15:59 +02:00
Reigo Reinmets
b094430c26
Restructure for less complexity. Flake8
2021-12-18 11:01:06 +02:00
Reigo Reinmets
30673f84f9
Flake8 compatibility
2021-12-18 11:00:25 +02:00
Reigo Reinmets
cc28f73d7f
Hopefully fix orders being left lingering and trade not updating once they are complete
2021-12-17 22:29:41 +02:00
Reigo Reinmets
d10fb95fce
Fix typo
2021-12-17 22:27:10 +02:00
Reigo Reinmets
cea023399e
Merge branch 'freqtrade:develop' into dca
2021-12-17 21:59:58 +02:00
Reigo Reinmets
462270bc5a
Fix a case where the amount was not recalculated. Added additional temporary logging.
2021-12-16 22:57:56 +02:00
Matthias
ea38b58081
Add base_currency to allowed webhook fields
...
closes #6075
2021-12-16 20:18:01 +01:00
Reigo Reinmets
337af44901
Merge branch 'freqtrade:develop' into dca
2021-12-16 20:02:14 +02:00
Matthias
b2fc3e814e
Merge pull request #6055 from freqtrade/blacklist_delete
...
Add Blacklist delete
2021-12-16 13:41:18 +01:00
Matthias
39f0a17e62
Fix formatting
2021-12-16 07:11:35 +01:00
Reigo Reinmets
7200659b35
Merge branch 'freqtrade:develop' into dca
2021-12-15 23:17:44 +02:00
Matthias
f9aa36f291
Don't hard-fail when executing emergency sell fails
...
closes #6068
2021-12-15 19:37:35 +01:00
Reigo Reinmets
a7c67e8c7c
Merge branch 'freqtrade:develop' into dca
2021-12-15 08:32:12 +02:00
Reigo Reinmets
9be29c6e92
Theoretically fix second order timeout/canceling deleting the whole order.
2021-12-13 20:44:18 +02:00
Reigo Reinmets
468076cf54
This has to be reset since otherwise it will not handle live limit orders after first buy.
2021-12-13 20:32:13 +02:00
Matthias
793d090561
Improve log message wording for rejected stake amounts
...
closes #6064
2021-12-13 19:29:07 +01:00
Reigo Reinmets
d4b31263ca
Fix open rate being None formatting error.
2021-12-13 13:54:01 +02:00
Reigo Reinmets
6f6e7467f5
Fix potential problem.
2021-12-13 11:17:24 +02:00
Reigo Reinmets
1362bd9626
Fix potential problem.
2021-12-13 02:46:37 +02:00
Reigo Reinmets
2c3e5fa080
Remove extra logging.
2021-12-13 02:30:29 +02:00
Reigo Reinmets
1017b68af9
Fix some unit-tests. Use common trade entry code.
2021-12-13 02:27:09 +02:00
Reigo Reinmets
98255c18cf
Merge branch 'freqtrade:develop' into dca
2021-12-13 02:10:13 +02:00
Matthias
3398469e55
Update PerformanceFilter to have min_profit as ratio again.
...
closes #6056
2021-12-12 13:21:36 +01:00
cdimauro
8dd3128ed4
Add type annotation to new logs suppression code
2021-12-12 12:32:09 +01:00
cdimauro
5b998aeca7
Remove unused import
...
Remove the import from copy, since deepcopy() isn't used anymore
(list.copy() is used instead).
2021-12-12 10:21:54 +01:00
cdimauro
878e16545d
Suppress additional logs for pairs in blacklist
...
Every time that there's freqtrade "ticks", pairs in the blacklist are
checked and a warning message is displayed.
So, the logs are continuously flooded with the same warnings.
For example:
2021-07-26 06:24:45 freqtrade.plugins.pairlistmanager: WARNING -
Pair XTZUP/USDT in your blacklist. Removing it from whitelist...
2021-07-26 06:24:45 freqtrade.plugins.pairlistmanager: WARNING -
Pair SUSHIUP/USDT in your blacklist. Removing it from whitelist...
2021-07-26 06:24:45 freqtrade.plugins.pairlistmanager: WARNING -
Pair XTZDOWN/USDT in your blacklist. Removing it from whitelist...
2021-07-26 06:24:50 freqtrade.plugins.pairlistmanager: WARNING -
Pair XTZUP/USDT in your blacklist. Removing it from whitelist...
2021-07-26 06:24:50 freqtrade.plugins.pairlistmanager: WARNING -
Pair SUSHIUP/USDT in your blacklist. Removing it from whitelist...
2021-07-26 06:24:50 freqtrade.plugins.pairlistmanager: WARNING -
Pair XTZDOWN/USDT in your blacklist. Removing it from whitelist...
This patch shows the warning only the first time, by keeping track
of which pairs in the blacklist were already logged.
2021-12-12 10:20:08 +01:00
Reigo Reinmets
8dacd987b9
Merge branch 'freqtrade:develop' into dca
2021-12-12 08:31:38 +02:00
Matthias
c12f2378db
Merge pull request #6045 from freqtrade/trade_fee_fallback_value
...
Add unknown_fee_rate parameter
2021-12-11 20:00:01 +01:00
Matthias
b90c5e56fb
Fix webserver schema bug when running in webserver mode
2021-12-11 19:46:35 +01:00
Matthias
8fdef2900e
Increment API version to let clients know this is now available
2021-12-11 19:41:30 +01:00
Reigo Reinmets
71147d2899
Attempt to support limit orders for position adjustment.
2021-12-11 18:25:05 +02:00
Matthias
857f4ec125
Remove exception-handlers which catch exceptions that are never raised
2021-12-11 16:20:09 +01:00
Reigo Reinmets
f11a40f144
Improve documentation on adjust_trade_position and position_adjustment_enable
2021-12-11 17:14:04 +02:00
Matthias
8da79d0ab2
Add blacklist-control to telegram
2021-12-11 16:12:24 +01:00
Matthias
cc96db76f0
Add possibility to delete pairs from the pairlist via api
2021-12-11 15:53:44 +01:00
Matthias
e729fad99c
Add unknown_fee_rate parameter
2021-12-11 15:26:08 +01:00
Matthias
17bd990053
Update funding_fee freqtradebot test
2021-12-11 09:49:48 +01:00
Reigo Reinmets
f97662e816
Add position_adjustment_enable config keyword to enable it.
2021-12-11 00:28:12 +02:00
Reigo Reinmets
b7bf3247b8
Only adjust stoploss if it's set.
2021-12-10 23:17:12 +02:00
Reigo Reinmets
1e3fc5e984
Slight code touchup
2021-12-10 22:48:00 +02:00
Matthias
6948414e47
Remove no longer necessary method _get_mark_price_history
2021-12-10 19:54:49 +01:00
Matthias
a87d2d62bb
Remove no longer needed method get_funding_rate_history
2021-12-10 19:52:02 +01:00
Matthias
aabca85a5f
Update _calculate_funding_fees
to reuse existing async infrastructure
2021-12-10 19:50:58 +01:00
Reigo Reinmets
c179951cca
Expect stake_amount, not actual amount of pair from strategy for DCA.
2021-12-10 20:42:24 +02:00
Matthias
35f9549e98
Expose drop_incomplete from refresh_latest_ohlcv
2021-12-10 07:36:25 +01:00
Reigo Reinmets
b2c2852f86
Initial backtesting support. This does make it rather slow.
2021-12-09 23:21:35 +02:00
Reigo Reinmets
00366c5c88
Additional unit-tests
2021-12-09 20:03:41 +02:00
Reigo Reinmets
fde6779873
Some code improvements. Still some bugs.
2021-12-09 14:47:44 +02:00
Reigo Reinmets
88792852e4
Merge branch 'develop' of github.com:freqtrade/freqtrade into dca
2021-12-09 14:33:14 +02:00
Matthias
edd80c3006
Merge branch 'develop' into feat/short
2021-12-09 06:34:07 +01:00
Matthias
be6b1f6f83
Import from enums, not submodules
2021-12-09 06:18:21 +01:00
Matthias
2679744228
Explicit test for candletype get_default
2021-12-08 16:20:26 +01:00
Matthias
35afc7b478
Fix wrong tradingMOde comparison
2021-12-08 16:07:27 +01:00
Matthias
25e1142f89
Update Enum imports
2021-12-08 15:59:20 +01:00
Matthias
d079b444a6
Add optional "has" (as comment for now)
2021-12-08 14:48:56 +01:00
Matthias
9b9d61c6d6
Remove SPOT_ candletype
2021-12-08 14:38:09 +01:00
Matthias
d89cbda7b8
Use candle_type_def
where possible
2021-12-08 14:15:54 +01:00
Matthias
222c293602
Add "defaultCandletype"
2021-12-08 13:17:20 +01:00
Matthias
dda7283f3e
Remove unnecessary default parameters
2021-12-08 11:32:58 +01:00
Matthias
ac2fb08aea
Small updates while reviewing
2021-12-07 20:21:49 +01:00
Matthias
f1c5a4d065
Use pair-reconstruction method wherever possible
2021-12-07 20:12:44 +01:00
Matthias
5b67be06c2
Update description of --candletypes
2021-12-07 20:00:12 +01:00
Matthias
b4d27973b1
Update ohlcv_get_pairs test
2021-12-07 19:57:18 +01:00
Reigo Reinmets
fd875786fd
Initial very crude DCA implementation attempt. Very alpha.
...
No backtesting support.
2021-12-07 11:16:11 +02:00
Matthias
a870e0962a
Fix some obtruse (test)bugs
2021-12-07 07:25:00 +01:00
Matthias
a58c2c4f6c
Update ccxt_compat tests to also test funding_rate
2021-12-07 06:31:39 +01:00
Matthias
9d79501c13
Add candletypes argument for convert-data
2021-12-05 10:26:00 +01:00
Matthias
a80c3f6a1b
Use exchange-dependant timeframe/candletype to get mark/index candles
2021-12-05 10:01:44 +01:00
Matthias
243e59cabb
Merge pull request #5929 from dvdmchl/develop
...
Telegram and log prints strategy version.
2021-12-04 15:16:42 +01:00
Matthias
c981cc335d
Remove wrong comment
2021-12-04 14:51:55 +01:00
Matthias
d0467b30ba
Add strategy_version to API response
2021-12-04 14:49:45 +01:00
Matthias
848a2d5383
Merge branch 'develop' into pr/dvdmchl/5929
2021-12-04 14:40:15 +01:00
Matthias
2080bf0952
Fix some formatting errors, add test for strategy version
2021-12-04 14:40:05 +01:00
Matthias
68ac8008ec
Call custom_exit_price only for sell_signal and custom_sell
2021-12-04 14:14:22 +01:00
Matthias
86910b58dc
Bracket entry/exit prices to low/high of the candle
2021-12-03 17:44:53 +01:00
Matthias
d1209fe415
Merge branch 'develop' into pr/GluTbl/5756
2021-12-03 17:37:44 +01:00
Matthias
5b779fd68b
Update missing candle_type params
2021-12-03 16:44:05 +01:00
Matthias
d09a30cc67
OrderTypeValues should be in enums
2021-12-03 15:34:28 +01:00
Matthias
e75f31ee86
Create correct Type for PairWithTimeFrame
2021-12-03 15:20:18 +01:00
Matthias
bead867940
Improve some typehints
2021-12-03 15:08:00 +01:00
Matthias
69f371bf63
Update download-data to download necessary data for futures
2021-12-03 14:43:49 +01:00
Matthias
d30aaaeaaa
Tests should also use CandleType
2021-12-03 14:27:04 +01:00
Matthias
2f17fa2765
Update more to use candleType
2021-12-03 14:15:35 +01:00
Matthias
5493212672
More candletype changes
2021-12-03 13:04:31 +01:00
Matthias
f33643cacf
Add candletype from string
2021-12-03 12:46:18 +01:00
Matthias
f9cf59bb4d
Candle_type to enum
2021-12-03 12:32:12 +01:00
Matthias
a87e256737
Add candleType enum
2021-12-03 12:12:33 +01:00
Matthias
e0e4369c8e
list-available-pairs should be tradingmode dependent
2021-12-03 08:09:32 +01:00
Matthias
b578e31255
Align tests to have futures data in futures/ directory
2021-12-03 07:20:43 +01:00
Matthias
7baf11a497
Futures candles should go into a subdirectory
2021-12-03 07:04:53 +01:00
Matthias
fae7167bf3
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 20:25:30 +01:00
Matthias
fb1599d21b
Merge branch 'develop' into feat/short
2021-12-02 20:20:35 +01:00
Matthias
ad5c8f601c
Simplify datahandler classes by exploiting commonalities
2021-12-02 20:19:22 +01:00
Matthias
d3ad4fb52e
Don't crash dry-run if orderbook side is empty
...
closes #6018
2021-12-02 19:17:47 +01:00
Matthias
f4d0abc51a
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 07:09:37 +01:00
Matthias
f71b7a4e76
Merge branch 'develop' into feat/short
2021-12-02 06:53:15 +01:00
Matthias
c1fed8a077
Merge pull request #6014 from freqtrade/double_notifications
...
Double notifications
2021-12-02 06:39:18 +01:00
Matthias
0375a08302
use to_hdf instead of HDFStore
2021-12-01 20:32:23 +01:00
Matthias
5ce1eeecf5
Reorder messages to be sent in correct order
...
buy first, then buy fill,
sell first, then sell fill.
2021-12-01 19:57:24 +01:00
Matthias
77443d5abc
Merge pull request #6011 from freqtrade/lev/backtesting
...
correctly apply leverage to backtesting
2021-12-01 19:49:40 +01:00
Matthias
67f3570bf3
Merge branch 'develop' into feat/short
2021-12-01 07:21:36 +01:00
Matthias
c22f381dfe
Fix Schema issue
...
closes #6010
2021-11-30 20:46:47 +01:00
Matthias
a2a974fc6d
correctly apply leverage to backtesting
2021-11-30 20:32:34 +01:00
Matthias
542963c7a6
Reduce code complexity by combining buy and buy_fill methods
2021-11-30 19:45:20 +01:00
Matthias
f0abe218a2
Batch ohlcv requests to not overwelm ccxt's async throttler
...
closes #6003
2021-11-30 07:10:12 +01:00
Matthias
231b1e2f57
Improve Async error message content
2021-11-30 07:10:12 +01:00
Matthias
de7e1e6bf7
Merge pull request #5980 from incrementby1/ShuffleFilterDetectLiveMode
...
Shuffle filter use seed only in backtesting mode
2021-11-30 06:37:35 +01:00
incrementby1
60eca8b1f1
revert to random object
2021-11-29 20:35:43 +01:00
Matthias
06d8217e62
Merge pull request #5983 from PostmanSpat/webhook-raw-retry
...
Added raw config and retry config to webhook
2021-11-29 20:30:06 +01:00
Matthias
dfb148f8d7
Fix formatting
2021-11-29 19:54:54 +01:00
Matthias
f8cb3d2901
Restore openAPI functioning
2021-11-29 19:52:40 +01:00
Spat
018407852a
Added missing webhook config params to constants
2021-11-29 18:17:59 +11:00
Spat
29180a1d2b
Moved retry config to constants
2021-11-29 10:48:35 +11:00
Spat
0fa5bf54cd
Changed comment
2021-11-29 10:30:41 +11:00
Matthias
cf5ff9257d
Add plotconfig as property documentation and sample
2021-11-28 19:39:43 +01:00
incrementby1
c7d10e2c7e
delete unneeded comment
2021-11-28 19:05:02 +01:00
Matthias
cb4efa6d56
Revert unnecessary formatting changes
2021-11-28 15:53:13 +01:00
Matthias
c20157e64f
Add compatibility code for existing informative_pairs implementation
2021-11-28 15:43:04 +01:00
Matthias
0d6c933935
Improve and fix pair detection from available data
2021-11-28 15:25:57 +01:00
Matthias
0d1324718c
Don't replace "-" when writing pair files
2021-11-28 15:08:02 +01:00
Matthias
7faa7539b4
Further enhance pair retrieval
2021-11-28 15:03:55 +01:00
Matthias
8d70672bee
Enhance Regex to work for mark candles
2021-11-28 14:37:54 +01:00
Matthias
c096c7f5cb
Add explicit tests for ohlcv regex
2021-11-28 14:34:46 +01:00
Matthias
2414c0bd9f
Merge pull request #5982 from stash86/fix-docs
...
add weekly and monthly to valid keys
2021-11-28 08:28:13 +01:00
Spat
fb6ae174b9
Added raw config and retry config to webhook
2021-11-28 11:42:57 +11:00
Stefano Ariestasia
fd9bf2adb0
add weekly and monthly to valid keys
2021-11-28 08:23:02 +09:00
Matthias
6429205d39
Improve Notebook documentation to include Dataprovider
...
fix #5975
2021-11-27 19:53:37 +01:00
Matthias
2b3e7eeb21
Use Enum values within bot code
2021-11-27 19:41:36 +01:00
Matthias
409a801763
Fix caching problem in refresh_ohlcv
...
closes #5978
2021-11-27 19:31:39 +01:00
incrementby1
b90303c9a3
Update ShuffleFilter.py
...
random.Random() is deprecated since 3.9
2021-11-27 18:26:30 +01:00
Matthias
cb95b362ec
Merge pull request #5976 from freqtrade/forcebuy
...
allow force options with ordertype
2021-11-27 17:01:18 +01:00
Matthias
107e124f60
Fix bug in exchange causing candles not to download
2021-11-27 17:00:06 +01:00
Matthias
bf8f1045ca
Map binanceusdm to ft binance class
2021-11-27 16:46:17 +01:00
Matthias
504efbd6d4
Add futures argument to download-data command
2021-11-27 16:36:59 +01:00
incrementby1
8c52ba3360
ShuffleFilterDetectLiveMode
...
# Apply seed in backtesting mode to get comparable results,
# but not in live modes to get a non-repeating order of pairs during live modes.
2021-11-27 16:21:23 +01:00
Sam Germain
392128013f
Updated ohlcv_get_available_data to recognize swap and futures pairs
2021-11-27 03:11:44 -06:00
Sam Germain
8761649fd7
Added candle_type in doc strings
2021-11-27 02:55:42 -06:00
Matthias
7e1eedd7df
Version bump to 2021.11
2021-11-27 09:55:00 +01:00
Matthias
a9cdb428d0
Version bump to 2021.10
2021-11-27 09:53:34 +01:00
Matthias
3f10430eb5
Version bump to 2021.9
2021-11-27 09:53:34 +01:00
Matthias
6ca6f62509
Remove duplicate code in optimize_reports
2021-11-27 09:39:10 +01:00
Matthias
bc52b3db56
Properly handle None values via API
2021-11-27 09:26:14 +01:00
Matthias
80ed5283b2
Add forcesell market/limit distinction
2021-11-27 09:10:18 +01:00
Matthias
450293878f
Merge pull request #5964 from stash86/fix-docs
...
Add more words on VolumePairlist backtest error message
2021-11-26 07:48:24 +01:00
Matthias
897788de17
Reformulate exception to be "nicer"
2021-11-26 07:02:50 +01:00
Matthias
cc9ea1d466
Merge pull request #5935 from freqtrade/short_buy_tag_compat
...
Short buy tag compat
2021-11-26 06:29:56 +01:00
Stefano Ariestasia
5307d2bf3b
Trimming the sentence
2021-11-25 17:04:04 +09:00
Stefano Ariestasia
0d1e84cf55
Add more words
...
Because apparently, we get at least 1 question about this everyday in Discord
2021-11-25 16:00:10 +09:00
Matthias
338fe333a9
Allow forcebuy to specify order_type
2021-11-24 20:20:58 +01:00
Matthias
51e54a666c
Merge branch 'feat/short' into pr/samgermain/5780
2021-11-23 19:01:07 +01:00
Matthias
db16098981
Fix Tests
2021-11-23 17:43:37 +01:00
Sam Germain
586ca3b2fa
removed is_market_future from binance and ftx
2021-11-23 11:09:31 +01:00
Sam Germain
70751b942c
market_is_future fix
2021-11-23 01:50:23 -06:00
Matthias
ce0593c0e1
Merge branch 'develop' into feat/short
2021-11-23 07:35:26 +01:00
Matthias
b8cefd687e
Add api_version to botresponse
2021-11-23 07:08:55 +01:00
Rokas Kupstys
78a00f2518
Use market data to get base and quote currencies in @informative() decorator.
2021-11-22 09:27:45 +02:00
Matthias
64e34f382e
Sell-fill should include open-rate
2021-11-22 07:13:22 +01:00
Sam Germain
920151934a
Added candle_type to a lot of methods, wrote some tests
2021-11-21 17:48:14 -06:00
Sam Germain
e2f98a8dab
replaced candle_type: Optional[str] = '' with candle_type: str = ''
2021-11-21 17:48:14 -06:00
Sam Germain
64a6abc541
Added candle type to ohlcv_get_available_data
2021-11-21 17:48:14 -06:00
Sam Germain
b4029533ec
removed candle type from idatahandler.py
2021-11-21 17:48:14 -06:00
Sam Germain
843ca22a56
mark price test ohlcv_get_pairs
2021-11-21 17:48:14 -06:00
Sam Germain
12060a2d2c
fixed error with fetch_ohlcv candndle_type
2021-11-21 17:48:14 -06:00
Sam Germain
a657707ca3
Added timedelta to exchange
2021-11-21 17:48:14 -06:00
Sam Germain
3d95533bf9
Removed candletype from converter methods
2021-11-21 17:48:14 -06:00
Sam Germain
ee2ad8ca97
updated historic data filenames to include the candle type
2021-11-21 17:48:14 -06:00
Sam Germain
c8162479d6
Added price as param to fetch_ohlcv
2021-11-21 17:48:14 -06:00
Matthias
c26c0b6822
Merge branch 'feat/short' into short_buy_tag_compat
2021-11-21 19:31:59 +01:00
Matthias
aad37bb8f3
Merge pull request #5924 from freqtrade/feat/leverage
...
call leverage methods
2021-11-21 19:30:27 +01:00
Matthias
63d94aa585
short should be allowed for all non-spot modes
2021-11-21 19:29:08 +01:00
Matthias
fb519a5b39
Add comment with reasoning to ignore leverage in min_amount calculation
2021-11-21 10:28:40 +01:00
Matthias
192ac88314
Update optimize-reports to enter_tag wording
2021-11-21 10:20:09 +01:00
Matthias
2a84526f04
Remove more buy_tag references
2021-11-21 10:05:56 +01:00
Matthias
36deced00b
Remove more buy_tag references
2021-11-21 09:55:10 +01:00
Matthias
7d77aff289
Add some compatibility around buy_tag
2021-11-21 09:24:20 +01:00
Matthias
97ff7d1223
Merge branch 'develop' into feat/short
2021-11-21 09:13:53 +01:00
Matthias
7a8978abbb
Make ohlcv data endpoint work correctly with new interface
2021-11-20 20:09:37 +01:00
Dardon
d4fd13bf50
Telegram and log prints strategy version.
2021-11-20 16:26:07 +00:00
Matthias
f8f7d81fc2
Update strategy template to use parameters
2021-11-20 11:39:21 +01:00
Sam Germain
54ef52692f
Trade.has_no_leverage makes more sense
2021-11-20 01:06:10 -06:00
Matthias
9aed76ba17
Integrate leverage() to freqtradebot
2021-11-19 19:23:48 +01:00
Matthias
6247608cc6
top/bottom cap leverage
2021-11-19 07:11:19 +01:00
Matthias
021d1b518c
Call "leverage" to determine leverage to be used.
2021-11-18 20:55:45 +01:00
Matthias
5a8824171c
Add short/long metrics to backtest result
2021-11-18 20:42:43 +01:00
Matthias
0a50017c84
Add long/short support to backtesting
2021-11-18 20:34:59 +01:00
Matthias
f40221dd9f
Merge branch 'develop' into feat/short
2021-11-18 20:20:01 +01:00
Matthias
8638e6fe47
Simplify tradingmode parsing
2021-11-18 19:58:44 +01:00
Matthias
4f0a73010a
Merge pull request #5890 from aezomz/todo-rpc
...
Todo-lev RPC tests and model
2021-11-17 06:58:07 +01:00
aezo.teo
c17c1611bd
removed short_trades, updated schema, tests
2021-11-16 14:03:33 +08:00
Matthias
75eccea88d
Improve futures detection, add ccxt-compat test
2021-11-15 19:57:36 +01:00
Matthias
4e9b83e170
Merge branch 'feat/short' into futures_pairlist
2021-11-15 19:12:36 +01:00
Sam Germain
f101419a47
Merge branch 'feat/short' into todo-rpc
2021-11-14 20:48:55 -06:00
Matthias
1b058d882d
Simplify date rounding logic
2021-11-14 19:55:56 +01:00
aezo.teo
a08572e907
Merge remote-tracking branch 'upstream/feat/short' into todo-rpc
2021-11-14 21:21:59 +08:00
aezo.teo
92997c85f9
adding sides for rate and 1 more test case
2021-11-14 17:37:31 +08:00
Matthias
4d1d8de9b7
Split /stats messages
...
closes #5869
2021-11-14 10:20:04 +01:00
Sam Germain
e7fad04eb9
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-14 03:15:22 -06:00
Matthias
c70fdea886
Merge pull request #5847 from stash86/kucoin-api
...
Hardcoded temp fix for Kucoin API issue
2021-11-14 10:11:02 +01:00
aezo.teo
8df334515f
added logic for is_short and tests
2021-11-14 16:52:38 +08:00
Matthias
8cfc531b32
Merge pull request #5887 from samgermain/common-ccxt-config
...
Common ccxt config
2021-11-14 09:52:06 +01:00
aezo.teo
30fbe0c79c
added is_short and short_trades to schema
2021-11-14 16:51:03 +08:00
Matthias
5b9cbaf277
Use Close value for trade signal calculation
2021-11-14 09:50:04 +01:00
Matthias
33f00d23b9
Merge pull request #5885 from ethanopp/develop
...
Include more details in _FILL telegram notifications
2021-11-14 09:37:58 +01:00
Stefano Ariestasia
632c1bc0aa
Add static workaround for kucoin 429000 issue
...
closes #5700
2021-11-14 09:31:38 +01:00
Matthias
7c11619924
avoid using replace in messages
2021-11-14 09:19:21 +01:00
Sam Germain
430aa0903f
Removed redundent TODO-levs
2021-11-13 19:45:41 -06:00
Sam Germain
01ad65de68
test_rpc_apiserver.py
2021-11-13 19:22:43 -06:00
Sam Germain
099bf7691e
Updated bibox to combine parent _ccxt_config and minimized _ccxt_config tests
2021-11-13 16:23:59 -06:00
Sam Germain
3d86b18492
Added property _ft_has_default.ccxt_futures_name and removed subclass ccxt_config properties
2021-11-13 16:23:58 -06:00
ethan
c4c1b301cd
buy notification code consolidation
2021-11-13 15:46:00 -05:00
ethan
0bc9384451
more notification code consolidation
2021-11-13 14:52:59 -05:00
ethan
7412b7ba51
buy/sell fill notification code consolidation
2021-11-13 10:23:47 -05:00
ethan
a177e58dc4
Remove "currency" generating from splitting pair str
2021-11-13 08:49:02 -05:00
Sam Germain
867ac3f82a
Removed typing.List from bibox, hitbtc and kucoin
2021-11-13 06:21:17 -06:00
Sam Germain
3c509a1f9b
New method for combining all funding fees within a time period
2021-11-13 04:45:23 -06:00
Matthias
df27499e19
Improve /help
output from telegram
2021-11-13 08:46:06 +01:00
ethan
32e3376296
Update buy/sell fill telegram notifications
2021-11-12 21:49:07 -05:00
ethan
a237667bc9
Update buy/sell fill telegram notifications
2021-11-12 16:18:04 -05:00
Matthias
6b40792f80
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-12 08:06:29 +01:00
Matthias
8d4163d003
Add compat tests
2021-11-12 07:26:59 +01:00
Sam Germain
c8c2d89893
exchange.get_funding_fees returns 0 by default
2021-11-11 19:10:56 -06:00
Sam Germain
9a65f486ed
updated exchangeError messages regarding fetch_funding_rate_history
2021-11-11 18:33:46 -06:00
Sam Germain
592b7e0ce3
All test_update_funding_fees tests pass
2021-11-11 17:49:32 -06:00
Matthias
76ced8acf6
Add some documentation to class
2021-11-11 20:34:52 +01:00
Matthias
e0fd880c11
Improve some more pct formattings
2021-11-11 16:12:23 +01:00
Matthias
4eb9038358
Some more fixes to % formatting
2021-11-11 15:06:16 +01:00
Matthias
1b271d0840
Improve % outputs to not use explicit "pct" entries
2021-11-11 12:58:38 +01:00
Matthias
ce2aa1dc69
Small formatting upgrades
2021-11-11 12:06:18 +01:00
Matthias
f8d30abd79
Handle order returns that contain trades directly
...
binance market orders - and potentially other exchanges
2021-11-10 19:43:36 +01:00
Sam Germain
b87f8e7034
Removed unnecessary todo comments
2021-11-10 00:59:53 -06:00
Matthias
d3d17f9f8b
Only allow min-stake adjustments of up to 30%
...
fix #5856
2021-11-10 06:57:22 +01:00
Matthias
23a566b478
validate_stake_amount should not be a private method
2021-11-10 06:38:24 +01:00
Sam Germain
e713f5188f
Merge branch 'funding-fee-dry-run' of https://github.com/samgermain/freqtrade into funding-fee-dry-run
2021-11-09 14:45:50 -06:00
Sam Germain
45e4354906
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-09 14:45:10 -06:00
Matthias
4a67b33cb3
Fix some formatting
2021-11-09 19:40:42 +01:00
Matthias
e69a100c64
Merge branch 'feat/short' into pr/samgermain/5779
2021-11-09 19:34:57 +01:00
Matthias
d5438ed0a8
Fix docstring indents
2021-11-09 19:22:29 +01:00
Matthias
6267678ca9
Use doublequotes for docstrings
2021-11-09 10:40:01 +00:00
Matthias
f9e5a25b36
Add docstring style to Contributing
2021-11-09 07:48:25 +00:00
Sam Germain
fbe9e73c5d
better param for funding_fee_cutoff
2021-11-09 01:17:29 -06:00
Sam Germain
6c8501dadc
Removed docstring indents
2021-11-09 01:00:57 -06:00
Matthias
ae0e72a945
Provide strategy with copied objects
...
avoids accidental modification of crucial elements in a trade object
part of #5828
2021-11-08 19:59:29 +01:00
Matthias
e4cca63163
Align sell_reason assignment location
...
trade mode sets it after "exit confirmation" - so should backtesting
detected in #5828
2021-11-08 19:32:13 +01:00
Matthias
f2be820f73
Merge pull request #5855 from freqtrade/multi_ohlcv_calls
...
Provide more historic data in trade mode
2021-11-08 19:30:40 +01:00
Sam Germain
d0b91b334e
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-08 04:44:57 -06:00
Sam Germain
090b3d29b7
Updated kraken._get_funding_fee docstring with notification that it won't work in the bot yet
2021-11-08 01:58:23 -06:00
Sam Germain
01229ad631
updated exchange.get_funding_fee_dates with better names
2021-11-08 01:58:23 -06:00
Sam Germain
bea37e5ea3
moved dry run check for funding fees to exchange
2021-11-08 01:58:09 -06:00
Matthias
c11e1a84e4
Fix wrong logging
...
detected in #5856
2021-11-07 15:41:04 +01:00
Matthias
de4bc7204d
Update documentation to clarify new behaviour
2021-11-07 15:36:43 +01:00
Matthias
a08dd17bc1
Use startup_candle-count to determine call count
2021-11-07 13:10:40 +01:00
Matthias
9fa64c2647
Allow multiple calls to get more candles in live-run
2021-11-07 11:31:59 +01:00
Matthias
fb6ba62158
Add default to "is_new_pair"
2021-11-07 11:08:30 +01:00
Matthias
1dd6872b80
Merge pull request #5843 from Theagainmen/patch-2
...
Update warning message open trades
2021-11-07 11:07:16 +01:00
Matthias
4595c1e73c
Slightly reformat to simplify new change
2021-11-07 10:55:11 +01:00
Matthias
6cc3f65a83
Add --trading-mode parameter
2021-11-07 10:52:20 +01:00
Matthias
11b77cf94c
Update test to new list-pairs format
2021-11-07 10:43:00 +01:00
Matthias
0dd9a277d3
improve market_is_tradable tests
2021-11-07 10:43:00 +01:00
Matthias
3fac5c5bcd
Update list-markets to work for futures/margin as well
2021-11-07 10:43:00 +01:00
Sam Germain
252e45ebf2
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-06 22:46:00 -06:00
Sam Germain
04dc14a74c
Added okex exchange class futures properties
2021-11-06 22:43:02 -06:00
Sam Germain
0c2501e11b
Safer keys for funding_rate and mark_price dictionaries, based on rounding down the hour
2021-11-06 22:31:38 -06:00
Sam Germain
8bfcf4ee09
Fixed breaking exchange tests from _get_funding_fee_dates, and commented out kraken get_funding_fees tests
2021-11-06 22:05:38 -06:00
Sam Germain
b88482b2e9
Fixed millisecond timestamp issue errors with funding fees
2021-11-06 21:45:35 -06:00
Sam Germain
48b34c8fd0
Fixed issues with funding-fee being miscalculated on trade objects in freqtradebot
2021-11-06 21:03:18 -06:00
Sam Germain
f795288d90
Fixed timestamp/datetime issues for mark price, funding rate and _get_funding_fee_dates
2021-11-06 20:48:03 -06:00
Sam Germain
6e912c1053
Updated _get_funding_fee method names, added kraken._get_funding_fee
2021-11-06 17:39:21 -06:00
Matthias
25fcab0794
Enhance /show_config endpoint
2021-11-06 16:20:18 +01:00
Matthias
fef7da03b2
Merge pull request #5850 from freqtrade/timeout_forcesell
...
multiple exit-timeouts can trigger emergencysell
2021-11-06 16:20:06 +01:00
Matthias
ebc38159b8
Merge branch 'develop' into feat/short
2021-11-06 15:24:52 +01:00
Antoine Merino
d0e192e20f
Fix naive timezone for /daily command
2021-11-06 13:14:15 +01:00
Matthias
f7dc47b1c8
Add test for exit_timeout_count
2021-11-06 13:10:41 +01:00
Antoine Merino
3c33b48fd5
Fix naive timezones
2021-11-06 13:09:15 +01:00
Sam Germain
cb97c6f388
Updated time to utc in test_update_funding_fees, some funding rate key errors because a timestamp is likely not in utc
2021-11-06 05:56:58 -06:00
Matthias
7a907a7636
Add Emergencyselling after X timeouts have been reached
2021-11-06 11:48:49 +01:00
Antoine Merino
8eabdd659f
Fix missing CallbackQueryHandler
...
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 22:51:35 +01:00
Antoine Merino
70253258f0
Test /monthly & clean
...
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 22:33:06 +01:00
Antoine Merino
459ff9692d
Add /weekly and /monthly to Telegram RPC
...
/weekly now list weeks starting from monday instead of rolling weeks.
/monthly now list months starting from the 1st.
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:28 +01:00
Antoine Merino
5f40158c0b
WIP Add /weekly and /monthly to Telegram RPC
...
Related to "Show average profit in overview" (#5527 )
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:19 +01:00
Matthias
d99eaccb5a
Fix exception when using okex
...
closes #5842
2021-11-05 19:47:13 +01:00
Matthias
60a5ded532
Don't convert telegram chat_id
...
closes #5840
2021-11-05 19:27:54 +01:00
Theagainmen
2115a3ed12
Update warning message open trades
...
This shouldn't confuse user when just reloading their bot.
2021-11-05 18:49:10 +01:00
Matthias
781f8a059c
Merge pull request #5835 from freqtrade/okex_support
...
Add official Okex support
2021-11-04 20:03:19 +01:00
raphael
ae2343db93
Update optimize_reports
...
Update show_backtest_reults() to preserve backwards compatibility by fixing KeyError: 'results_per_buy_tag' for older hyperopt result files.
2021-11-04 10:25:13 -04:00
Sam Germain
8a4236198f
Added test_update_funding_fees in freqtradebot, test currently fails
2021-11-03 22:52:37 -06:00
Matthias
431b96de98
Merge branch 'develop' into pr/theluxaz/5710
2021-11-03 19:43:36 +01:00
Matthias
437e5f0645
Fix officially supported exchange list
2021-11-03 19:20:39 +01:00
Matthias
f60d101076
Some finetuning for OKEX
2021-11-03 07:12:42 +01:00
Matthias
e78df59e30
Configure candle length for OKEX
2021-11-02 19:49:53 +01:00
Sam Germain
3de42da29a
All funding fee test_exchange tests pass
2021-11-01 07:52:40 -06:00
Matthias
a16328f372
Don't force timeframe in config in config generator
2021-11-01 13:44:26 +01:00
Sam Germain
ba95172d07
Finished test_calculate_funding_fees
2021-11-01 06:28:03 -06:00
Matthias
4249fcefba
Merge pull request #5150 from cryptomeisternox/backtesting-filter
...
Adding command for Filtering and print trades
2021-11-01 09:43:49 +01:00
Sam Germain
33b0778c0a
updated exchange.calculate_funding_fees to have default close_date
2021-11-01 01:13:37 -06:00
Sam Germain
edfc3377c5
Updated exchange._get_funding_fee_dates to use new method funding_fee_cutoff
2021-11-01 01:09:11 -06:00
Sam Germain
5c52b21346
Added tests for funding_fee_dry_run
2021-10-31 22:24:27 -06:00
Matthias
6b90b4a144
Test "get-signal"
2021-10-31 10:53:30 +01:00
Matthias
dffe76f109
Don't double-loop to generate profits
2021-10-31 10:49:56 +01:00
Matthias
c15f73aa1f
Rename command to backtesting-show
2021-10-31 10:13:11 +01:00
Sam Germain
f6924aca40
removed get_funding_rate_history from gateio
2021-10-31 01:24:02 -06:00
Sam Germain
2bfc812618
moved mark_ohlcv_price in _ft_has
2021-10-31 00:53:36 -06:00
Matthias
c094ac5762
Merge branch 'develop' into feat/short
2021-10-30 19:45:19 +02:00
Matthias
20904f1ca4
Add tests for new command
2021-10-30 19:43:42 +02:00
Matthias
72ecb45d86
Add test for backtest_show logic
2021-10-30 16:53:48 +02:00
Matthias
650d6c276a
Add documentation
2021-10-30 16:40:03 +02:00
Matthias
d60001e886
Stoploss cannot be below candle low
...
fix #5816
2021-10-30 16:14:13 +02:00
Matthias
851062ca46
Rename backtest-filter to backtest_show
2021-10-30 10:53:18 +02:00
Matthias
f472709438
Add option to show sorted pairlist
...
Allows easy copy/pasting of the pairlist to a configuration
2021-10-30 10:50:40 +02:00
Matthias
0f3809345a
Remove backtest-path parameter
2021-10-30 10:28:12 +02:00
Matthias
6f1e719216
Merge branch 'develop' into pr/cryptomeisternox/5150
2021-10-30 10:26:05 +02:00
Matthias
c34b8a95d7
Merge pull request #5798 from incrementby1/personal-branch
...
Add function to unlock PairLocks by reason
2021-10-30 10:15:21 +02:00
Matthias
c579fcfc19
Add tests and documentation for unlock_reason
2021-10-30 09:51:09 +02:00
Sam Germain
0ea8957ccc
removed ftx get_mark_price_history, added variable mark_ohlcv_price, used fetch_ohlcv instead of fetch_mark_ohlcv inside get_mark_price_history
2021-10-29 20:07:24 -06:00
Sam Germain
a4892654da
Removed params from _get_mark_price_history
2021-10-29 19:37:02 -06:00
Matthias
201fe108bc
Merge pull request #5607 from TreborNamor/develop
...
a new hyperopt loss created that uses calmar ratio
2021-10-29 09:20:44 +02:00
Matthias
5cdae2ce3f
Remove CalmarDaily hyperopt loss
2021-10-29 06:53:40 +02:00
incrementby1
e9d71f26b3
small changes
2021-10-29 00:03:20 +02:00
incrementby1
658006e7ee
removed wrong use of map and filter function
2021-10-28 23:29:26 +02:00
theluxaz
560802c326
Added tests for the new rpc/telegram functions
2021-10-28 21:39:42 +03:00
Sam Germain
02ab3b1697
Switched mark_price endTime to until
2021-10-28 07:26:36 -06:00
Sam Germain
0b12107ef8
Updated error message in fetchFundingRateHistory
2021-10-28 07:22:47 -06:00
Sam Germain
44d9a07acd
Fixed _get_funding_fee_dates method
2021-10-28 07:20:45 -06:00
Sam Germain
956352f041
Removed name_for_futures_market
2021-10-28 07:19:46 -06:00
incrementby1
02e69e1667
Changes to unlock_reason:
...
- introducing filter
- replaced get_all_locks with a query for speed
. removed logging in backtesting mode for speed
. replaced for-loop with map-function for speed
Changes to models.py:
- changed string representation of Pairlock to also contain reason and active-state
2021-10-28 15:16:07 +02:00
incrementby1
dc605e29aa
removed empty lines for flake8
2021-10-27 21:04:08 +02:00
incrementby1
2eb33707c9
Undo changes
2021-10-27 15:58:41 +02:00
incrementby1
a50bde10de
Merge https://github.com/freqtrade/freqtrade into personal-branch
2021-10-27 15:52:10 +02:00
Matthias
f80d3d48e4
Add default to minimal_roi to avoid failures
...
closes #5796
2021-10-27 06:33:49 +02:00
Sam Germain
a2b1838c60
Merge branch 'feat/short' into funding-fee-dry-run
2021-10-25 22:00:09 -06:00
incrementby1
c3f3bdaa2a
Add "allow_position_stacking" value to config, which allows rebuys of a pair
...
Add function unlock_reason(str: pair) which removes all PairLocks with reason
Provide demo strategy that allows buying the same pair multiple times
2021-10-26 00:04:40 +02:00
theluxaz
b51f946ee0
Fixed models and rpc performance functions, added skeletons for tests.
2021-10-25 23:43:22 +03:00
Matthias
20a61e03da
Merge pull request #5786 from SimonEbner/clean_up_file_handles
...
Clean up file handles
2021-10-25 19:49:07 +02:00
Robert Roman
88b96d5d1b
Update hyperopt_loss_calmar.py
2021-10-25 00:45:10 -05:00
Matthias
262f186a37
.
2021-10-25 07:19:55 +02:00
Matthias
cea251c83c
Clarify documentation for /forcebuy
...
closes #5783
2021-10-25 06:46:02 +02:00
Simon Ebner
f7926083ca
Clean up unclosed file handles
...
Close all file handles that are left dangling to avoid warnings such as
```
ResourceWarning: unclosed file <_io.TextIOWrapper
name='...' mode='r' encoding='UTF-8'> params = json_load(filename.open('r'))
```
2021-10-24 23:15:05 +02:00
Matthias
4539170424
Merge pull request #5776 from SimonEbner/performance_decimalspace
...
Improve performance of decimalspace.py
2021-10-24 19:27:24 +02:00
Simon Ebner
df033d92ef
Improve performance of decimalspace.py
...
decimalspace.py is heavily used in the hyperoptimization. The following
benchmark code runs an optimization which is taken from optimizing a
real strategy (wtc).
The optimized version takes on my machine approx. 11/12s compared to the
original 32s. Results are equivalent in both cases.
```
import freqtrade.optimize.space
import numpy as np
import skopt
import timeit
def init():
Decimal = freqtrade.optimize.space.decimalspace.SKDecimal
Integer = skopt.space.space.Integer
dimensions = [Decimal(low=-1.0,
high=1.0,
decimals=4,
prior='uniform',
transform='identity')] * 20
return skopt.Optimizer(
dimensions,
base_estimator="ET",
acq_optimizer="auto",
n_initial_points=5,
acq_optimizer_kwargs={'n_jobs': 96},
random_state=0,
model_queue_size=10,
)
def test():
opt = init()
actual = opt.ask(n_points=2)
expected = [[
0.7515, -0.4723, -0.6941, -0.7988, 0.0448, 0.8605, -0.108, 0.5399,
0.763, -0.2948, 0.8345, -0.7683, 0.7077, -0.2478, -0.333, 0.8575,
0.6108, 0.4514, 0.5982, 0.3506
], [
0.5563, 0.7386, -0.6407, 0.9073, -0.5211, -0.8167, -0.3771,
-0.0318, 0.2861, 0.1176, 0.0943, -0.6077, -0.9317, -0.5372,
-0.4934, -0.3637, -0.8035, -0.8627, -0.5399, 0.6036
]]
absdiff = np.max(np.abs(np.asarray(expected) - np.asarray(actual)))
assert absdiff < 1e-5
def time():
opt = init()
print('dt', timeit.timeit("opt.ask(n_points=20)", globals=locals()))
if __name__ == "__main__":
test()
time()
```
2021-10-24 18:14:24 +02:00
Matthias
22dd2ca003
Fix mypy type errors
2021-10-24 15:18:29 +02:00
Matthias
17432b2823
Improve some stylings
2021-10-24 09:15:05 +02:00
Matthias
dffb4c5d53
Merge branch 'develop' into pr/TreborNamor/5607
2021-10-24 08:55:10 +02:00
Sam Germain
60478cb213
Add fill_leverage_brackets and get_max_leverage back in
2021-10-23 22:16:51 -06:00
Sam Germain
d99e0dac7b
Added name for futures market property
2021-10-23 21:59:47 -06:00
Sam Germain
3eda9455b9
Added dry run capability to funding-fee
2021-10-23 21:59:47 -06:00
Sam Germain
2533d3b420
Added get_funding_rate_history method to exchange
2021-10-23 21:59:41 -06:00
Sam Germain
ef8b617eb2
gateio, ftx and binance all use same funding fee formula
2021-10-23 21:59:03 -06:00
Sam Germain
badc0fa445
Adjusted _get_funding_fee_method
2021-10-23 21:58:57 -06:00
Sam Germain
cba0a8cee6
adjusted funding fee formula binance
2021-10-23 21:58:17 -06:00
Sam Germain
2a26c6fbed
Added backtesting methods back in
2021-10-23 21:33:37 -06:00
Sam Germain
ed91516f90
Changed future to swap
2021-10-23 14:10:09 -06:00
Simon Ebner
fde10f5395
Use pathlib.stem instead of str(x).ends_with
2021-10-23 12:26:07 +02:00
Sam Germain
167f9aa8d9
Added gateio futures support, and added gatio to test_exchange exchanges variable
2021-10-22 11:52:05 -06:00
Sam Germain
aed22f7dad
Merge branch 'develop' into feat/short
2021-10-22 11:45:27 -06:00
Sam Germain
f07555fc84
removed binance constructor, added fill_leverage_brackets call to exchange constructor
2021-10-22 06:37:56 -06:00
Matthias
78724e304e
Merge branch 'develop' into pr/theluxaz/5710
2021-10-21 17:46:39 +02:00
theluxaz
0e085298e9
Fixed test failures.
2021-10-21 17:25:38 +03:00
Matthias
96f99699e0
Merge pull request #4606 from rextea/add_days_breakdown_to_backtesting_summary
...
Add days breakdown table to backtesting
2021-10-21 13:56:30 +02:00
Matthias
e458c9867a
Styling fixes
2021-10-21 07:45:15 +02:00
Matthias
7b5346b984
Add test for breakdown-stats
2021-10-21 07:11:39 +02:00
Matthias
fa028c2134
Support day/week/month breakdowns
2021-10-21 06:58:40 +02:00
Matthias
7197f4ce77
Don't show daily % profit (it's wrong)
2021-10-20 20:01:31 +02:00
Matthias
de5497c766
backtest_days cannot be below 1
2021-10-20 19:39:37 +02:00
Matthias
1267374c8a
Small fixes to tests
2021-10-20 19:21:38 +02:00
theluxaz
905f3a1a50
Removed exit_tag from Trade objects.
2021-10-20 17:58:50 +03:00
Sam Germain
0329da1a57
updated get_max_leverage to use new ccxt unified property
2021-10-20 08:36:48 -06:00
Sam Germain
3fffc315ac
Merge branch 'develop' into feat/short
2021-10-20 08:11:53 -06:00
Matthias
5454460227
Revert initial_points to 30
...
closes #5760
2021-10-20 07:46:15 +02:00
theluxaz
1fdc4425dd
Changed exit_tag to be represented as sell_reason
2021-10-20 01:26:15 +03:00
Matthias
55b0216180
Allow StaticPairlist in non-first position
...
closes #5754
2021-10-19 19:48:56 +02:00
Matthias
42a4dfed28
Reallow bitstamp
...
revert #1984 , related to #1983
2021-10-19 19:12:35 +02:00
GluTbl
00406ea7d5
Update backtesting.py
...
Support for custom entry-prices and exit-prices during backtesting.
2021-10-19 17:15:45 +05:30
theluxaz
5ecdd1d112
Merge branch 'develop' into freqtrade-development
2021-10-19 00:00:15 +03:00
theluxaz
69a59cdf37
Fixed flake 8, changed sell_tag to exit_tag and fixed telegram functions
2021-10-18 23:56:41 +03:00
Sam Germain
57d7009fd9
Added trading mode and collateral to constants.py
2021-10-18 01:21:41 -06:00
Sam Germain
faaa3ae9b1
Removed exit_short rpcmessagetype
2021-10-18 01:08:12 -06:00
Sam Germain
053aecf111
reformatted check_handle_timedout
2021-10-18 01:01:29 -06:00
Sam Germain
e4682b78c5
updates suggested on github
2021-10-18 00:28:32 -06:00
Matthias
7d8cd736b8
Support days-breakdown also for hyperopt results
2021-10-17 16:49:39 +02:00
Matthias
47bba331c1
Merge branch 'develop' into pr/rextea/4606
2021-10-17 16:29:31 +02:00
Matthias
d4d57f0002
Document expansion of --pairs
, add download-inactive
2021-10-17 16:09:56 +02:00
Matthias
9bb2dd1851
Merge pull request #5694 from freqtrade/dependabot/pip/develop/fastapi-0.70.0
...
Bump fastapi from 0.68.1 to 0.70.0
2021-10-17 15:01:28 +02:00
Matthias
e23eb99abf
Disable ability to use lookahead-biased vwap
...
closes #5782
2021-10-17 11:23:58 +02:00
Matthias
198f3c5238
Merge branch 'feat/short' into pr/samgermain/5567
2021-10-17 10:41:03 +02:00
Matthias
69fdb8edfa
Merge branch 'develop' into feat/short
2021-10-17 10:40:08 +02:00
Matthias
fb2c8f7621
Rollback after each request
...
This closes the transaction and avoids "sticking" transactions.
2021-10-17 10:30:06 +02:00
Matthias
bc10b451fe
Revert wrong condition
2021-10-17 09:46:39 +02:00
Matthias
5ba1d66be7
Make sure transactions are reset
...
closes #5719
2021-10-16 17:57:51 +02:00
Matthias
794862a35a
Merge pull request #5670 from sergeykhliustin/develop
...
Added min_profit param to PerformanceFilter
2021-10-14 19:57:36 +02:00
Matthias
c02a538187
Add documentation and log to PerformanceFilter
2021-10-14 19:36:34 +02:00
Sam Germain
5fbe76cd7e
isolated conditionals in interface stoploss method
2021-10-14 05:10:28 -06:00
Matthias
0e7d903a6f
Merge pull request #5644 from slyons/develop
...
Add ability to ignore unparameterized spaces
2021-10-14 08:07:07 +02:00
Sam Germain
bcbe8f229c
Merge branch 'feat/short' into lev-freqtradebot
2021-10-13 19:02:57 -06:00
Sam Germain
bd488cc086
Merge branch 'develop' into feat/short
2021-10-13 17:56:40 -06:00
theluxaz
0bb7ea10ab
Fixed minor header for backtesting
2021-10-14 01:34:30 +03:00
theluxaz
ed39b8dab0
fixed profit total calculation
2021-10-14 01:18:16 +03:00
theluxaz
d341d85079
Refixed some files for the pull request
2021-10-14 01:13:28 +03:00
theluxaz
96cab22a8c
Fixed some bugs for live sell_tags.
2021-10-14 01:03:15 +03:00
Matthias
3279ea568c
Add new parameter to hyperopt docs
2021-10-13 19:57:42 +02:00
Matthias
aed919a05f
Simplify "no-space-configured" error handling by moving it to hyperopt_auto
2021-10-13 19:54:35 +02:00
Matthias
2c6290a100
Small updates to prevent random test failures
2021-10-13 07:04:21 +02:00
Sam Germain
0dbad19b40
trading_mode default null in models.Trade
2021-10-12 20:34:19 -06:00
theluxaz
0f670189eb
quick typo fix
2021-10-13 02:14:07 +03:00
theluxaz
b151cf032b
Merge branch 'develop' of https://github.com/theluxaz/freqtrade into main
...
# Conflicts:
# freqtrade/freqtradebot.py
# freqtrade/optimize/backtesting.py
2021-10-13 02:01:26 +03:00
theluxaz
02243b1a2b
minifix
2021-10-13 01:34:29 +03:00
theluxaz
80b71790bc
Added some bigfixes for sell_tag
2021-10-13 01:22:53 +03:00
theluxaz
b898f86364
Added sell_tag and buy/sell telegram performance functions
2021-10-13 00:02:28 +03:00
Matthias
532a9341d2
Fix migration issue
2021-10-12 20:41:48 +02:00
Matthias
f290ff5c9a
Re-add schedule.run_pending
2021-10-12 19:10:38 +02:00
Sam Germain
86cbd0039f
Fixed bugs
2021-10-12 02:24:35 -06:00
Matthias
ce9debe9fd
Add version argument to freqUI installer
2021-10-12 06:44:07 +02:00
Matthias
70000b5843
Use scheduler as Object, not the automatic Singleton
2021-10-11 20:28:23 +02:00
Sam Germain
bdad604fab
Added persistence futures tests
2021-10-11 07:48:31 -06:00
Sam Germain
ae3688a18a
Updated LocalTrade.calc_close_trade_value formula for shorting futures
2021-10-11 05:56:27 -06:00
Sam Germain
d5a1385fdc
Changes described on github
2021-10-11 04:14:59 -06:00
Sam Germain
855b26f846
Parametrized more time machine tests in test_update_funding_fees
2021-10-11 01:31:21 -06:00
Sam Germain
3b962433fb
Switched shcedule to perform every 15 minutes
2021-10-10 02:55:04 -06:00
Sam Germain
81cf4653a9
Fixed failing test_process_trade_creation, test_order_book_depth_of_market, test_handle_stoploss_on_exchange_trailing
2021-10-09 17:35:57 -06:00
Sam Germain
94f0be1fa9
Added is_short=(signal == SignalDirection.SHORT) inside freqtradebot.create_trade
2021-10-09 16:32:22 -06:00
Sam Germain
85e86ec09d
Fixed failing test_check_handle_timedout_buy_usercustom
2021-10-09 15:14:33 -06:00
Sam Germain
729957572b
updated strategy stop_loss_reached to work for shorts
2021-10-09 14:39:11 -06:00
Sam Germain
95be5121ec
Added bibox and hitbtc funding fee times
2021-10-09 13:14:41 -06:00
Sam Germain
b83933a10a
Added gateio and kucoin funding fee times
2021-10-09 13:09:11 -06:00
Sam Germain
057b048f31
Started added timezone offset stuff
2021-10-09 12:27:40 -06:00
Sam Germain
795d51b68c
Switched scheduler to get funding fees every hour for any exchange
2021-10-09 11:27:26 -06:00
Sam Germain
39be675f1f
Adjusted time to utc in schedule
2021-10-09 10:52:07 -06:00
Matthias
cae8ff5949
Merge pull request #5623 from froggleston/rest_sysinfo
...
Add CPU,RAM sysinfo support to the REST API to help with bot system m…
2021-10-09 15:17:21 +02:00
Matthias
91ceaef02f
Merge pull request #5678 from sidml/develop
...
Hyperopt loss function using max drawdown
2021-10-09 10:26:40 +02:00
sid
30bc96cf3f
simplify expression
2021-10-09 06:36:23 +05:30
Matthias
11ec1d9b06
Revert previous commit
2021-10-08 20:22:07 +02:00
Matthias
482f4418c6
Clarify "required candle" message
2021-10-08 14:36:52 +02:00
Robert Davey
f07eeddda0
Update api_schemas.py
...
Fix api schema for cpu_pct float List.
2021-10-07 12:04:42 +01:00
Sam Germain
7f7f377a90
updated a test, put in TODO-lev
2021-10-07 05:03:38 -06:00
Sam Germain
e367f84b06
Added more update_funding_fee tests, set exchange of default conf
2021-10-07 04:20:53 -06:00
Matthias
45b7a0c837
Add Test and docs for MaxDrawDownHyperOptLoss
2021-10-07 07:12:45 +02:00
Matthias
29863ad2bf
Fix error when ask_last_balance is not set
...
closes #5181
2021-10-07 06:51:29 +02:00
sid
46c320513a
use profit_abs
2021-10-07 08:07:07 +05:30
sid
93e4cf4006
Merge remote-tracking branch 'upstream/develop' into develop
2021-10-07 08:04:40 +05:30
Matthias
526bdaa2dc
Recommend using 0.0.0.0 as listen address for docker
2021-10-06 20:14:59 +02:00
Matthias
57ef25789e
Fix style errors
2021-10-06 19:36:41 +02:00
sid
6ba46b38bd
fix formatting
2021-10-06 13:46:05 +05:30
sid
c0d01dbc26
add max_drawdown loss
2021-10-06 13:24:27 +05:30
Sam Germain
29e582c6d9
Fixed time format for schedule and update_funding_fees conf is mocked better
2021-10-05 01:42:46 -06:00
froggleston
0db5c07314
Fix issues with sysinfo rpc/API code, add SysInfo api_schema
2021-10-05 00:10:39 +01:00
Matthias
92f8f231af
Remove ratelimit from kucoin template
2021-10-04 20:22:41 +02:00
Matthias
7f4baab420
Remove explicit rateLimits, improve docs
2021-10-04 20:14:22 +02:00
Matthias
f15922a168
Fix custom_stoploss in strategy template
...
closes #5658
2021-10-04 19:11:35 +02:00
Sergey Khliustin
07750518c3
Added min_profit param to PerformanceFilter
2021-10-04 18:49:57 +03:00
Sam Germain
928c4edace
removed side from execute_trade_exit
2021-10-03 23:22:51 -06:00
Sam Germain
9046caa27c
fixed test_update_trade_state_sell
2021-10-03 23:13:34 -06:00
Sam Germain
2a2b759419
patch_get_signal test updates
2021-10-03 17:41:01 -06:00
Matthias
1c63d01cec
Prevent using market-orders on gateio
...
GateIo does not support market orders on spot markets
2021-10-03 14:14:16 +02:00
Sam Germain
70db228f24
Merge branch 'feat/short' into funding-fee
2021-10-03 02:15:54 -06:00
Sam Germain
09ef0781a1
switching limit_buy_order_usdt and limit_sell_order_usdt to limit_order(enter_side[is_short]) and limit_order(exit_side[is_short])
2021-10-03 01:52:58 -06:00
Matthias
f5e5203388
Use "round" to 12 digits for TickSize mode
...
Avoids float rounding problems, fix #5652
2021-10-03 09:49:55 +02:00
Sam Germain
3823ca4162
Merge branch 'test-freqtradebot-usdt' into lev-freqtradebot
2021-10-02 20:26:52 -06:00
Sam Germain
87ff65d31e
Fixed failing test_handle_protections
2021-10-02 04:06:22 -06:00
Sam Germain
b3656ddfc9
Merge branch 'feat/short' into lev-freqtradebot
2021-10-02 03:36:32 -06:00
Sam Germain
e8b4cf6eaa
Merge branch 'develop' into feat/short
2021-10-02 03:15:12 -06:00
Sam Germain
9ea2dd05d8
Removed space in retrier
2021-10-01 21:21:59 -06:00
Matthias
f69cb39a17
Fix missing comma in kucoin template
...
closes #5646
2021-10-01 19:26:51 +02:00
Matthias
99e3450d30
Merge pull request #5642 from freqtrade/add_trade_conversion_command
...
Add trade conversion command
2021-10-01 06:38:42 +02:00
Sam Germain
77d3a8b457
Added bybit funding-fee times
2021-09-30 20:18:56 -06:00
Scott Lyons
df45f467c6
Adding ability to ignore unparameterized spaces
2021-09-30 01:11:02 -07:00
Scott Lyons
95227376b6
Adding IUS to optimize args
2021-09-30 00:53:46 -07:00
Scott Lyons
08fcd1a0d4
Adding ignore space errors to Hyperopt CLI
2021-09-30 00:46:56 -07:00
Scott Lyons
5dd1088d8d
Adding ignore unparameterized spaces flag
2021-09-30 00:44:26 -07:00
Matthias
5f23af5802
Rename update_open_trades to clarify it's only called at startup
2021-09-30 07:24:16 +02:00
Sam Germain
157223f6ab
datetime.utc -> datetime.now(timezone.utc)
2021-09-29 22:32:02 -06:00
Sam Germain
af6afd0ac2
Revert "Replace datetime.utcnow with datetime.now(timezone.utc)"
...
This reverts commit c4ac876183
.
2021-09-29 22:27:21 -06:00
Sam Germain
993dc672b4
timestamp * 1000 in get_funding_fees_from_exchange
2021-09-29 22:18:15 -06:00
Sam Germain
c4ac876183
Replace datetime.utcnow with datetime.now(timezone.utc)
2021-09-29 22:16:44 -06:00
Matthias
178db516bf
Add documentation for trade-to-ohlcv
2021-09-29 20:00:14 +02:00
Matthias
248c61bb26
Add test for trades-to-ohlcv
2021-09-29 19:39:29 +02:00
Matthias
fc511aac44
don't use %default when no default is defined
2021-09-29 19:21:54 +02:00
Matthias
656526c007
Add trades-to-ohlcv command to simplify adding new timeframes
2021-09-29 16:50:05 +02:00
Robert Roman
ca973c05d1
Merge branch 'freqtrade:develop' into develop
2021-09-28 10:16:36 -05:00
Sam Germain
545b62d746
Merge branch 'feat/short' into funding-fee
2021-09-27 23:34:09 -06:00
Sam Germain
1a132758d0
merged with feat/short
2021-09-27 23:26:20 -06:00
Robert Roman
626a40252d
resolved mypy error
...
error: Signature of "hyperopt_loss_function" incompatible with supertype "IHyperOptLoss"
2021-09-27 17:33:29 -05:00
Robert Roman
c3414c3b78
resolved mypy error
...
error: Signature of "hyperopt_loss_function" incompatible with supertype "IHyperOptLoss"
2021-09-27 17:32:49 -05:00
Matthias
5726886b06
Reduce backtest-noise from "pandas slice" warning
2021-09-27 20:52:19 +02:00
Matthias
d7ce9b9f6d
Rename sample short strategy
2021-09-27 19:17:19 +02:00
Robert Roman
67e9626da1
fixed isort issue
2021-09-27 12:16:57 -05:00
Robert Roman
a1566fe5d7
updated to latest constant.py file
2021-09-27 11:47:03 -05:00
Robert Roman
193b22475d
Merge branch 'freqtrade:develop' into develop
2021-09-27 11:35:34 -05:00
Matthias
3fbf716f85
Fix "sticking" timerange in webserver mode
2021-09-27 17:52:00 +02:00
Matthias
5b7a1f8642
Validate config also in webserver mode
2021-09-27 07:12:40 +02:00
Matthias
6fb0d14f80
changed naming for signal variable
2021-09-27 07:07:49 +02:00
Robert Roman
bdca3e2343
Merge branch 'freqtrade:develop' into develop
2021-09-26 15:37:09 -05:00
Matthias
a926f54a25
Add "side" parameter to custom_stake_amount
2021-09-26 19:35:54 +02:00
Matthias
84e013de2d
Update confirm_trade_entry to support "side" parameter
2021-09-26 19:33:22 +02:00
Matthias
4d49f1a0c7
Reset columns by dropping instead of resetting
2021-09-26 15:39:34 +02:00
Matthias
4fd00db630
Use "combined" enter_tag column
2021-09-26 15:22:37 +02:00
Matthias
6319c104fe
Fix unreliable backtest-result when using webserver mode
2021-09-26 15:07:48 +02:00
Robert Roman
a77ca22026
Merge branch 'freqtrade:develop' into develop
2021-09-26 02:57:02 -05:00
Matthias
2a678bdbb4
Update buy_tag column to long_tag
2021-09-26 08:37:44 +02:00
Robert Roman
89b7dfda0e
Added Calmar Ratio Daily
2021-09-25 16:34:41 -05:00
Robert Roman
24baad7884
Add Calmar Ratio Daily
...
This hyper opt loss calculates the daily Calmar ratio.
2021-09-25 16:28:36 -05:00
froggleston
097da448e2
Add CPU,RAM sysinfo support to the REST API to help with bot system monitoring
2021-09-25 15:48:42 +01:00
Matthias
b59906b117
Update minimum for tradable_balance_ratio to 0.0
2021-09-24 19:24:33 +02:00
Robert Roman
0f29cbc882
added CalmarHyperOptLoss
...
I added CalmarHyperOptLoss to HYPEROPT_LOSS_BUILTIN variable inside constants.py file
2021-09-23 21:37:28 -05:00
Robert Roman
3b99c84b0a
resolved the total profit issue
...
I resolved the total profit issue and locally ran flak8 and isort
2021-09-23 21:31:33 -05:00
Matthias
9a6d8977de
Merge pull request #5605 from peterwilli/fix-sell-cancel-webhook-error
...
fixed webhook "unsupported format string passed to NoneType." error
2021-09-23 20:17:35 +02:00
Peter Willemsen
692e91a26d
changed close date from datetime.utcnow() to datetime.now(timezone.utc)
2021-09-23 10:28:15 +02:00
Matthias
a0ef89d910
Also support column-transition for V1 strategies
2021-09-22 20:52:55 +02:00
Matthias
0e13d57e57
Update advise_* methods to entry/exit
2021-09-22 20:42:31 +02:00
Matthias
4c6b1cd55b
Add very simple short logic to test-strategy
2021-09-22 20:36:03 +02:00
Matthias
5928ba9c88
Test and document leverage strategy callback
2021-09-22 20:14:52 +02:00
Robert Roman
c6b684603c
removed trade_count inside if statement
...
i removed trade_count inside if statement. Even though it helps overfitting, It is not useful when running hyperopt on small datasets.
2021-09-22 09:21:43 -05:00
Robert Roman
b946f8e7f1
I sorted imports with isort
2021-09-22 09:18:17 -05:00
Robert Roman
3834bb86ff
updated line 42
...
I removed the minus sign on max drawdown.
2021-09-21 20:25:17 -05:00
Robert Roman
3845d55186
a new hyperopt loss created that uses calmar ratio
...
This is a new hyperopt loss file that uses the Calmar Ratio.
Calmar Ratio = average annual rate of return / maximum drawdown
2021-09-21 20:04:23 -05:00
Peter Willemsen
b0de4d333e
fixed webhook error
2021-09-21 23:20:40 +02:00
Matthias
7a5c7e7020
Update some tests to use StrategyV3
2021-09-21 19:33:33 +02:00
Matthias
3ce05c0d54
Add "sane" defaults to protection triggers
2021-09-20 20:16:58 +02:00
Matthias
fd23ab3d64
improve formatting, add tests
2021-09-20 19:50:56 +02:00
Matthias
dd0db7ee5d
Split protection-notification into global and per-pair
2021-09-20 19:23:40 +02:00
Matthias
a0fb43c6ca
Add pairlock-notification
2021-09-20 19:12:59 +02:00
Sam Germain
d7c7448632
merged lev-freqtradebot with lev-strat
2021-09-19 19:06:43 -06:00
Sam Germain
778f0d9d0a
Merged feat/short into lev-strat
2021-09-19 17:44:12 -06:00
Sam Germain
60a678fea7
merged with feat/short
2021-09-19 17:02:09 -06:00
Matthias
1da091dea3
ProtectionManager should return the lock just created
2021-09-19 19:41:19 +02:00
Matthias
879bf47b32
Refactor telegram.py to simplify send_msg
2021-09-19 19:25:36 +02:00
Matthias
ec03531771
Improve naming of variables
2021-09-19 13:29:09 +02:00
Matthias
ab88217186
Improve /balance output to include starting balance and percentual change
...
closes #5503
2021-09-19 13:17:34 +02:00
Sam Germain
ac4f5adfe2
switched since = int(since.timestamp()) from %s
2021-09-19 01:16:22 -06:00
Rokas Kupstys
713e7819f7
[SQUASH] Remove mypy import.
2021-09-18 15:27:58 +03:00
Rokas Kupstys
e4ca42faec
[SQUASH] Update stoploss_from_absolute to behave more like stoploss_from_open and add a test for it.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
7e6aa9390a
[SQUASH] Unconditionally include quote currency when asset is explicitly specified. Added docs suggesting to use string formatting to make strategy independent of configured stake currency.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
e88c4701bb
[SQUASH] Address PR comments.
2021-09-18 10:48:53 +03:00
Matthias
bb6ae682fc
Small simplifications
2021-09-18 10:48:53 +03:00
Rokas Kupstys
5dc78a0c66
[SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
f81df19b93
[TMP] Make tests not fail for now.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
dfa61b7ad2
[SQUASH] Fix informatives for each pair not being created because dataprovider was not available.
...
Fix not being able to have informative dataframe of a pair in whitelist.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
f2a1d9d2fc
[SQUASH] Address PR comments.
2021-09-18 10:48:18 +03:00
Rokas Kupstys
1fdb656334
Add a decorator which can be used to declare populate_indicators() functions for informative pairs.
2021-09-18 10:48:18 +03:00
Rokas Kupstys
d84ef34740
A helper to calculate stoploss value from absolute price.
2021-09-18 10:48:18 +03:00
Matthias
11f08b0053
Merge pull request #5582 from sergeykhliustin/develop
...
Added days parameter to PerformanceFilter
2021-09-18 09:24:14 +02:00
Matthias
a89c67787b
Replace some more occurances of 'buy'
2021-09-18 09:23:53 +02:00
Matthias
564e0b9a1a
Switch performanceFilter to use Minutes lookback resolution
...
closes #5060
2021-09-18 09:10:25 +02:00
Matthias
12c12d42df
Add documentation for days parameter in PerformanceFilter
2021-09-18 08:30:44 +02:00
Matthias
853c3a4433
Merge pull request #5587 from raph92/patch-3
...
Update prepare_trials_columns() return type
2021-09-18 08:08:18 +02:00
Sergey Khliustin
d7395e873b
Removed unused OperationalException
2021-09-17 22:05:57 +03:00
raphael
4b2c1a9b8e
Remove trailing whitespace
2021-09-17 14:39:15 -04:00
raphael
e715f2a253
Update formatting
...
Line 302 was too long
2021-09-17 14:23:26 -04:00
raphael
9525a5b96c
Add type to "trials" parameter
2021-09-17 14:10:37 -04:00
Matthias
4d558879e9
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-17 19:33:35 +02:00
raphael
124e97f3b9
Remove ununsed variables from export_csv_file
2021-09-17 11:57:36 -04:00
raphael
5fc993231a
Update HyperoptTools.export_csv_file usage
2021-09-17 11:51:55 -04:00
raphael
3a98fb72a4
Update prepare_trials_columns() return type
...
Was returning str, updated to pd.DataFrame
2021-09-17 11:42:33 -04:00
sergeykhliustin
982deeedf0
Update freqtrade/persistence/models.py
...
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-09-17 18:23:13 +03:00
Sergey Khliustin
54ef36a497
Updates after review to PerformanceFilter days param
2021-09-17 13:45:44 +03:00
Matthias
d680fdf33a
Merge branch 'develop' into feat/short
2021-09-17 11:16:37 +02:00
Sam Germain
0628790da9
merged lev-freqtradebot with feat/short
2021-09-16 23:49:43 -06:00
Sam Germain
e78f38c7b6
Merge branch 'feat/short' into funding-fee
2021-09-16 23:32:44 -06:00
Sam Germain
dec2f377ff
Removed utils, moved get_sides to conftest
2021-09-16 16:25:02 -06:00
Sergey Khliustin
457e738b4a
Added days parameter to PerformanceFilter
2021-09-16 14:48:02 +03:00
Sam Germain
a8657bb1ce
Removed backtesting funding-fee code
2021-09-16 03:50:01 -06:00
Sam Germain
4c91126c49
some short freqtradebot parametrized tests
2021-09-16 03:23:45 -06:00
Sam Germain
e827ba1388
finished up funding fee formulas
2021-09-15 23:51:21 -06:00
Matthias
994c3c3a4c
Add some errorhandling for custom estimator
2021-09-16 07:13:25 +02:00
Sam Germain
98b00e8daf
merged with feat/short
2021-09-15 22:28:10 -06:00
Sam Germain
5fcb69a0b5
Parametrized test_persistence
2021-09-15 18:29:17 -06:00
Matthias
c0811ae896
Add possibility to override estimator from within hyperopt
2021-09-15 21:36:53 +02:00
Matthias
90ad178932
Remove verbosity of edge
2021-09-15 21:04:25 +02:00
Matthias
57ea0c322f
Rename indicator_space to buy_indicator_space
2021-09-15 20:20:31 +02:00
Matthias
f7bae81d96
Dataframe should be copied after populate_indicator
...
Without that, PerformanceWarnings can appear throughout hyperopt which
are unnecessary and missleading for users
closes #5408
2021-09-15 19:56:12 +02:00
Matthias
e4ec5679a1
Merge pull request #5574 from freqtrade/agefilter_cache
...
Agefilter cache
2021-09-15 06:33:36 +02:00
Sam Germain
d604757056
Added is_short to conf tests
2021-09-14 21:10:38 -06:00
Sam Germain
d3ab2f887f
merged with feat/short
2021-09-14 18:32:08 -06:00
Sam Germain
d77ab337bf
merged with develop
2021-09-14 18:26:46 -06:00
Sam Germain
5f6384a961
Added tests to freqtradebot
2021-09-14 17:18:57 -06:00
Matthias
315ea1e116
Merge pull request #5566 from freqtrade/remove_hyperopt
...
Remove legacy hyperopt
2021-09-14 19:20:58 +02:00
Matthias
3ce5197e8d
Add Tests for AgeFilter caching
...
closes #5552
2021-09-14 06:45:26 +02:00
Matthias
c9ba52d732
Expire cached pairs in age-filter once per day
2021-09-14 06:30:18 +02:00
Sam Germain
5225bd4a5b
Merge branch 'develop' into feat/short
2021-09-13 14:02:23 -06:00
Matthias
a12c3ecc9b
Remove credentials whenever dry-run is set from within the exchange
2021-09-13 20:27:32 +02:00
Matthias
8afb3c4b70
Move AgeFilter cache to instance level
2021-09-13 19:33:28 +02:00
Matthias
3cdd06f562
Add PeriodicCache
2021-09-13 19:32:51 +02:00
Sam Germain
49acfc887f
merged with lev-exchange
2021-09-13 00:00:22 -06:00
Sam Germain
2aaf60205e
Merge branch 'feat/short' into lev-exchange
2021-09-12 23:41:34 -06:00
Sam Germain
83e1067af7
leverage to exchange.create_order
2021-09-12 23:39:08 -06:00
Sam Germain
1d7a8f667a
Merge branch 'lev-exchange' into lev-freqtradebot
2021-09-12 03:15:32 -06:00
Sam Germain
e070bdd161
set leverage more thorough tests
2021-09-12 03:09:51 -06:00
Sam Germain
ad44048e29
customized set_leverage for different exchanges
2021-09-12 02:42:13 -06:00
Sam Germain
bc102d57c9
Updated set leverage to check trading mode
2021-09-12 02:09:31 -06:00
Sam Germain
0c1e5afc91
Added set leverage to create_order
2021-09-12 02:02:10 -06:00
Sam Germain
09418938fe
Updated kraken fill leverage brackets and set_leverage
2021-09-12 01:51:09 -06:00
Sam Germain
1344c9f7fc
_apply_leverage_to_min_stake_amount
2021-09-12 01:31:15 -06:00
Matthias
0017b3438e
Remove list-hyperopts
2021-09-12 08:18:17 +02:00
Matthias
3675df8344
Update documentation regarding Legacy Hyperopt
2021-09-12 08:18:17 +02:00
Matthias
fd6bf591f8
Update some tests to remove explicit hyperopt interface
2021-09-12 08:18:13 +02:00
Matthias
dad4a49e81
Remove legacy hyperopt interface from hyperopt.py
2021-09-12 08:18:13 +02:00
Matthias
ebb0b8aa3f
Remove new-hyperopt command
2021-09-12 08:18:13 +02:00
Matthias
432c3df17e
Add documentation for Bittex/Gemini with VolumePairlist
...
closes #5565
2021-09-12 08:04:22 +02:00
Sam Germain
5b84298e03
kraken._apply_leverage_to_stake_amount
2021-09-12 00:03:02 -06:00
Matthias
a5f90a409c
Small updates to async_history_fetch
2021-09-11 08:18:32 +02:00
Sam Germain
b1067cee6c
minor changes
2021-09-11 00:03:01 -06:00
Sam Germain
02521b4010
Merge branch 'lev-exchange' into lev-freqtradebot
2021-09-10 23:59:45 -06:00
Sam Germain
84c121652a
Added more todos
2021-09-10 23:42:16 -06:00
Sam Germain
9de946fdac
added collateral and trading mode to freqtradebot and leverage prep
2021-09-10 23:39:31 -06:00
Sam Germain
694460c8e0
merged with feat/short
2021-09-10 23:16:12 -06:00
Sam Germain
8e83cb4d64
temp commit message
2021-09-10 16:28:34 -06:00
Sam Germain
b0e05b92d3
Added minor changes from lev-exchange review
2021-09-10 13:39:42 -06:00
Sam Germain
cb155764eb
Short side options in freqtradebot
2021-09-10 11:47:27 -06:00
Matthias
8c9159f596
Improve comments
2021-09-10 19:46:38 +02:00
Matthias
a19c33ba54
Don't blindly create coroutines, but fire them off in batches
2021-09-10 19:37:07 +02:00
Matthias
7251a3ab19
Merge pull request #5544 from freqtrade/new_pair_download
...
New pair download improvement
2021-09-10 19:36:45 +02:00
Matthias
982534ddc7
Add gate.io to list of supported exchanges
2021-09-10 19:32:20 +02:00
Sam Germain
9f16464b12
Removed unnecessary TODOs
2021-09-10 10:32:46 -06:00
Sam Germain
83bd674ba7
Added side to execute_trade_exit
2021-09-10 03:25:54 -06:00
Sam Germain
d582ccd2e6
merged with lev-exchange
2021-09-10 03:05:13 -06:00
Sam Germain
6486b904b5
merged with feat/short
2021-09-10 02:57:17 -06:00
Sam Germain
77aa372909
Fixed test_ftx patch
2021-09-10 02:09:27 -06:00
Sam Germain
2c7cf794f5
Test for short exchange.stoploss exchange.stoploss_adjust
2021-09-09 15:47:49 -06:00
Sam Germain
785b71aec1
formatting
2021-09-09 15:47:49 -06:00
Sam Germain
9f96b977f6
removed interest method from exchange, will create a separate interest PR
2021-09-09 15:47:49 -06:00
Sam Germain
93da13212c
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
2021-09-09 15:47:49 -06:00
Sam Germain
9e73d02663
Added validating checks for trading_mode and collateral on each exchange
2021-09-09 15:47:49 -06:00
Sam Germain
d1c4030b88
fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items
2021-09-09 15:47:49 -06:00
Sam Germain
619ecc9728
Added exceptions to exchange.interest_rate
2021-09-09 15:47:49 -06:00
Sam Germain
97d1306e34
Added retrier to exchange functions and reduced failing tests down to 2
2021-09-09 15:47:49 -06:00
Sam Germain
0232f0fa18
Added failing fill_leverage_brackets test to test_kraken
2021-09-09 15:47:49 -06:00
Sam Germain
8d74233aa5
ftx.fill_leverage_brackets test
2021-09-09 15:47:49 -06:00
Sam Germain
8264cc546d
Wrote dummy tests for exchange.get_interest_rate
2021-09-09 15:47:49 -06:00
Sam Germain
5708fee0e6
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
2021-09-09 15:47:49 -06:00
Sam Germain
e6c9b8ffe5
completed set_margin_mode
2021-09-09 15:47:49 -06:00
Sam Germain
39fe381473
set margin mode exchange function
2021-09-09 15:47:49 -06:00
Sam Germain
3a4d247b64
Changed stoploss side on some tests
2021-09-09 15:47:49 -06:00
Sam Germain
8a5bad7c3e
exchange - kraken - minor changes
2021-09-09 15:47:49 -06:00
Sam Germain
5748c9bc13
Added short functionality to exchange stoplss methods
2021-09-09 15:47:49 -06:00
Sam Germain
4ef1f0a977
Changed ftx set_leverage implementation
2021-09-09 15:47:49 -06:00
Sam Germain
16db8d70a5
Added error handlers to api functions and made a logger warning in fill_leverage_brackets
2021-09-09 15:47:49 -06:00
Sam Germain
c256dc3745
Removed some outdated TODOs and whitespace
2021-09-09 15:47:49 -06:00
Sam Germain
134a7ec59b
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
2021-09-09 15:47:49 -06:00
Sam Germain
455bcf5389
Added TODOs to test files
2021-09-09 15:47:49 -06:00
Sam Germain
add7e74632
Added set_leverage function to exchange
2021-09-09 15:47:49 -06:00
Sam Germain
d262af35ca
Removed setup leverage and transfer functions from exchange
2021-09-09 15:47:49 -06:00
Sam Germain
f4e26a616f
Exchange stoploss function takes side
2021-09-09 15:47:49 -06:00
Sam Germain
ebf5310817
Added get_interest template method in exchange
2021-09-09 15:47:48 -06:00
Sam Germain
54dd9ce7ad
Add prep functions to exchange
2021-09-09 15:47:48 -06:00
Sam Germain
1f38088d7b
Merged with develop
2021-09-09 13:56:46 -06:00
Sam Germain
ee874f461c
Removed TODO: change to exit-reason, exit_order_status
2021-09-09 13:14:48 -06:00
Sam Germain
f5b01443ad
buy/short -> entry order, sell/exit_short -> exit order
2021-09-09 02:10:12 -06:00
Sam Germain
232d10f300
removed leverage/funding_fees
2021-09-09 01:45:57 -06:00
Sam Germain
dfb9937436
Added tests and docstring to exchange funding_fee methods, removed utils
2021-09-09 01:43:55 -06:00
Sam Germain
d54117990b
Added funding_fee method headers to exchange, and implemented some of the methods
2021-09-09 01:19:34 -06:00
Sam Germain
d559b6d6c6
changed add_funding_fees template
2021-09-08 19:34:54 -06:00
Sam Germain
3eb0e6ac09
removed leverage/funding_fees
2021-09-08 19:31:27 -06:00
Sam Germain
36b8c87fb6
Added funding fee calculation methods to exchange classes
2021-09-08 19:31:04 -06:00
Sam Germain
cdefd15b28
separated hours_to_time to utils folder
2021-09-08 14:54:48 -06:00
Sam Germain
8bcd444775
real-time updates to funding-fee in freqtradebot
2021-09-08 14:15:25 -06:00
Sam Germain
2f4b566d99
reverted back exchange.get_funding_fees method
2021-09-08 13:46:52 -06:00
Sam Germain
af4a6effb7
added pair to fetch_funding_rate
2021-09-08 13:44:59 -06:00
Sam Germain
baaf516aa6
Added funding_times property to exchange
2021-09-08 13:44:42 -06:00
Sam Germain
695a8fc73b
comment updates, formatting, TODOs
2021-09-08 03:09:39 -06:00
Sam Germain
1379ec7402
Updated log messages for freqtradebot
2021-09-08 03:04:01 -06:00
Sam Germain
b2f289e404
Fixed freqtradebot failing tests
2021-09-08 02:16:25 -06:00
Sam Germain
a1c9a4d619
freqtradebot local name changes
2021-09-08 02:09:36 -06:00
Sam Germain
362dc20406
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 02:06:01 -06:00
Sam Germain
e1f846f22f
sell_lock -> exit_lock
2021-09-08 02:04:31 -06:00
Sam Germain
e0092a85e9
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 02:04:20 -06:00
Sam Germain
be93c75e44
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 02:03:40 -06:00
Sam Germain
aac05029e1
safe_sell_amount -> safe_exit_amount
2021-09-08 02:03:24 -06:00
Sam Germain
5dda227342
comment change
2021-09-08 01:53:42 -06:00
Sam Germain
53006db2b7
Updated log messages for freqtradebot
2021-09-08 01:48:22 -06:00
Sam Germain
3057a5b9b8
freqtradebot local name changes
2021-09-08 01:40:22 -06:00
Sam Germain
786dcb50eb
safe_sell_amount -> safe_exit_amount
2021-09-08 01:20:52 -06:00
Sam Germain
323683d44f
some more TODOs
2021-09-08 01:18:53 -06:00
Sam Germain
8ad53e99ce
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 01:14:16 -06:00
Sam Germain
3656625747
comment updates, formatting, TODOs
2021-09-08 01:12:08 -06:00
Sam Germain
88a5a30a50
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 00:53:09 -06:00
Sam Germain
528d1438c9
sell_lock -> exit_lock
2021-09-08 00:49:04 -06:00
Sam Germain
8f38d6276f
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 00:45:55 -06:00
Sam Germain
763a6af224
sample strategy has short
2021-09-08 00:24:32 -06:00
Sam Germain
d811a73ec0
new rpc message types
2021-09-08 00:20:40 -06:00
Sam Germain
f8248f3771
comments, formatting
2021-09-08 00:19:21 -06:00
Sam Germain
e13b0414d8
Merge branch 'lev-strat' into lev-freqtradebot
2021-09-08 00:00:53 -06:00
Sam Germain
dc83e04f9b
Merge branch 'feat/short' into lev-exchange
2021-09-07 22:13:20 -06:00
Sam Germain
ff790e8fd3
merged with caplog-clear-freqtradebot
2021-09-07 22:12:49 -06:00
Matthias
2d66987ac7
Add test for "pair-startdate" detection
2021-09-07 20:27:49 +02:00
Matthias
8c83c258a5
Move "first-pair_getting" to binance subclass
2021-09-07 19:32:32 +02:00
Matthias
71ff214adf
Support "initial_call" for download-data of new pairs
2021-09-07 07:14:40 +02:00
Sam Germain
f5248be043
Changed funding fee tracking method, need to get funding_rate and open prices at multiple candles
2021-09-06 15:47:24 -06:00
Matthias
6bd495a32a
Fix 0Exception error
...
happens when wrong stake-currency is selected and /profit
is called
2021-09-06 19:55:04 +02:00
Sam Germain
8822b73f9c
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
2021-09-05 22:27:14 -06:00
lenik terenin
1d24d3d5ee
case insensitive blacklist
...
Allow "btc/usdt" pairs in blacklist to match to "BTC/USDT" pairs that come from the exchange.
2021-09-05 22:41:58 +09:00
Matthias
c519ecf8df
Exclude more untestable sections from coverage
2021-09-05 15:40:21 +02:00
Matthias
b752516f65
Edge should use new columns, too
2021-09-05 15:23:27 +02:00
Matthias
4e049f65f2
Exclude some parts from coverage that can't really be tested
2021-09-05 09:14:44 +02:00
Matthias
68b75af08e
Fix bug with inversed sell signals in backtesting
2021-09-05 08:59:18 +02:00
Sam Germain
23ba49fec2
Added validating checks for trading_mode and collateral on each exchange
2021-09-04 22:02:08 -06:00
Sam Germain
7eab855476
Merge branch 'feat/short' into lev-exchange
2021-09-04 20:15:36 -06:00
Sam Germain
d4389eb07d
fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items
2021-09-04 19:58:42 -06:00
Sam Germain
6ec2e40736
Added exceptions to exchange.interest_rate
2021-09-04 19:47:04 -06:00
Sam Germain
61fdf74ad9
Added retrier to exchange functions and reduced failing tests down to 2
2021-09-04 19:16:17 -06:00
Sam Germain
92e630eb69
Added get_funding_fees method to exchange
2021-09-04 16:40:53 -06:00
Sam Germain
d6d5bae2a1
New funding fee methods
2021-09-04 16:33:06 -06:00
Sam Germain
b854350e8d
Changed funding fee implementation
2021-09-04 16:31:09 -06:00
Sam Germain
194bb24a55
Miscellaneous funding fee changes. Abandoning for a new method of tracking funding fee
2021-09-04 16:20:25 -06:00
Sam Germain
b7891485b3
Created FundingFee class and added funding_fee to LocalTrade and freqtradebot
2021-09-04 16:20:07 -06:00
Matthias
2e50948699
Fix some tests
2021-09-04 20:23:51 +02:00
Matthias
ca44d2e092
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-04 19:54:34 +02:00
Sam Germain
c5d97d07a8
Added failing fill_leverage_brackets test to test_kraken
2021-09-03 20:29:46 -06:00
Sam Germain
01263663be
ftx.fill_leverage_brackets test
2021-09-03 19:56:53 -06:00
Sam Germain
9d398924c6
Wrote dummy tests for exchange.get_interest_rate
2021-09-03 19:56:13 -06:00
Sam Germain
1b20b4f3c7
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
2021-09-03 19:00:04 -06:00
Sam Germain
c7a2e6c2c6
completed set_margin_mode
2021-09-03 18:11:39 -06:00
Matthias
493fb35073
Fix uvicorn not working properly on windows
2021-09-03 22:05:40 +02:00
Matthias
b4130dfabb
Use volumePairlist instead of staticPairlist in generated config
2021-09-03 09:23:26 +02:00
Matthias
c489e6825c
Simplify binance blacklist
2021-09-03 09:18:15 +02:00
Matthias
68f13173bc
Update new-config templates to use USDT by default
2021-09-03 08:59:43 +02:00
Matthias
e64ccd8fc1
Add new_config section for kucoin
2021-09-03 08:57:53 +02:00
Matthias
19ad165483
Add time_in_force for kucoin
2021-09-03 08:48:53 +02:00
Matthias
93c1dff71b
Allow adding new additional headers
2021-09-02 21:02:45 +02:00
Sam Germain
073426f25c
set margin mode exchange function
2021-09-01 23:40:32 -06:00
Matthias
5184cc7749
Merge branch 'develop' into feat/short
2021-09-02 07:03:14 +02:00
Matthias
b0c4f079c2
Merge branch 'develop' into feat/backtest_detail
2021-08-31 20:16:42 +02:00
Matthias
da5f8c87ae
Add stake_currency to strategy interface
...
allows type-completion in editors
2021-08-31 07:18:57 +02:00
Matthias
ab9a4375cc
Merge pull request #5504 from pan-long/unlimited-quote
...
Surround "unlimited" by double quotes in build config.
2021-08-30 20:33:21 +02:00
Matthias
2a0c95a2e7
Update freqtrade/commands/build_config_commands.py
2021-08-30 20:00:52 +02:00
Pan Long
20878290a0
Surround "unlimited" by double quotes in build config.
2021-08-30 01:02:48 +08:00
Matthias
1895230afe
Clarify exception on load when markets could not be loaded
...
closes #5498
2021-08-29 09:18:46 +02:00
Pan Long
482e65453f
Remove extra comma after the last element in binance pair_blacklist.
2021-08-28 21:57:54 +08:00
Matthias
ac0dada962
Update Version to develop again
2021-08-28 10:43:49 +02:00
Matthias
a38b72af91
Merge branch 'develop' into new_release
2021-08-27 20:18:37 +02:00
Matthias
ef9c1addcf
Add expired to list of canceled statuses
2021-08-27 19:54:53 +02:00
Matthias
b3a4b0fbde
Version bump to 2021.8
2021-08-27 07:10:13 +02:00
Matthias
3e10f7e2d8
Merge branch 'stable' into new_release
2021-08-27 07:09:59 +02:00
Matthias
2ce458810b
rename default_hyperopt_loss file
2021-08-26 19:39:57 +02:00
Matthias
58ecb34a66
Allow DefaultHyperopts as hyperopt name
2021-08-26 07:13:18 +02:00
Matthias
1f3ccc2587
DefaultStrategy does not need to be limited
2021-08-26 07:00:15 +02:00
Matthias
c4be52d1c3
rename execute_sell to execute_trade_exit
2021-08-26 06:53:42 +02:00
Matthias
63844d39f6
Rename execute_buy to execute_entry
2021-08-26 06:48:26 +02:00
Matthias
053d6d8ee1
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-25 20:34:52 +02:00
Matthias
e1c3b7fd8c
Merge branch 'develop' into feat/short
2021-08-25 20:31:40 +02:00
Matthias
7fb570cc58
hyperopt Fallback methods should not be used.
2021-08-25 20:28:55 +02:00
Matthias
23d21d8ace
Fix wrong message if protection-space is missing
...
closes #5480
2021-08-25 19:57:10 +02:00
Matthias
8a9407bac9
Don't hard-fail when fetch_ticker doesn't return a value
...
closes #5477
2021-08-25 07:13:59 +02:00
Matthias
cb4889398b
Fix backtesting bug
2021-08-25 07:03:48 +02:00
Matthias
6b93c71d15
Small refactorings, use only enter_long columns
2021-08-25 06:49:06 +02:00
Matthias
b951f59f89
Fix patch_get_signal
2021-08-24 21:03:13 +02:00
Matthias
6524edbb4e
Simplify should_exit interface
2021-08-24 20:47:54 +02:00
Matthias
f3b6a0a797
Fix some type errors
2021-08-24 20:40:35 +02:00
Matthias
f9f32a15bb
Update plotting tests for new strategy interface
2021-08-24 20:30:42 +02:00
Matthias
9a03cb96f5
Update get_signal
2021-08-24 20:24:51 +02:00
Matthias
46285cd77e
Fix some namings in freqtradebot
2021-08-24 20:07:39 +02:00
Matthias
b40f985b13
Add short-exit logic to backtesting
2021-08-24 20:02:40 +02:00
Matthias
eb71ee847c
Rename backtest index constants
2021-08-24 06:56:06 +02:00
Matthias
11bd8e912e
Fix some tests
2021-08-24 06:52:28 +02:00
Matthias
7a977a8eaf
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-24 06:28:16 +02:00
Matthias
957551ea97
Merge branch 'develop' into feat/short
2021-08-24 06:25:06 +02:00
Matthias
faf5cfa66d
Update some tests for updated backtest interface
2021-08-23 21:35:28 +02:00
Matthias
7373b39015
Initial support for backtesting with short
2021-08-23 21:16:26 +02:00
Matthias
3e8164bfca
Use proper exchange name in backtesting
2021-08-23 21:13:47 +02:00
Matthias
9add3bf808
Add enter_long compatibility layer
2021-08-23 21:12:46 +02:00
Sam Germain
07de5d11ca
Removed a bug causing errors from freqtradebot
2021-08-23 00:25:08 -06:00
Sam Germain
61ad38500a
Reverted freqtrade/templates/*hyperopt* files back to no shorting
2021-08-23 00:18:15 -06:00
Sam Germain
53b51ce8cf
Reverted freqtrade/templates/sample_strategy back to no shorting, and created a separate sample short strategy
2021-08-23 00:17:20 -06:00
Sam Germain
0afeb269ad
Removed unnecessary TODOs
2021-08-23 00:15:35 -06:00
Sam Germain
9f6b6f04b4
Added False to self.strategy.get_signal
2021-08-22 23:55:34 -06:00
Sam Germain
e5b2b64a3f
Changed stoploss side on some tests
2021-08-22 23:36:36 -06:00
Sam Germain
5ca3f49cb5
merged with feat/short after feat/short added styling and comment changes PR
2021-08-22 21:37:20 -06:00
Sam Germain
488d729574
Merge branch 'feat/short' into lev-exchange
2021-08-22 20:59:33 -06:00
Sam Germain
70ebf09871
exchange - kraken - minor changes
2021-08-22 20:58:22 -06:00
Matthias
3026583ed4
Reduce verbosity of "is in blacklist" logging
2021-08-22 19:40:43 +02:00
Matthias
56759cea7b
Add "high fee rate" blocker to fees from trades
...
part of #5415 (potentially fixing this)
2021-08-22 14:37:45 +02:00
Sam Germain
6ac0ab0233
Added short functionality to exchange stoplss methods
2021-08-21 21:10:03 -06:00
Sam Germain
a5be535cc9
strategy interface: removed some changes
2021-08-21 17:06:04 -06:00
Sam Germain
4ac2237937
Changed ftx set_leverage implementation
2021-08-21 16:26:04 -06:00
Sam Germain
f5fd8dcc05
Added error handlers to api functions and made a logger warning in fill_leverage_brackets
2021-08-21 01:13:51 -06:00
Sam Germain
84bc4dd740
Removed some outdated TODOs and whitespace
2021-08-20 18:50:02 -06:00
Sam Germain
97bb555d41
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
2021-08-20 18:23:21 -06:00
Masoud Azizi
40ad451019
Download-data log process added
...
Download-data log process added
pytest assert solved
2021-08-20 14:52:56 +00:00
Matthias
695a1e21bf
Set gate.io download limit to 1000 candles
2021-08-20 06:51:04 +02:00
Sam Germain
55c070f1bb
Added interface leverage method
2021-08-18 16:52:34 -06:00
Sam Germain
dc4090234d
Added interface leverage method
2021-08-18 16:52:34 -06:00
Sam Germain
092780df9d
condensed strategy methods down to 2
2021-08-18 16:52:34 -06:00
Sam Germain
d4a7d2d444
Added short and exit_short to strategy
2021-08-18 16:52:20 -06:00
Sam Germain
314359dd6e
strategy interface changes to comments to mention shorting
2021-08-18 13:23:04 -06:00
Sam Germain
e2d5299116
Name changes for strategy
2021-08-18 13:22:54 -06:00
Matthias
f7087feeb1
Merge pull request #5347 from Axel-CH/custom_order_price
...
Custom order price
2021-08-18 20:59:40 +02:00
Matthias
9951f51079
Update test to ensure direction of movement is correct
2021-08-18 20:24:19 +02:00
axel
2fb9f6e2f4
rename custom price max distance option in config, update formula and test associated
2021-08-18 05:07:37 -04:00
Matthias
4164f93853
Simplify fiat_convert and handle multi-mappings
2021-08-17 20:50:52 +02:00
Matthias
37e3d20357
Fix no-event-loop available
...
closes #5433
2021-08-17 06:54:10 +02:00
Matthias
9758bed250
Fix refresh_latest_ohlcv bug
2021-08-17 06:44:36 +02:00
axel
6ab99369f2
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into custom_order_price
2021-08-16 23:26:29 -04:00
axel
17daba321b
add custom_price_max_distance_percent config option in constants
2021-08-16 23:09:30 -04:00
axel
3ea4b2ba00
add custom_price_max_distance_percent security to get_valid_price, update tests
2021-08-16 15:18:57 -04:00
slowy07
f24a951ec5
fix: typo spelling grammar
2021-08-16 19:16:24 +07:00
Matthias
4115121c24
Fix missing return statement in is_Relative_to
2021-08-16 07:26:58 +02:00
Matthias
4b65206e6b
Add compat code for is_relative_to
2021-08-16 07:09:05 +02:00
Matthias
6b2ef36a56
Prevent directory traversal in UI Serving
...
Checking for directory base
closes #5427
2021-08-16 06:47:53 +02:00
Matthias
322ea2481e
Add log-message for edge-case
2021-08-15 19:28:36 +02:00
Matthias
ed6776c5cd
Fix disappearing pairlist bug
2021-08-15 17:06:16 +02:00
Matthias
4f10a88529
Reduce verbosity when incompatible pairs are detected
2021-08-15 15:14:57 +02:00
Matthias
fa4ec9f83e
Add explicit test for get_sell_trade_entry
2021-08-15 14:52:24 +02:00
Matthias
3406b889b6
First test
2021-08-14 17:06:28 +02:00
Matthias
8405ccc15e
Seperate detail data loading from regular backest-data loading
2021-08-14 16:33:01 +02:00
Matthias
88172fab82
Allow "detailed" backtesting timeframe to look into the candle
2021-08-14 16:04:23 +02:00
Matthias
123971d271
Don't change passed in parameter variable
2021-08-14 16:02:31 +02:00
Matthias
c456cfc312
Merge branch 'develop' into pr/Axel-CH/5347
2021-08-14 09:13:30 +02:00
Matthias
c7147311f8
Fix json syntax error in config template
2021-08-13 17:14:38 +02:00
axel
20cc60bfde
update get_valid_price function and test cases to handle inputs with try catch
2021-08-13 11:06:15 -04:00
axel
dbf7f34ecb
add unit test to function get_valid_price
2021-08-12 15:30:49 -04:00
axel
b098ce4e76
add function get_valid_price to validate type of custom entry or exit price and use default proposed price if invalid
2021-08-12 15:13:14 -04:00
axel
ae11be3970
manage None or string value returned by custom_entry_price and add unit test for those cases
2021-08-12 14:47:01 -04:00
Matthias
e03784d98d
Fix filled exception
...
closes #5404
2021-08-12 05:02:56 +00:00
Matthias
bfc3968ab3
Merge pull request #5400 from freqtrade/limit_dry_market_slippage
...
Add max-slippage limiting for dry-run orders to avoid insane market o…
2021-08-12 06:54:55 +02:00
Matthias
bdbac37be7
Merge pull request #5399 from rokups/rk/fix-buy-tag-backtest
...
Fix buy_tag not being saved to trade object.
2021-08-12 06:36:33 +02:00
Rokas Kupstys
f6267c7514
Fix buy_tag not being saved to trade object.
...
Column is mistakenly excluded because advise_buy() creating this column runs after code detecting presence of buy_tag column.
2021-08-11 15:21:23 +03:00
Matthias
61c076563f
Add max-slippage limiting for dry-run orders to avoid insane market order fills
2021-08-11 12:11:29 +02:00
Sam Germain
180d92f879
Merge branch 'feat/short' into lev-exchange
2021-08-11 01:46:41 -06:00
ipqhjjybj
65d025923d
add code
2021-08-11 14:35:16 +08:00
Matthias
0b6aedbc4c
Merge pull request #5395 from freqtrade/fix/hyperopt-show
...
Stream hyperopt-result in small batches
2021-08-10 19:54:02 +02:00
Matthias
039d6384ed
Stream hyperopt-result in small batches
...
Avoiding memory-exhaustion on huge hyperopt results
closes #5305
closes #5149
2021-08-10 10:12:57 +02:00
Matthias
3f160c7144
Cache dataframe before cutting the first candle
...
This allows providing the "current closed" candle in all cases.
2021-08-10 09:14:29 +02:00
Matthias
cf27968b97
Properly preserve trade's low during backtesting
2021-08-09 19:38:56 +02:00
Matthias
5bfb9edf02
Only query date once from list
2021-08-09 15:42:17 +02:00
Matthias
895b912c71
Fix recently introduced lookahead bias in backtesting
...
closes #5388
2021-08-09 14:54:47 +02:00
Matthias
a5f796bc97
refactor ohlcvdata_to_dataframe to advise_all_indicators
2021-08-09 14:53:18 +02:00
Matthias
f17942b68f
Fix random test failure
2021-08-09 11:18:18 +02:00
Sam Germain
de4b0d1f7c
Merged with feat/short
2021-08-09 00:24:25 -06:00
Sam Germain
06206335d9
Added tests for interest_function
2021-08-09 00:00:50 -06:00
Sam Germain
0733d69cda
Added TODOs to test files
2021-08-08 23:24:38 -06:00
Sam Germain
53a6ce881c
Added set_leverage function to exchange
2021-08-08 23:24:03 -06:00
Sam Germain
4ca1d25db1
Removed setup leverage and transfer functions from exchange
2021-08-08 23:24:03 -06:00
Sam Germain
2c0077abc7
Exchange stoploss function takes side
2021-08-08 23:24:03 -06:00
Sam Germain
b48b768757
Added get_interest template method in exchange
2021-08-08 23:24:03 -06:00
Sam Germain
120cad88af
Add prep functions to exchange
2021-08-08 23:24:03 -06:00
Matthias
47f641d12f
Remove hyperopt-pickle result support
2021-08-09 07:04:18 +02:00
Sam Germain
8e941e6836
Changed interest implementation
2021-08-08 17:09:17 -06:00
Sam Germain
0545a0ed3c
Replaced the term margin with leverage when it should say leverage
2021-08-08 17:04:24 -06:00
Matthias
3bd0c3d009
Remove legacy code from export to csv
2021-08-08 11:02:54 +02:00
Matthias
faf16a64e5
Remove legacy hyperopt file support
2021-08-08 10:22:45 +02:00
Matthias
0ae4eccea5
Refactor Hyperopt-list and hyperopt-show to reduce some duplicate code
2021-08-08 10:06:35 +02:00
Sam Germain
4630f69830
Removed short, exit_short from enums
2021-08-08 01:36:59 -06:00
Sam Germain
658f138e30
Added short_tag to SignalTagType
2021-08-07 20:08:52 -06:00
Sam Germain
71963e65f1
Removed ExchangeName Enum
2021-08-07 18:47:03 -06:00
Sam Germain
7e6b281b75
Merge branch 'feat/short' of https://github.com/freqtrade/freqtrade into feat/short
2021-08-07 01:43:56 -06:00
Matthias
92ed7c0bf8
Merge branch 'develop' into feat/short
2021-08-07 09:42:25 +02:00
Matthias
6532aba765
Merge pull request #5360 from freqtrade/hyperopt_protections
...
Hyperopt protections and Boolean parameter
2021-08-07 09:42:05 +02:00
Sam Germain
9988c293b5
Merge branch 'enums' into feat/short
2021-08-06 19:30:31 -06:00
Sam Germain
9b58c58609
Merge branch 'develop' into feat/short
2021-08-06 18:12:53 -06:00
Sam Germain
b9356a5564
Autopep8 formatting
2021-08-06 16:35:39 -06:00
Sam Germain
aec82b4647
Added empty everage/__init__.py
2021-08-06 01:37:34 -06:00
Sam Germain
50d185ccd8
Added exchange_name variables to exchange classes
2021-08-06 01:23:55 -06:00
Sam Germain
241bfc409f
Added leverage enums
2021-08-05 23:29:26 -06:00
axel
612b88e993
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into custom_order_price
2021-08-05 18:21:31 -04:00
axel
84d082033b
fix default retval for strategy custom_entry_price
2021-08-05 18:00:31 -04:00
axel
cb3b0cf311
add custom_exit_price in interface and freqtradebot
2021-08-04 23:09:40 -04:00
axel
f243ad4af0
add custom_exit_price in strategy interface
2021-08-04 19:09:55 -04:00
axel
f9f519fd3c
add custom_exit_price function to interface
2021-08-04 18:54:17 -04:00
axel
d9b9eecd4d
remove entry price reached method
2021-08-04 18:47:14 -04:00
Matthias
ad0e4a8567
Add BooleanParameter
2021-08-04 20:52:56 +02:00
Matthias
b73768acd1
Fix bug in property overwriting prevention
2021-08-04 20:21:56 +02:00
Matthias
3c41223333
Add test for protections-hyperopt
2021-08-04 20:01:28 +02:00
Matthias
a661e0db6e
Deprecate protections from config
2021-08-04 19:43:16 +02:00
Matthias
a6454cfc39
Autoenable protections when protection-space is selected
2021-08-04 07:17:29 +02:00
Matthias
797d7e5ce6
Merge pull request #5157 from samgermain/margin-db
...
Margin db
2021-08-04 06:57:36 +02:00
Matthias
091bf7c4d2
Output protection space
2021-08-04 06:50:14 +02:00
Matthias
544e0da6c2
Add protection parameter space
2021-08-04 06:50:14 +02:00
Matthias
800b2eeaf0
Load protections as part of backtest()
...
this enables different values in hyperopt per epoch
2021-08-04 06:50:14 +02:00
Matthias
6410a6528b
Add missing methods to advanced strategy template
2021-08-04 06:46:21 +02:00
axel
b644233ead
rename custom_entry_price kwarg to align it to the interface
2021-08-03 17:03:27 -04:00
axel
b3dafb378e
remove use_custom_entry_price as a config option
2021-08-03 16:54:28 -04:00
axel
16146357b3
reuse buy_limit_requested as rate input for custom entry price
2021-08-03 16:39:35 -04:00
axel
42e24d8b4b
remove price change cancel reason in contants, will be added in another PR
2021-08-03 16:35:16 -04:00
axel
00939b63f2
flake 8 fixes
2021-08-03 16:25:18 -04:00
axel
53fb8b05e7
remove short logic in entry_price_reached function
2021-08-03 16:19:29 -04:00
axel
5284112b69
fix in custom entry function output,remove changes related to outdated prices, doc exemple minor changes
2021-08-03 15:57:23 -04:00
axel
f11f5d17e9
add feature custom entry price for live
2021-08-03 15:57:23 -04:00
Matthias
07673ef47f
Update Migrations to use the latest added columns
2021-08-03 10:25:59 +02:00
Sam Germain
5b6dbbd750
Changed order of buy_tag in migrations
2021-08-03 00:23:21 -06:00
Sam Germain
d88e2ae603
Merge branch 'develop' into margin-db
2021-08-02 23:58:44 -06:00
Matthias
dfc17f2bd1
Fix ci failure
2021-08-03 07:21:11 +02:00
Matthias
4ab03f7e37
Don't load fallback methods for autohyperopt
2021-08-02 21:17:56 +02:00
Matthias
e70a742005
Reorder space methods in hyperopt
2021-08-02 21:12:10 +02:00
Matthias
adb33e763b
Merge pull request #5350 from freqtrade/environment_vars
...
Add environment variable support
2021-08-02 20:48:23 +02:00
Matthias
c981641441
Don't fail if strategy doesn't contain sell signal
2021-08-02 20:30:46 +02:00
Matthias
d8d8261f1b
Merge pull request #5318 from samgermain/combined_exchange_buy_sell
...
combined exchange.buy and exchange.sell
2021-08-02 20:11:09 +02:00
Matthias
5ead95b06b
Merge pull request #5245 from sauces1313/RangeStabilityFilterMax
...
Range stability filter max
2021-08-02 08:06:36 +02:00
Matthias
b63eda3a2b
Some minor cleanup and improved test coverage
2021-08-02 07:15:09 +02:00
sauces1313
059c32b067
Check for and default to 'None'
2021-08-02 02:49:49 +00:00
Matthias
056bc93bc6
backtesting needs startup_candle_count
...
fixes informative-pair loading being different between --strategy-list and
--strategy.
2021-08-01 19:17:52 +02:00
Matthias
e9ef9a6d28
Use .view() to convert dates to enums
...
part of #5314 - fixing deprecation warning.
2021-08-01 10:31:35 +02:00
Matthias
6f8519d0a3
Add environment variable support
2021-07-31 19:26:56 +02:00
Matthias
c5e3348b89
Migrations for indexes should run in a seperate session
...
closes #5349
2021-07-31 16:36:28 +02:00
Matthias
1ccc89d1e9
Store fully analyzed dataframe
2021-07-31 10:00:24 +02:00
Sam Germain
ef429afb6f
Removed is_oeing_trade is_closing_trade
2021-07-31 01:22:48 -06:00
Sam Germain
d6ffd23865
Merged with remote
2021-07-31 01:19:11 -06:00
Matthias
b1cbc75e93
Properly cache pair dataframe in backtesting (without startup-range).
2021-07-31 08:45:04 +02:00
Sam Germain
26be620f71
Removed LocalTrade.set_is_short
2021-07-31 00:20:25 -06:00
Sam Germain
fadb0de7c7
Removed excess modes stop_loss method, removed models.is_opening_side models.is_closing_side
2021-07-31 00:12:53 -06:00
Matthias
138b126d03
Merge pull request #5299 from kevinjulian/feat/kevinjulian/add-buy-signal-name
...
Add buy signal name
2021-07-30 08:23:11 +02:00
Matthias
aa34889c04
Don't run migrations twice
2021-07-30 07:14:35 +02:00
Matthias
71838dc51a
Merge pull request #5285 from freqtrade/backtest_startup_afte_populates
...
Remove startup-candles after populating buy/sell signals
2021-07-30 07:01:26 +02:00
Matthias
dad98d43be
Merge pull request #5287 from GeorgeMurAlkh/develop
...
Dataprovider caching and trimming of historical informative.
2021-07-29 20:43:40 +02:00
Matthias
03064731ac
Version bump 2021.7
2021-07-29 19:49:19 +02:00
Matthias
d0528a6213
Merge branch 'stable' into new_release
2021-07-29 19:49:04 +02:00
Matthias
8768df647a
Merge pull request #5312 from raph92/patch-3
...
Fix code to get Bittrex US-restricted markets
2021-07-29 07:13:42 +02:00
Matthias
cf4d1875dd
Use prohibitedIn instead of isRestricted
2021-07-29 06:56:37 +02:00
Sam Germain
25c527ee67
combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot
2021-07-28 14:55:06 -06:00
Sam Germain
3fb7f983f8
Added is_short and leverage to __repr__
2021-07-28 12:25:56 -06:00
Sam Germain
195badeb80
Changed liquidation_price to isolated_liq
2021-07-28 12:25:56 -06:00
Sam Germain
6ad9b535a9
persistence all to one test file, use more regular values like 2.0 for persistence tests
2021-07-28 12:25:56 -06:00
Sam Germain
a900570f1a
Added enter_side and exit_side computed variables to persistence
2021-07-28 12:25:56 -06:00
Matthias
317f4ebce0
Boolean sqlite fix for orders table
2021-07-28 12:25:56 -06:00
Matthias
071f6309cc
Try fix migration tests
2021-07-28 12:25:56 -06:00
Sam Germain
af8875574c
updated mkdocs and leverage docs
...
Added tests for set_liquidation_price and set_stop_loss
updated params in interestmode enum
2021-07-28 12:25:56 -06:00
Sam Germain
256160740e
Updated interest and ratio calculations to correct functions
2021-07-28 12:25:56 -06:00
Sam Germain
8e52a3a29c
updated ratio_calc_profit function
2021-07-28 12:25:55 -06:00
Sam Germain
006a60e5a4
Added docstrings to methods
2021-07-28 12:25:55 -06:00
Sam Germain
b0476ebd3e
All persistence margin tests pass
...
Flake8 compliant, passed mypy, ran isort .
2021-07-28 12:25:55 -06:00
Sam Germain
52def4e826
Changed InterestMode enum implementation
2021-07-28 12:25:55 -06:00
Sam Germain
60572c9e0d
Took liquidation price out of order completely
2021-07-28 12:25:55 -06:00
Sam Germain
737a62be52
set initial_stop_loss in stoploss helper
2021-07-28 12:25:55 -06:00
Sam Germain
f566d83839
Tried to add liquidation price to order object, caused a test to fail
2021-07-28 12:25:55 -06:00
Sam Germain
31fa6f9c25
updated timezone.utc time
2021-07-28 12:25:55 -06:00
Sam Germain
811cea288d
Added checks for making sure stop_loss doesn't go below liquidation_price
2021-07-28 12:25:55 -06:00
Sam Germain
286427c04a
Moved interest calculation to an enum
2021-07-28 12:25:55 -06:00
Sam Germain
be3a9390fe
Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable
2021-07-28 12:25:55 -06:00
Sam Germain
5fc587c225
Removed exchange file modifications
2021-07-28 12:25:55 -06:00
Sam Germain
0ffc85fed9
Set default leverage to 1.0
2021-07-28 12:25:55 -06:00
Sam Germain
78708b27f2
Updated tests to new persistence
2021-07-28 12:25:55 -06:00
Matthias
e0d42d2eb7
Fix migrations, revert some parts related to amount properties
2021-07-28 12:25:55 -06:00
Sam Germain
e4d4d1d1f1
Wrote all tests for shorting
2021-07-28 12:25:55 -06:00
Sam Germain
f194673001
Updated ratio calculation, updated short tests
2021-07-28 12:25:55 -06:00
Sam Germain
5ac03762f0
Kraken interest test comes really close to passing
...
Added more trades to conftest_trades
2021-07-28 12:25:55 -06:00
Sam Germain
df360fb281
Made borrowed a computed property
2021-07-28 12:25:55 -06:00
Sam Germain
68d3699c19
Turned amount into a computed property
2021-07-28 12:25:55 -06:00
Sam Germain
efcc2adacf
About 15 margin tests pass
2021-07-28 12:25:55 -06:00
Sam Germain
f5d7deedf4
added exception checks to LocalTrade.leverage and LocalTrade.borrowed
2021-07-28 12:25:55 -06:00
Sam Germain
34073135b7
Added types to setters
2021-07-28 12:25:55 -06:00
Sam Germain
d07fe1586c
Set leverage and borowed to computed properties
2021-07-28 12:25:55 -06:00
Sam Germain
c24ec89dc4
Started some pytests for short and leverage
...
1 short test passes
2021-07-28 12:25:55 -06:00
Sam Germain
b80f8ca0af
Created interest function
2021-07-28 12:25:55 -06:00
Sam Germain
000932eed0
Adding templates for leverage/short tests
...
All previous pytests pass
2021-07-28 12:25:55 -06:00
Sam Germain
10979361c1
Added changes suggested in pull request, fixed breaking changes,
...
can run the bot again
2021-07-28 12:25:55 -06:00
Sam Germain
741ca0e58c
Added changed to persistance/migrations
2021-07-28 12:25:55 -06:00
Sam Germain
7823a33cbb
Updated Trade class
2021-07-28 12:25:55 -06:00
Sam Germain
c7e8439c76
Updated LocalTrade and Order classes
2021-07-28 12:25:55 -06:00
Sam Germain
10d214ccad
Added is_short and leverage to __repr__
2021-07-26 23:09:47 -06:00
Sam Germain
4fcae0d927
Changed liquidation_price to isolated_liq
2021-07-26 23:09:47 -06:00
Sam Germain
1918304c5b
persistence all to one test file, use more regular values like 2.0 for persistence tests
2021-07-26 23:09:47 -06:00
Sam Germain
35fd8d6a02
Added enter_side and exit_side computed variables to persistence
2021-07-26 23:09:47 -06:00
Matthias
3d7a74551f
Boolean sqlite fix for orders table
2021-07-26 23:09:47 -06:00
Matthias
9a03cae920
Try fix migration tests
2021-07-26 23:09:47 -06:00
Sam Germain
0d06d7e108
updated mkdocs and leverage docs
...
Added tests for set_liquidation_price and set_stop_loss
updated params in interestmode enum
2021-07-26 23:09:47 -06:00
Sam Germain
f1dc6b54ad
Updated interest and ratio calculations to correct functions
2021-07-26 23:09:47 -06:00
Sam Germain
358f0303b9
updated ratio_calc_profit function
2021-07-26 23:09:47 -06:00
Sam Germain
546a7353df
Added docstrings to methods
2021-07-26 23:09:47 -06:00
Sam Germain
7f75c978a0
All persistence margin tests pass
...
Flake8 compliant, passed mypy, ran isort .
2021-07-26 23:09:47 -06:00
Sam Germain
a368dfa7b5
Changed InterestMode enum implementation
2021-07-26 23:09:47 -06:00
Sam Germain
86888dbbf0
Took liquidation price out of order completely
2021-07-26 23:09:47 -06:00
Sam Germain
98acb0f4ff
set initial_stop_loss in stoploss helper
2021-07-26 23:09:46 -06:00
Sam Germain
dd6cc1153b
Tried to add liquidation price to order object, caused a test to fail
2021-07-26 23:09:46 -06:00
Sam Germain
1414df5e27
updated timezone.utc time
2021-07-26 23:09:46 -06:00
Sam Germain
2aa2b5bcff
Added checks for making sure stop_loss doesn't go below liquidation_price
2021-07-26 23:09:46 -06:00
Sam Germain
1b202ca22e
Moved interest calculation to an enum
2021-07-26 23:09:46 -06:00
Sam Germain
b6c8b60e65
Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable
2021-07-26 23:09:46 -06:00
Sam Germain
ffadc7426c
Removed exchange file modifications
2021-07-26 23:09:46 -06:00
Sam Germain
0d5749c508
Set default leverage to 1.0
2021-07-26 23:09:46 -06:00
Sam Germain
9ddb6981dd
Updated tests to new persistence
2021-07-26 23:09:46 -06:00
Matthias
75b2c9ca1b
Fix migrations, revert some parts related to amount properties
2021-07-26 23:09:46 -06:00
Sam Germain
25ff726921
Wrote all tests for shorting
2021-07-26 23:09:46 -06:00
Sam Germain
4d057b8047
Updated ratio calculation, updated short tests
2021-07-26 23:09:46 -06:00
Sam Germain
3a8a9eb255
Kraken interest test comes really close to passing
...
Added more trades to conftest_trades
2021-07-26 23:09:46 -06:00
Sam Germain
876386d2db
Made borrowed a computed property
2021-07-26 23:09:46 -06:00
Sam Germain
2a50f4ff7b
Turned amount into a computed property
2021-07-26 23:09:46 -06:00
Sam Germain
da81be9050
About 15 margin tests pass
2021-07-26 23:09:46 -06:00
Sam Germain
6f6deae376
added exception checks to LocalTrade.leverage and LocalTrade.borrowed
2021-07-26 23:09:46 -06:00
Sam Germain
c68a0f05d8
Added types to setters
2021-07-26 23:09:46 -06:00
Sam Germain
691a042e29
Set leverage and borowed to computed properties
2021-07-26 23:09:46 -06:00
Sam Germain
692c55088a
Started some pytests for short and leverage
...
1 short test passes
2021-07-26 23:09:46 -06:00
Sam Germain
b6cc3f02bf
Created interest function
2021-07-26 23:09:46 -06:00
Sam Germain
613eecf16a
Adding templates for leverage/short tests
...
All previous pytests pass
2021-07-26 23:09:46 -06:00
Sam Germain
67341aa4f2
Added changes suggested in pull request, fixed breaking changes,
...
can run the bot again
2021-07-26 23:09:46 -06:00
Sam Germain
20dcd9a1a2
Added changed to persistance/migrations
2021-07-26 23:09:46 -06:00
Sam Germain
69e81100e4
Updated Trade class
2021-07-26 23:09:46 -06:00
Sam Germain
a27171b371
Updated LocalTrade and Order classes
2021-07-26 23:09:46 -06:00
Sam Germain
05f74bdf53
Changed log ouput to debug in exchange.get_rate
2021-07-25 16:13:04 -06:00
sauces1313
4675d85b90
Merge branch 'freqtrade:develop' into RangeStabilityFilterMax
2021-07-25 02:37:56 -05:00
sauces1313
34c8a5afaf
remove second filter, add max option
2021-07-25 07:24:55 +00:00
Sam Germain
b42afb9dae
get_rate checks if side is buy for some console output
2021-07-24 17:14:54 -06:00
kevinjulian
aea5da0c73
changes testcase
2021-07-23 11:42:43 +07:00
kevinjulian
5fe18be4b5
add note buy_tag and split 3 assignment for get_signal
2021-07-23 01:25:15 +07:00
Matthias
b84a1d0c92
Don't crash when *_params is not defined in strategy
...
closes #5407
2021-07-22 20:21:04 +02:00
kevinjulian
b01daa8bbc
expose buy_tag to api
2021-07-22 13:09:05 +07:00
kevinjulian
dd809f756b
run mypy
2021-07-22 02:34:20 +07:00
kevinjulian
643b6b950e
run flake8
2021-07-22 02:23:34 +07:00
kevinjulian
25e329623f
change signature
2021-07-22 02:11:54 +07:00
kevinjulian
235c1afd09
add buy_tag on telegram
2021-07-22 01:53:15 +07:00
kevinjulian
f5a660f845
caps BUY_TAG_IDX
2021-07-21 20:19:56 +07:00
kevinjulian
49886874aa
rename to buy_tag
2021-07-21 20:05:35 +07:00
GeorgeMurAlkh
759a350d73
Merge branch 'freqtrade:develop' into develop
2021-07-21 00:09:35 +03:00
George Muravei-Alkhavoi
1ea29a918a
Fix webserver timerange problem.
2021-07-21 00:09:09 +03:00
kevinjulian
66a7070170
run linter
2021-07-20 23:56:03 +07:00
kevinjulian
5d04d6ffa7
fix edge testcase
2021-07-20 23:40:32 +07:00
kevinjulian
cbfedf8b29
fix backtest testcase
2021-07-20 23:25:00 +07:00
kevinjulian
c558fc0b17
fix feedback
2021-07-20 20:40:32 +07:00
Kevin Julian
edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name
2021-07-20 19:19:46 +07:00
kevinjulian
ed30c023cd
fix some testcase
2021-07-20 19:08:14 +07:00
kevinjulian
7d04005218
add test and migration
2021-07-20 16:14:48 +07:00
Matthias
e4b42b2b5b
Merge pull request #5284 from samgermain/merge_get_buy_sell_rate
...
Merge get_buy_rate and get_sell_rate
2021-07-20 06:54:47 +02:00
kevinjulian
104711a9bf
get_signal signature
2021-07-20 05:04:25 +07:00
kevinjulian
9e63bdbac9
feat: add buy signal name
2021-07-20 04:58:20 +07:00
Sam Germain
b0bfbb6558
removed buy and sell merge, updated strategy name, removed default side for get_rate
2021-07-19 11:37:52 -06:00
George Muravei-Alkhavoi
ab786abf7f
Fix intendation.
2021-07-19 00:47:51 +03:00
George Muravei-Alkhavoi
f705293353
Dataprovider caching and trimming to timerange of historical informative.
2021-07-19 00:25:24 +03:00
Matthias
365479f5e0
Remove startup-candles after populating buy/sell signals
...
closes #5242
2021-07-18 11:06:41 +02:00
Matthias
7b7d9c02d7
Merge pull request #5243 from freqtrade/feat/webservermode_progress
...
Introduce webserver mode subcommand
2021-07-18 10:48:55 +02:00
Sam Germain
44df5eeacf
Adjusted docstring, and conditional near end of buy_rate
2021-07-18 00:00:18 -06:00
Sam Germain
7c27525bd8
Merge get_buy_rate and get_sell_rate
2021-07-17 22:51:20 -06:00
Rokas Kupstys
53a8c693b8
Honor skip_pair_validation setting when downloading pairs.
2021-07-17 09:21:03 +03:00
Matthias
d652e6fcc4
Don't log from wallet in backtest mode
2021-07-16 19:57:49 +02:00
Matthias
2e95df4d8d
Update docs for /profit output
2021-07-15 20:12:44 +02:00
Matthias
c9c7f84e8c
Calculate relative profit based on assumed starting balance
2021-07-14 20:55:11 +02:00
Matthias
f5c47767cb
Provide available capital to api
2021-07-14 20:51:42 +02:00
Matthias
3451687135
Merge pull request #5255 from freqtrade/improve_dynamic_stake
...
Improve dynamic stake with multiple bots on the same exchange
2021-07-14 06:45:48 +02:00
anasyusef
c78b2075d8
feat: add one additional asterisk
2021-07-12 12:27:59 +00:00
anasyusef
6a53e2c764
feat: apply censoring to logging
2021-07-12 12:08:01 +00:00
anasyusef
f94dbcd085
feat: censor password from logs
2021-07-12 12:02:10 +00:00
Matthias
40db424363
Add documentation for available capital setting
2021-07-12 07:11:56 +02:00
Matthias
7863746904
Add available_capital parameter
2021-07-12 06:54:06 +02:00
Matthias
b41c234440
Extract Closed profit calculation to trade object
2021-07-12 06:54:06 +02:00
Matthias
8b78a3bde2
Quick fix for trades opening below min-trade amount
2021-07-11 21:01:12 +02:00
Matthias
38296e8689
Merge pull request #5189 from rokups/rk/custom-stake
...
Implement strategy-controlled stake sizes
2021-07-11 19:45:43 +02:00
Matthias
7ea0a74c53
Default to proposed stake
2021-07-11 14:11:41 +02:00
Rokas Kupstys
0e4466ca1e
Implement strategy-controlled stake sizes. Expose self.wallet
to a strategy.
2021-07-11 12:38:58 +03:00
Matthias
f658cfa349
Remove Slack
...
As the community is mostly active on discord, there's little point in
linking people to Slack as well
2021-07-11 11:13:27 +02:00
Matthias
52ae95b2a5
Improve naming of apiserver variables
2021-07-10 11:20:21 +02:00
Matthias
ad26b0dad0
Don't void backtest object when not necessary
2021-07-10 10:59:00 +02:00
Matthias
e4e2340f91
Fix bug where currencies are duplicated
...
in case there is dust
2021-07-10 10:02:05 +02:00
Matthias
6129c5ca9e
Fix deprecation warnings from pandas 1.3.0
...
closes #5251
2021-07-09 20:46:38 +02:00
Matthias
2f33b97b95
Validate startup candles for backtesting correctly
...
closes #5250
2021-07-09 07:20:43 +02:00
Matthias
fb25130588
Merge pull request #5244 from octaviusgus/develop
...
fix daily profit data bug and daily profit curve example
2021-07-09 07:06:14 +02:00
Matthias
d96d6024f4
Merge pull request #5252 from kevinjulian/agefilter-max-days-listed
...
Fix Agefilter cannot appear on startup messages
2021-07-08 20:29:06 +02:00
kevinjulian
2a4a980855
Merge branch 'agefilter-max-days-listed' of https://github.com/kevinjulian/freqtrade into agefilter-max-days-listed
2021-07-08 19:25:32 +07:00
kevinjulian
863391122f
fix short desc not appear
2021-07-08 13:42:52 +07:00
Matthias
225522762b
Merge pull request #5231 from nightshift2k/enhancement/range-based-volumefilter
...
Range based VolumeFilter
2021-07-08 07:22:37 +02:00
Matthias
76e51cddba
Merge pull request #5246 from nightshift2k/feature/offsetfilter
...
new filter OffsetFilter for offsetting incoming pairlists
2021-07-07 21:06:23 +02:00
Matthias
682f880630
Slightly simplify if statement, add additional test
2021-07-07 20:05:56 +02:00
kevinjulian
8248d1acd1
run flake8
2021-07-07 22:10:22 +07:00
kevinjulian
00a1931f40
fix test
2021-07-07 21:24:44 +07:00
sauces1313
8b0a02db8e
Correct exception messages
2021-07-07 08:11:13 +00:00
nightshift2k
3c3772703b
changed quoteVolume to be built over a
...
rolling period using lookback_period
to avoid pair_candles being larger
than requested lookback_period
2021-07-07 09:46:05 +02:00
user
638bed3dac
Add RangeStabilityFilterMax pairlist filter
2021-07-07 06:46:51 +00:00
octaviusgus
d1104bd434
fix daily profit data and daily profit curve example
2021-07-06 22:47:39 +02:00
Matthias
005da97183
extract backtesting abort functionality
2021-07-06 19:48:28 +02:00
Matthias
5474d5ee64
Move webserver start command to seperate file
2021-07-06 19:48:28 +02:00
Matthias
e5b1657ab3
Properly remove rpc handler
2021-07-06 19:48:28 +02:00
Matthias
2ec22f1d97
Add Sorting to available pair list
2021-07-06 19:48:28 +02:00
Matthias
830b2548bc
Add backtest stopping
2021-07-06 19:48:28 +02:00
Matthias
129c7b02d0
Not all config values are mandatory in webserver mode
2021-07-06 19:48:28 +02:00
Matthias
17b3cc2097
Return numeric value, not empty string
2021-07-06 19:48:28 +02:00
Matthias
b44d215b90
Add test for backtest via APII
2021-07-06 19:48:28 +02:00
Matthias
804d99cce9
Move backtesting api to it's own file
2021-07-06 19:48:28 +02:00
Matthias
8566306010
Add test for start_websever
2021-07-06 19:48:28 +02:00
Matthias
134c61126e
Properly track bt progress ...
2021-07-06 19:48:28 +02:00
Matthias
03140a0ecb
Run webserver in main thread when using webserver mode
2021-07-06 19:48:28 +02:00
Matthias
37b15e830a
Add trade count to progress
2021-07-06 19:48:28 +02:00
Matthias
048008756f
Add progress tracking for backtesting
2021-07-06 19:48:28 +02:00
Matthias
06b6726029
Support compounding key
2021-07-06 19:48:28 +02:00
Matthias
f96d7dfe6d
Allow backtesting to reuse data
...
Allow activating / deactivating protections dynamically
2021-07-06 19:48:28 +02:00
Matthias
edb8c4f0e5
Fix tests for webserver mode
2021-07-06 19:48:28 +02:00
Matthias
5c18c8726d
Implement backtesting with fastapi
2021-07-06 19:48:28 +02:00
Matthias
df55259737
Add start_trading endpoint
2021-07-06 19:48:28 +02:00
Matthias
02b84bd018
Introduce webserver mode for fastapi
2021-07-06 19:48:28 +02:00
Matthias
800e314bfd
Store backtesting results in backtest instance
2021-07-06 19:48:28 +02:00
Matthias
97e8ec91f0
Save configuration file paths
2021-07-06 19:48:28 +02:00
Matthias
ef137546fe
Add webserver entrypoint
2021-07-06 19:48:28 +02:00
Kevin Julian
0f3d34eaf4
Merge branch 'develop' into agefilter-max-days-listed
2021-07-06 19:47:18 +07:00
kevinjulian
502c69dce3
change short desc
2021-07-06 19:36:42 +07:00
Matthias
dec523eef0
Display verison of installed FreqUI
2021-07-06 07:20:05 +02:00
nightshift2k
1e87225e91
added test_VolumePairList_range
to test_pairlist.py
2021-07-05 20:59:27 +02:00
Matthias
10998eb0fa
Remove further usages of int(int_timestamp)
2021-07-05 19:51:14 +02:00
Matthias
1682578a39
Merge pull request #5234 from nightshift2k/fixups/pairlists
...
fixup pairlist filters, change float_timestamp to int_timestamp
2021-07-05 19:45:35 +02:00
nightshift2k
346d66748b
first version of OffsetFilter
2021-07-05 12:50:56 +02:00
nightshift2k
5626ca5a06
removed unnecessary casting to int()
2021-07-05 10:39:22 +02:00
Matthias
eb3ead4930
Merge pull request #5229 from kevinjulian/telegram-balance
...
compact low balance currencies
2021-07-05 06:56:35 +02:00
nightshift2k
7ac55e5415
AgeFilter, RangeStabilityFilter, VolatilityFilter
...
changed `float_timestamp` to `int_timestamp`
2021-07-04 21:08:42 +02:00
nightshift2k
85c7b55750
improvements:
...
- `float_timestamp` switched to `int_timestamp`
- added documentation to pairlists.md
2021-07-04 20:46:24 +02:00
Matthias
c5489d530a
Reexport File to docs to have this available as documentation too
2021-07-04 19:50:44 +02:00
kevinjulian
c3cf71bba8
sort import
2021-07-04 22:04:39 +07:00
kevinjulian
2d5ced7801
fix testcase
2021-07-04 21:59:59 +07:00
octaviusgus
558bcc7959
Jupyter notebook snippet: Plotting daily profit / equity line
2021-07-04 15:56:55 +02:00
octaviusgus
4aa2ae37bd
add daily_profit_list
...
added extra key daily_profit in return of optimize_reports.generate_daily_stats
this allows us to analyze and plot a daily profit chart / equity line using snippet below inside jupyter notebook
```
# Plotting equity line (starting with 0 on day 1 and adding daily profit for each backtested day)
from freqtrade.configuration import Configuration
from freqtrade.data.btanalysis import load_backtest_data, load_backtest_stats
import plotly.express as px
import pandas as pd
# strategy = 'Strat'
# config = Configuration.from_files(["user_data/config.json"])
# backtest_dir = config["user_data_dir"] / "backtest_results"
stats = load_backtest_stats(backtest_dir)
strategy_stats = stats['strategy'][strategy]
equity = 0
equity_daily = []
for dp in strategy_stats['daily_profit']:
equity_daily.append(equity)
equity += float(dp)
dates = pd.date_range(strategy_stats['backtest_start'], strategy_stats['backtest_end'])
df = pd.DataFrame({'dates':dates,'equity_daily':equity_daily})
fig = px.line(df, x="dates", y="equity_daily")
fig.show()
```
2021-07-04 14:38:17 +02:00
Matthias
898bef1837
Merge pull request #5219 from freqtrade/hyperopt_paramfile
...
automatic Hyperopt paramfile
2021-07-04 13:56:52 +02:00
nightshift2k
9919061c78
PEP8 compliance
2021-07-04 11:40:45 +02:00
nightshift2k
348dbeff3f
added meaningful logging of used lookback range
2021-07-04 11:16:33 +02:00
Matthias
77293b1f1e
Remove Zero duration Trades
...
after the recent backtesting fixes, this metric no longer makes sense, as it can't really be 0 any longer.
2021-07-04 10:50:10 +02:00
Matthias
a4096318e0
Provide full backtest-statistics to Hyperopt loss functions
...
closes #5223
2021-07-04 10:15:19 +02:00
kevinjulian
7efa228d73
add dust balance
2021-07-04 03:08:29 +07:00
kevinjulian
dbdd7f38a8
add plural
2021-07-04 02:56:05 +07:00
kevinjulian
b722e12350
compact low balance currencies
2021-07-04 02:44:48 +07:00
kevinjulian
f6511c3e3f
fix typo and add blocker
2021-07-04 02:20:53 +07:00
kevinjulian
b72bbebccb
fix flake8
2021-07-04 01:46:51 +07:00
kevinjulian
3d9f3eeb07
feat(agefilter): add max_days_listed
2021-07-03 23:58:04 +07:00
Rokas Kupstys
3686efa08a
Add range property to CategoricalParameter and DecimalParameter, add their tests.
...
At the moment we can keep a single code path when using IntParameter, but we have to make a special hyperopt case for CategoricalParameter/DecimalParameter. Range property solves this.
2021-07-03 16:02:45 +03:00
nightshift2k
53f963dd73
fixed self._tf_in_secs
to self._tf_in_sec
2021-07-03 11:49:05 +02:00
nightshift2k
62da4b452c
code cleanup and comments
2021-07-03 11:47:17 +02:00
nightshift2k
055229a44a
first iteration of volume pairlist with range lookback
2021-07-03 11:39:14 +02:00
Matthias
9d6860337f
Merge pull request #5212 from rokups/rk/trailing-stop-2
...
Trailing stoploss in backtesting v2
2021-07-03 08:39:30 +02:00
Matthias
fbd91cd3f8
Improve formatting to avoid backslash newlines
2021-07-03 08:22:21 +02:00
Matthias
b25ad68c44
Fix np.bool_ not outputting correctly
2021-07-02 20:52:25 +02:00
Matthias
b8de3270fa
Plotting: Fix hover mode options after plotly update
...
closes #5209
2021-06-30 20:11:11 +02:00
Matthias
15e36a20e1
Improve naming of default hyperopt serializer
2021-06-30 19:48:34 +02:00
Rokas Kupstys
bc0742ae67
Fix extremely optimistic results when using a combination of custom_stoploss and trailing_stop.
2021-06-30 09:10:50 +03:00
Matthias
0809225a0a
Update documentation to mention parameter strategy files
2021-06-30 07:05:20 +02:00
Matthias
645da51b5f
Add test for parameter loading
2021-06-30 06:55:10 +02:00
Matthias
dcf53ac3ff
Add test for try_eport_params
2021-06-30 06:33:40 +02:00
Matthias
84703080b8
Extract hyperopt_defaults_serializer to hyperopt_tools
2021-06-29 20:51:29 +02:00
Matthias
55f032b18e
Catch trying to read faulty parameter file
2021-06-29 20:51:29 +02:00
Matthias
62cdbdc26a
Automatically export hyperopt parameters
2021-06-29 20:51:25 +02:00
Matthias
af04c8e2da
Merge pull request #5205 from barisengez/develop
...
Added timerange and max open trades info above multiple strategy backtest result summary table
2021-06-29 16:49:17 +02:00
barbarius
a8117c6e0b
Refactored to use results variable from for loop
2021-06-29 11:24:49 +02:00
Matthias
a2ccc1526e
Load parameters from file
2021-06-29 07:07:34 +02:00
Matthias
8ca0076332
Fix small typos
2021-06-29 06:50:47 +02:00
Matthias
d4514f5f16
Introduce File versions to hyperopt result files
2021-06-29 06:50:47 +02:00
Matthias
a7e9e362b7
Simplify printing logic for non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
8b7010fc9a
Update pprint name
2021-06-29 06:50:47 +02:00
Matthias
aa5181ca81
Properly export non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
34e6ce431f
Print non-optimized parameters (also stop / roi)
2021-06-29 06:50:47 +02:00
Matthias
2310deec53
Update name to get non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
8cdd1e3aef
Fix some type errors
2021-06-29 06:50:47 +02:00
Matthias
2bf17f71e7
Dump parameters from hyperopt-show
2021-06-29 06:50:47 +02:00
Matthias
750c780293
Support loading parameters from json file
2021-06-29 06:50:47 +02:00
Eugene Schava
d54de72471
"/profit N" command should print best pair for the same period of time, not for all trades
2021-06-28 23:42:09 +03:00
barbarius
a0f28f4a15
Added max open trades to strategy summary first line
2021-06-28 17:05:12 +02:00
barbarius
2e5b719de8
Added timerange above multiple strategy backtest result summary table
2021-06-28 10:54:54 +02:00
barbarius
c99ae3b419
Added timerange above multiple strategy backtest result summary table
2021-06-28 10:20:34 +02:00
Matthias
ab07fb5b3f
Merge pull request #5188 from freqtrade/move_config_settings
...
Move ask_strategy config settings to root level
2021-06-27 11:30:50 +02:00
Matthias
34448fb87c
Expose default currency precision to API
2021-06-26 20:46:54 +02:00
Matthias
00a7097b9e
Reduce verbosity of getting sell-rate from orderbook
2021-06-26 20:09:52 +02:00
Matthias
3f669147f1
Simplify strategy-resolver moving
2021-06-26 17:55:31 +02:00
Matthias
158cb415a9
Add settings interface to have types available
2021-06-26 17:28:37 +02:00
Matthias
b7f01a08f3
Update sequence of process_deprecated_setting parameters
2021-06-26 17:03:51 +02:00
Matthias
1067a9f356
Move strategy-override signals to top-level of the config
...
closes #2867
2021-06-26 16:06:13 +02:00
Matthias
60c7308126
Merge pull request #5183 from freqtrade/remove_order_book_max
...
Remove order book max
2021-06-26 14:56:10 +02:00
Matthias
1cb057bda7
Version bump 2021.6
2021-06-26 14:01:23 +02:00
Matthias
7fe42852a8
Merge branch 'stable' into new_release
2021-06-26 14:00:55 +02:00
Matthias
c62fad0088
Pricing strategies should default to use orderbook pricing
2021-06-26 08:19:37 +02:00
Matthias
59a33d0fa9
Add test for ask_orderbook validation
2021-06-25 20:52:34 +02:00
Matthias
d59a38665c
Remove support for order_book_max
2021-06-25 20:36:39 +02:00
aayush-jain18
d294ef10d7
unexpected docstring params
2021-06-25 23:56:16 +05:30
Matthias
1440b2f7fe
Merge pull request #5178 from aayush-jain18/spell-correction
...
spell corrections
2021-06-25 19:10:39 +02:00
aayush-jain18
a46f60bd94
spell corrections
2021-06-25 22:10:04 +05:30
Matthias
40545e62af
Merge pull request #5082 from freqtrade/dry_run_order
...
Dry run order filling
2021-06-25 18:26:01 +02:00
Matthias
1a82685dd8
Don't reset log caching
...
uvicorn will "load from dict" the config - which flushes the logs
and therefore cleans log-buffering
2021-06-25 18:24:10 +02:00
Matthias
e0d3ca6c6d
Fix import sorting
2021-06-24 18:44:59 +02:00
Matthias
c938edc01b
Apply dataprovider to /pair_history endpoint
2021-06-24 18:18:01 +02:00
Matthias
f7c09ba63a
Log endpoint should use static rpc class
2021-06-24 18:17:40 +02:00
Eugene Schava
3c70768e18
make "/profit N" command output be consistent with "/daily" and "/status table" commands
2021-06-23 07:30:08 +03:00
Eugene Schava
e97c82c514
make "/profit N" command output be consistent with "/daily" and "/status table" commands
2021-06-22 12:22:19 +03:00
Eugene Schava
0605cbb06e
make "/profit N" command output be consistent with "/daily" and "/status table" commands
2021-06-22 12:20:12 +03:00
Matthias
204758834d
Merge pull request #4308 from eatrisno/patch-1
...
Add Refresh / Reload Button on rpc/Telegram
2021-06-19 18:50:59 +01:00
Matthias
122943d835
Don't run filter again for pairlist generator
...
The generator implicitly runs filter - so it should not be ran again
as that would void generator caching.
closes #5103
2021-06-19 19:37:27 +02:00
Matthias
96fbb226c5
Implement better strategy checks
...
part of #2696
2021-06-19 19:32:29 +02:00
Matthias
a7f8342171
Add small documentation about reload disabling
2021-06-19 16:49:54 +02:00
Matthias
6e99e3fbbb
Implement tests for message updating
2021-06-19 09:31:34 +02:00
Matthias
39b876e37a
Log exchange responses if configured
2021-06-19 09:07:42 +02:00
Matthias
e40d481d09
Merge pull request #5014 from Rikj000/hyperopt-show-include-non-optimized-in-json
...
BugFix - `hyperopt-show --print-json` include non-optimized params
2021-06-19 07:42:15 +01:00
Rik Helsen
656bebd4da
🪲 Included completely non_optimized spaces in json + swapped merge dictionary order
2021-06-18 22:03:04 +02:00
Matthias
e1010ff592
Don't load protections from config if strategy defines a property
2021-06-18 19:55:53 +02:00
Rik Helsen
1567804509
⚡ kwargs merge dictionaries instead of using loops
2021-06-17 22:41:49 +02:00
Cryptomeister Nox
85979c3176
* Adding command for Filtering
...
* Read latest Backtest file and print trades
2021-06-17 20:35:02 +02:00
Rik Helsen
546ca01071
♻️ Fixed flake8 warning
2021-06-17 20:33:21 +02:00
Rik Helsen
90d37f5ec6
🔀 Merged upstream branches and fixed merge conflicts
2021-06-17 20:24:20 +02:00
Matthias
a9f111dca0
Fix some types
2021-06-17 19:50:49 +02:00
Matthias
7ff794cb87
Merge branch 'develop' into pr/eatrisno/4308
2021-06-17 19:46:15 +02:00
Matthias
8bb464bd64
Merge pull request #5108 from rokups/rk/pessimistic-trailing-stoploss
...
Implement most pessimistic handling of trailing stoploss.
2021-06-17 18:41:00 +01:00
Matthias
c4bc47e6e7
Merge pull request #5140 from barisengez/develop
...
Moved daily avg trade row next to total trades on backtest results
2021-06-17 08:54:48 +01:00
Matthias
a49ca9cbf7
Change log-level "Executing handler" msg to debug
...
closes #5143
2021-06-17 06:57:35 +02:00
Matthias
b38ab84a13
Add documentation mention about new behaviour
2021-06-17 06:48:41 +02:00
Matthias
1c9def2fdb
Update freqtrade/optimize/optimize_reports.py
2021-06-16 20:17:44 +01:00
barbarius
1bb04bb0c2
Moved daily avg trade row next to total trades on backtest results
2021-06-16 11:40:55 +02:00
Matthias
38ed49cef5
move low to stoploss_reached
...
to clarify where which rate is used
2021-06-15 09:05:36 +03:00
Rokas Kupstys
6d5fc96714
Implement most pessimistic handling of trailing stoploss.
2021-06-15 09:05:36 +03:00
Matthias
0af9bcef60
Merge pull request #5131 from freqtrade/dependabot/pip/develop/mypy-0.902
...
Bump mypy from 0.812 to 0.902
2021-06-14 19:03:46 +01:00
Matthias
cf7394d01c
Export backtesting results by default
...
closes #4977
2021-06-14 19:57:24 +02:00
Matthias
4ba7a2bbd2
Fix mypy update problems
2021-06-14 19:18:42 +02:00
Bernd Zeimetz
cd6620a044
Ignore broken symlinks while resolving strategies.
...
Without this fix the resolver tries to read from the broken symlink,
resulting in an exception that leads to the the rather confusing
error message
freqtrade.resolvers.iresolver - WARNING - Path "...../user_data/strategies" does not exist.
as a result of a symlink matching .py not being readable.
2021-06-13 21:42:09 +02:00
Matthias
e226252921
Always use the same parameter sequence
2021-06-13 20:39:25 +02:00
Matthias
a95f760ff7
Simplify update logic by moving it to send_msg
2021-06-13 20:34:08 +02:00
Matthias
03eff69829
Simplify update message sending
2021-06-13 20:23:32 +02:00
Matthias
d32508aa75
Merge branch 'develop' into pr/eatrisno/4308
2021-06-13 20:04:24 +02:00
Matthias
eaf0aac77e
Remove OrderedDict
...
as we're no longer supporting python 3.6
2021-06-13 11:47:18 +02:00
Matthias
d54ee0eb04
Refactor hyperopt_tools naming
2021-06-13 11:24:24 +02:00
Matthias
c65b4e5d3b
Small fix to models
2021-06-13 11:20:22 +02:00
Matthias
d35b2e3b8f
Update ftx stoploss logic to properly detect correct trades
...
closes #5045
2021-06-13 11:06:34 +02:00
Matthias
a05e38dbd3
Require timeframe for plot-profit
...
must be set in config or via --timeframe
2021-06-12 09:03:55 +02:00
Matthias
ef208012c4
Merge pull request #5104 from freqtrade/enums_own_module
...
Enums own package
2021-06-10 05:31:14 +01:00
Matthias
c292926086
Small style improvements (no empty line at start)
2021-06-10 06:21:10 +02:00
Matthias
d4dfdf04fc
Move RPCMessageType to enums
2021-06-09 20:23:17 +02:00
Matthias
f484ec216e
Merge pull request #5099 from bgouvea/develop
...
Addition of the maximum drawdown to the hyperoptimization
2021-06-09 19:10:25 +01:00
Bruno Gouvea
40f1ede775
Simplifying HO's result function
2021-06-09 12:03:24 -03:00
Matthias
756904f985
Set sell_reason to stoploss when closing the trade as stoploss
...
closes #5101
2021-06-08 21:21:29 +02:00
Matthias
9c34304cb9
Move state enums to enums package
2021-06-08 21:20:35 +02:00
Matthias
3c149b9b59
Move signalType to enums
2021-06-08 21:09:39 +02:00
Matthias
89b9915c12
Update imports for SellType in tests
2021-06-08 21:07:16 +02:00
Matthias
d16a619489
Move SellType Enum to it's own module
2021-06-08 21:04:34 +02:00
Matthias
e71d965e32
Merge pull request #4982 from eschava/profit_day_week
...
day/week options for Telegram '/profit' command
2021-06-08 19:26:57 +01:00
Matthias
3310a45029
Change wording if limited lookback is used
2021-06-08 20:10:43 +02:00
Bruno Gouvea
3cce668353
Creating a control variable to determine the existence of max drawdown in the final result.
2021-06-08 02:57:44 -03:00
Bruno Gouvea
816bb531b3
Creating fake column for legacy mode on max drawdown
2021-06-08 02:42:55 -03:00
Bruno Gouvea
4595db39aa
Displaying max. drawdown only when it is not legacy mode.
2021-06-08 02:18:00 -03:00
Bruno Gouvea
c513c9685d
Remove blank line (PEP8)
2021-06-07 18:20:04 -03:00
Bruno Gouvea
5c3a418e65
Adjusting drawdown column position.
2021-06-07 18:15:26 -03:00
Bruno Gouvea
35d6140068
Displays the max drawdown in the hyper optimization results table.
2021-06-07 17:53:19 -03:00
Matthias
c389d44e9a
Improve filling logic
2021-06-05 15:22:52 +02:00
Matthias
db03a24109
Add tests for fill methods
2021-06-05 09:09:39 +02:00
Matthias
1e988c97ad
Update dry-run order handling to use realistic fill prices
...
closes #3389
2021-06-05 09:09:39 +02:00
Matthias
a0893b291a
Fix strategy samples to use runmode.value
...
closes #5073
2021-06-05 09:03:03 +02:00
Matthias
8e44de7f83
Merge pull request #5071 from janoskut/plot-profit-make-open-html-optional
...
plot-profit: Make "auto-open" HTML result optional
2021-06-03 05:40:38 +01:00
Janos
812eb229df
plot-profit: Make "auto-open" HTML result optional
...
Adding an "--auto-open" argument.
This improves tool processing of the results, while still allowing to open the HTML file for easy use.
2021-06-02 21:33:26 +02:00
Janos
80af6e43e4
test-pairlist: remove non-JSON headline from JSON output
2021-06-02 21:02:21 +02:00
Matthias
bd1984386e
Move get_sell_rate to exchange class
2021-06-02 11:41:13 +02:00
Matthias
12916243ec
Move get_buy_rate to exchange class
2021-06-02 11:30:19 +02:00
Matthias
4e1425023e
Further reorder exchange methods
2021-06-02 11:20:26 +02:00
Matthias
4c277b3039
Reorder exchange methods
2021-06-02 11:18:13 +02:00
Matthias
67beda6c92
Add fetch_dry_run_order method
2021-06-02 11:06:32 +02:00
Matthias
10cd89a99d
Allow the API to respond faster in case of long pairlists
2021-06-02 10:39:49 +02:00
Eugene Schava
9edcb393b6
telegram: move the most important information to the top of sell message
...
fixed flake error
2021-06-01 22:24:21 +03:00
Eugene Schava
53b1f38952
telegram: move the most important information to the top of sell message
2021-06-01 20:08:22 +03:00
Matthias
f920c26802
fix Hyperopt-list avg-time filters
...
These should use a numeric field (which currently isn't available).
closes #5061
2021-05-31 20:01:40 +02:00
Matthias
2d7ccaeb3d
Add test for load_config
2021-05-30 20:14:54 +02:00
Matthias
f9bcf19f9a
Merge pull request #5003 from rokups/rk/plotting
...
Indicator plotting improvement
2021-05-30 18:44:54 +01:00
Matthias
e3d5c9cb10
Fix typo in exception message
2021-05-30 16:39:33 +01:00
Matthias
e17e35f0ef
Merge pull request #5046 from freqtrade/list_strategy_hyperopt
...
allow list-strategies to show if params are hyperoptable
2021-05-30 16:36:31 +01:00
Kamontat Chantrachirathumrong
806838c3af
Fix we use check sell_noti not noti
2021-05-30 21:07:44 +07:00
Rokas Kupstys
b54da430b9
Add ability to plot bars on indicator chart and pass custom arguments to plotly.
2021-05-30 11:11:19 +03:00
Matthias
d7fdc2114a
allow list-strategies to show if params are hyperoptable
2021-05-29 13:27:08 +02:00
Matthias
313567d07d
Support having numbers in custom keyboard
2021-05-29 08:12:25 +02:00
Eugene Schava
14df243661
day/week options for Telegram '/profit' command
...
mypy fix
2021-05-28 17:18:23 +03:00
Eugene Schava
012309a06a
day/week options for Telegram '/profit' command
...
fixed line lenght
2021-05-28 17:03:31 +03:00
Eugene Schava
36b68d3702
day/week options for Telegram '/profit' command
...
format changed to "/profit n"
2021-05-28 14:46:22 +03:00
Eugene Schava
4b5a9d8c49
day/week options for Telegram '/profit' command
...
revert accidental changes
2021-05-28 14:43:57 +03:00
Eugene Schava
a965436cd6
day/week options for Telegram '/profit' command
...
format changed to "/profit n"
2021-05-28 10:17:26 +03:00
Matthias
8a56af9192
Update onlyprofit loss should use absolute profit
...
closes #4934
2021-05-28 08:38:46 +02:00
Matthias
7bfe935e37
Merge pull request #4838 from Antreasgr/fix-encoding-issue
...
Fix bug in running hyperopt in windows 10
2021-05-27 14:57:36 +01:00
Matthias
377352fced
Merge pull request #4682 from freqtrade/sqlalchemy_14
...
Sqlalchemy 14 preparations
2021-05-27 14:19:25 +01:00
Matthias
a89364aa98
Merge branch 'develop' into pr/Antreasgr/4838
2021-05-27 14:59:39 +02:00
Matthias
3014bc3467
Don't use Sum sign in hyperopt to avoid compatibility problems
2021-05-27 14:22:11 +02:00
Matthias
639c83575b
Fix csv-export error with new hyperopt format
2021-05-27 13:09:06 +02:00
Matthias
cf39dd2163
Fix csv-export error with new hyperopt format
2021-05-27 13:08:28 +02:00
Matthias
e0083bc58e
Support backwards-compatible sell setting
2021-05-27 13:00:05 +02:00
Matthias
66de5df1d1
Update sqlite init method
2021-05-27 11:38:28 +02:00
Matthias
b82f7a2dfd
Update orders-migrations to work with new sqlalchemy syntax
2021-05-27 11:38:28 +02:00
Matthias
17f74f7da8
Ensure commit happens on forcebuy
2021-05-27 11:38:28 +02:00
Matthias
a01d05997e
Add Trade.commit method for easy use
2021-05-27 11:38:28 +02:00
Matthias
6fb32c3594
Use commit instead of .flush()
2021-05-27 11:38:28 +02:00
Matthias
eaa47ff335
Don't use autocommit
2021-05-27 11:38:28 +02:00
Matthias
c31cb67118
Further changes for sqlalchemy 1.4
2021-05-27 11:38:28 +02:00
Matthias
2f79958acb
Move declarative_base import to import from .orm
2021-05-27 11:38:28 +02:00
Kamontat Chantrachirathumrong
c5c323ca88
Settings notify sell in telegram base on sell reason ( #5028 )
...
* BREAK: notification sell by sell reason
* Update constants.py
* Update telegram.py
* Update telegram-usage.md
* Update telegram.py
* Update telegram.py
* Fix test fail
* Update config_full.json.example
* Update telegram-usage.md
* Update telegram.py
* Update telegram.py
* Update telegram-usage.md
* validate value of sell object
* Fix linter
* Update constants.py
* Make telegram sample slightly more positive
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-05-27 11:35:27 +02:00
Matthias
0c9b913cad
Version bump 2021.5
2021-05-27 11:10:10 +02:00
Matthias
e42e06a593
Merge branch 'stable' into new_release
2021-05-27 11:10:00 +02:00
Matthias
42453333be
Align coinbase download with ccxt limits
...
Align with https://github.com/ccxt/ccxt/issues/9268
2021-05-27 07:38:47 +02:00
Matthias
8e89d3e6e4
Fix sort error
2021-05-25 19:33:34 +02:00
Matthias
cc5769e900
Convert np.int64 to proper int
...
closes #5018
2021-05-25 19:24:56 +02:00
Matthias
a747312c1e
Explicitly provide is_open to trade Object
...
closes #5015
2021-05-25 18:02:07 +02:00
Rikj000
bd44deea0d
BugFix - hyperopt-show --print-json include non-optimized params
2021-05-24 18:51:33 +02:00
Matthias
af16614bf2
Fix formatting issue
2021-05-24 07:48:36 +02:00
Priveyes
6f990c5976
Fix a rare error in save_result : ValueError: Out of range float values are not JSON compliant
...
freqtrade/freqtrade/optimize/hyperopt.py", line 166, in _save_result
rapidjson.dump(epoch, f, default=str, number_mode=rapidjson.NM_NATIVE)
ValueError: Out of range float values are not JSON compliant
2021-05-23 18:49:07 +02:00
Matthias
f760b4a789
Merge branch 'develop' into pr/gmatheu/4746
2021-05-23 16:03:11 +02:00
Matthias
971d5b2ecc
Merge pull request #5002 from freqtrade/track_rejected_trades
...
Track rejected trades
2021-05-23 14:56:50 +01:00
Matthias
3f956441fc
Properly format % of zero_duration_trades
2021-05-23 15:53:54 +02:00
Matthias
a39860e0de
Add tests for rejected signals
2021-05-23 14:15:02 +02:00
Matthias
7f125315b0
Track Rejected Trades
...
closes #3423
2021-05-23 09:42:05 +02:00
Matthias
02faeb60a3
Merge pull request #4943 from rokups/rk/statistics
...
Extra statistics
2021-05-23 08:38:27 +01:00
Rokas Kupstys
db985cbc2e
Fix hyperopt-show failing to display old results with missing new fields.
2021-05-23 09:45:26 +03:00
Matthias
74d75599a9
Merge pull request #4964 from thraizz/develop
...
Add backoff timer for coingecko API
2021-05-22 16:54:29 +01:00
Matthias
765c824bfc
isort
2021-05-22 17:25:23 +02:00
Matthias
a7bd8b0aa5
Fix exception in plotting when no trades where generated
...
as seen in #4981
2021-05-22 17:03:16 +02:00
Matthias
feb836eaf6
Merge pull request #4994 from freqtrade/support_other_dbs
...
Support other dbs
2021-05-22 15:54:34 +01:00
A. Schueler
0693458507
Update freqtrade/rpc/fiat_convert.py
2021-05-22 16:26:58 +02:00
Rokas Kupstys
25cc4eae96
Fix tests that broke after table formatting changed.
2021-05-22 15:25:37 +02:00
A. Schueler
f8cdd6475c
Reduce warnings when waiting for coingecko backoff
2021-05-22 13:43:33 +02:00
A. Schueler
6e05f856b4
Abort _find_price when cryptomap is empty after retry
2021-05-22 11:55:03 +02:00
A. Schueler
ab6bfbad12
Handle RequestExceptions that are not 429s in _load_cryptomap
2021-05-22 11:52:40 +02:00
A. Schueler
8842e0d161
Fix flake8 error in fiat_convert
2021-05-22 10:59:33 +02:00
A. Schueler
a0921ec753
Add backoff timer for coingecko API
...
Set a future timestamp when we should retry getting coingecko data.
This fixes conversion from stake to fiat when running multiple bots
as we don't simply accept the 429 error from Coingecko but handle it.
2021-05-22 10:59:33 +02:00
Matthias
df0928c8b5
Merge pull request #4992 from freqtrade/buy_partial_fill
...
Don't cancel low partial filled buy
2021-05-22 09:17:04 +01:00
Matthias
cc064f1574
String columns should have a max-length defined
...
otherwise MySql will not work.
2021-05-22 10:12:23 +02:00
Matthias
6acb2eb2b6
Add average column to orders table
2021-05-21 20:35:39 +02:00
Matthias
45e2621505
Add minimum-filled protection for buy cancels
2021-05-21 19:32:16 +02:00
Matthias
dfa412f0de
Fix typo in filter
2021-05-21 13:24:13 +02:00
Rokas Kupstys
981b2df7ca
Include win:loss ratio in results tables.
2021-05-21 12:18:08 +03:00
Rokas Kupstys
debd98ad9a
Make results table more compact by merging win/draw/loss columns and drawdown abs/% into single columns.
2021-05-21 11:36:23 +03:00
Rokas Kupstys
e1dc1357ce
Add drawdown column to strategy summary table.
2021-05-21 11:36:23 +03:00
Rokas Kupstys
edcfa94093
Include zero duration trades in backtesting report.
2021-05-21 11:36:23 +03:00
Matthias
96ea10e562
Fix circular import in hyperopt
2021-05-21 08:52:56 +02:00
Matthias
f398888865
Refactor preprocessed trimming to seperate method
2021-05-21 08:26:19 +02:00
Matthias
d19b37c777
Merge pull request #4979 from kamontat/patch-1
...
Fix hyperopt trim to empty dataframe
2021-05-21 08:17:35 +02:00
Matthias
ccd705bfda
Merge pull request #4962 from eschava/total_row
...
Total row for telegram "/status table" command
2021-05-21 08:02:30 +02:00
Eugene Schava
336f4aa6a7
day/week options for Telegram '/profit' command
...
isort fix
2021-05-20 08:17:08 +03:00
Kamontat Chantrachirathumrong
6172e67fcd
Update hyperopt.py
2021-05-20 11:56:31 +07:00
Kamontat Chantrachirathumrong
c2b9da68e1
fix indent
2021-05-20 11:56:11 +07:00
Kamontat Chantrachirathumrong
1b3bfb2e7f
found root cause.
2021-05-20 11:50:15 +07:00
Kamontat Chantrachirathumrong
48210170e7
wrap with is not empty
2021-05-20 11:49:25 +07:00
Matthias
ba106e6c4a
Merge pull request #4975 from Axel-CH/allow_seconds_unfilled_timeout
...
Add ability to choose unit in unfilled timeout
2021-05-20 06:43:15 +02:00
Matthias
586f2a699d
Merge pull request #4953 from freqtrade/value_filter
...
max-value change filter
2021-05-20 06:35:34 +02:00
Matthias
0358b5365f
Add "unfilledtimeout-unit" to full config sample
2021-05-20 06:26:07 +02:00
Eugene Schava
935ed36433
day/week options for Telegram '/profit' command
...
mypy fix
2021-05-20 01:10:22 +03:00
Eugene Schava
e9841910e9
day/week options for Telegram '/profit' command
2021-05-20 00:33:33 +03:00
Kamontat Chantrachirathumrong
082fb11bbe
Avoid having error cannot set a frame with no defined index and a scalar
2021-05-20 01:54:48 +07:00
Matthias
ef4d1c24d7
Merge pull request #4941 from brookmiles/fix-stoploss-above-candle
...
prevent backtest stoploss trade price being set above candle high
2021-05-19 06:20:35 +02:00
axel
75f88b466a
add ability to choose unit in unfilled timeout
2021-05-18 19:30:36 -04:00
Matthias
7a9853bfe1
Fix "Too many open Files" exception
2021-05-18 20:39:55 +02:00
Matthias
16c22c7b68
Add pair name to stoploss
...
helps debugging #4972
2021-05-18 19:16:25 +02:00
Matthias
36eba0f110
Don't use "r+" memmap, but "r2
2021-05-17 21:05:48 +02:00
Matthias
6aa574fa2b
Convert ROI result to proper json object
...
closes #4952
2021-05-17 20:58:50 +02:00
Matthias
6659a07079
Add tests for max-value filter
2021-05-17 19:47:57 +02:00
Matthias
369f19df6b
Add valuefilter to Pricefilters
2021-05-17 19:44:36 +02:00
Matthias
3006396398
Fix docstring typo
2021-05-17 19:37:22 +02:00
Matthias
26f5bc6584
Merge pull request #4944 from brookmiles/fix-download-data-end-date
...
Add support for timerange end date to `download-data`
2021-05-17 19:35:32 +02:00
Eugene Schava
459fae6d80
Total row for telegram "/status table" command
...
fixes
2021-05-17 16:22:48 +03:00
Eugene Schava
3ad8fa2f38
Total row for telegram "/status table" command
...
moved sum calculation to API
2021-05-17 15:59:03 +03:00
Eugene Schava
196fde44e0
Total row for telegram "/status table" command
...
work around mypy warning
2021-05-17 14:45:54 +03:00
Eugene Schava
915ff7e1bf
Total row for telegram "/status table" command
...
fix mypy warnings
2021-05-17 13:03:20 +03:00
Eugene Schava
d7479fda1f
Total row for telegram "/status table" command
...
fix compiler warnings
2021-05-17 12:53:57 +03:00
Eugene Schava
0abb9cfe28
Total row for telegram "/status table" command
2021-05-17 12:41:44 +03:00
Eugene Schava
10ef0f54ac
Total row for telegram "/status table" command
2021-05-17 11:12:11 +03:00
Matthias
37b71b8cfd
Fix PerformanceFilter failing in test-pairlist mode
2021-05-16 19:55:13 +02:00
Matthias
0d50e99563
Fix Agefilter checking for > instead of >=
2021-05-16 19:35:30 +02:00
Matthias
c9ac67e985
Fix some typos
2021-05-16 14:50:25 +02:00
Matthias
6f38976470
Introduce cancel_stoploss_with_result
2021-05-16 14:15:24 +02:00
Matthias
380754b8ab
Fix typos in docstrings
2021-05-16 13:20:05 +02:00
Matthias
0b1dd0d203
Use correct order_id for ftx
...
closes #4511
2021-05-16 09:15:25 +02:00
Matthias
2d7735ba04
Update telegram to sort performance by absolute performance
2021-05-15 19:49:21 +02:00
Matthias
6b2a38ccfb
Add absolute Profit to apiserver
2021-05-15 19:39:46 +02:00
Matthias
4f968b4a6f
Merge pull request #4926 from rokups/rk/misc-fixes
...
Two fixes
2021-05-15 15:11:07 +02:00
Brook Miles
db17b1a851
fix indentation
2021-05-15 20:20:36 +09:00
Brook Miles
88da1f109b
fix #4412 download-data does not stop downloading at the specified TIMERANGE end date
2021-05-15 20:15:19 +09:00
Rokas Kupstys
2d5f465f1b
Fix protections being loaded multiple times for first strategy when backtesting.
2021-05-15 13:37:03 +03:00
Rokas Kupstys
29fed37df3
Fix exception when few pairs with no data do not result in aborting backtest.
...
Exception is triggered by backtesting 20210301-20210501 range with BAKE/USDT pair (binance). Pair data starts on 2021-04-30 12:00:00 and after adjusting for startup candles pair dataframe is empty.
Solution: Since there are other pairs with enough data - skip pairs with no data and issue a warning.
Exception:
```
Traceback (most recent call last):
File "/home/rk/src/freqtrade/freqtrade/main.py", line 37, in main
return_code = args['func'](args)
File "/home/rk/src/freqtrade/freqtrade/commands/optimize_commands.py", line 53, in start_backtesting
backtesting.start()
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 502, in start
min_date, max_date = self.backtest_one_strategy(strat, data, timerange)
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 474, in backtest_one_strategy
results = self.backtest(
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 365, in backtest
data: Dict = self._get_ohlcv_as_lists(processed)
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 199, in _get_ohlcv_as_lists
pair_data.loc[:, 'buy'] = 0 # cleanup from previous run
File "/home/rk/src/freqtrade/venv/lib/python3.9/site-packages/pandas/core/indexing.py", line 692, in __setitem__
iloc._setitem_with_indexer(indexer, value, self.name)
File "/home/rk/src/freqtrade/venv/lib/python3.9/site-packages/pandas/core/indexing.py", line 1587, in _setitem_with_indexer
raise ValueError(
ValueError: cannot set a frame with no defined index and a scalar
```
2021-05-15 13:37:03 +03:00
Matthias
e1447f955c
/locks should always respond, even if there's no locks
...
closes #4942
2021-05-15 10:50:00 +02:00
Brook Miles
2eac23a15f
if stoploss price is above the candle high, set it to candle open instead. this can occur if stoploss had previously been reached but the sell was prevented by confirm_trade_exit
2021-05-15 15:38:51 +09:00
Matthias
0ace35bf3d
Fix unreferenced error
2021-05-15 08:14:50 +02:00
Matthias
a6c644161d
Merge pull request #4930 from freqtrade/hyperopt_memory
...
Hyperopt memory problems
2021-05-15 07:12:57 +02:00
Matthias
5e73195b30
Use linux lineseperator at all times
2021-05-15 07:01:32 +02:00
Matthias
4bc018a456
Change rate back to "open" for custom_sell
...
closes #4920
2021-05-14 07:18:10 +02:00
Matthias
09756e3007
Subplots should always be included in responses
2021-05-14 06:36:50 +02:00
Matthias
ecee42f561
Read pickle file in mmap mode
2021-05-13 20:13:04 +02:00
Matthias
1055862bc0
Extract data-load + dump from hyperopt
...
(Reduces memory-usage as the dataframes go out of scope)
2021-05-12 21:15:01 +02:00
Matthias
24a1d5a96f
Change default hyperopt-name to be shorter
2021-05-12 19:06:13 +02:00
Matthias
3cbe40875d
read hyperopt results from pickle or json
2021-05-12 06:06:30 +02:00
Matthias
06bf1aa274
Store epochs as json per line
2021-05-12 05:58:25 +02:00
Matthias
7398ea88e0
Change optimize_reports to convert dates to string earlier
2021-05-11 20:37:49 +02:00
Matthias
b81f24d9c6
Merge pull request #4851 from rokups/rk/backtest-dataprovider
...
Data provider support in backtesting
2021-05-10 19:11:05 +02:00
Matthias
92186d89a2
Add some changes to strategytemplate
2021-05-09 09:56:36 +02:00
Matthias
2157923aee
have edge send multiple messages if necessary
...
closes #4519
2021-05-08 19:45:34 +02:00
Rokas Kupstys
8d8c782bd0
Slice dataframe in backtesting, preventing access to rows past current time.
2021-05-08 18:40:49 +03:00
Rokas Kupstys
f1eb653545
Fix strategy protections not being loaded in backtesting.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
1b01ad6f85
Make exchange parameter optional and do not use it as parameter in backtesting.
2021-05-08 10:29:47 +03:00
Matthias
4b6cd69c81
Add test for no-exchange dataprovider
2021-05-08 10:29:47 +03:00
Rokas Kupstys
d344194b36
Fix dataprovider in hyperopt.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
9b4f6b41a2
Use correct datetime.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
6fb4d83ab3
Fix dataprovider in hyperopt.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
6af4de8fe8
Remove dataframe parameter from docs.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
cdfa6adbe5
Store pair datafrmes in dataprovider for backtesting.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
dc6e702fec
Pass current_time to confirm_trade_entry/confirm_trade_exit.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
d34da3f981
Revert "Add dataframe parameter to custom_stoploss() and custom_sell() methods."
...
This reverts commit 595b8735f8
.
# Conflicts:
# freqtrade/optimize/backtesting.py
# freqtrade/strategy/interface.py
2021-05-08 10:29:47 +03:00
Matthias
513be11fd9
Fix hyperopt output
...
closes #4892
2021-05-07 20:23:11 +02:00
Matthias
554f5f14b6
Raise exception if no data is left
2021-05-07 06:41:15 +02:00
Matthias
4f529fe424
Don't use Arrow to get min/max backtest dates
2021-05-06 19:43:14 +02:00
Matthias
32577cc0cd
Merge pull request #4836 from bzed/telegram-locks
...
Telegram rpc: split too long /locks messages
2021-05-05 20:15:13 +02:00
Matthias
431cb5313f
Support informative pairs in edge positioning
2021-05-05 19:58:45 +02:00
Matthias
da47f4e1a4
Fix Kraken balance update error
...
closes #4873
2021-05-05 06:47:26 +02:00
Matthias
da574e4e69
Small style fixes
2021-05-03 06:30:41 +02:00
Matthias
fc110ea418
Support csv export for new and old versions
2021-05-02 20:41:45 +02:00
Matthias
303895b33e
Add support for filters to new hyperopt-results
2021-05-02 20:07:22 +02:00
Matthias
287b43e999
Output strategy results including non-optimized parameters
2021-05-02 11:30:53 +02:00
Matthias
d069ad43d8
Small reformatting in hyperopt
2021-05-02 11:01:26 +02:00
Matthias
8ee0b0d8e8
Store not optimized parameters (if applicable)
2021-05-02 10:46:04 +02:00
Matthias
9049d6b779
Reformat hyper to cache parameters
2021-05-02 10:45:21 +02:00
Matthias
46f0f66039
Keep dimensions stored in hyperopt class
...
There is no point in regenerating them and it will cause some
overhead as all space classes will be recreated for every epoch.
2021-05-02 09:48:37 +02:00
Matthias
ced5cc7ce2
Don't recalculate min/max date - they won't change between epochs
2021-05-02 09:46:27 +02:00
Matthias
ecdfb6e5ed
Fix output of % for new format
2021-05-02 09:46:27 +02:00
Matthias
881cba336a
Show backtesting result in hyperopt-show
2021-05-02 09:46:27 +02:00
Matthias
420e75af65
Extract show_backtest_result for one strategy
2021-05-02 09:46:27 +02:00
Matthias
97478abb9d
Move format explanation string to HyperoptTools
2021-05-02 09:46:27 +02:00
Matthias
f2e182002d
Simplify calling backtesting by returning the proper result
2021-05-02 09:46:27 +02:00
Matthias
e2e1d34828
Extract stake_currency param from hyperopt-explanationstring
2021-05-02 09:46:27 +02:00
Matthias
6aaaad29d7
Use backtesting output for hyperopt results
2021-05-02 09:46:27 +02:00
Matthias
545cba7fd8
Refactor optimize_report
...
we should not calculate non-daily statistics in the daily stats method
2021-05-02 09:46:27 +02:00
Matthias
9994fce577
Extract generation of report for one strategy to it's own method
2021-05-02 09:46:27 +02:00
Matthias
b125c975c7
Rename strategy_comparison method
2021-05-02 09:46:27 +02:00
Matthias
ac2e1eb3d7
Don't import joblib for regular strategies
2021-05-02 08:44:16 +02:00
Matthias
0e359dcb7a
Merge pull request #4788 from saeedrss/develop
...
fetch live data from hitbtc exchange #4778
2021-05-01 19:13:00 +02:00
Matthias
bdd0184f0b
Small stylistic fixes
2021-05-01 17:44:43 +02:00
Matthias
1cb430f59b
Remove encoding specifics, gitattributes to echeckout as utf8
2021-05-01 17:41:40 +02:00
Matthias
0b280a59bc
Support per exchange params for OHLCV endpoint
2021-05-01 17:29:53 +02:00
Matthias
e0ca3c014c
Don't completely remove encode/decode
2021-05-01 17:12:48 +02:00
Matthias
30da307d13
Remove encode/decode for hyperopt
2021-05-01 17:01:52 +02:00
Matthias
555262b6e1
Only calculate additional indicators if the space is selected
2021-05-01 16:40:29 +02:00
Matthias
e381df9098
extract has_space to Hyperopt-Tools
2021-05-01 16:36:35 +02:00
Matthias
e050ea8dfa
Don't load parameters for other space
2021-05-01 16:21:59 +02:00
Matthias
401f31e86b
Merge pull request #4841 from JoeSchr/fix/istrategy-return-value
...
fix IStrategy: abstract methods still need to pass through return value
2021-04-30 20:13:11 +02:00
Matthias
856b65206b
Reduce log-frequency of AgeFilter
...
closes #4840
2021-04-30 19:42:41 +02:00
Joe Schr
f3388ed9aa
fix IStrategy: abstract methods still need to pass through return value
...
otherwise doing something like:
```py
dataframe = super().populate_indicators(dataframe, ...)
```
won't work, because `dataframe` becomes `None`.
This is needed if one of those methods uses dataframe.copy() instead of
just working on reference. e.g. using `merge_informative` in
`populate_indicator` in a nested class hierarchy
2021-04-30 14:39:01 +02:00
Antreas Gribas
cf03daa0fd
Fix bug in running hyperopt in windows 10
...
with preferred encoding in locale differrent from
utf-8
2021-04-30 00:28:42 +03:00
Bernd Zeimetz
3be7bc509c
Telegram: send locks as chunks of 25.
...
Producing easily readable messages, hopefully always below the message lenght limit
2021-04-29 22:21:04 +02:00
Bernd Zeimetz
4d1613a432
Add chunks function.
...
Implementing a generator to split Lists into chunks.
2021-04-29 22:21:04 +02:00
Matthias
a3d2e68312
Merge pull request #4750 from rokups/rk/custom_sell
...
Add IStrategy.custom_sell method which allows per-trade sell signal evaluation
2021-04-29 06:50:56 +02:00
Matthias
aab020c9a2
Merge pull request #4818 from freqtrade/cleanup_models
...
Move static Trade functions to right class
2021-04-28 21:18:55 +02:00
Matthias
2b78ee254c
Version bump to 2021.4
2021-04-28 21:16:13 +02:00
Matthias
4767d41d6f
Merge branch 'stable' into new_release
2021-04-28 21:06:15 +02:00
Matthias
7c8a367442
Update docs to not promote stoploss / take-profit
2021-04-28 20:36:06 +02:00
Matthias
63c28b6519
Remove obsolete get_balance method
2021-04-28 16:00:12 +02:00
Matthias
6eb947ae09
Move static Trade functions to right class
2021-04-28 06:37:40 +02:00
Matthias
55faa6a84a
safe_wrapper should use kwargs to call methods
2021-04-26 20:18:03 +02:00
Matthias
2061162d79
Convert trade-opendate to python datetime
2021-04-26 20:01:13 +02:00
Matthias
dbf33271b5
Small doc changes
2021-04-26 19:52:26 +02:00
Matthias
3f84c37a79
Fix wallet calls
...
closes #4810 #4812
2021-04-26 14:12:52 +02:00
Rokas Kupstys
31a2285eac
Fix mypy complaints.
2021-04-26 10:42:24 +03:00
Matthias
bb7ef2f804
Cache pairlist in pairlist, not globally
...
closes #4797 closes #4689
2021-04-25 20:10:47 +02:00
Matthias
7448a05f15
Use correct variable in pairlist_manager
2021-04-25 11:01:04 +02:00
Matthias
fd3afdc230
plot-profit should use absolute values
2021-04-25 10:10:09 +02:00
Rokas Kupstys
98f6fce2ec
Use correct sell reason in case of custom sell reason.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
595b8735f8
Add dataframe parameter to custom_stoploss() and custom_sell() methods.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
961b38636f
Remove explicit sell_flag parameter from SellCheckTuple.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
bfad4e82ad
Make execute_sell() use SellCheckTuple for sell reason.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
a90e795695
Warn and trim custom sell reason if it is too long.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
1aad128d85
Support returning a string from custom_sell() and have it recorded as custom sell reason.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
1292e08fe4
Use strategy_safe_wrapper() when calling custom_sell().
2021-04-25 09:48:40 +03:00
Rokas Kupstys
0fd68aee51
Add IStrategy.custom_sell method which allows per-trade sell signal evaluation.
2021-04-25 09:48:40 +03:00
wr0ngc0degen
869a45a031
Merge pull request #2 from freqtrade/develop
...
update develop from base repo
2021-04-25 05:50:03 +02:00
wr0ngc0degen
2eda25426f
fix typo in sample_strategy.py
...
fix copy-paste issue in populate_sell_trend docstring
2021-04-25 05:47:59 +02:00
Matthias
e855530483
hdf5 handler should include the end-date
2021-04-24 20:26:37 +02:00
Matthias
cb86c90d3e
Remove obsolete TODO's
2021-04-24 19:16:54 +02:00
Matthias
88f26971fa
Use defaultdict for backtesting
2021-04-24 19:15:09 +02:00
Matthias
8e85b63b3d
Merge pull request #4792 from JoeSchr/add-distribution-graph-to-example-notebook
...
add distribution graph to example notebook
2021-04-24 16:14:48 +02:00
Matthias
f12e002686
Merge pull request #4775 from freqtrade/fix_wallet_unlimited
...
Fix wallet unlimited
2021-04-24 15:54:06 +02:00
Joe Schr
31b0e3b5e8
add distribution graph to example notebook
2021-04-24 13:29:59 +02:00
Matthias
90476c4287
Add "range" property to IntParameter
2021-04-24 07:00:33 +02:00
Matthias
9dc7f776d9
Improve log output when loading parameters
2021-04-23 20:35:30 +02:00
saeedrss
37d8e3c758
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into develop
2021-04-23 22:28:33 +04:30
Matthias
191a31db30
NameErrors should not stop loading a different strategy
2021-04-23 19:36:26 +02:00
Matthias
df16fbd742
Add "dataload complete" message to backtest + hyperopt
2021-04-23 19:22:41 +02:00
saeedrss
b69a9134f5
fixing support for HitBTC #4778
...
hitbtc by default send candle from beginning (not most recently)
this change fixed
2021-04-23 21:27:13 +04:30
Matthias
4005708f85
Handle edge with volumepairlist and empty pair_whitelist
...
closes #4779
2021-04-23 06:50:39 +02:00
Matthias
406c1267a2
Remove superfluss space
2021-04-22 20:01:08 +02:00
Matthias
f5f0bf53af
Merge pull request #4780 from rokups/rk/new-pairs-days
...
Add --new-pairs-days parameter for download-data command.
2021-04-22 19:55:25 +02:00
Matthias
ccaf5764da
Small adjustments
2021-04-22 19:41:01 +02:00
Matthias
0d2457cd47
Add lock_reason to per-pair lock
2021-04-22 19:28:50 +02:00
Matthias
f2d5f476d4
Merge pull request #4777 from c0d5x/informative-global-pairlock-msg
...
Add the reason why there is a global pairlock when lock is available
2021-04-22 19:24:13 +02:00
Matthias
4693cba10d
Merge pull request #4769 from freqtrade/trades_pagination
...
Trades pagination
2021-04-22 19:13:19 +02:00
Matthias
7e2e196643
improve sell_message by using sell rate
2021-04-22 17:13:22 +02:00
Rokas Kupstys
3144185409
Allow specifying "new_pairs_days" in config.
2021-04-22 11:18:28 +03:00
Matthias
f744df2374
Fix bad fill message
2021-04-22 10:01:41 +02:00
Rokas Kupstys
09efa7b06b
Add --new-pairs-days parameter for download-data command.
...
This parameter allows us to customize a number of days we would like to download for new pairs only. This allows us to achieve efficient data update, downloading all data for new pairs and only missing data for existing pairs. To do that use `freqtrade download-data --new-pairs-days=3650` (not specifying `--days` or `--timerange` causes freqtrade to download only missing data for existing pairs).
2021-04-22 10:07:13 +03:00
Matthias
515c73f399
Don't hard-limit trades endpoint for now
2021-04-22 06:51:26 +02:00
Jose Hidalgo
896ec58cad
Add the reason why there is a global pairlock when lock is available
2021-04-21 15:02:33 -06:00
Matthias
d8c8a8d8c2
Remvoe pointless arguments from get_trade_stake_amount
2021-04-21 20:01:10 +02:00
Matthias
ba2d4d4656
Reduce number of calls to Trade.total_open_traes_stakes()
2021-04-21 19:27:42 +02:00
Matthias
0233aa248e
Limit stake_amount to max available amount
2021-04-21 17:22:16 +02:00
Matthias
9f6f3e0862
Address ZeroDivisionExceptiond
...
closes #4764 closes #4617
2021-04-20 21:41:49 +02:00
Matthias
bd92ce938c
trade_history should paginate through results
...
this avoids huge results
2021-04-20 21:04:44 +02:00
Matthias
b230558294
Merge pull request #4766 from freqtrade/fill_rpc
...
Add buy/sell fill messages to telegram
2021-04-20 20:39:15 +02:00
Matthias
cfa9315e2a
Prevent out of candle ROI sells
2021-04-20 20:29:53 +02:00
Jose Hidalgo
fd110c7d62
The error that it prints says the contrary to what
...
was evaluated.
ex. Trading stopped due to Max Drawdown 0.79 < 0.2 within 48 candles
2021-04-20 11:50:53 -06:00
Matthias
f821ef5aec
Final finetunings of rpc_fill messages
2021-04-20 19:36:30 +02:00
Matthias
d740aae8ca
Default fill notifications to off
2021-04-20 19:23:29 +02:00
Matthias
0341ac5a55
rename RPC message types
2021-04-20 19:23:28 +02:00
Matthias
8800a09770
Don't send double-notifications for stoploss fills
2021-04-20 19:22:14 +02:00
Matthias
fecd5c582b
Add buy and sell fill notifications
...
closes #3542
2021-04-20 19:22:14 +02:00
Matthias
06d6f9ac41
Fix calculation of unlimited_stake in case of modified wallet
2021-04-20 15:55:48 +02:00
Matthias
a2acb54e7e
Clarify comments in pairlist
2021-04-19 15:15:40 +02:00
Matthias
44bfb53668
Don't use current rate for closed trades
2021-04-17 19:29:34 +02:00
Matthias
1eb9ce4227
Allow specifying pairs for optimize commands via --pairs
2021-04-17 10:47:32 +02:00
Matthias
c52edcff4d
Merge pull request #4677 from mads03dk/get_trade
...
Add API endpoint for getting a specific trade
2021-04-16 19:57:58 +02:00
Matthias
9f2b6ee9a5
Merge pull request #4740 from freqtrade/decimal_stoploss_Hyperopt
...
stoploss and roi skdecimal spaces hyperopt
2021-04-16 19:46:07 +02:00
Matthias
aeb81f90ff
Implement errorhandling for /trade endpoint
2021-04-16 19:35:56 +02:00
Gonzalo Matheu
7a98de10ea
telegram: Formatting typings
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
e3c5a4b3fc
telegram: Formatting imports
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
5fae4ea2fd
telegram: Formatting code
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
50bdae8eb2
telegram: Adding forcebuy inline keyboard
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
e2f28991e6
telegram: Wrapping long line
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
271e4500d9
telegram: Adding dynamic keyboard to /forcebuy response
2021-04-15 21:51:16 -03:00
grillzoo
5e51ba6258
fix flake8
2021-04-15 21:38:00 +01:00
Matthias
ce870bbcf7
Use 3 decimals for ROI space
2021-04-15 21:38:20 +02:00
Théo Martin
fa343b0484
Fix get_min_pair_stake_amount formula
2021-04-15 01:19:30 +01:00
Matthias
52c482cecf
Convert trailing and roi defaults to skdecimal
2021-04-14 20:36:34 +02:00
Matthias
e820814809
Default-stoploss-hyperopt should use decimal space, nto real
2021-04-14 20:32:34 +02:00
Matthias
ba38e398e4
Add type hint
2021-04-13 22:17:42 +02:00
Matthias
c2f35ce416
/balance should use cached tickers when possible
2021-04-13 20:21:03 +02:00
Matthias
82d66410f7
Fix /performance output
...
if multiple messages are necessary
closes #4726
2021-04-13 19:20:57 +02:00
Matthias
e4bb6b1582
Add kucoin exchange subclass
...
Kucoin has some specific orderbook restrictions
closes #4723
2021-04-13 12:28:07 +02:00
Matthias
37c8fd6ad7
Remove arrow from models.py
2021-04-13 11:55:03 +02:00
Matthias
59cfbbee17
Merge pull request #4724 from csteeg/develop
...
Fixes FTX stoploss on echange throwing an error
2021-04-13 08:41:52 +02:00
Matthias
9b23be4021
Return a copy from current_whitelist
...
this avoids manipulating of the pair whitelist from within a strategy
2021-04-13 06:49:53 +02:00
Matthias
4b902d6eb8
Don't use response-model on trades endpoint for now
2021-04-13 06:23:11 +02:00
Matthias
9a58a85347
Don't export "hum" date versions for trade objects.
...
They are not used and have a rather high performance penalty due to
using arrow.get
2021-04-13 06:17:11 +02:00
Matthias
cb60db01b1
Merge pull request #4703 from freqtrade/decimal_space
...
Add SKDecimal Space
2021-04-12 19:18:10 +02:00
Chris van de Steeg
d4dc05980c
Update ftx.py
...
Stoploss price should be set as param instead of passing it as price according to ccxt
2021-04-12 16:01:46 +02:00
Matthias
be0dc737dc
Merge pull request #4706 from freqtrade/simplify_fiat_convert
...
Simplify fiat convert and fix USD coingecko problem
2021-04-10 14:57:34 +02:00
Matthias
579e68f31e
Reduce log verbosity when buying
2021-04-10 14:40:44 +02:00
Matthias
14e8574235
fetch_balance is never called in dry-run
2021-04-10 14:17:43 +02:00
Matthias
37c2e037f1
Rename dry_run_order to create_dry_run_order
2021-04-10 13:50:56 +02:00
Matthias
ebbe47f38d
Simplify fiat convert and fix USD coingecko problem
2021-04-10 13:36:16 +02:00
Matthias
9804e20114
Don't use _set_value for autoOpt-Spaces
2021-04-10 09:53:48 +02:00
Matthias
4996bd443e
Merge pull request #4697 from freqtrade/docker_user
...
Docker as user
2021-04-10 08:19:25 +02:00
Matthias
83fbaf16c8
Extract numeric param validation and explosion
2021-04-10 07:59:59 +02:00
Matthias
ea4b5d675d
Don't explode low/high, but use explicit parameters
2021-04-10 07:12:31 +02:00
Matthias
34e47db18d
Test SKDecimal space
2021-04-09 22:15:24 +02:00
Matthias
5f67400649
Add SKDecimal Space
2021-04-09 21:58:15 +02:00
Matthias
898c24949b
Add chown method to support docker
2021-04-08 20:17:07 +02:00
Matthias
8cd3c05c39
Merge pull request #4686 from gerrito333/develop
...
Add Pairlist Handler for Volatility
2021-04-08 20:00:41 +02:00
gbojen
f8244d9d76
resolves freqtrade/freqtrade#4650
2021-04-07 22:25:54 +02:00
Matthias
c36051be56
Merge pull request #4685 from freqtrade/ft_has
...
Use ccxt's has to check which exchanges can work with freqtrade
2021-04-07 10:47:56 +02:00
gbojen
5ee879a747
isort resolves freqtrade/freqtrade#4650
2021-04-07 10:15:51 +02:00
Matthias
d2680f6cb8
Remove telegram deprecation warning
...
closes #4688
2021-04-07 06:57:05 +02:00
Matthias
ac6bff536f
Fix test failure with UI test if UI is deployed
2021-04-07 06:55:11 +02:00
Matthias
0f0607baec
Fix rangeestability filter caching issue
2021-04-07 06:52:34 +02:00
gbojen
9772a93634
resolves freqtrade/freqtrade#4650
2021-04-06 23:11:40 +02:00
gbojen
9089323d26
resolves freqtrade/freqtrade#4650
2021-04-06 22:46:36 +02:00
gbojen
187cf6dcd5
VolatilityFilter resolves freqtrade/freqtrade#4650
2021-04-06 22:41:15 +02:00
Matthias
a3b4667f7c
Update exchange validation to use "validate_exchange".
2021-04-06 20:16:29 +02:00
Matthias
5ed7828446
Remove hardcoded list of non-working exchanges
2021-04-06 20:03:38 +02:00
klara31
f37fbbf4e1
Update constants.py
2021-04-06 19:47:48 +02:00
klara31
bf0886a839
Update constants.py
2021-04-06 18:35:30 +02:00
Matthias
56ef3af424
Allow comments in pairs files
2021-04-06 13:29:22 +02:00
gbojen
1733e24062
pyLint adjustment resolves freqtrade#4650
2021-04-06 10:44:13 +02:00
gbojen
be770a8941
added VolatilityFilter resolves freqtrade#4650
2021-04-06 10:42:53 +02:00
gbojen
6f02acdbbd
Revert "resolves freqtrade/freqtrade#4650"
...
This reverts commit 142690c930
.
2021-04-06 10:39:27 +02:00
gbojen
142690c930
resolves freqtrade/freqtrade#4650
2021-04-06 10:05:03 +02:00
Matthias
0550f261f1
Add exchange_has validation
2021-04-06 07:47:44 +02:00
Mads Sørensen
c176e277f1
Add a REST endpoint for getting a specific trade
2021-04-05 19:31:34 +02:00
Matthias
78a84f8081
Allow --hyperoptloss in addition to --hyperopt-loss
2021-04-05 15:38:33 +02:00
Matthias
7b2a0d46cb
Fix typo
2021-04-05 15:38:25 +02:00
Matthias
431f0a3db4
Merge pull request #4671 from freqtrade/fix/sqlalchemy
...
sqlalchemy database locked bug
2021-04-05 14:09:35 +02:00
Matthias
b470672dfd
Merge pull request #4596 from rokups/rk/hyper-strategy
...
Support for creating auto-hyperoptable strategies.
2021-04-05 13:55:32 +02:00
Matthias
c51839dc3b
Make the logmessage for loaded parameters clearer
2021-04-05 11:21:20 +02:00
Matthias
dc406fe19f
Fail in case of name and explicit space name collisions
2021-04-05 10:53:00 +02:00
Matthias
7132aefd60
Rename Trade.session to Trade._session
2021-04-05 08:46:12 +02:00
Matthias
0407bf755f
Use .query.session to make sure the scoped session is used properly
2021-04-05 07:28:51 +02:00
Matthias
bd5e1c5096
Merge pull request #4660 from rextea/order_pairlist_results
...
Sort pair lists by total profit
2021-04-04 19:47:33 +02:00
rextea
9e56f6d4eb
Sort pair lists by total profit
2021-04-04 01:19:38 +03:00
Matthias
30e5e92968
Don't allow one parmeter to be in 2 spaces
...
use the explicit user wish (given explicitly with "space")
2021-04-03 20:17:48 +02:00
Matthias
9d4b5cc6bb
Fix typo
2021-04-03 19:56:20 +02:00
Matthias
5f6eae52a2
fix too long performance message
...
closes #4655
2021-04-03 19:12:36 +02:00
Matthias
41cb2a6451
Merge branch 'develop' into pr/rokups/4596
2021-04-03 17:00:37 +02:00
Matthias
6555454bd2
Remove more ticker_interval occurances
2021-04-03 16:54:47 +02:00
Matthias
771fc05749
Update sample strategy with hyperoptable Parameters
2021-04-03 16:32:16 +02:00
Rokas Kupstys
faf40482ef
Fix parameter printing.
2021-04-03 13:49:24 +03:00
Rokas Kupstys
ea43d5ba85
Implement DecimalParameter and rename FloatParameter to RealParameter.
2021-04-02 17:08:16 +03:00
Matthias
c7ee34687b
Merge pull request #4584 from withshubh/develop
...
fix: code quality issues
2021-04-02 15:19:49 +02:00
Mads Sørensen
3691ae8686
Make sure the fiat converter exists before calling it
2021-04-02 14:50:47 +02:00
shubhendra
f47dc31786
Refactor the comparison involving not
...
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-04-02 16:57:44 +05:30
Mads Sørensen
51f0fcb2cb
Add profit_fiat to REST API
2021-04-02 12:20:38 +02:00
Matthias
5acdc9bf42
Fix type errors by converting all hyperopt methods to instance methods
2021-04-01 06:47:23 +02:00
Rokas Kupstys
5e5b11d4d6
Split "enabled" to "load" and "optimize" parameters.
2021-03-31 12:31:28 +03:00
Matthias
2869d5368d
Allow edge to use dynamic pairlists
...
closes #4298
2021-03-30 20:20:24 +02:00
Matthias
50fcb3f330
Reduce verbosity of missing data if less than 1% of data is missing
2021-03-30 07:26:39 +02:00
Matthias
89bbfd2324
Remove candle_count from dataframe before backtesting
...
closes #3754
2021-03-29 20:26:54 +02:00
Matthias
f6211bc00e
new-config should include API config
2021-03-28 20:23:57 +02:00
Matthias
fc8478111e
Improve strategy template
2021-03-28 20:06:30 +02:00
Matthias
929f329607
more tests
2021-03-28 19:49:20 +02:00
Matthias
20f7e9b4b7
Make BaseParameter get_space abstract
2021-03-28 19:31:54 +02:00
Matthias
8022386404
Type custom_hyperopt
2021-03-27 18:00:07 +01:00
Matthias
7fb34f7e25
Version bump 2021.3
2021-03-27 11:34:11 +01:00
Matthias
bf0f34c156
Merge branch 'stable' into new_release
2021-03-27 11:33:56 +01:00
Matthias
71e2134694
Add some simple tests for hyperoptParameters
2021-03-27 11:26:26 +01:00
Matthias
786ddc6a91
remove unused imports
2021-03-27 10:47:33 +01:00
rextea
76a02ff70a
fix indentations
2021-03-26 18:49:17 +03:00
rextea
2bed41da5d
Add days breakdown table to backtesting
2021-03-26 18:40:50 +03:00
Rokas Kupstys
e934d3ddfb
[SQUASH] Oopsie.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
40f5c7853e
[SQUASH] Add a way to temporarily disable a parameter (excludes from parameter loading/hyperopt) and print parameter values when executed.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
bbe6ece38d
[SQUASH] Fix parameter configs not loading.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
424cd2a914
[SQUASH] Use "space" instead of category.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
fd45dfd894
[SQUASH] Make skopt imports optional.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
11689100e7
[SQUASH] Fix exception when HyperOpt nested class is not defined.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
e9f0babe8a
[SQUASH] Use HyperStrategyMixin as part of IStrategy interface.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
2d13e5fd50
[SQUASH] Oopsies.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
bb89e44e19
[SQUASH] Address PR comments.
...
* Split Parameter into IntParameter/FloatParameter/CategoricalParameter.
* Rename IHyperStrategy to HyperStrategyMixin and use it as mixin.
* --hyperopt parameter is now optional if strategy uses HyperStrategyMixin.
* Use OperationalException() instead of asserts.
2021-03-26 16:56:24 +02:00
Rokas Kupstys
0a205f52b0
Optional support for defining hyperopt parameters in a strategy file and reusing common hyperopt/strategy parts.
2021-03-26 16:56:24 +02:00
Matthias
8da7d5c009
Merge pull request #4594 from rextea/add_confirm_exit_enter_tade_to_backtesting
...
Add confirm_trade_exit and confirm_trade_entry to backtesting
2021-03-25 20:26:56 +01:00
Matthias
292ea8c1d0
Update backtesting.py
2021-03-25 09:34:33 +01:00
rextea
0ca95aa0c2
Change rate to acctual close rate
2021-03-25 10:25:25 +02:00
Matthias
ec15610bff
Fix isort issue
2021-03-24 19:21:07 +01:00
Matthias
ee82d36bef
Merge pull request #4593 from hoeckxer/feat/status_table_telegram_length
...
Changed the code for status table a bit so that it splits up the trad…
2021-03-24 06:49:54 +01:00
Erwin Hoeckx
2fd510e6e4
Added comment with an example calculation
...
Signed-off-by: Erwin Hoeckx <hawkeyenl@yahoo.com>
2021-03-23 21:52:46 +01:00
Erwin Hoeckx
65a9763fa5
Fixed an issue when there were exactly 50 trades, it was sending an extra empty table
...
Signed-off-by: Erwin Hoeckx <hawkeyenl@yahoo.com>
2021-03-23 16:54:38 +01:00
Erwin Hoeckx
c928cd38dc
Small bugfix to make sure it shows all the trades
...
Signed-off-by: Erwin Hoeckx <hawkeyenl@yahoo.com>
2021-03-23 16:45:42 +01:00
rextea
f51f4b1817
Add confirm_trade_exit and confirm_trade_entry to backtesting
2021-03-23 10:35:46 +02:00
rextea
dc4ea604dd
Add confirm_trade_exit and confirm_trade_entry to backtesting
2021-03-23 10:19:16 +02:00
rextea
eb5d69dcd4
Add confirm_trade_exit and confirm_trade_entry to backtesting
2021-03-23 10:12:08 +02:00
rextea
6856963aef
Add confirm_trade_exit and confirm_trade_entry to backtesting
2021-03-23 10:09:41 +02:00
Erwin Hoeckx
4e8999ade3
Changed the code for status table a bit so that it splits up the trades per 50 trades, to make sure it can be sent regardless of number of trades
...
Signed-off-by: Erwin Hoeckx <hawkeyenl@yahoo.com>
2021-03-22 20:40:11 +01:00
shubhendra
4d81834912
Merge isinstance
calls
...
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 17:14:47 +05:30
shubhendra
45da3a7022
Refactor unnecessary else
/ elif
when if
block has a continue
statement
...
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 17:14:47 +05:30
shubhendra
910e15b174
Remove methods with unnecessary super delegation.
...
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 17:14:47 +05:30
shubhendra
6d6ad035d6
Remove length check in favour of truthiness of the object
...
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 17:14:46 +05:30
shubhendra
537ad059bc
Remove unnecessary use of comprehension
...
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 17:14:46 +05:30
shubhendra
62d99a0b74
Remove unnecessary comprehension
...
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 17:14:45 +05:30
Matthias
e315a6a0da
assume "last" can miss from a ticker response
...
closes #4573
2021-03-20 14:58:51 +01:00
Matthias
43d7f9ac67
Add bid_last_balance parameter
...
to interpolate sell prices
closes #3270
2021-03-20 14:38:26 +01:00
Matthias
73876b61b4
Show potential errors when loading markets
2021-03-20 13:34:33 +01:00
Matthias
16a54b3616
Don't require non-mandatory arguments
2021-03-20 13:08:02 +01:00
Matthias
fe7f3d9c37
Add price side validation for market orders
2021-03-20 11:48:39 +01:00
Matthias
7ffe1fd36a
Fix calculation error for min-trade-stake
2021-03-20 07:21:22 +01:00
Matthias
0d5833ed91
Use OperationalException for TimeRange errors
2021-03-19 06:40:04 +01:00
Patrick Brunier
4d52732d30
Added a small snippet to give users a descent error message,
...
when their start date is afer the stop date.
Also updated the tests.
2021-03-18 22:38:54 +01:00
Matthias
84ca9bd2c7
Merge pull request #4543 from brookmiles/fix-math-custom-stoploss-docs
...
correct math used in examples and clarify some terminology regarding …
2021-03-18 19:32:30 +01:00
Matthias
76ca3c219f
extract result-printing from hyperopt class
2021-03-17 20:45:15 +01:00
Brook Miles
ce1ed76269
complete stoploss_from_open and associated test
2021-03-17 22:44:10 +09:00
Brook Miles
aee2591490
add stoploss_from_open() as a strategy_helper
2021-03-17 17:58:23 +09:00
Matthias
79d4585dad
Add check to ensure close_profit_abs is filled on closed trades
...
Technically, this should not be possible, but #4554 shows it is.
closes #4554
2021-03-16 19:24:03 +01:00
Matthias
b191663a7e
Adapt hyperopt templates to be better aligned
...
closes #3027
2021-03-14 19:49:46 +01:00
Matthias
0b35c0571f
Allow custom fee to be used during dry-run
...
closes #3696
2021-03-14 19:37:57 +01:00
Matthias
b57c150654
Final balance should include forcesold pairs
2021-03-14 09:48:40 +01:00
Matthias
cd8d9f2930
Merge pull request #4534 from rokups/patch-1
...
Provide access to strategy instance from hyperopt class.
2021-03-13 17:14:47 +01:00
Matthias
3b99f04a78
Merge pull request #4535 from freqtrade/fix/backtestperformance
...
Improve backtest performance after enabling compounding
2021-03-13 16:51:00 +01:00
Matthias
0320c8dc92
Improve tests for trades_proxy
2021-03-13 15:51:27 +01:00
Rokas Kupstys
5e872273d1
Provide access to strategy instance from hyperopt class.
2021-03-13 15:13:42 +02:00
Matthias
d1acc8092c
Improve backtest performance
2021-03-13 10:17:14 +01:00
Jackson Law
425cd7adba
Create event loop manually if uvloop is available
...
asyncio.get_event_loop() does not call new_event_loop()
if current_thread() != main_thread()
2021-03-12 16:16:03 -08:00
Matthias
441d3fad39
Merge pull request #4513 from freqtrade/fix/4511
...
Fix stoploss order problem with FTX
2021-03-11 19:39:44 +01:00
Matthias
ef9977fc1e
Make stake_amount + stake_currency mandatory for backtesting
2021-03-10 10:43:44 +01:00
Matthias
0db5c9746f
Merge pull request #4454 from freqtrade/backtest_compound_speed
...
Backtest compound, wallet, ...
2021-03-10 10:07:40 +01:00
Matthias
99583bbd0c
Fix problem with FTX
...
where cancelled orders are "cancelled", not "canceled"
2021-03-09 20:21:08 +01:00
Th0masL
37e6006169
Fix order_by in trades command
2021-03-08 23:21:56 +02:00
Matthias
4b550dab17
Always reset fake-databases
...
Otherwise results may stick around for the next strategy
2021-03-08 19:40:29 +01:00
Matthias
0b81b58d28
Use pandas.values.tolist instead of itertuples
...
speeds up backtesting
closes #4494
2021-03-07 11:28:54 +01:00
Matthias
02d7dc4780
Increase cache size to be large enough to hold all pairs
...
closes #4483
2021-03-06 19:55:02 +01:00
Matthias
b515609d73
Merge pull request #4490 from Th0masL/add_trade_id
...
Add the trade ID to Telegram Buy/Sell/Cancel messages
2021-03-06 15:40:34 +01:00
Th0masL
ad0e60b5b6
Add trade_id to Cancel messages and reduced lines length
2021-03-06 15:07:47 +02:00
Matthias
eed8c94dd9
Merge pull request #4488 from patrick310/patch-1
...
Add strategy name to HyperOpt results filename
2021-03-06 13:48:12 +01:00
Th0masL
03b89e7f78
Add trade_id in Telegram messages
2021-03-06 00:04:12 +02:00
Matthias
a405d578da
Introduce forcebuy ordertype to allow specifiying a different ordertype for forcebuy / forcesells
2021-03-05 20:22:04 +01:00
Patrick Weber
4532222010
Fixed line length in HyperOpt for new name
...
Fixed line length errors and multiple f strings to facilitate strategy being added in the name
2021-03-05 13:16:49 -06:00
Matthias
5196306407
Remove deprecated profit return value
2021-03-05 20:03:49 +01:00
Patrick Weber
345f7404e9
Add strategy name to HyperOpt results filename
...
This just extends the HyperOpt result filename by adding the strategy name. This allows analysis of HyperOpt results folder with no additional necessary context. An alternative idea would be to expand the result dict, but the additional static copies are non value added.
2021-03-05 12:56:11 -06:00
Matthias
731ab5d2a7
Fix too long line errors
2021-03-05 19:22:57 +01:00
Matthias
bc05d03126
Make best / worst day absolute
2021-03-05 19:21:09 +01:00
raoulus
0968ecc1af
added "Median profit" column to hyperopt -> export-csv
2021-03-04 17:27:04 +01:00
Matthias
078b77d41b
Fix crash when using unlimited stake and no trades are made
2021-03-02 16:12:22 +01:00
Joe Schr
55a315be14
fix: avg_stake_amount should not be NaN
if df is empty
2021-03-02 13:38:55 +01:00
Matthias
6eb253c31e
Merge pull request #4469 from freqtrade/rpc/locks
...
Add RPC methods to remove locks
2021-03-02 10:41:08 +01:00
Matthias
4bb6a27745
Don't catch errors that can't happen
2021-03-02 06:59:58 +01:00
Matthias
007ac7abb5
Add telegram pair unlocking
2021-03-01 20:09:40 +01:00
Matthias
6640156ac7
Support deleting locks via API
2021-03-01 19:50:39 +01:00
Matthias
6eef6d41bc
Merge pull request #4465 from freqtrade/dependabot/pip/develop/arrow-1.0.2
...
Bump arrow from 0.17.0 to 1.0.2
2021-03-01 09:30:11 +01:00
Matthias
2083cf6ddf
Fix mypy errors introduced by Arrow update
2021-03-01 08:57:57 +01:00
Matthias
3d65ba2dcb
Add rpc method to delete locks
2021-03-01 07:51:33 +01:00
Matthias
bba9b9e819
Don't use __root__ directly for api response
2021-03-01 07:08:44 +01:00
Matthias
4b689f5b88
Merge pull request #4420 from freqtrade/dependabot/pip/develop/mypy-0.812
...
Bump mypy from 0.790 to 0.812
2021-02-28 15:30:44 +01:00
Matthias
aba034ff40
Fix mypy problem after mypy 0.800 upgrade
2021-02-28 11:04:30 +01:00
Matthias
54ccbd9370
Merge pull request #4391 from squat0001/develop
...
Add dust level to balance command in telegram
2021-02-28 10:36:44 +01:00
Matthias
a13dc3cdde
Use sensible defaults for balance_dust_level
2021-02-28 09:57:52 +01:00
Matthias
9cb37409fd
Explicitly convert starting-balance to float
2021-02-28 09:56:29 +01:00
Florian Reitmeir
0895407811
add balance_dust_level parameter to make telegram less chatty
2021-02-28 08:51:32 +01:00
Matthias
05f057fe72
Stringify favicon path
...
potentially closes #4459
2021-02-28 08:48:28 +01:00
Matthias
b2e9295d7f
Small stylistic fixes
2021-02-27 19:57:42 +01:00
Matthias
324b9dbdff
Simplify wallet code
2021-02-27 10:33:25 +01:00
Matthias
f5bb5f56f1
Update documentation with backtesting compounding possibilities
2021-02-27 09:33:00 +01:00
Matthias
98f3142b30
Improve handling of backtesting params
2021-02-27 09:33:00 +01:00
Matthias
86f9409fd2
fix --stake-amount parameter
2021-02-27 09:33:00 +01:00
Matthias
fc256749af
Add test for backtesting _enter_trade
2021-02-27 09:33:00 +01:00
Matthias
60db6ccf45
Add test for subclassing
2021-02-27 09:33:00 +01:00
Matthias
53a57f2c81
Change some types
...
Fix types of new model object
2021-02-27 09:33:00 +01:00
Matthias
03eb23a4ce
2 levels of Trade models, one with and one without sqlalchemy
...
Fixes a performance issue when backtesting with sqlalchemy, as that
uses descriptors for all properties.
2021-02-27 09:33:00 +01:00
Matthias
394a6bbf2a
Fix some type errors
2021-02-27 09:33:00 +01:00
Matthias
52acacbed5
Check min-trade-stake in backtesting
2021-02-27 09:33:00 +01:00
Matthias
f04f07299c
Improve backtesting metrics
2021-02-27 09:33:00 +01:00
Matthias
7913166453
Improve performance by updating wallets only when necessary
2021-02-27 09:33:00 +01:00
Matthias
37d7d2afd5
Wallets should not recalculate close_profit for closed trades
2021-02-27 09:33:00 +01:00
Matthias
f367375e5b
ABS drawdown should show wallet high and low values
2021-02-27 09:33:00 +01:00
Matthias
aed23d55c2
Add starting balance to profit cumsum calculation
2021-02-27 09:33:00 +01:00
Matthias
0d2f877e77
Use absolute drawdown calc
2021-02-27 09:32:59 +01:00
Matthias
74fc4bdab5
Shorten debug log
2021-02-27 09:32:59 +01:00
Matthias
72f21fc5ec
Add trade-volume metric
2021-02-27 09:32:59 +01:00
Matthias
35e6a9ab3a
Backtest-reports should calculate total gains based on starting capital
2021-02-27 09:32:59 +01:00
Matthias
8d61a26382
Allow dynamic stake for backtesting and hyperopt
2021-02-27 09:32:59 +01:00
Matthias
e4abe902fc
Enable compounding for backtesting
2021-02-27 09:32:59 +01:00
Matthias
959ff99046
Add Dry-run wallet CLI option
2021-02-27 09:32:59 +01:00
Matthias
0754a7a78f
total_open_trades_stake should support no-db mode
2021-02-27 09:32:59 +01:00
Matthias
0faa6f84dc
Improve Wallet logging disabling for backtesting
2021-02-27 09:32:59 +01:00
Matthias
20455de2a9
Small enhancements to docs
2021-02-27 09:32:59 +01:00
Matthias
081b9be45c
use get_all_locks to get locks for backtest result
2021-02-27 09:32:59 +01:00
Matthias
e32b2097f0
Use timestamp in UTC timezone for ROI comparisons
2021-02-27 09:32:59 +01:00
Matthias
712d503e6c
Use sell-reason value in backtesting, not the enum object
2021-02-27 09:32:59 +01:00
Matthias
b5177eadab
Extract close method for exchange
2021-02-27 09:32:59 +01:00
Matthias
4ce4eadc23
remove only ccxt objects when hyperopting
2021-02-27 09:32:59 +01:00
Matthias
9361aa1c95
Add wallets to backtesting
2021-02-27 09:32:59 +01:00
Matthias
f0a154692d
Wallets should use trade_proxy
2021-02-27 09:32:59 +01:00
JoeSchr
642e3be7c5
Fix(strategy/interface.py): comment typo
...
`advice_buy` -> `advise_buy`
2021-02-26 23:17:59 +01:00
Matthias
0bb80d1442
Merge pull request #4446 from Xanders/patch-1
...
Webhook JSON format
2021-02-26 20:03:07 +01:00
Matthias
7d87c44c35
Merge pull request #4436 from Th0masL/forcesell_type
...
Allow changing the order_type for forcesell
2021-02-26 19:42:00 +01:00
Xanders
7281e794b4
Fix too long line at webhook.py
2021-02-26 21:31:33 +03:00
Xanders
fc69240e6d
Add JSON-encoded webhooks
2021-02-26 17:46:23 +03:00
Matthias
1b3b389109
Remove binanceje, add ftx to config selector
...
closes #4441
2021-02-26 07:58:15 +01:00
Th0masL
006f31129e
Reduced length of the line
2021-02-25 05:23:24 +02:00
Th0masL
117f0064ed
Allow changing the order_type for forcesell
2021-02-25 05:02:08 +02:00
Matthias
aea8f05d10
Version bump 2021.2
2021-02-24 06:39:59 +01:00
Matthias
cae67b02df
Merge branch 'stable' into new_release
2021-02-24 06:39:51 +01:00
Matthias
c71ecd3680
Fix wrong pair-content in strategy-analysis notebook and documentation
...
closes #4399
2021-02-22 20:04:36 +01:00
Matthias
228e51b60b
Fix #4405
2021-02-22 13:34:52 +01:00
Matthias
3629892fc3
Stoploss-guard should use the trade_limit or more
...
fix #4404
2021-02-20 19:38:44 +01:00
Matthias
245e39e523
dry-run should be a bool, not a string
2021-02-20 19:17:26 +01:00
Matthias
2b0d2070d0
Avoid crash with /delete
...
When a trade is deleted between querying the database and actually
handling the trade.
closes #4326
2021-02-18 12:49:14 +01:00
Matthias
b5a9ce2894
Download data in the right format as well ...
...
closes #4393
2021-02-18 09:26:35 +01:00
Matthias
11b20d6932
Add config to hyperopt_loss_function documentation
2021-02-17 07:04:29 +01:00
Matthias
eff0d46ea1
Merge pull request #4375 from flomerz/pass_processed_data
...
pass data and config to loss function
2021-02-16 20:06:50 +01:00
Matthias
009a447d8a
Adjust documentation for new parameter in loss functions
2021-02-16 19:51:09 +01:00
Florian Merz
3e06cd8b3a
pass data and config to loss function
2021-02-16 10:11:33 +01:00
Matthias
1a3e7191ed
Merge pull request #4116 from squat0001/develop-squat
...
Develop squat
2021-02-15 07:15:11 +01:00
Florian Reitmeir
5c263c7ffd
add backtesting results abs profit min/abs profit max, to get a better view if a strategy has a enough money to succeed
2021-02-14 19:41:12 +01:00
Matthias
ee74bc1f52
timeframe is mandatory, no need to use .get()
2021-02-14 11:01:12 +01:00
Matthias
da89838b5c
Set bittrex limits as returned by the exchange
...
closes #4181
2021-02-14 10:32:55 +01:00
Matthias
5622bb3247
Make candle_limit optionally timeframe dependent
2021-02-14 10:29:45 +01:00
Matthias
7ecf8f8b80
Cleanup candle_limit usage
2021-02-14 10:08:05 +01:00
Matthias
6f77ec063e
Fix cookieError on python<3.8
...
Only occurs in combination with api-server enabled,
due to some hot-fixing starlette does.
Since we load starlette at a later point, we need to replicate
starlette's behaviour for now, so sameSite cookies don't create a
problem.
closes #4356
2021-02-14 07:22:08 +01:00
Matthias
73d91275c4
Reset sell_order_status if a new sell-order is placed
...
closes #4365
2021-02-14 07:11:07 +01:00
Eko Aprili Trisno
af98e025d1
Merge branch 'develop' into patch-1
2021-02-14 02:12:38 +07:00
Eko Aprili Trisno
ba32708ed4
Update telegram.py
2021-02-14 01:40:04 +07:00
Matthias
d4c8be915c
Use fstring where possible
2021-02-13 16:11:49 +01:00
Matthias
e7acee7904
Improve coin value output by rounding coin specific
2021-02-13 16:05:56 +01:00
Matthias
072abde9b7
Introduce round_coin_value to simplify coin rounding
2021-02-13 16:05:35 +01:00
Matthias
dd23f6bcbc
Fix type for getting pairs
2021-02-11 20:29:31 +01:00
Matthias
843fb204e9
Fix problem with inf values returned from dataframe for api methods
2021-02-11 20:21:31 +01:00
Matthias
aa79574c0c
Position-size should NEVER be over available_capital
...
Part of #4353
2021-02-11 17:09:31 +01:00
Matthias
7ee149da5d
Improve plotting errorhandling
...
closes #4327
2021-02-08 20:08:32 +01:00
Matthias
c5ab3a80a5
Check if order is a dict before parsing
...
closes #4331
2021-02-08 19:35:22 +01:00
Matthias
f6cdc6d9a2
Merge pull request #4325 from freqtrade/refresh_order_skip
...
Refresh order skip
2021-02-07 08:23:22 +01:00
Edvinas Selskas
694f55c0a5
Use suggested link
2021-02-06 14:43:50 +00:00
Matthias
d5cf837c0f
Parse regular cancel_order call to update orders table
2021-02-06 09:23:10 +01:00
Edvinas Selskas
bc8fda8d63
Update sample_strategy.py
...
Fix test
2021-02-06 03:13:53 +00:00
Edvinas Selskas
0a43988f3f
Fix sample strategy documentation link
...
Noticed that the current link is dead. I think this would be the most appropriate link in this case.
2021-02-06 03:02:37 +00:00
Matthias
aec22c5c3d
introduce skip_open_order_update parameter
...
skips startup-open-order-update
closes #4128
2021-02-05 20:17:53 +01:00
Matthias
2c71b3b118
Merge pull request #4309 from freqtrade/extract_stake_amount
...
Move get_trade_stake_amount to wallets
2021-02-05 19:47:30 +01:00
Matthias
1310a7b547
Fix bug with wrong conversion for BTCST/BTC
...
This can happen if a pair starts with the stake-currency
closes #4307
2021-02-04 19:58:44 +01:00
raoulus
99b2214d1f
setting resize_keyboard=True for slightly smaller Telegram buttons
2021-02-04 15:27:18 +01:00
Matthias
e8e5acc2e2
Fix import in strategy template
2021-02-03 20:15:08 +01:00
Matthias
024849d844
Merge pull request #4285 from freqtrade/ui_deploy
...
Deploy FreqUI into webserver
2021-02-03 20:09:31 +01:00
Matthias
b8cb39462c
Move get_trade_stake_amount to wallets
...
this way it can be easier used by other functions
2021-02-03 20:00:33 +01:00
Eko Aprili Trisno
54d0ac9d20
Update telegram.py
2021-02-04 01:19:23 +07:00
Eko Aprili Trisno
21d3635e8d
Update telegram.py
2021-02-04 01:16:27 +07:00
Eko Aprili Trisno
69d62ef383
Add Refresh / Reload Button on rpc/Telegram
2021-02-04 01:06:52 +07:00
Matthias
cfd0bb8964
Extract min stake amount from bot to exchange class
2021-02-02 19:47:21 +01:00
Matthias
fa8156b321
Merge pull request #4282 from pan-long/patch-1
...
Fix a bug when compare sell_profit_offset
2021-02-02 08:22:38 +01:00
Matthias
3d9b4034e6
Use already calculated current_profit for sell_profit_offset comparison
2021-02-02 08:06:19 +01:00
Matthias
52acf9aaf6
Fix "disappearing pairs" bug
...
closes #4277
2021-02-01 19:40:31 +01:00
Matthias
2c80388b40
Fix valueerror in case of empty array files
2021-02-01 06:28:49 +01:00
Matthias
06e2bc94c3
Deploy to subdirectory
2021-01-31 16:01:00 +01:00
Matthias
e4a085027b
Add test for UI methods
2021-01-31 15:27:00 +01:00
Matthias
28be71806f
Install html file as well
2021-01-31 15:13:51 +01:00
Matthias
a87a885ccd
Don't use Path object to return fileresponses
2021-01-31 14:54:58 +01:00
Matthias
7b3d99819f
Fix bug with not cleaning UI folder
2021-01-31 14:50:54 +01:00
Matthias
944d674eeb
Store freqUI version and read it again
2021-01-31 14:50:54 +01:00
Matthias
2af1d2d639
Extract last FreqUI version from api response
2021-01-31 14:50:54 +01:00
Matthias
e928d2991d
Add fallback file
2021-01-31 14:50:54 +01:00
Matthias
f05f2c45e8
Allow deleting of UI only
2021-01-31 14:50:54 +01:00
Matthias
a1a35115ad
Extract get_ui_download_url
2021-01-31 14:50:54 +01:00
Matthias
87ed2d7502
Write some tests for UI Downloading
2021-01-31 14:50:54 +01:00
Matthias
a47616eed4
Add UI installation subcommand
2021-01-31 14:50:54 +01:00
Matthias
27970b424d
Add webUI serving to api-server
2021-01-31 14:50:54 +01:00
Matthias
5724371a4f
Fix types for numpy 1.20.0 upgrade
2021-01-31 11:21:23 +01:00
Pan Long
4cc93151c5
Fix a bug when compare sell_profit_offset
...
It should be comparing the ratio instead of absolut profit.
Also updated the comment.
2021-01-31 12:14:09 +08:00
Matthias
16dad8b6d4
Allow custom_stoploss to cooperate with stoploss on exchange
2021-01-30 20:11:18 +01:00
Matthias
ea0ffbae73
use profit_ratio in calculate_cum_profit
2021-01-29 19:06:57 +01:00
Matthias
5cdd9dd445
Cache markets in the exchange object
2021-01-28 19:47:32 +01:00
Matthias
65459086a3
Merge pull request #4268 from freqtrade/backtest_trade_object
...
Backtest trade object
2021-01-27 19:10:21 +01:00
Matthias
eac98dbbd6
Version bump to 2021.1
2021-01-27 07:29:40 +01:00
Matthias
a9b4d6de33
Check for existance of ask key in ticker
...
closes #4267
2021-01-26 17:18:55 +01:00
Tho Pham (Alex)
8f529f48da
Update freqtrade/freqtradebot.py use is_open.is_(True)
...
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-01-26 07:38:25 +07:00
Matthias
c659150d9f
Also print trade_duration in seconds to json
2021-01-25 19:42:34 +01:00
Tho Pham (Alex)
c22cccb55b
Fix operator does not exist: boolean = integer
2021-01-25 12:24:47 +07:00
Matthias
62e43539c9
Limit max_open_trades to maximum available pairs
...
closes #4008
2021-01-24 19:59:54 +01:00
Matthias
789a980a30
Fix tests for new export format
2021-01-24 19:42:32 +01:00
Matthias
deb8432d33
Streamline trade to dataframe conversion
2021-01-24 08:58:41 +01:00
Matthias
8ee264bc59
Don't use profit_percent for backtesting results anymore
2021-01-24 08:58:41 +01:00
Matthias
48977493bb
Backtesting does not need to convert to BacktestResult object
2021-01-24 08:58:41 +01:00
Matthias
3b51545d23
Add trade_duration to to_json
2021-01-24 08:58:41 +01:00
Matthias
16f9675356
Fix whitelist expansion problem
2021-01-23 20:40:27 +01:00
Matthias
31e0b09643
Rename config.json.example
...
it's really the config dedicated to bittrex,
so the name should reflect this in beeing config_bittrex.json.example
2021-01-22 19:18:34 +01:00
Matthias
5c0f98b518
Blacklist Poloniex - as ccxt does not provide a fetch_order endpoint
2021-01-20 19:31:17 +01:00
Matthias
7c80eeea95
Add use_custom_stoploss to optimize_report
2021-01-19 22:51:12 +01:00
Matthias
20591b539a
Merge pull request #4228 from baartch/develop
...
Extending the Telegram Bot command /status with the possibility to query specific trade_ids
2021-01-19 20:08:49 +01:00
Andreas Brunner
a68a546dd9
_rpc_trade_status argument datatype optimizations
2021-01-18 15:26:53 +01:00
Andreas Brunner
eb95d970e9
flake8 beautify
2021-01-17 21:26:55 +01:00
Andreas Brunner
d21eff0d52
fix, if an non existing trade_id is provided
2021-01-17 21:21:31 +01:00
Andreas Brunner
3ea33d1737
updating doc and help with new /status argument
2021-01-17 21:15:17 +01:00
Andreas Brunner
6d40814dbf
extend status bot command to query specific trades
2021-01-17 20:39:35 +01:00
Matthias
a8bae3a381
Don't update trade fees for dry-run orders
2021-01-17 20:31:27 +01:00
Matthias
53c208197d
Add bot_name setting
...
allows naming the bot to simply differentiate when running different
bots.
2021-01-16 16:19:49 +01:00
Matthias
3fefb6f1c8
Merge pull request #4215 from freqtrade/refactor/backtest
...
Small backtest refactor, introduce calling `bot_loop_start` in backtesting
2021-01-16 09:32:19 +01:00
Matthias
d74376726a
api-server should fully support max_open_trades=-1
2021-01-15 20:47:12 +01:00
Matthias
baef8b4f79
Merge pull request #4197 from nas-/develop
...
Added support for regex in whitelist
2021-01-15 07:34:49 +01:00
Matthias
bf5868c96d
Add testcase for nonexisting pairs on whitelist
2021-01-15 07:10:17 +01:00
nas-
f72d53351c
Added ability to keep invalid pairs while expanding expand_pairlist
2021-01-15 06:37:57 +01:00
Matthias
0b65fe6afe
Capture backtest start / end time
2021-01-14 19:09:25 +01:00
Matthias
9147106259
call bot_loop_start() in backtesting to allow setup-code to run
2021-01-14 19:09:25 +01:00
Matthias
baa1142afa
Use preprocessed to get min/max date in hyperopt
2021-01-14 19:09:21 +01:00
Matthias
9d4cdcad10
Extract backtesting of one strategy
2021-01-14 19:04:42 +01:00
Matthias
f3de0dd3eb
Fix support for protections in hyperopt
...
closes #4208
2021-01-14 06:53:40 +01:00
Matthias
47a06c6213
Fix enable/reenable of swagger UI endpoint
2021-01-12 19:28:22 +01:00
Matthias
ac43591c44
Fix failing api when max_open_trades is unlimited
2021-01-12 19:24:37 +01:00
Matthias
6007d5182a
Merge pull request #4147 from hoeckxer/ignore_expired_candle
...
Ignoring candles that have expired within timeframe
2021-01-12 19:04:16 +01:00
hoeckxer
1f6a71fdd9
Reformat code on new version
2021-01-12 08:24:11 +01:00
hoeckxer
71f45021b9
Removed redundant statement
2021-01-12 07:35:30 +01:00
hoeckxer
e328182bd7
Changed workings so it only needs to timing-parameter, instead of also requiring a boolean value
2021-01-12 07:30:39 +01:00
nas-
4d7ffa8c81
Added suppoort for regex in whitelist
2021-01-12 01:13:58 +01:00
Matthias
63a579dbab
Add sell_profit_offset parameter
...
Allows defining positive offsets before enabling the sell signal
2021-01-11 19:30:25 +01:00
Matthias
f159c46438
Include stoploss_on_exchange in stoploss_guard
...
fix #4183
2021-01-11 07:55:01 +01:00
Matthias
5102dfd6df
Merge pull request #4144 from freqtrade/improve_informativepair
...
Improve merge_informative_pairs to properly merge correct timeframes
2021-01-09 10:15:59 +01:00
Matthias
8631a54514
Fix test due to pyjwt2.0
2021-01-08 19:34:01 +01:00
Matthias
bf182dc01e
Fix wrong key usage in trade_history_timebased
2021-01-07 20:03:34 +01:00
Matthias
b43ef474ad
Fix expired candle implementation
...
Improve and simplify test by passing the current time to the function
2021-01-07 07:51:49 +01:00
Matthias
c9e477214f
Allow protections to be set in the strategy
2021-01-06 16:37:09 +01:00
Matthias
e69dac2704
Fix bug in RPC history mode when no data is found
2021-01-06 15:38:46 +01:00
Matthias
91f8667881
DOn't update open orders in dry-run mode
2021-01-06 09:57:36 +01:00
hoeckxer
c0f170fdb9
Merge branch 'develop' into ignore_expired_candle
2021-01-05 21:00:08 +01:00
hoeckxer
65d91a3a58
isort fix
2021-01-05 15:36:34 +01:00
hoeckxer
573de1cf08
Fixed flake8 warnings
2021-01-05 15:30:29 +01:00
hoeckxer
e3f3f36298
Changes based on review comments
2021-01-05 14:49:35 +01:00
hoeckxer
c9ed2137bb
Simplified return statements
...
Signed-off-by: hoeckxer <hawkeyenl@yahoo.com>
2021-01-05 09:07:46 +01:00
Erwin Hoeckx
67306d943a
Update interface.py
...
Simplified return value, thereby including the situation where the time simply hasn't expired yet
2021-01-05 07:33:34 +01:00
Erwin Hoeckx
9a93a0876a
Update interface.py
...
Adjusted comment
2021-01-05 07:32:07 +01:00
hoeckxer
844df96ec7
Making changes so the build checks are satisified (imports & flake8)
...
Signed-off-by: hoeckxer <hawkeyenl@yahoo.com>
2021-01-05 07:06:53 +01:00
hoeckxer
614a996597
First commit about ignoring expired candle
...
Signed-off-by: hoeckxer <hawkeyenl@yahoo.com>
2021-01-04 20:49:24 +01:00
Matthias
07bc0c3fce
Improve merge_informative_pairs to properly merge correct timeframes
...
explanation in #4073 , closes #4073
2021-01-04 13:49:38 +01:00
Matthias
5ca2cd3a1e
Change defaults to log only errors
2021-01-03 07:18:41 +01:00
Matthias
634d6f3898
Change logging to stderr
2021-01-03 07:15:45 +01:00
Matthias
26c3463403
Stake-amount supports unlimited, too
2021-01-03 06:49:10 +01:00
Matthias
cff50f9f66
Add response-model for show_config
2021-01-03 06:49:10 +01:00
Matthias
ca0bb7bbb8
Don't require RPC for strategy
2021-01-03 06:49:07 +01:00
Matthias
e6176d43f3
Optional RPC dependency
2021-01-03 06:49:07 +01:00
Matthias
3dc37dd79d
Add types for deps
2021-01-03 06:49:07 +01:00
Matthias
336dd1a29c
Rename api_models to api_schemas
2021-01-03 06:49:07 +01:00
Matthias
84ced92002
Fix mock-tests missing some fields
2021-01-03 06:49:07 +01:00
Matthias
29f4dd1dcd
Enhance some response models
2021-01-03 06:49:07 +01:00
Matthias
718f2b24d2
Don't use relative imports
2021-01-03 06:49:07 +01:00
Matthias
b2ab553a31
Rename api_server2 module to apiserver
2021-01-03 06:49:04 +01:00
Matthias
eb20f6e7d0
Align auth token to flask version to prevent user-logout
2021-01-03 06:49:04 +01:00
Matthias
346542e5cd
Remove flask dependency
2021-01-03 06:49:04 +01:00
Matthias
68d148e72d
Allow configuration of openAPI interface
2021-01-03 06:49:04 +01:00
Matthias
1717121f10
Properly use JWT secret key
2021-01-03 06:49:04 +01:00
Matthias
790f833653
Some more tests around api_auth
2021-01-03 06:49:04 +01:00
Matthias
776ce57f55
Remove api_server
2021-01-03 06:49:04 +01:00
Matthias
54a50b1fb4
Fix some tests
2021-01-03 06:49:04 +01:00
Matthias
9f873305eb
Improve response models
2021-01-03 06:49:04 +01:00
Matthias
9350f505bc
Implement missing methods
2021-01-03 06:49:04 +01:00
Matthias
e23898d17b
Improve some tests
2021-01-03 06:49:04 +01:00
Matthias
9ee1d88355
Implement more endpoints
2021-01-03 06:49:04 +01:00
Matthias
73a29e6d74
Improve tests, implement more fastapi methods
2021-01-03 06:49:04 +01:00
Matthias
a18d66e108
Add more endpoints to fastapi
2021-01-03 06:49:04 +01:00
Matthias
4b86700a0f
Implement more endpoints
2021-01-03 06:48:56 +01:00
Matthias
5e4c4cae06
Fix auth providers
2021-01-03 06:48:53 +01:00
Matthias
86d0700884
Move models to apimodels
2021-01-03 06:46:25 +01:00
Matthias
6594278509
Reorder endpoints
2021-01-03 06:46:25 +01:00
Matthias
eac74a9dec
Implement auth in fastapi
2021-01-03 06:46:25 +01:00
Matthias
619b855d5f
Add version endpoint
2021-01-03 06:46:25 +01:00
Matthias
a862f19f82
Allow retrieval of rpc and config via dependencies
2021-01-03 06:46:25 +01:00
Matthias
1e38fec61b
Initial fastapi implementation (Ping working)
2021-01-03 06:46:25 +01:00
Matthias
9e3224ccc0
Merge pull request #4089 from freqtrade/feat/stoploss_custom
...
introduce custom stoploss
2020-12-31 10:33:33 +01:00
Matthias
512e163355
change docstring to better reflect what the method is for
2020-12-31 09:48:49 +01:00
Matthias
bd7600ff06
Small visual changes
2020-12-31 09:43:24 +01:00
Matthias
04624aae40
Add documentation for wildcard-blacklist
2020-12-30 12:30:50 +01:00
Matthias
0affacd39a
Support invalid regex blacklist from config
2020-12-30 10:14:22 +01:00
Matthias
9feabe707f
Fix RPC methods to allow wildcards (and validate wildcards)
2020-12-30 09:57:31 +01:00
Matthias
704cf14383
Add expand_pairlist method
2020-12-30 09:55:44 +01:00
Matthias
2fdda8e448
plot-profit should fail gracefully if no trade is within the selected timerange
...
closes #4119
2020-12-30 08:30:41 +01:00
Matthias
b607740dd1
Fix kraken balance bug if open buy orders exist
2020-12-29 20:06:37 +01:00
Matthias
0d4cf32086
Slightly adapt to pandas incompatibility
2020-12-28 09:50:48 +01:00
Matthias
a87c273903
Refactor RPC modules so handlers don't inherit RPC directly
2020-12-24 09:09:23 +01:00
Matthias
1508e08ea5
Move fiatconvert init to RPC class
2020-12-24 08:39:00 +01:00
Matthias
516e56bfaa
Move init of _config to apiserver parent
2020-12-23 20:50:32 +01:00
Matthias
f11fd2fee1
Sort imports
2020-12-23 17:00:02 +01:00
Matthias
67193bca3d
Move pairlists to be a plugin submodule
2020-12-23 16:54:35 +01:00
Matthias
7cef5ac217
Merge pull request #4092 from MrKrautee/telegram
...
Telegram: specify custom keyboard in config
2020-12-23 16:25:37 +01:00
Christof
74bcd82c3d
Exception msg
2020-12-23 16:00:01 +01:00
Christof
cd1a8e2c42
better error msg
2020-12-22 12:39:27 +01:00
Christof
be28b42bfa
Exception for invalid keyboard config
2020-12-22 12:34:21 +01:00
Matthias
39579b6e5d
Merge pull request #4093 from freqtrade/ohlcv_limit
...
set ohlcv limit on ccxt calls
2020-12-21 19:34:50 +01:00
Christof
5423c21be0
keyboard type
2020-12-20 22:51:40 +01:00
Christof
f39dde121a
moved keyboard config validation to __inti__
2020-12-20 22:36:56 +01:00
Christof
18a24d75ef
cleanup
2020-12-20 21:31:01 +01:00
Christof
c1b8ad7232
renaming, comments, cleanups
2020-12-20 21:31:01 +01:00
Christof
43091a26ce
simple tests
2020-12-20 21:28:57 +01:00
Christof
5b2902fcbc
cleanup
2020-12-20 21:28:57 +01:00
Christof
16baca5eeb
fixed: too complex warning
2020-12-20 21:28:57 +01:00
Christof
d901a86165
typo
2020-12-20 21:28:57 +01:00
Christof
75e4758936
changed config params, added fill area in subplots
2020-12-20 21:28:57 +01:00
Christof
cc39cf97dd
revert to former create_plotconfig behaviour
2020-12-20 21:28:57 +01:00
Christof
4531c924da
PEP8
2020-12-20 21:28:57 +01:00
Christof
fb3d82ccb9
cleanup
2020-12-20 21:28:57 +01:00
Christof
fdd4b40c34
fixed subplots, empty create plot_config if its not given by strategie
2020-12-20 21:28:57 +01:00
Christof
daa1727e2b
Exeption for fill_area.traces
2020-12-20 21:28:57 +01:00
Christof
3fdfc06a1e
label for fill_area added and documentation updated
2020-12-20 21:28:57 +01:00
Christof
ecadfdd98e
fixed:advanced config. added. feature: fill area between traces by advanced configuration.
2020-12-20 21:28:57 +01:00
Christof
6b44545d37
sort order imports
2020-12-20 21:06:45 +01:00
Christof
621105df9a
renaming shortcut_btns to keyboard
2020-12-20 21:06:45 +01:00
Christof
5b3ffd5141
better log msg, comments
2020-12-20 21:06:45 +01:00
Christof
e92bcb00f6
telegram: specify custom shortcut bottons (keyboard) in config.json
2020-12-20 21:06:45 +01:00
Matthias
8d3f096a97
AgeFilter does not require tickers
2020-12-20 20:08:54 +01:00
Matthias
d7daa86434
Add bybit subclass
2020-12-20 19:59:46 +01:00
Matthias
7d2395ddb7
Add limit parameter to fetch_ohlcv
2020-12-20 19:33:04 +01:00
Matthias
9d5961e224
Rename method to custom_stoploss
2020-12-20 11:17:50 +01:00
Matthias
277342f167
Rename flag to "use_custom_stoposs"
2020-12-20 11:12:22 +01:00
Matthias
8574751a07
Add stoploss_value to strategy template
2020-12-20 10:49:22 +01:00
Matthias
6892c08e9b
Improve docstring
2020-12-19 13:18:06 +01:00
Matthias
b2c1098316
more docs for dynamic stoploss method
2020-12-19 12:03:18 +01:00
Matthias
f7b54c2415
Allow and document time-based custom stoploss
...
closes #3206
2020-12-19 11:46:49 +01:00
Matthias
a414b57d54
Experiment with custom stoploss interface
2020-12-18 06:56:56 +01:00
Matthias
8f6aefb591
Extract stoploss assignment
2020-12-18 06:56:56 +01:00
Matthias
768a24c375
Add stoplossvalue interface
2020-12-18 06:56:56 +01:00
Matthias
4e7f914e92
Improve test for AgeFilter, fix bug in Agefilter
2020-12-17 13:34:53 +01:00
Matthias
266031a6be
Disallow PerformanceFilter for backtesting
...
closes #4072
2020-12-16 19:24:47 +01:00
Matthias
d1fda28d2e
Fix typehints
2020-12-15 20:59:58 +01:00
Matthias
3c85d5201f
Use async to get candle data for pairlists
2020-12-15 20:38:26 +01:00
Matthias
c8dde63227
Allow test-pairlist to run with verbosity
2020-12-15 09:23:40 +01:00
Matthias
69901c1314
Provide pair to _validate_pairs in pairlists
2020-12-15 09:23:40 +01:00
Matthias
39fec25ae0
add optional Cache arguments to refresh_pairs method
2020-12-15 09:23:27 +01:00
Matthias
9f5c4ead15
Remove support for 3.6
2020-12-14 19:18:54 +01:00
Matthias
7c6357cc45
Merge pull request #4041 from freqtrade/plugins/protections_backtest
...
Introduce Protection Plugins
2020-12-13 11:08:24 +01:00
Matthias
657b002a81
Explicitly check for False in fetch_ticker
2020-12-13 10:59:29 +01:00
Matthias
7eab33de08
Merge branch 'develop' into plugins/protections_backtest
2020-12-13 10:31:33 +01:00
Matthias
8a2fbf6592
Small cleanup of protection stuff
2020-12-13 10:16:09 +01:00
Matthias
181b88dc75
Don't accept too high fees, assuming they are erroneous
...
Forces fallback to "detection from trades"
2020-12-12 10:52:27 +01:00
Matthias
c784e5780e
Merge pull request #4054 from freqtrade/models_open_price
...
Models open price
2020-12-11 06:31:02 +01:00
Matthias
95fd3824da
Finish renamal of open_trade_price to open_value
2020-12-10 19:36:52 +01:00
Matthias
201cc67e05
Rename open_trade_price to "open_trade_value"
2020-12-10 19:21:20 +01:00
Matthias
76594d5dde
Merge pull request #3799 from imxuwang/issue3783
...
Introduce Telegram /stats endpoint
2020-12-10 15:41:09 +01:00
Matthias
ca99d484fc
Refactor to use list comprehension
2020-12-10 07:39:50 +01:00
Matthias
33f330256b
Reorder commands on telegram init
2020-12-09 20:36:30 +01:00