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
Matthias
f1af2972e2
Ensure non-defined attributes fail correctly
...
Remove unnecessary check, as stoploss cannot be none (it's mandatory and
a number)
2020-12-09 07:55:08 +01:00
Matthias
c37bc307e2
Small finetunings to documentation
2020-12-07 16:12:03 +01:00
Matthias
f047297995
Improve wording, fix bug
2020-12-07 15:48:06 +01:00
Matthias
3ab5514697
Add API endpoint for /stats
2020-12-07 15:07:08 +01:00
Matthias
81410fb404
Document /stats for telegram
2020-12-07 15:03:16 +01:00
Matthias
e873cafdc4
Beautify code a bit
2020-12-07 14:54:39 +01:00
Matthias
effc96e92b
Improve tests for backtest protections
2020-12-07 11:39:01 +01:00
Matthias
5849d07497
Export locks as part of backtesting
2020-12-07 11:39:01 +01:00
Matthias
bb51da8297
Fix slow backtest due to protections
2020-12-07 11:39:01 +01:00
Matthias
75a5161650
Support multis-strategy backtests with protections
2020-12-07 11:39:01 +01:00
Matthias
a3f9cd2c26
Only load protections when necessary
2020-12-07 11:39:01 +01:00
Matthias
e2d15f4082
Add parameter to enable protections for backtesting
2020-12-07 11:39:01 +01:00
Matthias
32189d27c8
Disable output from plugins in backtesting
2020-12-07 11:39:01 +01:00
Matthias
9f34aebdaa
Allow closing trades without message
2020-12-07 11:39:01 +01:00
Matthias
b606936eb7
Make changes to backtesting to incorporate protections
2020-12-07 11:39:01 +01:00
Matthias
98c88fa58e
Prepare protections for backtesting
2020-12-07 11:39:01 +01:00
Matthias
3426e99b8b
Improve formatting of protection startup message
2020-12-07 11:37:57 +01:00
Matthias
64d6c7bb65
Update developer docs
2020-12-07 11:17:11 +01:00
Matthias
0e2a43ab4d
Add duration_explanation functions
2020-12-07 11:12:09 +01:00
Matthias
c993831a04
Add protections to startup messages
2020-12-07 10:57:01 +01:00
Matthias
d4799e6aa3
Implement *candle definitions
2020-12-07 10:54:26 +01:00
Matthias
a93bb6853b
Document *candles settings, implement validations
2020-12-07 10:47:13 +01:00
Matthias
eb952d77be
Move lookback_period to parent __init__
2020-12-07 08:27:14 +01:00
Matthias
f06b58dc91
Test MaxDrawdown desc
2020-12-07 08:23:10 +01:00
Matthias
089c463cfb
Introduce max_drawdown protection
2020-12-07 08:23:10 +01:00
Matthias
9d6f3a89ef
Improve docs and fix typos
2020-12-07 08:23:10 +01:00
Matthias
768d7fa196
Readd optional for get_pair_locks - it's necessary
2020-12-07 08:23:10 +01:00
Matthias
ad746627b3
Fix lock-loop
2020-12-07 08:23:10 +01:00
Matthias
4351a26b4c
Move stop_duration to parent class
...
avoids reimplementation and enhances standardization
2020-12-07 08:23:10 +01:00
Matthias
6d0f16920f
Get Longest lock logic
2020-12-07 08:23:10 +01:00
Matthias
dce2364672
Add stoploss per pair support
2020-12-07 08:23:10 +01:00
Matthias
8f958ef723
Improve login-mixin structure
2020-12-07 08:23:10 +01:00
Matthias
8d9c66a638
Add LogginMixin to freqtradebot class to avoid over-logging
2020-12-07 08:23:10 +01:00
Matthias
be57ceb252
Remove confusing entry
...
(in this branch of the if statement, candle_date is empty
2020-12-07 08:23:10 +01:00
Matthias
5e3d2401f5
Only call stop methods when they actually support this method
2020-12-07 08:23:10 +01:00
Matthias
2cd54a5933
Allow disabling output from plugins
2020-12-07 08:23:10 +01:00
Matthias
8ebd6ad200
Rename login-mixin log method
2020-12-07 08:23:10 +01:00
Matthias
2e5b9fd4b2
format profit in low_profit_pairs
2020-12-07 08:23:10 +01:00
Matthias
e29d918ea5
Avoid double-locks also in per pair locks
2020-12-07 08:23:10 +01:00
Matthias
fc97266dd4
Add "now" to lock_pair method
2020-12-07 08:23:10 +01:00
Matthias
59091ef2b7
Add helper method to calculate protection until
2020-12-07 08:23:10 +01:00
Matthias
5133675988
Apply all stops in the list, even if the first would apply already
2020-12-07 08:23:10 +01:00
Matthias
9484ee6690
Test for low_profit_pairs
2020-12-07 08:23:10 +01:00
Matthias
bb06365c50
Improve protection documentation
2020-12-07 08:23:10 +01:00
Matthias
1f703dc341
Improve protection documentation
2020-12-07 08:23:10 +01:00
Matthias
00d4820bc1
Add low_profit_pairs
2020-12-07 08:23:10 +01:00
Matthias
9f6c2a583f
Better wording for config options
2020-12-07 08:23:10 +01:00
Matthias
8dbef6bbea
Add test for cooldown period
2020-12-07 08:23:10 +01:00
Matthias
fe0afb9883
Implement calling of per-pair protection
2020-12-07 08:23:10 +01:00
Matthias
2a66c33a4e
Add locks per pair
2020-12-07 08:23:10 +01:00
Matthias
ff7ba23477
Simplify enter_positions and add global pairlock check
2020-12-07 08:23:10 +01:00
Matthias
05be33ccd4
Simplify is_pair_locked
2020-12-07 08:23:10 +01:00
Matthias
56975db2ed
Add more tests
2020-12-07 08:23:10 +01:00
Matthias
816703b8e1
Improve protections work
2020-12-07 08:23:10 +01:00
Matthias
f39a534fc0
Implement global stop (First try)
2020-12-07 08:23:10 +01:00
Matthias
3447f1ae53
Implement first stop method
2020-12-07 08:23:10 +01:00
Matthias
a0bd2ce837
Add first version of protection manager
2020-12-07 08:23:10 +01:00
Matthias
b6b9c8e5cc
Move "slow-log" to it's own mixin
2020-12-07 08:23:10 +01:00
Matthias
51fbd0698c
Move get_logs to be static method
2020-12-06 19:57:48 +01:00
Matthias
245c19f5e9
Add simple test for /stats call
2020-12-05 14:48:56 +01:00
Matthias
aa27c9ace2
Reorder methods in telegram
...
/stats is closely related to /profit
2020-12-05 14:39:50 +01:00
Matthias
143423145c
Refactor most of the logic to rpc.py
...
this way /stats can be used by other RPC methods too
2020-12-05 14:38:42 +01:00
Matthias
c556d1b37e
Make /stats working
2020-12-05 14:06:46 +01:00
Matthias
8f61b68b2a
Merge branch 'develop' into pr/imxuwang/3799
2020-12-05 14:06:23 +01:00
Matthias
058d40a72c
Fix telegram /daily command without arguments
2020-12-05 08:16:40 +01:00
Matthias
2fbbeb970b
Gracefully handle cases where no buy price was found
...
closes #4030
2020-12-04 07:42:16 +01:00
Matthias
22595e6f92
Merge pull request #3929 from radwayne/roi_trailing_backtest
...
change backtesting behaviour if roi and trailing-stop happen at the same time
2020-12-03 19:40:46 +01:00
Matthias
36b7edc342
Update typing errors
2020-12-01 19:57:09 +01:00
Matthias
dda5bcbc8d
Merge pull request #4009 from mrsegen/patch-4
...
[Pairlist] Add PerformanceFilter
2020-11-30 07:48:15 +01:00
Leif Segen
e7a035eefe
Lint
2020-11-28 12:29:31 -06:00
Leif Segen
323c0657f8
Sort by profit after sort by count/pair
2020-11-28 12:17:03 -06:00
Leif Segen
6a74c57c3d
Pair name-based sorting.
...
Attempt at more rational string sorting. Change test to show not working as expected.
2020-11-28 11:33:25 -06:00
Matthias
e40d97e05e
Small formatting improvements
2020-11-28 17:52:29 +01:00
Matthias
5d3f59df90
Add best / worst trade
2020-11-28 17:45:56 +01:00
Matthias
a00f852cf9
Add best / worst pair to summary statistics
2020-11-28 17:37:10 +01:00
Leif Segen
03c5714399
Use explicit merge without depending on library detail. Add no trades case.
2020-11-28 09:45:17 -06:00
Leif Segen
e1d42ba78c
Alphabetize
2020-11-28 09:44:01 -06:00
Matthias
a47d8dbe56
Small refactor, avoiding duplicate calculation of profits
2020-11-28 11:35:29 +01:00
Leif Segen
37d2e476df
isort imports
2020-11-28 01:59:30 -06:00
Leif Segen
966c6b308f
Satisfy linter.
2020-11-28 01:34:18 -06:00
Leif Segen
cfbd1c4c43
Merge branch 'develop' into patch-4
2020-11-28 01:17:34 -06:00
Leif Segen
662ec32073
Add test cases
2020-11-28 01:15:36 -06:00
Leif Segen
91b4c80d35
Remove unused parameters
2020-11-27 22:18:49 -06:00
Leif Segen
380cca2252
Remove unused imports
2020-11-27 22:00:48 -06:00
Leif Segen
7cbd89657f
Initial step towards implementing proposed code
2020-11-27 21:24:40 -06:00
Matthias
af1b3721fb
remove duplicate settings check
2020-11-27 20:28:17 +01:00
Matthias
95c3c45ec9
Remove long deprecated settings that moved from experimental to
...
ask_strategy
2020-11-27 20:24:32 +01:00
Matthias
fefb4b23d0
revise logic in should_sell
2020-11-27 09:24:53 +01:00
Matthias
81d08c4def
Add detailed backtest test verifying the ROI / trailing stop collision
2020-11-27 08:24:56 +01:00
Matthias
dddbc799f9
have kraken stoploss-limit support trailing stop
2020-11-26 19:40:36 +01:00
Matthias
1d56c87a34
Fully support kraken limit stoploss
2020-11-25 21:40:39 +01:00
Matthias
53231d94a9
Merge pull request #3975 from freqtrade/volatility_filter
...
RangeStabilityFilter filter - filter for pairs without much movement
2020-11-25 19:17:06 +01:00
Matthias
c14c0f60a1
Add Support for kraken stoploss-limit
2020-11-25 16:27:27 +01:00
Matthias
6810192992
Update docstring for new filter
2020-11-25 15:14:36 +01:00
Matthias
8ae604d473
Ensure we're not running off of empty dataframes
2020-11-25 15:14:36 +01:00
Matthias
0d349cb355
Small finetuning
2020-11-25 15:14:36 +01:00
Matthias
8f1d2ff070
Renamd volatilityFilter to RangeStabilityFilter
2020-11-25 15:14:29 +01:00
Matthias
0104c9fde6
Fix double logging
2020-11-25 14:31:34 +01:00
Matthias
ceb50a7807
use exception handler when downloading data
...
closes #3992
2020-11-25 07:57:27 +01:00
Matthias
bd98ff6332
Update docstring in all pairlists
2020-11-24 20:24:51 +01:00
Matthias
006436a18d
Require use_sell_signal to be true for edge
...
Otherwise edge will have strange results, as
edge runs with sell signal, while the bot runs without sell signal,
causing results to be invalid
closes #3900
2020-11-24 07:47:35 +01:00
Matthias
730c9ce471
Add Max_open_trades to summary metrics
2020-11-24 06:57:26 +01:00
Matthias
29c6a9263d
Protect against 0 values
2020-11-22 15:50:44 +01:00
Matthias
2e1551a2eb
Improve tests of volatilityfilter
2020-11-21 19:57:17 +01:00
Matthias
f8fab5c4f8
Add tests for failure cases
2020-11-21 15:51:39 +01:00
Matthias
109824c9a8
Add VolatilityFilter
2020-11-21 15:39:00 +01:00
Matthias
fb86d8f8ff
Add get_historic_ohlcv_as_df to support VolatilityFilter
2020-11-21 15:28:50 +01:00
Matthias
4d60a4cf4e
Add warning to StochRSI in sample strategy
...
closes #2961
2020-11-21 11:32:46 +01:00
Matthias
e8e3ca0c3c
Catch ValueError from trade_conversion
...
closes #3967
2020-11-21 10:57:19 +01:00
Matthias
83861fabde
Fix #3967 , move TradeList type to constants
2020-11-21 10:52:15 +01:00
Matthias
5ed85963a9
Allow forcebuy price to be a string by converting it to float
...
fix #3970
2020-11-21 10:39:49 +01:00
Matthias
fa0fcfb492
Merge pull request #3939 from drdux/historic-pair
...
Historic pair
2020-11-19 19:46:08 +01:00
Matthias
7a8b274a44
Merge branch 'develop' into pr/imxuwang/3799
2020-11-19 13:18:03 +01:00
Matthias
52c9a2c37f
Convert np to None when loading hdf5 trades to allow duplicate detection
2020-11-19 07:31:54 +01:00
Matthias
9621734adc
Allow setting datafromat via configuration
...
closes #3953
2020-11-17 06:53:38 +01:00
Matthias
05f0cc787c
Plotting should use startup_candles too
...
closes #3943
2020-11-14 09:28:00 +01:00
Matthias
164105acf2
Adjust startup_candle_count of sample strategies
2020-11-14 08:25:57 +01:00
Matthias
08b52926c8
Catch asyncio.TimeoutError when reloading async markets
2020-11-13 10:43:48 +01:00
Matthias
4eb96cfc4f
Allow locks to be gathered even when the bot is stopped
2020-11-13 06:51:45 +01:00
Daniel Goller
2d6bfe1592
only skip pair validation rather than all of it
2020-11-12 11:32:45 +00:00
Daniel Goller
2424ac94c2
skip the check for active markets with flag for existing StaticPairList
2020-11-12 11:29:46 +00:00
Daniel Goller
2640dfee93
Revert "Added ConstPairList handler to skip validation of pairs if you want to backtest a pair that's not live any more, e.g. expiring contracts."
...
This reverts commit 13da8f9368
.
2020-11-12 11:27:30 +00:00
Daniel Goller
916776bb53
Option to skip exchange validation, required to backtest pairs that are not live on the exchange any more.
2020-11-09 08:37:38 +00:00
Daniel Goller
13da8f9368
Added ConstPairList handler to skip validation of pairs if you want to backtest a pair that's not live any more, e.g. expiring contracts.
2020-11-09 08:34:40 +00:00
Matthias
2af1c80fd5
Convert _rpc_show_config to static method
2020-11-08 11:26:02 +01:00
radwayne
8e03fee868
Update interface.py
...
Changed The should_sell() method, to handle the case where both ROI and trailing stoploss are reached in backtest.
2020-11-06 13:56:46 +01:00
Matthias
b58d6d38b5
Use correct fields in telegram
2020-11-03 08:59:11 +01:00
Matthias
d1dab23283
Remove deprecated api fields
2020-11-03 08:59:11 +01:00
Matthias
cf89a773da
Standardize trade api outputs
...
there should be no difference between current_profit and close_profit
it's always profit, and the information if it's a closed trade is available elsewhere
2020-11-03 08:58:57 +01:00
Matthias
887d78171c
Merge pull request #3857 from freqtrade/arrow_deprecation_timestamp
...
Convert timestamp to int_timestamp for all arrow occurances
2020-11-02 16:40:43 +01:00
Matthias
e73203acb8
FIx bug with dmmp
2020-11-01 10:51:07 +01:00
Matthias Spiller
78874fa865
informative_pairs does not honor dataformat
2020-10-31 10:53:51 +00:00
Matthias
f4d39f2a12
Improve test coverage of deploy_commands
2020-10-29 07:44:03 +01:00
Matthias
19fcbc92a7
Remove stake-currency for download-data - it's not needed
2020-10-29 07:43:40 +01:00
Matthias
5cb3735a57
Improve error when hyperopt-loss-function is missing
2020-10-28 07:58:55 +01:00
Matthias
72f61f4682
Remove optional, now is not optional
2020-10-27 10:08:24 +01:00
Matthias
5c8779b155
Sort imports
2020-10-27 08:11:57 +01:00
Matthias
6c913fa617
Fix locking - should round before storing to have a consistent picture
2020-10-27 08:01:31 +01:00
Matthias
e602ac3406
Introduce Pairlocks middleware
2020-10-27 07:06:06 +01:00
Matthias
b8c12f6576
Test if return value is an exception when downloading historic data
2020-10-23 07:50:40 +02:00
Matthias
50e7418d24
Merge branch 'develop' into pr/imxuwang/3799
2020-10-22 08:05:09 +02:00
Matthias
9999017953
Fix small bug in case of duplicate locks
2020-10-22 08:04:48 +02:00
Matthias
2f91f87ad3
Merge branch 'develop' into pr/imxuwang/3799
2020-10-22 07:55:48 +02:00
Matthias
cf1a726198
Rename table to be inline with other table naming
2020-10-22 07:35:59 +02:00
Matthias
a143f7bc43
Improve pairlock docstrings
2020-10-21 19:35:57 +02:00
Matthias
fd6018f67a
Fix dependency sorting
2020-10-21 06:21:13 +02:00
Matthias
adffd402ea
Replace some pointless occurances of arrow
2020-10-20 20:11:38 +02:00
Matthias
7a092271c5
Merge branch 'develop' into arrow_deprecation_timestamp
2020-10-20 20:01:54 +02:00
Matthias
5f63fdd8ad
Use better lock message
2020-10-20 19:40:39 +02:00
Matthias
64e680d7ee
Document new api method
2020-10-20 19:30:00 +02:00
Matthias
1156f5e686
Use constant for times
2020-10-20 19:21:13 +02:00
Matthias
0daf77f313
Don't check for lock start date
2020-10-20 19:21:13 +02:00
Matthias
cd2866eaec
Add rest endpoint for /locks
2020-10-20 19:21:13 +02:00
Matthias
7a9768ffa6
Add /locks Telegram endpoint
2020-10-20 19:21:13 +02:00
Matthias
7caa6cfe31
Add tests for pairlock
2020-10-20 19:21:13 +02:00
Matthias
e513871fd5
Persist pairlocks
...
closes #3034
2020-10-20 19:21:13 +02:00
Matthias
6eab20e337
Use constant to format datetime
2020-10-20 19:21:13 +02:00
Matthias
2d04c2dd4f
Fix small bug when cancel-order does not contain id
...
happens with kraken ...
2020-10-20 06:24:46 +02:00
Xu Wang
1c27aaab72
Declare type of 'dur'.
2020-10-18 20:24:13 +01:00
Matthias
cf2ae788d7
Convert backtesting rows to Tuples for performance gains
2020-10-18 17:16:57 +02:00
Matthias
5d3a67d324
Don't debug-log during backtesting.
...
Even though log-messages are surpressed, calling "debug" will always
have to do something.
2020-10-18 16:38:16 +02:00
Matthias
b80a219d03
Improve typehints for backtesting
2020-10-18 16:35:23 +02:00
Matthias
380e6628e0
Merge branch 'develop' into feat/backtest_speedup_serialize
2020-10-18 16:19:04 +02:00
Matthias
2591a34db4
Don't use arrow objects for backtesting
2020-10-18 16:18:52 +02:00
Matthias
8cdc795a44
Rename persistence.init to init_db
2020-10-16 08:15:18 +02:00
Matthias
ec713ff5ae
Convert _rpc_analysed_history_full to static method
2020-10-16 06:26:57 +02:00
Matthias
07da21e633
Fix problem when limit is > max allowed limit
2020-10-13 20:38:02 +02:00
Matthias
8165cc11df
Change get_next_limit_in_list to use list comprehension
2020-10-13 20:30:35 +02:00
Matthias
8962b6d5c9
Add Bittrex subclass to correctly handle L2 orderbook
2020-10-13 20:09:43 +02:00
Matthias
077374ac42
Implement generic solution for l2 limited limit
2020-10-13 20:02:47 +02:00
Matthias
ecddaa663b
Convert timestamp to int_timestamp for all arrow occurances
2020-10-13 06:24:01 +02:00
Matthias
44e374878c
Fix mypy errors due to new version
2020-10-12 19:28:14 +02:00
Matthias
23bad8fd9f
Rename DefahltHyperoptLoss function to ShortTradeDurHyperOptLoss
2020-10-10 14:22:29 +02:00
Matthias
f676156ec7
Implement division/0 checks for win and loss columns in edge
...
closes #3839
2020-10-09 06:39:13 +02:00
Matthias
23278e52db
remove obsolete logging statements
2020-10-08 20:22:59 +02:00
Matthias
e8f2c09f08
Extract handling of left open trades to seperate method
2020-10-08 20:11:45 +02:00
Matthias
52502193c4
Backtesting should not double-loop for sell signals
2020-10-07 20:59:05 +02:00
Matthias
8c2f763193
Add test to ensure --hyperopt-loss is mandatory
2020-10-05 20:36:16 +02:00
Matthias
378b214a56
Remove hyperopt-loss default option
...
Force users to make a concious choice on a hyperopt-loss function
2020-10-05 19:27:28 +02:00
Matthias
584d095295
Merge pull request #3835 from freqtrade/hyperopt_trailing_output
...
Fix Hyperopt trailing output
2020-10-05 19:09:02 +02:00
Matthias
b86a602ad4
Update typehint
2020-10-05 16:17:37 +02:00
Matthias
40b61bbfe3
Adjust trailing-stop to be python compliant
2020-10-05 07:44:12 +02:00
Matthias
301598bac9
Merge pull request #3818 from freqtrade/rpc/candlehistory
...
Rpc/candlehistory
2020-10-04 09:34:25 +02:00
Matthias
c9b3766fa3
Remove rest_dump
...
it's just a wrapper around jsonify with no benefits
2020-10-04 09:14:46 +02:00
Matthias
63e1cba597
fix some typos
2020-10-04 09:12:52 +02:00
Matthias
cb74c9bcde
Fix hyperopt output
2020-10-03 13:27:06 +02:00
Matthias
176006da29
Sort imports
2020-10-02 07:00:45 +02:00
Matthias
66b77d2f53
Fix some types
2020-10-02 06:52:43 +02:00
Matthias
62110dc2fc
Add buy / sell signal count to dataframe interface
2020-09-29 06:35:47 +02:00
Matthias
350fcc071e
Don't use __code__
...
__code__ is a special method name used by python already
source:
https://docs.python.org/3/reference/datamodel.html#special-method-names
2020-09-29 06:35:47 +02:00
Matthias
b38f68b3b0
Add 404 when strategy is not found
2020-09-29 06:35:47 +02:00
Matthias
becccca3d1
Add test for __code__ loading
2020-09-29 06:35:47 +02:00
Matthias
ba10bd7756
Add strategy code to __code__
2020-09-29 06:35:47 +02:00
Matthias
4b6b7f8343
Add timeframe to candle return values
2020-09-29 06:35:47 +02:00
Matthias
f82d39e1b0
Enhance restclient and add tests for new api methods
2020-09-29 06:35:47 +02:00
Matthias
bb4993dc20
Add new endpoints to the documentation
2020-09-29 06:35:47 +02:00
Matthias
c0654f3caf
Add resiliancy against not having a analyzed dataframe yet
2020-09-29 06:35:47 +02:00
Matthias
c59a1be154
show_config should not use freqtrade object
2020-09-29 06:35:47 +02:00
Matthias
1de248fe38
add list_available_pairs endpoint
2020-09-29 06:35:47 +02:00
Matthias
6a59740f83
Strategies should be a nested object
2020-09-29 06:35:47 +02:00
Matthias
32e6ea314c
Return strategy with analyzed data
2020-09-29 06:35:47 +02:00
Matthias
18bbfdd341
Add /strategies endpoint
2020-09-29 06:35:47 +02:00
Matthias
f227f6a755
Use passed in config object to allow this to work in webserver mode
2020-09-29 06:35:47 +02:00
Matthias
bf0e75e2a5
Include data start and end date in dataframe api
2020-09-29 06:35:47 +02:00
Matthias
b93ad8840a
Return date column unmodified
2020-09-29 06:35:47 +02:00
Matthias
482f1faa88
Don't fail if no buy-signal is present
2020-09-29 06:35:46 +02:00
Matthias
f5dc10e4ae
Add pair_history endpoint
2020-09-29 06:35:46 +02:00
Matthias
677078350f
Add plot_config endpoint
2020-09-29 06:35:46 +02:00
Matthias
133ca9c770
Convert types to support valid json
2020-09-29 06:35:46 +02:00
Matthias
a38b33cd9c
Support limiting analyzed history
2020-09-29 06:35:46 +02:00
Matthias
9dfbc1a7ff
Add analyzed_history endpoint
2020-09-29 06:35:46 +02:00
Xu Wang
7bce2cd29d
Add trade duration by win/loss.
2020-09-28 20:30:20 +01:00
Matthias
6977ffdbf9
Merge branch 'develop' into isort_config
2020-09-28 20:21:55 +02:00
Matthias
253b7b763e
Apply isort to freqtrade codebase
2020-09-28 19:40:46 +02:00
Xu Wang
627e221b65
Use tabulate to create sell reason message.
2020-09-27 20:23:13 +01:00
Matthias
6e70ae6e95
Improve code quality
2020-09-27 19:40:55 +02:00
Matthias
8de9c46110
Document hyperopt-filename usage
2020-09-27 17:09:33 +02:00
Matthias
3cb1a9a5a9
Support loading results from a specific hyperopt history file
2020-09-27 17:03:30 +02:00
Matthias
c42a924df8
Load latest file
2020-09-27 16:50:42 +02:00
Matthias
ff96cf154c
Keep hyperopt result history
2020-09-27 16:33:26 +02:00
Matthias
b736691e0e
Remove hyperopt --continue
2020-09-27 16:18:28 +02:00
Xu Wang
44ad0f631c
Summarize trade reason for telegram command /stats.
2020-09-26 22:40:54 +01:00
Matthias
bb27b236ce
Remove unused arguments
2020-09-26 14:55:12 +02:00
Matthias
ff3e2641ae
generate_backtest_stats must take config options from the strategy
...
config
as a strategy can override certain options.
2020-09-25 20:47:37 +02:00
Matthias
378f03a5b1
Add relevant parameters to stored backtest result
2020-09-25 06:37:40 +02:00
Matthias
fa18274e9a
Merge pull request #3798 from freqtrade/fix/wallets_dont_reset
...
Fix wallets dont reset
2020-09-24 19:22:14 +02:00
Matthias
66ca596e7c
Merge pull request #3787 from freqtrade/rpc/telegram_settings
...
Allow Notification finetuning for telegram messages
2020-09-23 10:20:43 +02:00
Xu Wang
28411da83e
Add the telegram command function template.
2020-09-22 22:28:12 +01:00
Matthias
6b46a35b19
Fix bug of balances not disappearing
2020-09-22 19:37:31 +02:00
Matthias
c349499985
Also add 2w (supported by kraken)
2020-09-20 11:18:45 +02:00
Matthias
a31de431ed
Explicitly convert to type to string
2020-09-19 20:38:42 +02:00
HumanBot
a95dbdbde4
Added 1M and 1y timeframes
...
Huobi Pro allows monthly and yearly data downloading
2020-09-19 14:31:23 -04:00
Matthias
2554dc48e4
Add test for notification settings
2020-09-19 20:29:44 +02:00
Matthias
e53b88bde3
Introduce notification_settings for telegram
2020-09-19 19:38:33 +02:00
Matthias
2a7935e35e
Rename custom_notification to startup_notification
2020-09-19 17:51:31 +02:00
Matthias
6674285b12
Merge pull request #3756 from allenday/patch-1
...
prettify hyperopt console output
2020-09-19 17:43:05 +02:00
Matthias
f0d7f18cf9
Pad wins / draws / losses for hyperopt with spaces instead of 0's
2020-09-19 17:32:22 +02:00
Matthias
934abb0094
Merge pull request #3786 from freqtrade/download_data_timerange
...
Download data should support absolute starting point
2020-09-19 17:19:45 +02:00
Matthias
a559611c15
Merge pull request #3682 from freqtrade/db_keep_orders
...
Keep order history in the database
2020-09-19 17:12:14 +02:00
Matthias
bf95fe2e5c
have the 2 timerange arguments next to each other
2020-09-19 11:33:55 +02:00
Matthias
5daaed1449
Help endpoint does not make sense for the rest api server.
...
therefore, remove the TODO.
2020-09-19 11:25:00 +02:00
Matthias
77d0189695
Remove not needed argument in update_trade_state
2020-09-19 09:37:11 +02:00
Matthias
35857b3dde
Datetime should support --timerange too
2020-09-19 09:10:34 +02:00
Matthias
bfd0e3553a
Don't build this branch anymore in CI
2020-09-19 08:42:37 +02:00
Matthias
dd87938a5e
Fix bug causing close_date to be set again
2020-09-19 08:34:06 +02:00
Matthias
ec01f20bf8
Add ratio to sell reason stats
2020-09-16 20:27:28 +02:00
Matthias
962fed24b0
Readd refind_order logic
2020-09-14 17:34:13 +02:00
Matthias
77c28187a6
Don't run refind order on stoploss
2020-09-11 20:06:05 +02:00
Matthias
977ccaac16
Merge branch 'develop' into db_keep_orders
2020-09-11 20:01:28 +02:00
Matthias
aa8832f70e
Convert select_order to use ft_is_open flag
2020-09-11 07:12:10 +02:00
Matthias
41942e3af1
Update docstring for select_order
2020-09-11 06:59:07 +02:00
Matthias
b8773de5b0
scoped sessions should be closed after requests
2020-09-11 06:44:20 +02:00
Matthias
85d90645c7
Remove duplciate check for buy orders
2020-09-10 15:42:34 +02:00
Matthias
25938efee6
Add partial test for refind_order
2020-09-09 07:50:52 +02:00
Matthias
aa2d1e9cca
Merge pull request #3744 from freqtrade/fix/infomrativesample
...
fix Informative pair documentation
2020-09-08 16:38:08 +02:00
Allen Day
f63a378967
Update hyperopt.py
...
zero pad wins/draws/losses (W/D/L) column to preserve alignment in console pretty print
2020-09-07 23:26:55 +08:00
Matthias
7852feab05
support smaller timeframes
2020-09-07 09:06:43 +02:00
Matthias
26a5cc5959
Add return-type for select_order
2020-09-07 07:41:58 +02:00
Matthias
f6ebe51314
Add test for update_open_orders
2020-09-06 19:32:00 +02:00
Matthias
5fba446e9a
Merge branch 'develop' into db_keep_orders
2020-09-06 15:22:13 +02:00
Matthias
b4da36d6e9
Fix small typo and add small testcase
2020-09-06 15:05:47 +02:00
Matthias
68d51a9787
Don't raise OperationalException when orderid's dont' match
2020-09-06 14:33:45 +02:00
Matthias
a78d61150c
Deleting must delete orders first
2020-09-06 14:28:24 +02:00
Matthias
b7662722ba
Add tests for Order object parsing
2020-09-06 14:17:45 +02:00
Matthias
8c9297e1f0
Don't crash if a strategy imports something wrongly
2020-09-05 16:51:19 +02:00
Matthias
c18441f36f
Fix typo in reloading_conf
2020-09-05 16:44:23 +02:00
Matthias
71af64af94
Move comment to the right place
2020-09-04 20:10:43 +02:00
Matthias
cc684c5141
Correctly handle identical timerame merges
2020-09-04 20:09:02 +02:00
Matthias
7bc8927914
Add documentation for merge_informative_pair helper
2020-09-04 20:02:31 +02:00
Matthias
bd4f3d838a
Implement merge_informative_pairs helper
2020-09-04 19:44:35 +02:00
Matthias
5c5cf782f5
Fix small bug with /daily if close_profit_abs is not yet filled
2020-09-03 19:29:48 +02:00
Matthias
f54fecaeba
Expose helpermethods thorugh freqtrade.strategy
2020-09-02 19:58:26 +02:00
Matthias
43035a3f76
Merge pull request #3724 from freqtrade/fix/3084
...
Forcesell should use the available methods for handling a trade correctly
2020-09-01 15:11:05 +02:00
Matthias
3bc6cb36c6
Remove deprectead volumepairlist options
2020-09-01 08:04:02 +02:00
Matthias
d6d3a02a23
Merge branch 'develop' into db_keep_orders
2020-09-01 07:51:16 +02:00
Matthias
a4e3edbcc5
Fix stoploss_last_update beein updated with date object in wrong
...
timezone
2020-09-01 07:10:48 +02:00
Matthias
38c52c7eee
Merge pull request #3626 from freqtrade/feat/hdf5
...
Introduce HDF5 Datahandler
2020-08-31 16:10:24 +02:00
Matthias
284d39930f
Allow using pairlists through dataprovider in backtesting
2020-08-30 10:07:28 +02:00
Matthias
9c20d488a9
Merge branch 'develop' into fix/3084
2020-08-28 15:43:24 +02:00
Matthias
a9e7ee8113
Merge pull request #3683 from freqtrade/logging_endpoints
...
Logging endpoints
2020-08-27 15:11:17 +02:00
Matthias
dc6d71f651
Improve comment formatting
2020-08-27 14:41:31 +02:00
Matthias
cf719bc5d3
Fix logformat to use epoch timestamp in ms
2020-08-27 12:04:55 +02:00
Matthias
bf5a082358
bufferhandler should log right from the beginning
2020-08-27 11:37:20 +02:00
Matthias
b2373fccfd
Adjust tests as send_msg is only called once
2020-08-27 06:35:28 +02:00
Matthias
9c0a3fffd7
Avoid double notifications in case of partially filled buy orders
2020-08-26 22:17:43 +02:00
Matthias
85e71275d3
Simplify forcesell method by using freqtrade methods
2020-08-26 21:27:09 +02:00
Matthias
add78414e4
Don't overwrite cancel_reason
2020-08-26 21:24:47 +02:00
Matthias
d161b94d72
Allow simulating cancelled orders in dry-run
2020-08-26 21:22:36 +02:00
Matthias
309ea1246a
Update config to use single quotes
2020-08-26 20:52:09 +02:00
Matthias
9d4ecb625a
Allow numpy numbers as comparisons, too
2020-08-26 07:16:29 +02:00
Matthias
21f4aba4e3
Merge pull request #3055 from yazeed/verify_date_on_new_candle_on_get_signal
...
Verify date on last candle before producing signal
2020-08-25 20:22:48 +02:00
Matthias
605ed90567
Merge pull request #3592 from freqtrade/stoploss_distance
...
Add stoploss-distance (to current price) to /status output
2020-08-25 19:56:23 +02:00
Matthias
c6ead02da0
Merge pull request #3705 from mschultheiss83/update_bad_exchanges
...
update bad exchanges
2020-08-25 11:47:51 +02:00
Matthias
3bb69bc1bd
Add returns statement to docstring
2020-08-24 17:31:00 +02:00
Matthias
fca11160e4
Improve docstring of is_pair_locked
2020-08-24 17:18:57 +02:00
Matthias
354a406248
Sort imports in interface.py
2020-08-24 11:45:38 +02:00
Matthias
c272944834
Lock pair until a new candle arrives
2020-08-24 11:09:09 +02:00
Matthias
8b767eedfd
Merge branch 'develop' into pr/yazeed/3055
2020-08-24 07:21:48 +02:00
Matthias
26f45c8323
Improve logmessage for trailing stoploss
2020-08-24 06:56:56 +02:00
Matthias
38809acde8
Don't rerun for known closed orders
2020-08-24 06:50:43 +02:00
Matthias
c3a367e4f0
Merge branch 'develop' into db_keep_orders
2020-08-23 19:14:57 +02:00
Matthias
ec94961437
Reduce loglevel of "using cached rate"
2020-08-23 19:14:28 +02:00
Matthias
9ba9f73706
Improve logging, don't search for buy orders in refind_lost_order
2020-08-23 16:04:32 +02:00
Matthias
4ecb67d1d1
Merge branch 'develop' into db_keep_orders
2020-08-23 10:36:56 +02:00
Matthias
05ec56d906
Dates should be changed to UTC to provide the correct timestamp
2020-08-23 10:16:28 +02:00
Martin Schultheiss
2701a7cb12
update bad exchanges
2020-08-23 09:11:34 +02:00
Matthias
d8a6410fd1
Fix small bug when using max-open-trades -1 in backtesting
2020-08-23 09:00:57 +02:00
Matthias
674b510d23
Parametrize fetch_order retry counts
2020-08-22 17:35:42 +02:00
Matthias
3d7e800ff2
Remove test code
2020-08-22 16:08:54 +02:00
Matthias
11e69bdd65
Update open trades too
2020-08-22 15:49:32 +02:00
Matthias
fd33282eb1
Add handle_insufficient exception
2020-08-22 15:48:00 +02:00
Matthias
3b4446339e
Use fetch_order_or_stoploss order
2020-08-22 09:30:25 +02:00
Matthias
f2b390a271
Add fetch_order_or_stoploss wrapper
2020-08-22 09:28:36 +02:00
Matthias
fc2104bfad
Fix bug with time when updating order_date
2020-08-22 09:12:09 +02:00
Matthias
39beb5c837
Add method to update fees on closed trades
2020-08-22 08:59:54 +02:00
Matthias
fc42d552ab
Convert logs to fstrings
2020-08-22 08:59:50 +02:00
Matthias
2d6bcbb454
Fix small error in trades updating
2020-08-21 19:51:31 +02:00
Matthias
3d93236709
Remove unused import
2020-08-21 14:55:47 +02:00
Matthias
301f74fd1b
Merge pull request #3418 from freqtrade/hyperopt_colorama_init
...
Test colorama init again (after the fixes done to progressbar)
2020-08-21 14:54:35 +02:00
Matthias
357d7714ec
Add docstring to update_trade_state
2020-08-21 07:31:22 +02:00
Matthias
3be14933d4
Add comment explaining update_open_orders
2020-08-21 07:24:49 +02:00
Matthias
0b6014fae3
update_trade_state should take the order id directly - not from the trade object
2020-08-21 07:17:52 +02:00
Matthias
838985f6a0
Don't reset open-order-id just yet
...
it's needed to get the fees
2020-08-21 07:13:13 +02:00
Matthias
4f1179d85c
Test for empty case
2020-08-20 20:11:58 +02:00
Matthias
f5a9001dc0
Handle backtest results without any trades
2020-08-20 19:51:36 +02:00
Matthias
42273ae042
Merge pull request #3695 from freqtrade/fix_daily_rpc
...
Fix daily rpc for webservice
2020-08-19 14:16:24 +02:00
Matthias
3d515ed5bf
Merge pull request #3558 from freqtrade/bt_add_maxdrawdown
...
Revise backtesting export format, add some metrics
2020-08-19 06:39:47 +02:00
Matthias
375e671aaf
Move formatting of /daily to telegram
...
so /daily can return numbers in the API
2020-08-18 20:12:14 +02:00
Matthias
9982ad2f36
Add profit to backtest summary output
2020-08-18 16:59:24 +02:00
Matthias
668d167adc
Add docstring to store_backtest_stats
2020-08-18 16:15:24 +02:00
Matthias
4eb17b4daf
Remove unneeded function
2020-08-18 15:20:37 +02:00
Matthias
a6dac9acf3
Merge pull request #3667 from freqtrade/hyperopt_enable_dataprovider
...
Hyperopt enable dataprovider
2020-08-17 07:00:48 +02:00
Matthias
1f153f51ee
Merge pull request #3660 from freqtrade/hyperopt_default_tests
...
Move DefaultHyperopt to tests
2020-08-17 06:49:55 +02:00
Matthias
56ca37fd8b
Also provide stacktrace via log endpoints
2020-08-15 20:15:02 +02:00
Matthias
1cb10d8f8e
Merge branch 'develop' into pr/hroff-1902/3619
2020-08-15 09:08:59 +02:00
Matthias
9dd2800b98
Apply some review changes
2020-08-15 09:08:50 +02:00
Matthias
89b9a8cb1f
Merge pull request #3396 from freqtrade/fix/broken_getpairs
...
Use dict for symbol_is_pair
2020-08-15 08:58:53 +02:00
Matthias
1ffa3d1ae0
Improve telegram message formatting
2020-08-15 08:31:36 +02:00
Matthias
f5863a1c6f
Fix mypy errors
2020-08-15 08:15:47 +02:00
Matthias
9659e516c8
Remove queue import
...
Improve tests
2020-08-14 20:35:15 +02:00
Matthias
c4f78203ab
Initialize streamhandler early to have it apply to all logs
2020-08-14 20:08:55 +02:00
Matthias
cdfcdb86c9
Increase logfile size
2020-08-14 20:00:09 +02:00
Matthias
122c0e8ddc
Readd accidentally dropped StreamHandler
2020-08-14 19:50:56 +02:00
Matthias
9ad8e74247
Add tests for log-endpoints
2020-08-14 19:41:27 +02:00
Matthias
5f79caa307
Implement /logs endpoints in telegram and restAPI
2020-08-14 15:44:36 +02:00
Matthias
b989ba0f82
Simplify setup of handlers
2020-08-14 14:53:21 +02:00
Matthias
48944fd4cb
Logging with queueHandler
2020-08-14 14:41:46 +02:00
Matthias
06125df10c
Remove unused import
2020-08-14 11:31:02 +02:00
Matthias
d8fdd32b54
FIx migrations
2020-08-14 11:25:40 +02:00
Matthias
cfa352ecf2
Disable refind_lost_order for now
2020-08-14 11:25:20 +02:00
Matthias
552aaf7945
add refind order logic
2020-08-14 10:59:55 +02:00
Matthias
22af82631a
Introduce InsufficientFundsError exception
2020-08-14 09:57:13 +02:00
Matthias
a6fc922f28
Introduce insufficientFunds Exception
2020-08-14 09:56:48 +02:00
Matthias
8458a380b8
Improve order catchup
2020-08-14 09:52:47 +02:00
Matthias
95efc0d688
Add open_order_updater
2020-08-14 09:52:47 +02:00
Matthias
c4d7aff5c3
Order should have a "is_open" flag
2020-08-14 09:52:47 +02:00
Matthias
da2a515d0b
Add delete cascade to alchemy model
2020-08-14 09:52:46 +02:00
Matthias
1a305ea8b0
Fix migrations to use unique key
2020-08-14 09:52:46 +02:00
Matthias
4434a54d59
Add unique key to order-Model
2020-08-14 09:52:46 +02:00
Matthias
ebd755e36a
Improve order handling
2020-08-14 09:52:46 +02:00
Matthias
0af9e913d4
Timestamps are in ms
2020-08-14 09:52:46 +02:00
Matthias
73182bb2dd
Update migrations to populate Orders table for open orders
2020-08-14 09:52:46 +02:00
Matthias
396e781bf4
Update orders
2020-08-14 09:52:46 +02:00
Matthias
4924d8487e
Extract "update order from ccxt" to it's onw function
2020-08-14 09:52:46 +02:00
Matthias
ed87abd93a
Allow selecting only a certain table range in migration
2020-08-14 09:52:46 +02:00
Matthias
171a52b21a
Introduce Order database model
2020-08-14 09:52:46 +02:00
Matthias
7d03a067ee
Extract migrations ot seperate module
2020-08-14 09:52:46 +02:00
Matthias
044df880e6
Move persistence into it's own submodule
2020-08-14 09:52:46 +02:00
Matthias
93717cfef1
Merge pull request #3008 from yazeed/more_info_hyperopt_fixed
...
Wins/draws/losses/median profit in hyperopt output
2020-08-14 09:25:12 +02:00
Matthias
b98107375e
Improve formatting of result string to be a bit conciser
2020-08-14 07:31:14 +02:00
Matthias
d76ee43246
Show wins / draws / losses in hyperopt table
2020-08-14 07:14:10 +02:00
Matthias
22f6e884ed
Merge pull request #3676 from freqtrade/stoploss_remove_unused_argument
...
[minor] Cleanup and exception hierarchy documentation
2020-08-14 07:11:56 +02:00
Matthias
05bd099f51
Merge branch 'develop' into pr/yazeed/3008
2020-08-14 06:58:09 +02:00
Matthias
c6741ea6c3
Merge branch 'develop' into fix/broken_getpairs
2020-08-12 20:13:06 +02:00
Matthias
815d88fd4a
Fix test after merge, fix forgotten 'amount'
2020-08-12 15:32:56 +02:00
Matthias
9999d0ffb5
Merge branch 'develop' into fix/3579
2020-08-12 15:28:51 +02:00
Matthias
faa2bbb555
Document exception hierarchy
2020-08-12 14:29:14 +02:00
Matthias
6dfa159a91
Small comment adjustments in exchange class
2020-08-12 14:11:19 +02:00
Matthias
1f1a819b29
Remove unused 3rd argument to create_stoploss call
2020-08-12 11:21:00 +02:00
Matthias
2fed066e76
Simplify objective code formatting
2020-08-12 10:40:44 +02:00
Matthias
2dc36bb79e
Remove inversion of min/max objective selection
2020-08-11 20:52:18 +02:00
Matthias
56655b97cf
Refactor hyperopt_filter method
2020-08-11 20:37:01 +02:00
Matthias
77541935a8
Fix small merge mistake
2020-08-11 20:18:49 +02:00
Matthias
688d657fe2
Merge branch 'develop' into pr/yazeed/3091
2020-08-11 20:04:43 +02:00
Matthias
d77c53960d
Show API backoff in logs to better investigate eventual problems)
2020-08-11 19:27:25 +02:00
Matthias
c9c43d2f0b
Move log-message of retrying before decrementing count
...
Otherwise the message is always one round "late".
2020-08-11 15:27:41 +02:00
Matthias
064928a0eb
Merge branch 'develop' into improve_cancel_order_handling
2020-08-11 15:25:47 +02:00
Matthias
b576e1d463
Merge branch 'develop' into bt_add_maxdrawdown
2020-08-09 10:25:57 +02:00
Matthias
87e4a82041
Merge branch 'develop' into bt_add_maxdrawdown
2020-08-09 08:34:36 +02:00
Matthias
fca41a44bb
Also logg timeframe
2020-08-08 20:20:58 +02:00
Matthias
3670be5dd2
Merge pull request #3641 from freqtrade/fix/edgeremovebumps
...
Fix edge with removebumps enabled
2020-08-08 17:33:08 +02:00
Matthias
2afe1d5b11
Add link to full sample
2020-08-08 17:30:31 +02:00
Matthias
dd430455e4
Enable dataprovier for hyperopt
2020-08-08 17:04:32 +02:00
Matthias
e2643103b6
Merge pull request #3611 from thopd88/telegram-delete-command
...
Add telegram /delete command
2020-08-08 15:19:40 +02:00
Fredrik81
eba73307e4
Update strategy_methods_advanced.j2
...
Fix def confirm_trade_exit arguments
2020-08-07 01:13:36 +02:00
Matthias
995d3e1ed5
Don't search internal path for Hyperopt files
2020-08-06 09:07:48 +02:00
Matthias
8b6d10daf1
Move DefaultHyperopt to test folder (aligned to strategy)
2020-08-06 08:50:41 +02:00
Matthias
8ed3b81c61
Implement /delete in rest client
2020-08-04 19:57:28 +02:00
Matthias
075c73b9e3
Improve formatting of telegram message
2020-08-04 19:56:49 +02:00
Matthias
817f5289db
/delete should Cancel open orders (and stoploss orders)
2020-08-04 19:43:22 +02:00
Matthias
9163c7f3d3
Improve api response
2020-08-04 19:43:05 +02:00
Matthias
b954af33cf
Fix type erorr in callable
2020-08-04 16:01:41 +02:00
Matthias
4b0164770c
Add test for /delete
2020-08-04 14:49:59 +02:00
Matthias
215972c68f
Implement /delete for api-server
2020-08-04 14:41:22 +02:00
Matthias
c0083c4244
Merge branch 'develop' into pr/thopd88/3611
2020-08-04 07:00:54 +02:00
Matthias
a3688b159f
Improve formatting
2020-08-03 19:28:57 +02:00
Matthias
a33346c6b6
Fix testing errors - which surfaced with pytest 6.0.1
2020-08-03 19:22:07 +02:00
Matthias
3915101d2d
Add more backoff to fetch_order endpoint
2020-08-02 10:32:17 +02:00
Matthias
6c77feee85
Improve some exchange logs
2020-08-02 10:18:19 +02:00
Matthias
99bfa839eb
Improve logging for sell exception
2020-08-02 10:12:15 +02:00
Matthias
071e82043a
Better handle cancelled buy orders
2020-08-01 15:59:50 +02:00
Matthias
d1cbc567e4
Fix filtering for bumped pairs
2020-07-28 13:41:09 +02:00
Matthias
aab5596fa6
Convert trade open / close to timestamp
...
(to allow uniform analysis of backtest and real trade data - while
giving control of date-formatting to the endsystem.
2020-07-27 07:20:40 +02:00
Matthias
977a6d4e9c
Add profit_total to results line
2020-07-26 16:10:48 +02:00
Matthias
454046f745
Add stake_currency and max_opeN_trades to backtest result
2020-07-26 15:55:54 +02:00
Matthias
8d0f338bf2
Timestamps should be in ms
2020-07-26 15:23:21 +02:00
Matthias
9ed5fed887
Fix output format to be of an identical type
2020-07-26 15:17:54 +02:00
Matthias
902e8fa62f
Fix wrong spelling in one subcomponent
2020-07-26 14:39:00 +02:00
Matthias
bad89307dd
Fix mypy error
2020-07-25 17:19:41 +02:00
Matthias
119bf2a8ea
Document hdf5 dataformat
2020-07-25 17:06:58 +02:00
Matthias
db8f3a9e9b
Merge pull request #3609 from thopd88/develop
...
Add telegram /trades command
2020-07-25 16:45:09 +02:00
Matthias
0a28818b46
Add some tests for hdf5
2020-07-24 19:37:37 +02:00
Matthias
861e7099cc
Rename hdf5handler to hdf5DataHandler
2020-07-24 19:23:37 +02:00
Matthias
3171ad33b7
Add blosc compression
2020-07-24 17:44:29 +02:00
Matthias
0f08addfbe
Don't store empty arrays
2020-07-24 17:37:07 +02:00
Matthias
31df42e737
Implement get_available_data
2020-07-24 17:31:43 +02:00
Matthias
d4540c846a
Add trades_load method
2020-07-23 19:33:23 +02:00
Matthias
55591e287c
First version of hdf5handler - no proper support for trades yet
2020-07-23 19:33:23 +02:00
Matthias
0614e59966
Add tables dependency
2020-07-23 19:33:23 +02:00
Matthias
e0c14e6214
Add /trades to help (so users know about it)
2020-07-23 07:56:05 +02:00
Matthias
fdc84eef59
/trades shall only return closed trades
2020-07-23 07:50:45 +02:00
Matthias
0f18b2a0d4
Add test and fix case where no trades were closed yet
2020-07-23 07:12:14 +02:00
thopd88
0bad55637e
fix flake8 indent error
2020-07-23 10:12:52 +07:00
thopd88
a3daf8e41c
Fix line too long
2020-07-23 09:47:53 +07:00
thopd88
0502fe0496
New /trades 3 columns and exclude open trades
2020-07-23 09:36:05 +07:00
hroff-1902
c78199d3d9
Add checks for parameters of PriceFilter
2020-07-22 22:45:46 +03:00
hroff-1902
5213abf510
AgeFilter is always enabled
2020-07-22 21:44:39 +03:00
hroff-1902
f6bde8bd9c
Improve exception message wordings
2020-07-22 21:43:15 +03:00
Matthias
7e980037a4
Merge pull request #3554 from jblestang/Fix_#3544
...
Adding a dataprovider to the strategy before plotting
2020-07-22 15:56:16 +02:00
Matthias
f5f529cace
Use correct initialization of DataProvider
2020-07-22 15:17:45 +02:00
Matthias
6a10c715fa
Fix 0 division (if last = 0, something went wrong!)
2020-07-21 20:34:29 +02:00
hroff-1902
d8fa17cee8
Merge pull request #3614 from freqtrade/info_message_hyperopt
...
[minor] Reduce severity of hyperopt "does not provide" messages
2020-07-21 00:14:18 +03:00
Matthias
7d6708fc6a
Reduce severity of hyperopt "does not provide" messages
...
closes #3371
2020-07-20 20:04:23 +02:00
Matthias
21dcef1134
Add trade_id to webhooks
...
allowing for easier corelation of different messages
2020-07-20 19:57:05 +02:00
Matthias
4774896169
Evaluate average before price in order returns
2020-07-20 19:39:12 +02:00
Matthias
4c97527b04
FIx failing test
2020-07-20 19:11:15 +02:00
hroff-1902
b7c6f868b2
Merge pull request #3478 from hroff-1902/exchange-cosmetics-5
...
Minor: Exchange cosmetics
2020-07-20 18:58:46 +03:00
thopd88
eaa7370174
add /delete command
2020-07-20 11:08:18 +07:00
thopd88
28f4a1101e
Revert "Add telegram /delete command to delete tradeid"
...
This reverts commit 08fdd7d863
.
2020-07-20 10:54:17 +07:00
thopd88
08fdd7d863
Add telegram /delete command to delete tradeid
...
code inspired from _rpc_forcesell
2020-07-19 22:10:59 +07:00
thopd88
dd3a2675b5
Add telegram trades command to list recent trades
2020-07-19 22:02:53 +07:00
Alex Pham
3271c773a7
Fix SQL syntax error when compare pair strings
...
First happens in Postgres
2020-07-19 21:30:55 +07:00
Matthias
ea1ddeb87d
Merge pull request #3570 from gambcl/develop
...
Added range checks to min_days_listed in AgeFilter
2020-07-19 09:37:17 +02:00
Matthias
de46744aa9
Use filled before amount for order data
...
closes #3579
2020-07-15 21:08:16 +02:00
Matthias
98f2e79f27
Adjust tests to use correctly trimmed amount
2020-07-15 20:55:33 +02:00
Matthias
3721736aaf
Convert to real amount before placing order
...
to keep the correct amount in the database
2020-07-15 20:28:07 +02:00
Matthias
eafab38db3
Complete implementation of amount_requested
2020-07-15 20:20:14 +02:00
Matthias
c826f7a707
Add amount_requested to database
2020-07-15 20:15:29 +02:00
Matthias
d13cb4c055
Introduce safe_value_fallback_2
2020-07-15 19:50:09 +02:00
Matthias
5cebc9f39d
Move stoploss_on_exchange_limit_ratio to configuration schema
2020-07-15 19:28:40 +02:00
Matthias
c1191400a4
Allow 0 fee value by correctly checking for None
2020-07-15 19:20:20 +02:00
gambcl
1051ab917a
Replaced logging with OperationalException when AgeFilter given invalid parameters
2020-07-15 12:40:54 +01:00
Matthias
82c68f07cd
Add stoploss-distance (to current price) to /status output
2020-07-14 20:16:18 +02:00
Matthias
bdf611352e
Update summary-metrics output
2020-07-14 19:34:01 +02:00
hroff-1902
0f4fc67b83
Merge pull request #3582 from freqtrade/data/list
...
List available backtesting data
2020-07-14 19:38:32 +03:00
Matthias
0228b63418
Don't print empty table
2020-07-14 16:42:47 +02:00
Matthias
62c55b1863
Enhance formatting, Add pair filter
2020-07-14 06:55:34 +02:00
Matthias
01f325a9e4
Send timeframe min and ms in show_config response
2020-07-13 21:15:33 +02:00
Matthias
0b36693acc
Add filter for stoploss_on_exchange_limit_ratio to constants
2020-07-13 19:48:21 +02:00
Matthias
6ee6e51ab4
Merge branch 'develop' into pr/hroff-1902/3478
2020-07-13 07:22:43 +02:00
Matthias
b035d9e267
Update return type comment
2020-07-12 10:23:09 +02:00
Matthias
02afde857d
Add list-data command
2020-07-12 09:57:00 +02:00
Matthias
d4fc52d2d5
Add tests for ohlcv_get_available_data
2020-07-12 09:56:46 +02:00
Matthias
422825ea1b
Add ohlcv_get_available_data to find available data
2020-07-12 09:50:53 +02:00
Matthias
40bdc93653
Add test for short_desc of priceFilter
2020-07-10 20:28:29 +02:00
gambcl
14eab9be04
Added min_price, max_price to PriceFilter
2020-07-08 22:02:04 +01:00
gambcl
2e45859aef
Added range checks to min_days_listed in AgeFilter
2020-07-08 18:06:30 +01:00
hroff-1902
839b3340e6
Merge pull request #3497 from freqtrade/keep_dataframe_noapi
...
Analyze dataframe and keep it until the next analysis
2020-07-05 13:46:02 +03:00
Matthias
c4a9a79be0
Apply suggested documentation changes from code review
...
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-07-04 09:43:49 +02:00
Matthias
1fc4451d2f
Avoid \ linebreak
2020-07-03 20:32:04 +02:00
Matthias
ea5e47657a
Remove ticker_interval from jupyter notebook
2020-07-03 20:27:32 +02:00
Matthias
0d15a87af8
Remove old store_backtest method
2020-07-03 20:21:32 +02:00
Matthias
987188e41f
Add avgduration for winners and losers
2020-07-03 19:58:02 +02:00
Matthias
8e0ff4bd86
Add Win / draw / losing days
2020-07-03 19:45:45 +02:00
Matthias
42868ad24a
Add best / worst day to statistics
2020-07-03 19:30:29 +02:00
Matthias
d56f9655e2
Update notebook with new statistics example
2020-07-03 07:20:43 +02:00
Matthias
619eb183fe
Allow strategy for plot-profit
...
to allow loading of multi-backtest files
2020-07-03 07:03:43 +02:00
Matthias
16a842f9f6
Have plotting support folder-based exportfilename
2020-07-03 06:58:27 +02:00
Matthias
d999fa2a7e
Test autogetting result filename
2020-07-03 06:58:27 +02:00
Matthias
7c5587aeaa
exportfilename can be a file or directory
2020-07-03 06:58:27 +02:00
Matthias
2ed808da1f
Extract .last_result.json to constant
2020-07-03 06:58:27 +02:00
Matthias
59e0ca0aaa
Add pairlist to backtest-result
2020-07-03 06:58:27 +02:00
Matthias
afefe92523
Add multi-strategy loading logic
2020-07-03 06:58:27 +02:00
Matthias
c13ec4a1d4
implement fallback loading for load_backtest_data
2020-07-03 06:58:27 +02:00
Matthias
1339479882
Have sell_type stringify correctly
2020-07-03 06:58:27 +02:00
Matthias
04eaf2c39c
Add test for get_last_backtest_Result
2020-07-03 06:58:27 +02:00
Matthias
7727292861
Rename duration to trade_duration
2020-07-03 06:58:27 +02:00
Matthias
f368aabcc7
Add amount to backtest-result
2020-07-03 06:58:27 +02:00
Matthias
6e94734678
Add fee to backtestresult
2020-07-03 06:58:27 +02:00
Matthias
03ab61959b
Add test for generate_backtest_stats
2020-07-03 06:58:27 +02:00
Matthias
af9a9592b7
Remove unnecessary statement
2020-07-03 06:58:27 +02:00
Matthias
075eb0a161
Fix sequence of saving
2020-07-03 06:58:27 +02:00
Matthias
dacb40a976
Add get_latest_backtest_filename
2020-07-03 06:58:27 +02:00
Matthias
0fa56be9d2
remove openIndex and closeIndex from backtest-report
2020-07-03 06:58:27 +02:00
Matthias
04cbc2cde5
Shorten variable
2020-07-03 06:58:27 +02:00
Matthias
b068e7c564
Rename open_time and close_time to *date
2020-07-03 06:58:27 +02:00
Matthias
415853583b
Save backtest-stats
2020-07-03 06:58:27 +02:00
Matthias
81c8e8677d
use 0 as profit mean, not nan
2020-07-03 06:58:27 +02:00
Matthias
480c5117f1
Handle empty return strings
2020-07-03 06:58:27 +02:00
Matthias
5fce7f3b22
Add market Change
...
closes #2524 and #3518
2020-07-03 06:58:27 +02:00
Matthias
cf044d166e
Tests should use new Datetime format too
2020-07-03 06:58:27 +02:00
Matthias
fbddfaeacf
Introduce DatetimePrintFormat
2020-07-03 06:58:27 +02:00
Matthias
cbcf3dbb43
Add more metrics to summarytable
2020-07-03 06:58:27 +02:00
Matthias
6922fbc3aa
Add max_drawdown error handler
2020-07-03 06:58:27 +02:00
Matthias
455b26ea48
Add max drawdown to backtesting
2020-07-03 06:58:27 +02:00
Jean-Baptiste LE STANG
20e8a29262
Adding a dataprovider to the strategy before plotting
...
Fix flake8
2020-07-02 21:14:31 +02:00
Theagainmen
99ac2659f3
Init FIAT converter in api_server.py
2020-07-02 11:27:33 +02:00
Theagainmen
81850b5fdf
AgeFilter add actual amount of days in log message (debug info)
2020-07-02 11:26:52 +02:00