Matthias
97ff7d1223
Merge branch 'develop' into feat/short
2021-11-21 09:13:53 +01:00
Matthias
7a8978abbb
Make ohlcv data endpoint work correctly with new interface
2021-11-20 20:09:37 +01:00
Dardon
d4fd13bf50
Telegram and log prints strategy version.
2021-11-20 16:26:07 +00:00
Matthias
f8f7d81fc2
Update strategy template to use parameters
2021-11-20 11:39:21 +01:00
Sam Germain
54ef52692f
Trade.has_no_leverage makes more sense
2021-11-20 01:06:10 -06:00
Matthias
9aed76ba17
Integrate leverage() to freqtradebot
2021-11-19 19:23:48 +01:00
Matthias
6247608cc6
top/bottom cap leverage
2021-11-19 07:11:19 +01:00
Matthias
021d1b518c
Call "leverage" to determine leverage to be used.
2021-11-18 20:55:45 +01:00
Matthias
5a8824171c
Add short/long metrics to backtest result
2021-11-18 20:42:43 +01:00
Matthias
0a50017c84
Add long/short support to backtesting
2021-11-18 20:34:59 +01:00
Matthias
f40221dd9f
Merge branch 'develop' into feat/short
2021-11-18 20:20:01 +01:00
Matthias
8638e6fe47
Simplify tradingmode parsing
2021-11-18 19:58:44 +01:00
Matthias
4f0a73010a
Merge pull request #5890 from aezomz/todo-rpc
...
Todo-lev RPC tests and model
2021-11-17 06:58:07 +01:00
aezo.teo
c17c1611bd
removed short_trades, updated schema, tests
2021-11-16 14:03:33 +08:00
Matthias
75eccea88d
Improve futures detection, add ccxt-compat test
2021-11-15 19:57:36 +01:00
Matthias
4e9b83e170
Merge branch 'feat/short' into futures_pairlist
2021-11-15 19:12:36 +01:00
Sam Germain
f101419a47
Merge branch 'feat/short' into todo-rpc
2021-11-14 20:48:55 -06:00
Matthias
1b058d882d
Simplify date rounding logic
2021-11-14 19:55:56 +01:00
aezo.teo
a08572e907
Merge remote-tracking branch 'upstream/feat/short' into todo-rpc
2021-11-14 21:21:59 +08:00
aezo.teo
92997c85f9
adding sides for rate and 1 more test case
2021-11-14 17:37:31 +08:00
Matthias
4d1d8de9b7
Split /stats messages
...
closes #5869
2021-11-14 10:20:04 +01:00
Sam Germain
e7fad04eb9
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-14 03:15:22 -06:00
Matthias
c70fdea886
Merge pull request #5847 from stash86/kucoin-api
...
Hardcoded temp fix for Kucoin API issue
2021-11-14 10:11:02 +01:00
aezo.teo
8df334515f
added logic for is_short and tests
2021-11-14 16:52:38 +08:00
Matthias
8cfc531b32
Merge pull request #5887 from samgermain/common-ccxt-config
...
Common ccxt config
2021-11-14 09:52:06 +01:00
aezo.teo
30fbe0c79c
added is_short and short_trades to schema
2021-11-14 16:51:03 +08:00
Matthias
5b9cbaf277
Use Close value for trade signal calculation
2021-11-14 09:50:04 +01:00
Matthias
33f00d23b9
Merge pull request #5885 from ethanopp/develop
...
Include more details in _FILL telegram notifications
2021-11-14 09:37:58 +01:00
Stefano Ariestasia
632c1bc0aa
Add static workaround for kucoin 429000 issue
...
closes #5700
2021-11-14 09:31:38 +01:00
Matthias
7c11619924
avoid using replace in messages
2021-11-14 09:19:21 +01:00
Sam Germain
430aa0903f
Removed redundent TODO-levs
2021-11-13 19:45:41 -06:00
Sam Germain
01ad65de68
test_rpc_apiserver.py
2021-11-13 19:22:43 -06:00
Sam Germain
099bf7691e
Updated bibox to combine parent _ccxt_config and minimized _ccxt_config tests
2021-11-13 16:23:59 -06:00
Sam Germain
3d86b18492
Added property _ft_has_default.ccxt_futures_name and removed subclass ccxt_config properties
2021-11-13 16:23:58 -06:00
ethan
c4c1b301cd
buy notification code consolidation
2021-11-13 15:46:00 -05:00
ethan
0bc9384451
more notification code consolidation
2021-11-13 14:52:59 -05:00
ethan
7412b7ba51
buy/sell fill notification code consolidation
2021-11-13 10:23:47 -05:00
ethan
a177e58dc4
Remove "currency" generating from splitting pair str
2021-11-13 08:49:02 -05:00
Sam Germain
867ac3f82a
Removed typing.List from bibox, hitbtc and kucoin
2021-11-13 06:21:17 -06:00
Sam Germain
3c509a1f9b
New method for combining all funding fees within a time period
2021-11-13 04:45:23 -06:00
Matthias
df27499e19
Improve /help
output from telegram
2021-11-13 08:46:06 +01:00
ethan
32e3376296
Update buy/sell fill telegram notifications
2021-11-12 21:49:07 -05:00
ethan
a237667bc9
Update buy/sell fill telegram notifications
2021-11-12 16:18:04 -05:00
Matthias
6b40792f80
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-12 08:06:29 +01:00
Matthias
8d4163d003
Add compat tests
2021-11-12 07:26:59 +01:00
Sam Germain
c8c2d89893
exchange.get_funding_fees returns 0 by default
2021-11-11 19:10:56 -06:00
Sam Germain
9a65f486ed
updated exchangeError messages regarding fetch_funding_rate_history
2021-11-11 18:33:46 -06:00
Sam Germain
592b7e0ce3
All test_update_funding_fees tests pass
2021-11-11 17:49:32 -06:00
Matthias
76ced8acf6
Add some documentation to class
2021-11-11 20:34:52 +01:00
Matthias
e0fd880c11
Improve some more pct formattings
2021-11-11 16:12:23 +01:00
Matthias
4eb9038358
Some more fixes to % formatting
2021-11-11 15:06:16 +01:00
Matthias
1b271d0840
Improve % outputs to not use explicit "pct" entries
2021-11-11 12:58:38 +01:00
Matthias
ce2aa1dc69
Small formatting upgrades
2021-11-11 12:06:18 +01:00
Matthias
f8d30abd79
Handle order returns that contain trades directly
...
binance market orders - and potentially other exchanges
2021-11-10 19:43:36 +01:00
Sam Germain
b87f8e7034
Removed unnecessary todo comments
2021-11-10 00:59:53 -06:00
Matthias
d3d17f9f8b
Only allow min-stake adjustments of up to 30%
...
fix #5856
2021-11-10 06:57:22 +01:00
Matthias
23a566b478
validate_stake_amount should not be a private method
2021-11-10 06:38:24 +01:00
Sam Germain
e713f5188f
Merge branch 'funding-fee-dry-run' of https://github.com/samgermain/freqtrade into funding-fee-dry-run
2021-11-09 14:45:50 -06:00
Sam Germain
45e4354906
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-09 14:45:10 -06:00
Matthias
4a67b33cb3
Fix some formatting
2021-11-09 19:40:42 +01:00
Matthias
e69a100c64
Merge branch 'feat/short' into pr/samgermain/5779
2021-11-09 19:34:57 +01:00
Matthias
d5438ed0a8
Fix docstring indents
2021-11-09 19:22:29 +01:00
Matthias
6267678ca9
Use doublequotes for docstrings
2021-11-09 10:40:01 +00:00
Matthias
f9e5a25b36
Add docstring style to Contributing
2021-11-09 07:48:25 +00:00
Sam Germain
fbe9e73c5d
better param for funding_fee_cutoff
2021-11-09 01:17:29 -06:00
Sam Germain
6c8501dadc
Removed docstring indents
2021-11-09 01:00:57 -06:00
Matthias
ae0e72a945
Provide strategy with copied objects
...
avoids accidental modification of crucial elements in a trade object
part of #5828
2021-11-08 19:59:29 +01:00
Matthias
e4cca63163
Align sell_reason assignment location
...
trade mode sets it after "exit confirmation" - so should backtesting
detected in #5828
2021-11-08 19:32:13 +01:00
Matthias
f2be820f73
Merge pull request #5855 from freqtrade/multi_ohlcv_calls
...
Provide more historic data in trade mode
2021-11-08 19:30:40 +01:00
Sam Germain
d0b91b334e
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-08 04:44:57 -06:00
Sam Germain
090b3d29b7
Updated kraken._get_funding_fee docstring with notification that it won't work in the bot yet
2021-11-08 01:58:23 -06:00
Sam Germain
01229ad631
updated exchange.get_funding_fee_dates with better names
2021-11-08 01:58:23 -06:00
Sam Germain
bea37e5ea3
moved dry run check for funding fees to exchange
2021-11-08 01:58:09 -06:00
Matthias
c11e1a84e4
Fix wrong logging
...
detected in #5856
2021-11-07 15:41:04 +01:00
Matthias
de4bc7204d
Update documentation to clarify new behaviour
2021-11-07 15:36:43 +01:00
Matthias
a08dd17bc1
Use startup_candle-count to determine call count
2021-11-07 13:10:40 +01:00
Matthias
9fa64c2647
Allow multiple calls to get more candles in live-run
2021-11-07 11:31:59 +01:00
Matthias
fb6ba62158
Add default to "is_new_pair"
2021-11-07 11:08:30 +01:00
Matthias
1dd6872b80
Merge pull request #5843 from Theagainmen/patch-2
...
Update warning message open trades
2021-11-07 11:07:16 +01:00
Matthias
4595c1e73c
Slightly reformat to simplify new change
2021-11-07 10:55:11 +01:00
Matthias
6cc3f65a83
Add --trading-mode parameter
2021-11-07 10:52:20 +01:00
Matthias
11b77cf94c
Update test to new list-pairs format
2021-11-07 10:43:00 +01:00
Matthias
0dd9a277d3
improve market_is_tradable tests
2021-11-07 10:43:00 +01:00
Matthias
3fac5c5bcd
Update list-markets to work for futures/margin as well
2021-11-07 10:43:00 +01:00
Sam Germain
252e45ebf2
Merge branch 'feat/short' into funding-fee-dry-run
2021-11-06 22:46:00 -06:00
Sam Germain
04dc14a74c
Added okex exchange class futures properties
2021-11-06 22:43:02 -06:00
Sam Germain
0c2501e11b
Safer keys for funding_rate and mark_price dictionaries, based on rounding down the hour
2021-11-06 22:31:38 -06:00
Sam Germain
8bfcf4ee09
Fixed breaking exchange tests from _get_funding_fee_dates, and commented out kraken get_funding_fees tests
2021-11-06 22:05:38 -06:00
Sam Germain
b88482b2e9
Fixed millisecond timestamp issue errors with funding fees
2021-11-06 21:45:35 -06:00
Sam Germain
48b34c8fd0
Fixed issues with funding-fee being miscalculated on trade objects in freqtradebot
2021-11-06 21:03:18 -06:00
Sam Germain
f795288d90
Fixed timestamp/datetime issues for mark price, funding rate and _get_funding_fee_dates
2021-11-06 20:48:03 -06:00
Sam Germain
6e912c1053
Updated _get_funding_fee method names, added kraken._get_funding_fee
2021-11-06 17:39:21 -06:00
Matthias
25fcab0794
Enhance /show_config endpoint
2021-11-06 16:20:18 +01:00
Matthias
fef7da03b2
Merge pull request #5850 from freqtrade/timeout_forcesell
...
multiple exit-timeouts can trigger emergencysell
2021-11-06 16:20:06 +01:00
Matthias
ebc38159b8
Merge branch 'develop' into feat/short
2021-11-06 15:24:52 +01:00
Antoine Merino
d0e192e20f
Fix naive timezone for /daily command
2021-11-06 13:14:15 +01:00
Matthias
f7dc47b1c8
Add test for exit_timeout_count
2021-11-06 13:10:41 +01:00
Antoine Merino
3c33b48fd5
Fix naive timezones
2021-11-06 13:09:15 +01:00
Sam Germain
cb97c6f388
Updated time to utc in test_update_funding_fees, some funding rate key errors because a timestamp is likely not in utc
2021-11-06 05:56:58 -06:00
Matthias
7a907a7636
Add Emergencyselling after X timeouts have been reached
2021-11-06 11:48:49 +01:00
Antoine Merino
8eabdd659f
Fix missing CallbackQueryHandler
...
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 22:51:35 +01:00
Antoine Merino
70253258f0
Test /monthly & clean
...
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 22:33:06 +01:00
Antoine Merino
459ff9692d
Add /weekly and /monthly to Telegram RPC
...
/weekly now list weeks starting from monday instead of rolling weeks.
/monthly now list months starting from the 1st.
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:28 +01:00
Antoine Merino
5f40158c0b
WIP Add /weekly and /monthly to Telegram RPC
...
Related to "Show average profit in overview" (#5527 )
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:19 +01:00
Matthias
d99eaccb5a
Fix exception when using okex
...
closes #5842
2021-11-05 19:47:13 +01:00
Matthias
60a5ded532
Don't convert telegram chat_id
...
closes #5840
2021-11-05 19:27:54 +01:00
Theagainmen
2115a3ed12
Update warning message open trades
...
This shouldn't confuse user when just reloading their bot.
2021-11-05 18:49:10 +01:00
Matthias
781f8a059c
Merge pull request #5835 from freqtrade/okex_support
...
Add official Okex support
2021-11-04 20:03:19 +01:00
raphael
ae2343db93
Update optimize_reports
...
Update show_backtest_reults() to preserve backwards compatibility by fixing KeyError: 'results_per_buy_tag' for older hyperopt result files.
2021-11-04 10:25:13 -04:00
Sam Germain
8a4236198f
Added test_update_funding_fees in freqtradebot, test currently fails
2021-11-03 22:52:37 -06:00
Matthias
431b96de98
Merge branch 'develop' into pr/theluxaz/5710
2021-11-03 19:43:36 +01:00
Matthias
437e5f0645
Fix officially supported exchange list
2021-11-03 19:20:39 +01:00
Matthias
f60d101076
Some finetuning for OKEX
2021-11-03 07:12:42 +01:00
Matthias
e78df59e30
Configure candle length for OKEX
2021-11-02 19:49:53 +01:00
Sam Germain
3de42da29a
All funding fee test_exchange tests pass
2021-11-01 07:52:40 -06:00
Matthias
a16328f372
Don't force timeframe in config in config generator
2021-11-01 13:44:26 +01:00
Sam Germain
ba95172d07
Finished test_calculate_funding_fees
2021-11-01 06:28:03 -06:00
Matthias
4249fcefba
Merge pull request #5150 from cryptomeisternox/backtesting-filter
...
Adding command for Filtering and print trades
2021-11-01 09:43:49 +01:00
Sam Germain
33b0778c0a
updated exchange.calculate_funding_fees to have default close_date
2021-11-01 01:13:37 -06:00
Sam Germain
edfc3377c5
Updated exchange._get_funding_fee_dates to use new method funding_fee_cutoff
2021-11-01 01:09:11 -06:00
Sam Germain
5c52b21346
Added tests for funding_fee_dry_run
2021-10-31 22:24:27 -06:00
Matthias
6b90b4a144
Test "get-signal"
2021-10-31 10:53:30 +01:00
Matthias
dffe76f109
Don't double-loop to generate profits
2021-10-31 10:49:56 +01:00
Matthias
c15f73aa1f
Rename command to backtesting-show
2021-10-31 10:13:11 +01:00
Sam Germain
f6924aca40
removed get_funding_rate_history from gateio
2021-10-31 01:24:02 -06:00
Sam Germain
2bfc812618
moved mark_ohlcv_price in _ft_has
2021-10-31 00:53:36 -06:00
Matthias
c094ac5762
Merge branch 'develop' into feat/short
2021-10-30 19:45:19 +02:00
Matthias
20904f1ca4
Add tests for new command
2021-10-30 19:43:42 +02:00
Matthias
72ecb45d86
Add test for backtest_show logic
2021-10-30 16:53:48 +02:00
Matthias
650d6c276a
Add documentation
2021-10-30 16:40:03 +02:00
Matthias
d60001e886
Stoploss cannot be below candle low
...
fix #5816
2021-10-30 16:14:13 +02:00
Matthias
851062ca46
Rename backtest-filter to backtest_show
2021-10-30 10:53:18 +02:00
Matthias
f472709438
Add option to show sorted pairlist
...
Allows easy copy/pasting of the pairlist to a configuration
2021-10-30 10:50:40 +02:00
Matthias
0f3809345a
Remove backtest-path parameter
2021-10-30 10:28:12 +02:00
Matthias
6f1e719216
Merge branch 'develop' into pr/cryptomeisternox/5150
2021-10-30 10:26:05 +02:00
Matthias
c34b8a95d7
Merge pull request #5798 from incrementby1/personal-branch
...
Add function to unlock PairLocks by reason
2021-10-30 10:15:21 +02:00
Matthias
c579fcfc19
Add tests and documentation for unlock_reason
2021-10-30 09:51:09 +02:00
Sam Germain
0ea8957ccc
removed ftx get_mark_price_history, added variable mark_ohlcv_price, used fetch_ohlcv instead of fetch_mark_ohlcv inside get_mark_price_history
2021-10-29 20:07:24 -06:00
Sam Germain
a4892654da
Removed params from _get_mark_price_history
2021-10-29 19:37:02 -06:00
Matthias
201fe108bc
Merge pull request #5607 from TreborNamor/develop
...
a new hyperopt loss created that uses calmar ratio
2021-10-29 09:20:44 +02:00
Matthias
5cdae2ce3f
Remove CalmarDaily hyperopt loss
2021-10-29 06:53:40 +02:00
incrementby1
e9d71f26b3
small changes
2021-10-29 00:03:20 +02:00
incrementby1
658006e7ee
removed wrong use of map and filter function
2021-10-28 23:29:26 +02:00
theluxaz
560802c326
Added tests for the new rpc/telegram functions
2021-10-28 21:39:42 +03:00
Sam Germain
02ab3b1697
Switched mark_price endTime to until
2021-10-28 07:26:36 -06:00
Sam Germain
0b12107ef8
Updated error message in fetchFundingRateHistory
2021-10-28 07:22:47 -06:00
Sam Germain
44d9a07acd
Fixed _get_funding_fee_dates method
2021-10-28 07:20:45 -06:00
Sam Germain
956352f041
Removed name_for_futures_market
2021-10-28 07:19:46 -06:00
incrementby1
02e69e1667
Changes to unlock_reason:
...
- introducing filter
- replaced get_all_locks with a query for speed
. removed logging in backtesting mode for speed
. replaced for-loop with map-function for speed
Changes to models.py:
- changed string representation of Pairlock to also contain reason and active-state
2021-10-28 15:16:07 +02:00
incrementby1
dc605e29aa
removed empty lines for flake8
2021-10-27 21:04:08 +02:00
incrementby1
2eb33707c9
Undo changes
2021-10-27 15:58:41 +02:00
incrementby1
a50bde10de
Merge https://github.com/freqtrade/freqtrade into personal-branch
2021-10-27 15:52:10 +02:00
Matthias
f80d3d48e4
Add default to minimal_roi to avoid failures
...
closes #5796
2021-10-27 06:33:49 +02:00
Sam Germain
a2b1838c60
Merge branch 'feat/short' into funding-fee-dry-run
2021-10-25 22:00:09 -06:00
incrementby1
c3f3bdaa2a
Add "allow_position_stacking" value to config, which allows rebuys of a pair
...
Add function unlock_reason(str: pair) which removes all PairLocks with reason
Provide demo strategy that allows buying the same pair multiple times
2021-10-26 00:04:40 +02:00
theluxaz
b51f946ee0
Fixed models and rpc performance functions, added skeletons for tests.
2021-10-25 23:43:22 +03:00
Matthias
20a61e03da
Merge pull request #5786 from SimonEbner/clean_up_file_handles
...
Clean up file handles
2021-10-25 19:49:07 +02:00
Robert Roman
88b96d5d1b
Update hyperopt_loss_calmar.py
2021-10-25 00:45:10 -05:00
Matthias
262f186a37
.
2021-10-25 07:19:55 +02:00
Matthias
cea251c83c
Clarify documentation for /forcebuy
...
closes #5783
2021-10-25 06:46:02 +02:00
Simon Ebner
f7926083ca
Clean up unclosed file handles
...
Close all file handles that are left dangling to avoid warnings such as
```
ResourceWarning: unclosed file <_io.TextIOWrapper
name='...' mode='r' encoding='UTF-8'> params = json_load(filename.open('r'))
```
2021-10-24 23:15:05 +02:00
Matthias
4539170424
Merge pull request #5776 from SimonEbner/performance_decimalspace
...
Improve performance of decimalspace.py
2021-10-24 19:27:24 +02:00
Simon Ebner
df033d92ef
Improve performance of decimalspace.py
...
decimalspace.py is heavily used in the hyperoptimization. The following
benchmark code runs an optimization which is taken from optimizing a
real strategy (wtc).
The optimized version takes on my machine approx. 11/12s compared to the
original 32s. Results are equivalent in both cases.
```
import freqtrade.optimize.space
import numpy as np
import skopt
import timeit
def init():
Decimal = freqtrade.optimize.space.decimalspace.SKDecimal
Integer = skopt.space.space.Integer
dimensions = [Decimal(low=-1.0,
high=1.0,
decimals=4,
prior='uniform',
transform='identity')] * 20
return skopt.Optimizer(
dimensions,
base_estimator="ET",
acq_optimizer="auto",
n_initial_points=5,
acq_optimizer_kwargs={'n_jobs': 96},
random_state=0,
model_queue_size=10,
)
def test():
opt = init()
actual = opt.ask(n_points=2)
expected = [[
0.7515, -0.4723, -0.6941, -0.7988, 0.0448, 0.8605, -0.108, 0.5399,
0.763, -0.2948, 0.8345, -0.7683, 0.7077, -0.2478, -0.333, 0.8575,
0.6108, 0.4514, 0.5982, 0.3506
], [
0.5563, 0.7386, -0.6407, 0.9073, -0.5211, -0.8167, -0.3771,
-0.0318, 0.2861, 0.1176, 0.0943, -0.6077, -0.9317, -0.5372,
-0.4934, -0.3637, -0.8035, -0.8627, -0.5399, 0.6036
]]
absdiff = np.max(np.abs(np.asarray(expected) - np.asarray(actual)))
assert absdiff < 1e-5
def time():
opt = init()
print('dt', timeit.timeit("opt.ask(n_points=20)", globals=locals()))
if __name__ == "__main__":
test()
time()
```
2021-10-24 18:14:24 +02:00
Matthias
22dd2ca003
Fix mypy type errors
2021-10-24 15:18:29 +02:00
Matthias
17432b2823
Improve some stylings
2021-10-24 09:15:05 +02:00
Matthias
dffb4c5d53
Merge branch 'develop' into pr/TreborNamor/5607
2021-10-24 08:55:10 +02:00
Sam Germain
60478cb213
Add fill_leverage_brackets and get_max_leverage back in
2021-10-23 22:16:51 -06:00
Sam Germain
d99e0dac7b
Added name for futures market property
2021-10-23 21:59:47 -06:00
Sam Germain
3eda9455b9
Added dry run capability to funding-fee
2021-10-23 21:59:47 -06:00
Sam Germain
2533d3b420
Added get_funding_rate_history method to exchange
2021-10-23 21:59:41 -06:00
Sam Germain
ef8b617eb2
gateio, ftx and binance all use same funding fee formula
2021-10-23 21:59:03 -06:00
Sam Germain
badc0fa445
Adjusted _get_funding_fee_method
2021-10-23 21:58:57 -06:00
Sam Germain
cba0a8cee6
adjusted funding fee formula binance
2021-10-23 21:58:17 -06:00
Sam Germain
2a26c6fbed
Added backtesting methods back in
2021-10-23 21:33:37 -06:00
Sam Germain
ed91516f90
Changed future to swap
2021-10-23 14:10:09 -06:00
Simon Ebner
fde10f5395
Use pathlib.stem instead of str(x).ends_with
2021-10-23 12:26:07 +02:00
Sam Germain
167f9aa8d9
Added gateio futures support, and added gatio to test_exchange exchanges variable
2021-10-22 11:52:05 -06:00
Sam Germain
aed22f7dad
Merge branch 'develop' into feat/short
2021-10-22 11:45:27 -06:00
Sam Germain
f07555fc84
removed binance constructor, added fill_leverage_brackets call to exchange constructor
2021-10-22 06:37:56 -06:00
Matthias
78724e304e
Merge branch 'develop' into pr/theluxaz/5710
2021-10-21 17:46:39 +02:00
theluxaz
0e085298e9
Fixed test failures.
2021-10-21 17:25:38 +03:00
Matthias
96f99699e0
Merge pull request #4606 from rextea/add_days_breakdown_to_backtesting_summary
...
Add days breakdown table to backtesting
2021-10-21 13:56:30 +02:00
Matthias
e458c9867a
Styling fixes
2021-10-21 07:45:15 +02:00
Matthias
7b5346b984
Add test for breakdown-stats
2021-10-21 07:11:39 +02:00
Matthias
fa028c2134
Support day/week/month breakdowns
2021-10-21 06:58:40 +02:00
Matthias
7197f4ce77
Don't show daily % profit (it's wrong)
2021-10-20 20:01:31 +02:00
Matthias
de5497c766
backtest_days cannot be below 1
2021-10-20 19:39:37 +02:00
Matthias
1267374c8a
Small fixes to tests
2021-10-20 19:21:38 +02:00
theluxaz
905f3a1a50
Removed exit_tag from Trade objects.
2021-10-20 17:58:50 +03:00
Sam Germain
0329da1a57
updated get_max_leverage to use new ccxt unified property
2021-10-20 08:36:48 -06:00
Sam Germain
3fffc315ac
Merge branch 'develop' into feat/short
2021-10-20 08:11:53 -06:00
Matthias
5454460227
Revert initial_points to 30
...
closes #5760
2021-10-20 07:46:15 +02:00
theluxaz
1fdc4425dd
Changed exit_tag to be represented as sell_reason
2021-10-20 01:26:15 +03:00
Matthias
55b0216180
Allow StaticPairlist in non-first position
...
closes #5754
2021-10-19 19:48:56 +02:00
Matthias
42a4dfed28
Reallow bitstamp
...
revert #1984 , related to #1983
2021-10-19 19:12:35 +02:00
GluTbl
00406ea7d5
Update backtesting.py
...
Support for custom entry-prices and exit-prices during backtesting.
2021-10-19 17:15:45 +05:30
theluxaz
5ecdd1d112
Merge branch 'develop' into freqtrade-development
2021-10-19 00:00:15 +03:00
theluxaz
69a59cdf37
Fixed flake 8, changed sell_tag to exit_tag and fixed telegram functions
2021-10-18 23:56:41 +03:00
Sam Germain
57d7009fd9
Added trading mode and collateral to constants.py
2021-10-18 01:21:41 -06:00
Sam Germain
faaa3ae9b1
Removed exit_short rpcmessagetype
2021-10-18 01:08:12 -06:00
Sam Germain
053aecf111
reformatted check_handle_timedout
2021-10-18 01:01:29 -06:00
Sam Germain
e4682b78c5
updates suggested on github
2021-10-18 00:28:32 -06:00
Matthias
7d8cd736b8
Support days-breakdown also for hyperopt results
2021-10-17 16:49:39 +02:00
Matthias
47bba331c1
Merge branch 'develop' into pr/rextea/4606
2021-10-17 16:29:31 +02:00
Matthias
d4d57f0002
Document expansion of --pairs
, add download-inactive
2021-10-17 16:09:56 +02:00
Matthias
9bb2dd1851
Merge pull request #5694 from freqtrade/dependabot/pip/develop/fastapi-0.70.0
...
Bump fastapi from 0.68.1 to 0.70.0
2021-10-17 15:01:28 +02:00
Matthias
e23eb99abf
Disable ability to use lookahead-biased vwap
...
closes #5782
2021-10-17 11:23:58 +02:00
Matthias
198f3c5238
Merge branch 'feat/short' into pr/samgermain/5567
2021-10-17 10:41:03 +02:00
Matthias
69fdb8edfa
Merge branch 'develop' into feat/short
2021-10-17 10:40:08 +02:00
Matthias
fb2c8f7621
Rollback after each request
...
This closes the transaction and avoids "sticking" transactions.
2021-10-17 10:30:06 +02:00
Matthias
bc10b451fe
Revert wrong condition
2021-10-17 09:46:39 +02:00
Matthias
5ba1d66be7
Make sure transactions are reset
...
closes #5719
2021-10-16 17:57:51 +02:00
Matthias
794862a35a
Merge pull request #5670 from sergeykhliustin/develop
...
Added min_profit param to PerformanceFilter
2021-10-14 19:57:36 +02:00
Matthias
c02a538187
Add documentation and log to PerformanceFilter
2021-10-14 19:36:34 +02:00
Sam Germain
5fbe76cd7e
isolated conditionals in interface stoploss method
2021-10-14 05:10:28 -06:00
Matthias
0e7d903a6f
Merge pull request #5644 from slyons/develop
...
Add ability to ignore unparameterized spaces
2021-10-14 08:07:07 +02:00
Sam Germain
bcbe8f229c
Merge branch 'feat/short' into lev-freqtradebot
2021-10-13 19:02:57 -06:00
Sam Germain
bd488cc086
Merge branch 'develop' into feat/short
2021-10-13 17:56:40 -06:00
theluxaz
0bb7ea10ab
Fixed minor header for backtesting
2021-10-14 01:34:30 +03:00
theluxaz
ed39b8dab0
fixed profit total calculation
2021-10-14 01:18:16 +03:00
theluxaz
d341d85079
Refixed some files for the pull request
2021-10-14 01:13:28 +03:00
theluxaz
96cab22a8c
Fixed some bugs for live sell_tags.
2021-10-14 01:03:15 +03:00
Matthias
3279ea568c
Add new parameter to hyperopt docs
2021-10-13 19:57:42 +02:00
Matthias
aed919a05f
Simplify "no-space-configured" error handling by moving it to hyperopt_auto
2021-10-13 19:54:35 +02:00
Matthias
2c6290a100
Small updates to prevent random test failures
2021-10-13 07:04:21 +02:00
Sam Germain
0dbad19b40
trading_mode default null in models.Trade
2021-10-12 20:34:19 -06:00
theluxaz
0f670189eb
quick typo fix
2021-10-13 02:14:07 +03:00
theluxaz
b151cf032b
Merge branch 'develop' of https://github.com/theluxaz/freqtrade into main
...
# Conflicts:
# freqtrade/freqtradebot.py
# freqtrade/optimize/backtesting.py
2021-10-13 02:01:26 +03:00
theluxaz
02243b1a2b
minifix
2021-10-13 01:34:29 +03:00
theluxaz
80b71790bc
Added some bigfixes for sell_tag
2021-10-13 01:22:53 +03:00
theluxaz
b898f86364
Added sell_tag and buy/sell telegram performance functions
2021-10-13 00:02:28 +03:00
Matthias
532a9341d2
Fix migration issue
2021-10-12 20:41:48 +02:00
Matthias
f290ff5c9a
Re-add schedule.run_pending
2021-10-12 19:10:38 +02:00
Sam Germain
86cbd0039f
Fixed bugs
2021-10-12 02:24:35 -06:00
Matthias
ce9debe9fd
Add version argument to freqUI installer
2021-10-12 06:44:07 +02:00
Matthias
70000b5843
Use scheduler as Object, not the automatic Singleton
2021-10-11 20:28:23 +02:00
Sam Germain
bdad604fab
Added persistence futures tests
2021-10-11 07:48:31 -06:00
Sam Germain
ae3688a18a
Updated LocalTrade.calc_close_trade_value formula for shorting futures
2021-10-11 05:56:27 -06:00
Sam Germain
d5a1385fdc
Changes described on github
2021-10-11 04:14:59 -06:00
Sam Germain
855b26f846
Parametrized more time machine tests in test_update_funding_fees
2021-10-11 01:31:21 -06:00
Sam Germain
3b962433fb
Switched shcedule to perform every 15 minutes
2021-10-10 02:55:04 -06:00
Sam Germain
81cf4653a9
Fixed failing test_process_trade_creation, test_order_book_depth_of_market, test_handle_stoploss_on_exchange_trailing
2021-10-09 17:35:57 -06:00
Sam Germain
94f0be1fa9
Added is_short=(signal == SignalDirection.SHORT) inside freqtradebot.create_trade
2021-10-09 16:32:22 -06:00
Sam Germain
85e86ec09d
Fixed failing test_check_handle_timedout_buy_usercustom
2021-10-09 15:14:33 -06:00
Sam Germain
729957572b
updated strategy stop_loss_reached to work for shorts
2021-10-09 14:39:11 -06:00
Sam Germain
95be5121ec
Added bibox and hitbtc funding fee times
2021-10-09 13:14:41 -06:00
Sam Germain
b83933a10a
Added gateio and kucoin funding fee times
2021-10-09 13:09:11 -06:00
Sam Germain
057b048f31
Started added timezone offset stuff
2021-10-09 12:27:40 -06:00
Sam Germain
795d51b68c
Switched scheduler to get funding fees every hour for any exchange
2021-10-09 11:27:26 -06:00
Sam Germain
39be675f1f
Adjusted time to utc in schedule
2021-10-09 10:52:07 -06:00
Matthias
cae8ff5949
Merge pull request #5623 from froggleston/rest_sysinfo
...
Add CPU,RAM sysinfo support to the REST API to help with bot system m…
2021-10-09 15:17:21 +02:00
Matthias
91ceaef02f
Merge pull request #5678 from sidml/develop
...
Hyperopt loss function using max drawdown
2021-10-09 10:26:40 +02:00
sid
30bc96cf3f
simplify expression
2021-10-09 06:36:23 +05:30
Matthias
11ec1d9b06
Revert previous commit
2021-10-08 20:22:07 +02:00
Matthias
482f4418c6
Clarify "required candle" message
2021-10-08 14:36:52 +02:00
Robert Davey
f07eeddda0
Update api_schemas.py
...
Fix api schema for cpu_pct float List.
2021-10-07 12:04:42 +01:00
Sam Germain
7f7f377a90
updated a test, put in TODO-lev
2021-10-07 05:03:38 -06:00
Sam Germain
e367f84b06
Added more update_funding_fee tests, set exchange of default conf
2021-10-07 04:20:53 -06:00
Matthias
45b7a0c837
Add Test and docs for MaxDrawDownHyperOptLoss
2021-10-07 07:12:45 +02:00
Matthias
29863ad2bf
Fix error when ask_last_balance is not set
...
closes #5181
2021-10-07 06:51:29 +02:00
sid
46c320513a
use profit_abs
2021-10-07 08:07:07 +05:30
sid
93e4cf4006
Merge remote-tracking branch 'upstream/develop' into develop
2021-10-07 08:04:40 +05:30
Matthias
526bdaa2dc
Recommend using 0.0.0.0 as listen address for docker
2021-10-06 20:14:59 +02:00
Matthias
57ef25789e
Fix style errors
2021-10-06 19:36:41 +02:00
sid
6ba46b38bd
fix formatting
2021-10-06 13:46:05 +05:30
sid
c0d01dbc26
add max_drawdown loss
2021-10-06 13:24:27 +05:30
Sam Germain
29e582c6d9
Fixed time format for schedule and update_funding_fees conf is mocked better
2021-10-05 01:42:46 -06:00
froggleston
0db5c07314
Fix issues with sysinfo rpc/API code, add SysInfo api_schema
2021-10-05 00:10:39 +01:00
Matthias
92f8f231af
Remove ratelimit from kucoin template
2021-10-04 20:22:41 +02:00
Matthias
7f4baab420
Remove explicit rateLimits, improve docs
2021-10-04 20:14:22 +02:00
Matthias
f15922a168
Fix custom_stoploss in strategy template
...
closes #5658
2021-10-04 19:11:35 +02:00
Sergey Khliustin
07750518c3
Added min_profit param to PerformanceFilter
2021-10-04 18:49:57 +03:00
Sam Germain
928c4edace
removed side from execute_trade_exit
2021-10-03 23:22:51 -06:00
Sam Germain
9046caa27c
fixed test_update_trade_state_sell
2021-10-03 23:13:34 -06:00
Sam Germain
2a2b759419
patch_get_signal test updates
2021-10-03 17:41:01 -06:00
Matthias
1c63d01cec
Prevent using market-orders on gateio
...
GateIo does not support market orders on spot markets
2021-10-03 14:14:16 +02:00
Sam Germain
70db228f24
Merge branch 'feat/short' into funding-fee
2021-10-03 02:15:54 -06:00
Sam Germain
09ef0781a1
switching limit_buy_order_usdt and limit_sell_order_usdt to limit_order(enter_side[is_short]) and limit_order(exit_side[is_short])
2021-10-03 01:52:58 -06:00
Matthias
f5e5203388
Use "round" to 12 digits for TickSize mode
...
Avoids float rounding problems, fix #5652
2021-10-03 09:49:55 +02:00
Sam Germain
3823ca4162
Merge branch 'test-freqtradebot-usdt' into lev-freqtradebot
2021-10-02 20:26:52 -06:00
Sam Germain
87ff65d31e
Fixed failing test_handle_protections
2021-10-02 04:06:22 -06:00
Sam Germain
b3656ddfc9
Merge branch 'feat/short' into lev-freqtradebot
2021-10-02 03:36:32 -06:00
Sam Germain
e8b4cf6eaa
Merge branch 'develop' into feat/short
2021-10-02 03:15:12 -06:00
Sam Germain
9ea2dd05d8
Removed space in retrier
2021-10-01 21:21:59 -06:00
Matthias
f69cb39a17
Fix missing comma in kucoin template
...
closes #5646
2021-10-01 19:26:51 +02:00
Matthias
99e3450d30
Merge pull request #5642 from freqtrade/add_trade_conversion_command
...
Add trade conversion command
2021-10-01 06:38:42 +02:00
Sam Germain
77d3a8b457
Added bybit funding-fee times
2021-09-30 20:18:56 -06:00
Scott Lyons
df45f467c6
Adding ability to ignore unparameterized spaces
2021-09-30 01:11:02 -07:00
Scott Lyons
95227376b6
Adding IUS to optimize args
2021-09-30 00:53:46 -07:00
Scott Lyons
08fcd1a0d4
Adding ignore space errors to Hyperopt CLI
2021-09-30 00:46:56 -07:00
Scott Lyons
5dd1088d8d
Adding ignore unparameterized spaces flag
2021-09-30 00:44:26 -07:00
Matthias
5f23af5802
Rename update_open_trades to clarify it's only called at startup
2021-09-30 07:24:16 +02:00
Sam Germain
157223f6ab
datetime.utc -> datetime.now(timezone.utc)
2021-09-29 22:32:02 -06:00
Sam Germain
af6afd0ac2
Revert "Replace datetime.utcnow with datetime.now(timezone.utc)"
...
This reverts commit c4ac876183
.
2021-09-29 22:27:21 -06:00
Sam Germain
993dc672b4
timestamp * 1000 in get_funding_fees_from_exchange
2021-09-29 22:18:15 -06:00
Sam Germain
c4ac876183
Replace datetime.utcnow with datetime.now(timezone.utc)
2021-09-29 22:16:44 -06:00
Matthias
178db516bf
Add documentation for trade-to-ohlcv
2021-09-29 20:00:14 +02:00
Matthias
248c61bb26
Add test for trades-to-ohlcv
2021-09-29 19:39:29 +02:00
Matthias
fc511aac44
don't use %default when no default is defined
2021-09-29 19:21:54 +02:00
Matthias
656526c007
Add trades-to-ohlcv command to simplify adding new timeframes
2021-09-29 16:50:05 +02:00
Robert Roman
ca973c05d1
Merge branch 'freqtrade:develop' into develop
2021-09-28 10:16:36 -05:00
Sam Germain
545b62d746
Merge branch 'feat/short' into funding-fee
2021-09-27 23:34:09 -06:00
Sam Germain
1a132758d0
merged with feat/short
2021-09-27 23:26:20 -06:00
Robert Roman
626a40252d
resolved mypy error
...
error: Signature of "hyperopt_loss_function" incompatible with supertype "IHyperOptLoss"
2021-09-27 17:33:29 -05:00
Robert Roman
c3414c3b78
resolved mypy error
...
error: Signature of "hyperopt_loss_function" incompatible with supertype "IHyperOptLoss"
2021-09-27 17:32:49 -05:00
Matthias
5726886b06
Reduce backtest-noise from "pandas slice" warning
2021-09-27 20:52:19 +02:00
Matthias
d7ce9b9f6d
Rename sample short strategy
2021-09-27 19:17:19 +02:00
Robert Roman
67e9626da1
fixed isort issue
2021-09-27 12:16:57 -05:00
Robert Roman
a1566fe5d7
updated to latest constant.py file
2021-09-27 11:47:03 -05:00
Robert Roman
193b22475d
Merge branch 'freqtrade:develop' into develop
2021-09-27 11:35:34 -05:00
Matthias
3fbf716f85
Fix "sticking" timerange in webserver mode
2021-09-27 17:52:00 +02:00
Matthias
5b7a1f8642
Validate config also in webserver mode
2021-09-27 07:12:40 +02:00
Matthias
6fb0d14f80
changed naming for signal variable
2021-09-27 07:07:49 +02:00
Robert Roman
bdca3e2343
Merge branch 'freqtrade:develop' into develop
2021-09-26 15:37:09 -05:00
Matthias
a926f54a25
Add "side" parameter to custom_stake_amount
2021-09-26 19:35:54 +02:00
Matthias
84e013de2d
Update confirm_trade_entry to support "side" parameter
2021-09-26 19:33:22 +02:00
Matthias
4d49f1a0c7
Reset columns by dropping instead of resetting
2021-09-26 15:39:34 +02:00
Matthias
4fd00db630
Use "combined" enter_tag column
2021-09-26 15:22:37 +02:00
Matthias
6319c104fe
Fix unreliable backtest-result when using webserver mode
2021-09-26 15:07:48 +02:00
Robert Roman
a77ca22026
Merge branch 'freqtrade:develop' into develop
2021-09-26 02:57:02 -05:00
Matthias
2a678bdbb4
Update buy_tag column to long_tag
2021-09-26 08:37:44 +02:00
Robert Roman
89b7dfda0e
Added Calmar Ratio Daily
2021-09-25 16:34:41 -05:00
Robert Roman
24baad7884
Add Calmar Ratio Daily
...
This hyper opt loss calculates the daily Calmar ratio.
2021-09-25 16:28:36 -05:00
froggleston
097da448e2
Add CPU,RAM sysinfo support to the REST API to help with bot system monitoring
2021-09-25 15:48:42 +01:00
Matthias
b59906b117
Update minimum for tradable_balance_ratio to 0.0
2021-09-24 19:24:33 +02:00
Robert Roman
0f29cbc882
added CalmarHyperOptLoss
...
I added CalmarHyperOptLoss to HYPEROPT_LOSS_BUILTIN variable inside constants.py file
2021-09-23 21:37:28 -05:00
Robert Roman
3b99c84b0a
resolved the total profit issue
...
I resolved the total profit issue and locally ran flak8 and isort
2021-09-23 21:31:33 -05:00
Matthias
9a6d8977de
Merge pull request #5605 from peterwilli/fix-sell-cancel-webhook-error
...
fixed webhook "unsupported format string passed to NoneType." error
2021-09-23 20:17:35 +02:00
Peter Willemsen
692e91a26d
changed close date from datetime.utcnow() to datetime.now(timezone.utc)
2021-09-23 10:28:15 +02:00
Matthias
a0ef89d910
Also support column-transition for V1 strategies
2021-09-22 20:52:55 +02:00
Matthias
0e13d57e57
Update advise_* methods to entry/exit
2021-09-22 20:42:31 +02:00
Matthias
4c6b1cd55b
Add very simple short logic to test-strategy
2021-09-22 20:36:03 +02:00
Matthias
5928ba9c88
Test and document leverage strategy callback
2021-09-22 20:14:52 +02:00
Robert Roman
c6b684603c
removed trade_count inside if statement
...
i removed trade_count inside if statement. Even though it helps overfitting, It is not useful when running hyperopt on small datasets.
2021-09-22 09:21:43 -05:00
Robert Roman
b946f8e7f1
I sorted imports with isort
2021-09-22 09:18:17 -05:00
Robert Roman
3834bb86ff
updated line 42
...
I removed the minus sign on max drawdown.
2021-09-21 20:25:17 -05:00
Robert Roman
3845d55186
a new hyperopt loss created that uses calmar ratio
...
This is a new hyperopt loss file that uses the Calmar Ratio.
Calmar Ratio = average annual rate of return / maximum drawdown
2021-09-21 20:04:23 -05:00
Peter Willemsen
b0de4d333e
fixed webhook error
2021-09-21 23:20:40 +02:00
Matthias
7a5c7e7020
Update some tests to use StrategyV3
2021-09-21 19:33:33 +02:00
Matthias
3ce05c0d54
Add "sane" defaults to protection triggers
2021-09-20 20:16:58 +02:00
Matthias
fd23ab3d64
improve formatting, add tests
2021-09-20 19:50:56 +02:00
Matthias
dd0db7ee5d
Split protection-notification into global and per-pair
2021-09-20 19:23:40 +02:00
Matthias
a0fb43c6ca
Add pairlock-notification
2021-09-20 19:12:59 +02:00
Sam Germain
d7c7448632
merged lev-freqtradebot with lev-strat
2021-09-19 19:06:43 -06:00
Sam Germain
778f0d9d0a
Merged feat/short into lev-strat
2021-09-19 17:44:12 -06:00
Sam Germain
60a678fea7
merged with feat/short
2021-09-19 17:02:09 -06:00
Matthias
1da091dea3
ProtectionManager should return the lock just created
2021-09-19 19:41:19 +02:00
Matthias
879bf47b32
Refactor telegram.py to simplify send_msg
2021-09-19 19:25:36 +02:00
Matthias
ec03531771
Improve naming of variables
2021-09-19 13:29:09 +02:00
Matthias
ab88217186
Improve /balance output to include starting balance and percentual change
...
closes #5503
2021-09-19 13:17:34 +02:00
Sam Germain
ac4f5adfe2
switched since = int(since.timestamp()) from %s
2021-09-19 01:16:22 -06:00
Rokas Kupstys
713e7819f7
[SQUASH] Remove mypy import.
2021-09-18 15:27:58 +03:00
Rokas Kupstys
e4ca42faec
[SQUASH] Update stoploss_from_absolute to behave more like stoploss_from_open and add a test for it.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
7e6aa9390a
[SQUASH] Unconditionally include quote currency when asset is explicitly specified. Added docs suggesting to use string formatting to make strategy independent of configured stake currency.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
e88c4701bb
[SQUASH] Address PR comments.
2021-09-18 10:48:53 +03:00
Matthias
bb6ae682fc
Small simplifications
2021-09-18 10:48:53 +03:00
Rokas Kupstys
5dc78a0c66
[SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
f81df19b93
[TMP] Make tests not fail for now.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
dfa61b7ad2
[SQUASH] Fix informatives for each pair not being created because dataprovider was not available.
...
Fix not being able to have informative dataframe of a pair in whitelist.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
f2a1d9d2fc
[SQUASH] Address PR comments.
2021-09-18 10:48:18 +03:00
Rokas Kupstys
1fdb656334
Add a decorator which can be used to declare populate_indicators() functions for informative pairs.
2021-09-18 10:48:18 +03:00
Rokas Kupstys
d84ef34740
A helper to calculate stoploss value from absolute price.
2021-09-18 10:48:18 +03:00
Matthias
11f08b0053
Merge pull request #5582 from sergeykhliustin/develop
...
Added days parameter to PerformanceFilter
2021-09-18 09:24:14 +02:00
Matthias
a89c67787b
Replace some more occurances of 'buy'
2021-09-18 09:23:53 +02:00
Matthias
564e0b9a1a
Switch performanceFilter to use Minutes lookback resolution
...
closes #5060
2021-09-18 09:10:25 +02:00
Matthias
12c12d42df
Add documentation for days parameter in PerformanceFilter
2021-09-18 08:30:44 +02:00
Matthias
853c3a4433
Merge pull request #5587 from raph92/patch-3
...
Update prepare_trials_columns() return type
2021-09-18 08:08:18 +02:00
Sergey Khliustin
d7395e873b
Removed unused OperationalException
2021-09-17 22:05:57 +03:00
raphael
4b2c1a9b8e
Remove trailing whitespace
2021-09-17 14:39:15 -04:00
raphael
e715f2a253
Update formatting
...
Line 302 was too long
2021-09-17 14:23:26 -04:00
raphael
9525a5b96c
Add type to "trials" parameter
2021-09-17 14:10:37 -04:00
Matthias
4d558879e9
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-17 19:33:35 +02:00
raphael
124e97f3b9
Remove ununsed variables from export_csv_file
2021-09-17 11:57:36 -04:00
raphael
5fc993231a
Update HyperoptTools.export_csv_file usage
2021-09-17 11:51:55 -04:00
raphael
3a98fb72a4
Update prepare_trials_columns() return type
...
Was returning str, updated to pd.DataFrame
2021-09-17 11:42:33 -04:00
sergeykhliustin
982deeedf0
Update freqtrade/persistence/models.py
...
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-09-17 18:23:13 +03:00
Sergey Khliustin
54ef36a497
Updates after review to PerformanceFilter days param
2021-09-17 13:45:44 +03:00
Matthias
d680fdf33a
Merge branch 'develop' into feat/short
2021-09-17 11:16:37 +02:00
Sam Germain
0628790da9
merged lev-freqtradebot with feat/short
2021-09-16 23:49:43 -06:00
Sam Germain
e78f38c7b6
Merge branch 'feat/short' into funding-fee
2021-09-16 23:32:44 -06:00
Sam Germain
dec2f377ff
Removed utils, moved get_sides to conftest
2021-09-16 16:25:02 -06:00
Sergey Khliustin
457e738b4a
Added days parameter to PerformanceFilter
2021-09-16 14:48:02 +03:00
Sam Germain
a8657bb1ce
Removed backtesting funding-fee code
2021-09-16 03:50:01 -06:00
Sam Germain
4c91126c49
some short freqtradebot parametrized tests
2021-09-16 03:23:45 -06:00
Sam Germain
e827ba1388
finished up funding fee formulas
2021-09-15 23:51:21 -06:00
Matthias
994c3c3a4c
Add some errorhandling for custom estimator
2021-09-16 07:13:25 +02:00
Sam Germain
98b00e8daf
merged with feat/short
2021-09-15 22:28:10 -06:00
Sam Germain
5fcb69a0b5
Parametrized test_persistence
2021-09-15 18:29:17 -06:00
Matthias
c0811ae896
Add possibility to override estimator from within hyperopt
2021-09-15 21:36:53 +02:00
Matthias
90ad178932
Remove verbosity of edge
2021-09-15 21:04:25 +02:00
Matthias
57ea0c322f
Rename indicator_space to buy_indicator_space
2021-09-15 20:20:31 +02:00
Matthias
f7bae81d96
Dataframe should be copied after populate_indicator
...
Without that, PerformanceWarnings can appear throughout hyperopt which
are unnecessary and missleading for users
closes #5408
2021-09-15 19:56:12 +02:00
Matthias
e4ec5679a1
Merge pull request #5574 from freqtrade/agefilter_cache
...
Agefilter cache
2021-09-15 06:33:36 +02:00
Sam Germain
d604757056
Added is_short to conf tests
2021-09-14 21:10:38 -06:00
Sam Germain
d3ab2f887f
merged with feat/short
2021-09-14 18:32:08 -06:00
Sam Germain
d77ab337bf
merged with develop
2021-09-14 18:26:46 -06:00
Sam Germain
5f6384a961
Added tests to freqtradebot
2021-09-14 17:18:57 -06:00
Matthias
315ea1e116
Merge pull request #5566 from freqtrade/remove_hyperopt
...
Remove legacy hyperopt
2021-09-14 19:20:58 +02:00
Matthias
3ce5197e8d
Add Tests for AgeFilter caching
...
closes #5552
2021-09-14 06:45:26 +02:00
Matthias
c9ba52d732
Expire cached pairs in age-filter once per day
2021-09-14 06:30:18 +02:00
Sam Germain
5225bd4a5b
Merge branch 'develop' into feat/short
2021-09-13 14:02:23 -06:00
Matthias
a12c3ecc9b
Remove credentials whenever dry-run is set from within the exchange
2021-09-13 20:27:32 +02:00
Matthias
8afb3c4b70
Move AgeFilter cache to instance level
2021-09-13 19:33:28 +02:00
Matthias
3cdd06f562
Add PeriodicCache
2021-09-13 19:32:51 +02:00
Sam Germain
49acfc887f
merged with lev-exchange
2021-09-13 00:00:22 -06:00
Sam Germain
2aaf60205e
Merge branch 'feat/short' into lev-exchange
2021-09-12 23:41:34 -06:00
Sam Germain
83e1067af7
leverage to exchange.create_order
2021-09-12 23:39:08 -06:00
Sam Germain
1d7a8f667a
Merge branch 'lev-exchange' into lev-freqtradebot
2021-09-12 03:15:32 -06:00
Sam Germain
e070bdd161
set leverage more thorough tests
2021-09-12 03:09:51 -06:00
Sam Germain
ad44048e29
customized set_leverage for different exchanges
2021-09-12 02:42:13 -06:00
Sam Germain
bc102d57c9
Updated set leverage to check trading mode
2021-09-12 02:09:31 -06:00
Sam Germain
0c1e5afc91
Added set leverage to create_order
2021-09-12 02:02:10 -06:00
Sam Germain
09418938fe
Updated kraken fill leverage brackets and set_leverage
2021-09-12 01:51:09 -06:00
Sam Germain
1344c9f7fc
_apply_leverage_to_min_stake_amount
2021-09-12 01:31:15 -06:00
Matthias
0017b3438e
Remove list-hyperopts
2021-09-12 08:18:17 +02:00
Matthias
3675df8344
Update documentation regarding Legacy Hyperopt
2021-09-12 08:18:17 +02:00
Matthias
fd6bf591f8
Update some tests to remove explicit hyperopt interface
2021-09-12 08:18:13 +02:00
Matthias
dad4a49e81
Remove legacy hyperopt interface from hyperopt.py
2021-09-12 08:18:13 +02:00
Matthias
ebb0b8aa3f
Remove new-hyperopt command
2021-09-12 08:18:13 +02:00
Matthias
432c3df17e
Add documentation for Bittex/Gemini with VolumePairlist
...
closes #5565
2021-09-12 08:04:22 +02:00
Sam Germain
5b84298e03
kraken._apply_leverage_to_stake_amount
2021-09-12 00:03:02 -06:00
Matthias
a5f90a409c
Small updates to async_history_fetch
2021-09-11 08:18:32 +02:00
Sam Germain
b1067cee6c
minor changes
2021-09-11 00:03:01 -06:00
Sam Germain
02521b4010
Merge branch 'lev-exchange' into lev-freqtradebot
2021-09-10 23:59:45 -06:00
Sam Germain
84c121652a
Added more todos
2021-09-10 23:42:16 -06:00
Sam Germain
9de946fdac
added collateral and trading mode to freqtradebot and leverage prep
2021-09-10 23:39:31 -06:00
Sam Germain
694460c8e0
merged with feat/short
2021-09-10 23:16:12 -06:00
Sam Germain
8e83cb4d64
temp commit message
2021-09-10 16:28:34 -06:00
Sam Germain
b0e05b92d3
Added minor changes from lev-exchange review
2021-09-10 13:39:42 -06:00
Sam Germain
cb155764eb
Short side options in freqtradebot
2021-09-10 11:47:27 -06:00
Matthias
8c9159f596
Improve comments
2021-09-10 19:46:38 +02:00
Matthias
a19c33ba54
Don't blindly create coroutines, but fire them off in batches
2021-09-10 19:37:07 +02:00
Matthias
7251a3ab19
Merge pull request #5544 from freqtrade/new_pair_download
...
New pair download improvement
2021-09-10 19:36:45 +02:00
Matthias
982534ddc7
Add gate.io to list of supported exchanges
2021-09-10 19:32:20 +02:00
Sam Germain
9f16464b12
Removed unnecessary TODOs
2021-09-10 10:32:46 -06:00
Sam Germain
83bd674ba7
Added side to execute_trade_exit
2021-09-10 03:25:54 -06:00
Sam Germain
d582ccd2e6
merged with lev-exchange
2021-09-10 03:05:13 -06:00
Sam Germain
6486b904b5
merged with feat/short
2021-09-10 02:57:17 -06:00
Sam Germain
77aa372909
Fixed test_ftx patch
2021-09-10 02:09:27 -06:00
Sam Germain
2c7cf794f5
Test for short exchange.stoploss exchange.stoploss_adjust
2021-09-09 15:47:49 -06:00
Sam Germain
785b71aec1
formatting
2021-09-09 15:47:49 -06:00
Sam Germain
9f96b977f6
removed interest method from exchange, will create a separate interest PR
2021-09-09 15:47:49 -06:00
Sam Germain
93da13212c
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
2021-09-09 15:47:49 -06:00
Sam Germain
9e73d02663
Added validating checks for trading_mode and collateral on each exchange
2021-09-09 15:47:49 -06:00
Sam Germain
d1c4030b88
fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items
2021-09-09 15:47:49 -06:00
Sam Germain
619ecc9728
Added exceptions to exchange.interest_rate
2021-09-09 15:47:49 -06:00
Sam Germain
97d1306e34
Added retrier to exchange functions and reduced failing tests down to 2
2021-09-09 15:47:49 -06:00
Sam Germain
0232f0fa18
Added failing fill_leverage_brackets test to test_kraken
2021-09-09 15:47:49 -06:00
Sam Germain
8d74233aa5
ftx.fill_leverage_brackets test
2021-09-09 15:47:49 -06:00
Sam Germain
8264cc546d
Wrote dummy tests for exchange.get_interest_rate
2021-09-09 15:47:49 -06:00
Sam Germain
5708fee0e6
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
2021-09-09 15:47:49 -06:00
Sam Germain
e6c9b8ffe5
completed set_margin_mode
2021-09-09 15:47:49 -06:00
Sam Germain
39fe381473
set margin mode exchange function
2021-09-09 15:47:49 -06:00
Sam Germain
3a4d247b64
Changed stoploss side on some tests
2021-09-09 15:47:49 -06:00
Sam Germain
8a5bad7c3e
exchange - kraken - minor changes
2021-09-09 15:47:49 -06:00
Sam Germain
5748c9bc13
Added short functionality to exchange stoplss methods
2021-09-09 15:47:49 -06:00
Sam Germain
4ef1f0a977
Changed ftx set_leverage implementation
2021-09-09 15:47:49 -06:00
Sam Germain
16db8d70a5
Added error handlers to api functions and made a logger warning in fill_leverage_brackets
2021-09-09 15:47:49 -06:00
Sam Germain
c256dc3745
Removed some outdated TODOs and whitespace
2021-09-09 15:47:49 -06:00
Sam Germain
134a7ec59b
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
2021-09-09 15:47:49 -06:00
Sam Germain
455bcf5389
Added TODOs to test files
2021-09-09 15:47:49 -06:00
Sam Germain
add7e74632
Added set_leverage function to exchange
2021-09-09 15:47:49 -06:00
Sam Germain
d262af35ca
Removed setup leverage and transfer functions from exchange
2021-09-09 15:47:49 -06:00
Sam Germain
f4e26a616f
Exchange stoploss function takes side
2021-09-09 15:47:49 -06:00
Sam Germain
ebf5310817
Added get_interest template method in exchange
2021-09-09 15:47:48 -06:00
Sam Germain
54dd9ce7ad
Add prep functions to exchange
2021-09-09 15:47:48 -06:00
Sam Germain
1f38088d7b
Merged with develop
2021-09-09 13:56:46 -06:00
Sam Germain
ee874f461c
Removed TODO: change to exit-reason, exit_order_status
2021-09-09 13:14:48 -06:00
Sam Germain
f5b01443ad
buy/short -> entry order, sell/exit_short -> exit order
2021-09-09 02:10:12 -06:00
Sam Germain
232d10f300
removed leverage/funding_fees
2021-09-09 01:45:57 -06:00
Sam Germain
dfb9937436
Added tests and docstring to exchange funding_fee methods, removed utils
2021-09-09 01:43:55 -06:00
Sam Germain
d54117990b
Added funding_fee method headers to exchange, and implemented some of the methods
2021-09-09 01:19:34 -06:00
Sam Germain
d559b6d6c6
changed add_funding_fees template
2021-09-08 19:34:54 -06:00
Sam Germain
3eb0e6ac09
removed leverage/funding_fees
2021-09-08 19:31:27 -06:00
Sam Germain
36b8c87fb6
Added funding fee calculation methods to exchange classes
2021-09-08 19:31:04 -06:00
Sam Germain
cdefd15b28
separated hours_to_time to utils folder
2021-09-08 14:54:48 -06:00
Sam Germain
8bcd444775
real-time updates to funding-fee in freqtradebot
2021-09-08 14:15:25 -06:00
Sam Germain
2f4b566d99
reverted back exchange.get_funding_fees method
2021-09-08 13:46:52 -06:00
Sam Germain
af4a6effb7
added pair to fetch_funding_rate
2021-09-08 13:44:59 -06:00
Sam Germain
baaf516aa6
Added funding_times property to exchange
2021-09-08 13:44:42 -06:00
Sam Germain
695a8fc73b
comment updates, formatting, TODOs
2021-09-08 03:09:39 -06:00
Sam Germain
1379ec7402
Updated log messages for freqtradebot
2021-09-08 03:04:01 -06:00
Sam Germain
b2f289e404
Fixed freqtradebot failing tests
2021-09-08 02:16:25 -06:00
Sam Germain
a1c9a4d619
freqtradebot local name changes
2021-09-08 02:09:36 -06:00
Sam Germain
362dc20406
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 02:06:01 -06:00
Sam Germain
e1f846f22f
sell_lock -> exit_lock
2021-09-08 02:04:31 -06:00
Sam Germain
e0092a85e9
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 02:04:20 -06:00
Sam Germain
be93c75e44
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 02:03:40 -06:00
Sam Germain
aac05029e1
safe_sell_amount -> safe_exit_amount
2021-09-08 02:03:24 -06:00
Sam Germain
5dda227342
comment change
2021-09-08 01:53:42 -06:00
Sam Germain
53006db2b7
Updated log messages for freqtradebot
2021-09-08 01:48:22 -06:00
Sam Germain
3057a5b9b8
freqtradebot local name changes
2021-09-08 01:40:22 -06:00
Sam Germain
786dcb50eb
safe_sell_amount -> safe_exit_amount
2021-09-08 01:20:52 -06:00
Sam Germain
323683d44f
some more TODOs
2021-09-08 01:18:53 -06:00
Sam Germain
8ad53e99ce
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 01:14:16 -06:00
Sam Germain
3656625747
comment updates, formatting, TODOs
2021-09-08 01:12:08 -06:00
Sam Germain
88a5a30a50
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 00:53:09 -06:00
Sam Germain
528d1438c9
sell_lock -> exit_lock
2021-09-08 00:49:04 -06:00
Sam Germain
8f38d6276f
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 00:45:55 -06:00
Sam Germain
763a6af224
sample strategy has short
2021-09-08 00:24:32 -06:00
Sam Germain
d811a73ec0
new rpc message types
2021-09-08 00:20:40 -06:00
Sam Germain
f8248f3771
comments, formatting
2021-09-08 00:19:21 -06:00
Sam Germain
e13b0414d8
Merge branch 'lev-strat' into lev-freqtradebot
2021-09-08 00:00:53 -06:00
Sam Germain
dc83e04f9b
Merge branch 'feat/short' into lev-exchange
2021-09-07 22:13:20 -06:00
Sam Germain
ff790e8fd3
merged with caplog-clear-freqtradebot
2021-09-07 22:12:49 -06:00
Matthias
2d66987ac7
Add test for "pair-startdate" detection
2021-09-07 20:27:49 +02:00
Matthias
8c83c258a5
Move "first-pair_getting" to binance subclass
2021-09-07 19:32:32 +02:00
Matthias
71ff214adf
Support "initial_call" for download-data of new pairs
2021-09-07 07:14:40 +02:00
Sam Germain
f5248be043
Changed funding fee tracking method, need to get funding_rate and open prices at multiple candles
2021-09-06 15:47:24 -06:00
Matthias
6bd495a32a
Fix 0Exception error
...
happens when wrong stake-currency is selected and /profit
is called
2021-09-06 19:55:04 +02:00
Sam Germain
8822b73f9c
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
2021-09-05 22:27:14 -06:00
lenik terenin
1d24d3d5ee
case insensitive blacklist
...
Allow "btc/usdt" pairs in blacklist to match to "BTC/USDT" pairs that come from the exchange.
2021-09-05 22:41:58 +09:00
Matthias
c519ecf8df
Exclude more untestable sections from coverage
2021-09-05 15:40:21 +02:00
Matthias
b752516f65
Edge should use new columns, too
2021-09-05 15:23:27 +02:00
Matthias
4e049f65f2
Exclude some parts from coverage that can't really be tested
2021-09-05 09:14:44 +02:00
Matthias
68b75af08e
Fix bug with inversed sell signals in backtesting
2021-09-05 08:59:18 +02:00
Sam Germain
23ba49fec2
Added validating checks for trading_mode and collateral on each exchange
2021-09-04 22:02:08 -06:00
Sam Germain
7eab855476
Merge branch 'feat/short' into lev-exchange
2021-09-04 20:15:36 -06:00
Sam Germain
d4389eb07d
fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items
2021-09-04 19:58:42 -06:00
Sam Germain
6ec2e40736
Added exceptions to exchange.interest_rate
2021-09-04 19:47:04 -06:00
Sam Germain
61fdf74ad9
Added retrier to exchange functions and reduced failing tests down to 2
2021-09-04 19:16:17 -06:00
Sam Germain
92e630eb69
Added get_funding_fees method to exchange
2021-09-04 16:40:53 -06:00
Sam Germain
d6d5bae2a1
New funding fee methods
2021-09-04 16:33:06 -06:00
Sam Germain
b854350e8d
Changed funding fee implementation
2021-09-04 16:31:09 -06:00
Sam Germain
194bb24a55
Miscellaneous funding fee changes. Abandoning for a new method of tracking funding fee
2021-09-04 16:20:25 -06:00
Sam Germain
b7891485b3
Created FundingFee class and added funding_fee to LocalTrade and freqtradebot
2021-09-04 16:20:07 -06:00
Matthias
2e50948699
Fix some tests
2021-09-04 20:23:51 +02:00
Matthias
ca44d2e092
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-04 19:54:34 +02:00
Sam Germain
c5d97d07a8
Added failing fill_leverage_brackets test to test_kraken
2021-09-03 20:29:46 -06:00
Sam Germain
01263663be
ftx.fill_leverage_brackets test
2021-09-03 19:56:53 -06:00
Sam Germain
9d398924c6
Wrote dummy tests for exchange.get_interest_rate
2021-09-03 19:56:13 -06:00
Sam Germain
1b20b4f3c7
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
2021-09-03 19:00:04 -06:00
Sam Germain
c7a2e6c2c6
completed set_margin_mode
2021-09-03 18:11:39 -06:00
Matthias
493fb35073
Fix uvicorn not working properly on windows
2021-09-03 22:05:40 +02:00
Matthias
b4130dfabb
Use volumePairlist instead of staticPairlist in generated config
2021-09-03 09:23:26 +02:00
Matthias
c489e6825c
Simplify binance blacklist
2021-09-03 09:18:15 +02:00
Matthias
68f13173bc
Update new-config templates to use USDT by default
2021-09-03 08:59:43 +02:00
Matthias
e64ccd8fc1
Add new_config section for kucoin
2021-09-03 08:57:53 +02:00
Matthias
19ad165483
Add time_in_force for kucoin
2021-09-03 08:48:53 +02:00
Matthias
93c1dff71b
Allow adding new additional headers
2021-09-02 21:02:45 +02:00
Sam Germain
073426f25c
set margin mode exchange function
2021-09-01 23:40:32 -06:00
Matthias
5184cc7749
Merge branch 'develop' into feat/short
2021-09-02 07:03:14 +02:00
Matthias
b0c4f079c2
Merge branch 'develop' into feat/backtest_detail
2021-08-31 20:16:42 +02:00
Matthias
da5f8c87ae
Add stake_currency to strategy interface
...
allows type-completion in editors
2021-08-31 07:18:57 +02:00
Matthias
ab9a4375cc
Merge pull request #5504 from pan-long/unlimited-quote
...
Surround "unlimited" by double quotes in build config.
2021-08-30 20:33:21 +02:00
Matthias
2a0c95a2e7
Update freqtrade/commands/build_config_commands.py
2021-08-30 20:00:52 +02:00
Pan Long
20878290a0
Surround "unlimited" by double quotes in build config.
2021-08-30 01:02:48 +08:00
Matthias
1895230afe
Clarify exception on load when markets could not be loaded
...
closes #5498
2021-08-29 09:18:46 +02:00
Pan Long
482e65453f
Remove extra comma after the last element in binance pair_blacklist.
2021-08-28 21:57:54 +08:00
Matthias
ac0dada962
Update Version to develop again
2021-08-28 10:43:49 +02:00
Matthias
a38b72af91
Merge branch 'develop' into new_release
2021-08-27 20:18:37 +02:00
Matthias
ef9c1addcf
Add expired to list of canceled statuses
2021-08-27 19:54:53 +02:00
Matthias
b3a4b0fbde
Version bump to 2021.8
2021-08-27 07:10:13 +02:00
Matthias
3e10f7e2d8
Merge branch 'stable' into new_release
2021-08-27 07:09:59 +02:00
Matthias
2ce458810b
rename default_hyperopt_loss file
2021-08-26 19:39:57 +02:00
Matthias
58ecb34a66
Allow DefaultHyperopts as hyperopt name
2021-08-26 07:13:18 +02:00
Matthias
1f3ccc2587
DefaultStrategy does not need to be limited
2021-08-26 07:00:15 +02:00
Matthias
c4be52d1c3
rename execute_sell to execute_trade_exit
2021-08-26 06:53:42 +02:00
Matthias
63844d39f6
Rename execute_buy to execute_entry
2021-08-26 06:48:26 +02:00
Matthias
053d6d8ee1
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-25 20:34:52 +02:00
Matthias
e1c3b7fd8c
Merge branch 'develop' into feat/short
2021-08-25 20:31:40 +02:00
Matthias
7fb570cc58
hyperopt Fallback methods should not be used.
2021-08-25 20:28:55 +02:00
Matthias
23d21d8ace
Fix wrong message if protection-space is missing
...
closes #5480
2021-08-25 19:57:10 +02:00
Matthias
8a9407bac9
Don't hard-fail when fetch_ticker doesn't return a value
...
closes #5477
2021-08-25 07:13:59 +02:00
Matthias
cb4889398b
Fix backtesting bug
2021-08-25 07:03:48 +02:00
Matthias
6b93c71d15
Small refactorings, use only enter_long columns
2021-08-25 06:49:06 +02:00
Matthias
b951f59f89
Fix patch_get_signal
2021-08-24 21:03:13 +02:00
Matthias
6524edbb4e
Simplify should_exit interface
2021-08-24 20:47:54 +02:00
Matthias
f3b6a0a797
Fix some type errors
2021-08-24 20:40:35 +02:00
Matthias
f9f32a15bb
Update plotting tests for new strategy interface
2021-08-24 20:30:42 +02:00
Matthias
9a03cb96f5
Update get_signal
2021-08-24 20:24:51 +02:00
Matthias
46285cd77e
Fix some namings in freqtradebot
2021-08-24 20:07:39 +02:00
Matthias
b40f985b13
Add short-exit logic to backtesting
2021-08-24 20:02:40 +02:00
Matthias
eb71ee847c
Rename backtest index constants
2021-08-24 06:56:06 +02:00
Matthias
11bd8e912e
Fix some tests
2021-08-24 06:52:28 +02:00
Matthias
7a977a8eaf
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-24 06:28:16 +02:00
Matthias
957551ea97
Merge branch 'develop' into feat/short
2021-08-24 06:25:06 +02:00
Matthias
faf5cfa66d
Update some tests for updated backtest interface
2021-08-23 21:35:28 +02:00
Matthias
7373b39015
Initial support for backtesting with short
2021-08-23 21:16:26 +02:00
Matthias
3e8164bfca
Use proper exchange name in backtesting
2021-08-23 21:13:47 +02:00
Matthias
9add3bf808
Add enter_long compatibility layer
2021-08-23 21:12:46 +02:00
Sam Germain
07de5d11ca
Removed a bug causing errors from freqtradebot
2021-08-23 00:25:08 -06:00
Sam Germain
61ad38500a
Reverted freqtrade/templates/*hyperopt* files back to no shorting
2021-08-23 00:18:15 -06:00
Sam Germain
53b51ce8cf
Reverted freqtrade/templates/sample_strategy back to no shorting, and created a separate sample short strategy
2021-08-23 00:17:20 -06:00
Sam Germain
0afeb269ad
Removed unnecessary TODOs
2021-08-23 00:15:35 -06:00
Sam Germain
9f6b6f04b4
Added False to self.strategy.get_signal
2021-08-22 23:55:34 -06:00
Sam Germain
e5b2b64a3f
Changed stoploss side on some tests
2021-08-22 23:36:36 -06:00
Sam Germain
5ca3f49cb5
merged with feat/short after feat/short added styling and comment changes PR
2021-08-22 21:37:20 -06:00
Sam Germain
488d729574
Merge branch 'feat/short' into lev-exchange
2021-08-22 20:59:33 -06:00
Sam Germain
70ebf09871
exchange - kraken - minor changes
2021-08-22 20:58:22 -06:00
Matthias
3026583ed4
Reduce verbosity of "is in blacklist" logging
2021-08-22 19:40:43 +02:00
Matthias
56759cea7b
Add "high fee rate" blocker to fees from trades
...
part of #5415 (potentially fixing this)
2021-08-22 14:37:45 +02:00
Sam Germain
6ac0ab0233
Added short functionality to exchange stoplss methods
2021-08-21 21:10:03 -06:00
Sam Germain
a5be535cc9
strategy interface: removed some changes
2021-08-21 17:06:04 -06:00
Sam Germain
4ac2237937
Changed ftx set_leverage implementation
2021-08-21 16:26:04 -06:00
Sam Germain
f5fd8dcc05
Added error handlers to api functions and made a logger warning in fill_leverage_brackets
2021-08-21 01:13:51 -06:00
Sam Germain
84bc4dd740
Removed some outdated TODOs and whitespace
2021-08-20 18:50:02 -06:00
Sam Germain
97bb555d41
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
2021-08-20 18:23:21 -06:00
Masoud Azizi
40ad451019
Download-data log process added
...
Download-data log process added
pytest assert solved
2021-08-20 14:52:56 +00:00
Matthias
695a1e21bf
Set gate.io download limit to 1000 candles
2021-08-20 06:51:04 +02:00
Sam Germain
55c070f1bb
Added interface leverage method
2021-08-18 16:52:34 -06:00
Sam Germain
dc4090234d
Added interface leverage method
2021-08-18 16:52:34 -06:00
Sam Germain
092780df9d
condensed strategy methods down to 2
2021-08-18 16:52:34 -06:00
Sam Germain
d4a7d2d444
Added short and exit_short to strategy
2021-08-18 16:52:20 -06:00
Sam Germain
314359dd6e
strategy interface changes to comments to mention shorting
2021-08-18 13:23:04 -06:00
Sam Germain
e2d5299116
Name changes for strategy
2021-08-18 13:22:54 -06:00
Matthias
f7087feeb1
Merge pull request #5347 from Axel-CH/custom_order_price
...
Custom order price
2021-08-18 20:59:40 +02:00
Matthias
9951f51079
Update test to ensure direction of movement is correct
2021-08-18 20:24:19 +02:00
axel
2fb9f6e2f4
rename custom price max distance option in config, update formula and test associated
2021-08-18 05:07:37 -04:00
Matthias
4164f93853
Simplify fiat_convert and handle multi-mappings
2021-08-17 20:50:52 +02:00
Matthias
37e3d20357
Fix no-event-loop available
...
closes #5433
2021-08-17 06:54:10 +02:00
Matthias
9758bed250
Fix refresh_latest_ohlcv bug
2021-08-17 06:44:36 +02:00
axel
6ab99369f2
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into custom_order_price
2021-08-16 23:26:29 -04:00
axel
17daba321b
add custom_price_max_distance_percent config option in constants
2021-08-16 23:09:30 -04:00
axel
3ea4b2ba00
add custom_price_max_distance_percent security to get_valid_price, update tests
2021-08-16 15:18:57 -04:00
slowy07
f24a951ec5
fix: typo spelling grammar
2021-08-16 19:16:24 +07:00
Matthias
4115121c24
Fix missing return statement in is_Relative_to
2021-08-16 07:26:58 +02:00
Matthias
4b65206e6b
Add compat code for is_relative_to
2021-08-16 07:09:05 +02:00
Matthias
6b2ef36a56
Prevent directory traversal in UI Serving
...
Checking for directory base
closes #5427
2021-08-16 06:47:53 +02:00
Matthias
322ea2481e
Add log-message for edge-case
2021-08-15 19:28:36 +02:00
Matthias
ed6776c5cd
Fix disappearing pairlist bug
2021-08-15 17:06:16 +02:00
Matthias
4f10a88529
Reduce verbosity when incompatible pairs are detected
2021-08-15 15:14:57 +02:00
Matthias
fa4ec9f83e
Add explicit test for get_sell_trade_entry
2021-08-15 14:52:24 +02:00
Matthias
3406b889b6
First test
2021-08-14 17:06:28 +02:00
Matthias
8405ccc15e
Seperate detail data loading from regular backest-data loading
2021-08-14 16:33:01 +02:00
Matthias
88172fab82
Allow "detailed" backtesting timeframe to look into the candle
2021-08-14 16:04:23 +02:00
Matthias
123971d271
Don't change passed in parameter variable
2021-08-14 16:02:31 +02:00
Matthias
c456cfc312
Merge branch 'develop' into pr/Axel-CH/5347
2021-08-14 09:13:30 +02:00
Matthias
c7147311f8
Fix json syntax error in config template
2021-08-13 17:14:38 +02:00
axel
20cc60bfde
update get_valid_price function and test cases to handle inputs with try catch
2021-08-13 11:06:15 -04:00
axel
dbf7f34ecb
add unit test to function get_valid_price
2021-08-12 15:30:49 -04:00
axel
b098ce4e76
add function get_valid_price to validate type of custom entry or exit price and use default proposed price if invalid
2021-08-12 15:13:14 -04:00
axel
ae11be3970
manage None or string value returned by custom_entry_price and add unit test for those cases
2021-08-12 14:47:01 -04:00
Matthias
e03784d98d
Fix filled exception
...
closes #5404
2021-08-12 05:02:56 +00:00
Matthias
bfc3968ab3
Merge pull request #5400 from freqtrade/limit_dry_market_slippage
...
Add max-slippage limiting for dry-run orders to avoid insane market o…
2021-08-12 06:54:55 +02:00
Matthias
bdbac37be7
Merge pull request #5399 from rokups/rk/fix-buy-tag-backtest
...
Fix buy_tag not being saved to trade object.
2021-08-12 06:36:33 +02:00
Rokas Kupstys
f6267c7514
Fix buy_tag not being saved to trade object.
...
Column is mistakenly excluded because advise_buy() creating this column runs after code detecting presence of buy_tag column.
2021-08-11 15:21:23 +03:00
Matthias
61c076563f
Add max-slippage limiting for dry-run orders to avoid insane market order fills
2021-08-11 12:11:29 +02:00
Sam Germain
180d92f879
Merge branch 'feat/short' into lev-exchange
2021-08-11 01:46:41 -06:00
ipqhjjybj
65d025923d
add code
2021-08-11 14:35:16 +08:00
Matthias
0b6aedbc4c
Merge pull request #5395 from freqtrade/fix/hyperopt-show
...
Stream hyperopt-result in small batches
2021-08-10 19:54:02 +02:00
Matthias
039d6384ed
Stream hyperopt-result in small batches
...
Avoiding memory-exhaustion on huge hyperopt results
closes #5305
closes #5149
2021-08-10 10:12:57 +02:00
Matthias
3f160c7144
Cache dataframe before cutting the first candle
...
This allows providing the "current closed" candle in all cases.
2021-08-10 09:14:29 +02:00
Matthias
cf27968b97
Properly preserve trade's low during backtesting
2021-08-09 19:38:56 +02:00
Matthias
5bfb9edf02
Only query date once from list
2021-08-09 15:42:17 +02:00
Matthias
895b912c71
Fix recently introduced lookahead bias in backtesting
...
closes #5388
2021-08-09 14:54:47 +02:00
Matthias
a5f796bc97
refactor ohlcvdata_to_dataframe to advise_all_indicators
2021-08-09 14:53:18 +02:00
Matthias
f17942b68f
Fix random test failure
2021-08-09 11:18:18 +02:00
Sam Germain
de4b0d1f7c
Merged with feat/short
2021-08-09 00:24:25 -06:00
Sam Germain
06206335d9
Added tests for interest_function
2021-08-09 00:00:50 -06:00
Sam Germain
0733d69cda
Added TODOs to test files
2021-08-08 23:24:38 -06:00
Sam Germain
53a6ce881c
Added set_leverage function to exchange
2021-08-08 23:24:03 -06:00
Sam Germain
4ca1d25db1
Removed setup leverage and transfer functions from exchange
2021-08-08 23:24:03 -06:00
Sam Germain
2c0077abc7
Exchange stoploss function takes side
2021-08-08 23:24:03 -06:00
Sam Germain
b48b768757
Added get_interest template method in exchange
2021-08-08 23:24:03 -06:00
Sam Germain
120cad88af
Add prep functions to exchange
2021-08-08 23:24:03 -06:00
Matthias
47f641d12f
Remove hyperopt-pickle result support
2021-08-09 07:04:18 +02:00
Sam Germain
8e941e6836
Changed interest implementation
2021-08-08 17:09:17 -06:00
Sam Germain
0545a0ed3c
Replaced the term margin with leverage when it should say leverage
2021-08-08 17:04:24 -06:00
Matthias
3bd0c3d009
Remove legacy code from export to csv
2021-08-08 11:02:54 +02:00
Matthias
faf16a64e5
Remove legacy hyperopt file support
2021-08-08 10:22:45 +02:00
Matthias
0ae4eccea5
Refactor Hyperopt-list and hyperopt-show to reduce some duplicate code
2021-08-08 10:06:35 +02:00
Sam Germain
4630f69830
Removed short, exit_short from enums
2021-08-08 01:36:59 -06:00
Sam Germain
658f138e30
Added short_tag to SignalTagType
2021-08-07 20:08:52 -06:00
Sam Germain
71963e65f1
Removed ExchangeName Enum
2021-08-07 18:47:03 -06:00
Sam Germain
7e6b281b75
Merge branch 'feat/short' of https://github.com/freqtrade/freqtrade into feat/short
2021-08-07 01:43:56 -06:00
Matthias
92ed7c0bf8
Merge branch 'develop' into feat/short
2021-08-07 09:42:25 +02:00
Matthias
6532aba765
Merge pull request #5360 from freqtrade/hyperopt_protections
...
Hyperopt protections and Boolean parameter
2021-08-07 09:42:05 +02:00
Sam Germain
9988c293b5
Merge branch 'enums' into feat/short
2021-08-06 19:30:31 -06:00
Sam Germain
9b58c58609
Merge branch 'develop' into feat/short
2021-08-06 18:12:53 -06:00
Sam Germain
b9356a5564
Autopep8 formatting
2021-08-06 16:35:39 -06:00
Sam Germain
aec82b4647
Added empty everage/__init__.py
2021-08-06 01:37:34 -06:00
Sam Germain
50d185ccd8
Added exchange_name variables to exchange classes
2021-08-06 01:23:55 -06:00
Sam Germain
241bfc409f
Added leverage enums
2021-08-05 23:29:26 -06:00
axel
612b88e993
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into custom_order_price
2021-08-05 18:21:31 -04:00
axel
84d082033b
fix default retval for strategy custom_entry_price
2021-08-05 18:00:31 -04:00
axel
cb3b0cf311
add custom_exit_price in interface and freqtradebot
2021-08-04 23:09:40 -04:00
axel
f243ad4af0
add custom_exit_price in strategy interface
2021-08-04 19:09:55 -04:00
axel
f9f519fd3c
add custom_exit_price function to interface
2021-08-04 18:54:17 -04:00
axel
d9b9eecd4d
remove entry price reached method
2021-08-04 18:47:14 -04:00
Matthias
ad0e4a8567
Add BooleanParameter
2021-08-04 20:52:56 +02:00
Matthias
b73768acd1
Fix bug in property overwriting prevention
2021-08-04 20:21:56 +02:00
Matthias
3c41223333
Add test for protections-hyperopt
2021-08-04 20:01:28 +02:00
Matthias
a661e0db6e
Deprecate protections from config
2021-08-04 19:43:16 +02:00
Matthias
a6454cfc39
Autoenable protections when protection-space is selected
2021-08-04 07:17:29 +02:00
Matthias
797d7e5ce6
Merge pull request #5157 from samgermain/margin-db
...
Margin db
2021-08-04 06:57:36 +02:00
Matthias
091bf7c4d2
Output protection space
2021-08-04 06:50:14 +02:00
Matthias
544e0da6c2
Add protection parameter space
2021-08-04 06:50:14 +02:00
Matthias
800b2eeaf0
Load protections as part of backtest()
...
this enables different values in hyperopt per epoch
2021-08-04 06:50:14 +02:00
Matthias
6410a6528b
Add missing methods to advanced strategy template
2021-08-04 06:46:21 +02:00
axel
b644233ead
rename custom_entry_price kwarg to align it to the interface
2021-08-03 17:03:27 -04:00
axel
b3dafb378e
remove use_custom_entry_price as a config option
2021-08-03 16:54:28 -04:00
axel
16146357b3
reuse buy_limit_requested as rate input for custom entry price
2021-08-03 16:39:35 -04:00
axel
42e24d8b4b
remove price change cancel reason in contants, will be added in another PR
2021-08-03 16:35:16 -04:00
axel
00939b63f2
flake 8 fixes
2021-08-03 16:25:18 -04:00
axel
53fb8b05e7
remove short logic in entry_price_reached function
2021-08-03 16:19:29 -04:00
axel
5284112b69
fix in custom entry function output,remove changes related to outdated prices, doc exemple minor changes
2021-08-03 15:57:23 -04:00
axel
f11f5d17e9
add feature custom entry price for live
2021-08-03 15:57:23 -04:00
Matthias
07673ef47f
Update Migrations to use the latest added columns
2021-08-03 10:25:59 +02:00
Sam Germain
5b6dbbd750
Changed order of buy_tag in migrations
2021-08-03 00:23:21 -06:00
Sam Germain
d88e2ae603
Merge branch 'develop' into margin-db
2021-08-02 23:58:44 -06:00
Matthias
dfc17f2bd1
Fix ci failure
2021-08-03 07:21:11 +02:00
Matthias
4ab03f7e37
Don't load fallback methods for autohyperopt
2021-08-02 21:17:56 +02:00
Matthias
e70a742005
Reorder space methods in hyperopt
2021-08-02 21:12:10 +02:00
Matthias
adb33e763b
Merge pull request #5350 from freqtrade/environment_vars
...
Add environment variable support
2021-08-02 20:48:23 +02:00
Matthias
c981641441
Don't fail if strategy doesn't contain sell signal
2021-08-02 20:30:46 +02:00
Matthias
d8d8261f1b
Merge pull request #5318 from samgermain/combined_exchange_buy_sell
...
combined exchange.buy and exchange.sell
2021-08-02 20:11:09 +02:00
Matthias
5ead95b06b
Merge pull request #5245 from sauces1313/RangeStabilityFilterMax
...
Range stability filter max
2021-08-02 08:06:36 +02:00
Matthias
b63eda3a2b
Some minor cleanup and improved test coverage
2021-08-02 07:15:09 +02:00
sauces1313
059c32b067
Check for and default to 'None'
2021-08-02 02:49:49 +00:00
Matthias
056bc93bc6
backtesting needs startup_candle_count
...
fixes informative-pair loading being different between --strategy-list and
--strategy.
2021-08-01 19:17:52 +02:00
Matthias
e9ef9a6d28
Use .view() to convert dates to enums
...
part of #5314 - fixing deprecation warning.
2021-08-01 10:31:35 +02:00
Matthias
6f8519d0a3
Add environment variable support
2021-07-31 19:26:56 +02:00
Matthias
c5e3348b89
Migrations for indexes should run in a seperate session
...
closes #5349
2021-07-31 16:36:28 +02:00
Matthias
1ccc89d1e9
Store fully analyzed dataframe
2021-07-31 10:00:24 +02:00
Sam Germain
ef429afb6f
Removed is_oeing_trade is_closing_trade
2021-07-31 01:22:48 -06:00
Sam Germain
d6ffd23865
Merged with remote
2021-07-31 01:19:11 -06:00
Matthias
b1cbc75e93
Properly cache pair dataframe in backtesting (without startup-range).
2021-07-31 08:45:04 +02:00
Sam Germain
26be620f71
Removed LocalTrade.set_is_short
2021-07-31 00:20:25 -06:00
Sam Germain
fadb0de7c7
Removed excess modes stop_loss method, removed models.is_opening_side models.is_closing_side
2021-07-31 00:12:53 -06:00
Matthias
138b126d03
Merge pull request #5299 from kevinjulian/feat/kevinjulian/add-buy-signal-name
...
Add buy signal name
2021-07-30 08:23:11 +02:00
Matthias
aa34889c04
Don't run migrations twice
2021-07-30 07:14:35 +02:00
Matthias
71838dc51a
Merge pull request #5285 from freqtrade/backtest_startup_afte_populates
...
Remove startup-candles after populating buy/sell signals
2021-07-30 07:01:26 +02:00
Matthias
dad98d43be
Merge pull request #5287 from GeorgeMurAlkh/develop
...
Dataprovider caching and trimming of historical informative.
2021-07-29 20:43:40 +02:00
Matthias
03064731ac
Version bump 2021.7
2021-07-29 19:49:19 +02:00
Matthias
d0528a6213
Merge branch 'stable' into new_release
2021-07-29 19:49:04 +02:00
Matthias
8768df647a
Merge pull request #5312 from raph92/patch-3
...
Fix code to get Bittrex US-restricted markets
2021-07-29 07:13:42 +02:00
Matthias
cf4d1875dd
Use prohibitedIn instead of isRestricted
2021-07-29 06:56:37 +02:00
Sam Germain
25c527ee67
combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot
2021-07-28 14:55:06 -06:00
Sam Germain
3fb7f983f8
Added is_short and leverage to __repr__
2021-07-28 12:25:56 -06:00
Sam Germain
195badeb80
Changed liquidation_price to isolated_liq
2021-07-28 12:25:56 -06:00
Sam Germain
6ad9b535a9
persistence all to one test file, use more regular values like 2.0 for persistence tests
2021-07-28 12:25:56 -06:00
Sam Germain
a900570f1a
Added enter_side and exit_side computed variables to persistence
2021-07-28 12:25:56 -06:00
Matthias
317f4ebce0
Boolean sqlite fix for orders table
2021-07-28 12:25:56 -06:00
Matthias
071f6309cc
Try fix migration tests
2021-07-28 12:25:56 -06:00
Sam Germain
af8875574c
updated mkdocs and leverage docs
...
Added tests for set_liquidation_price and set_stop_loss
updated params in interestmode enum
2021-07-28 12:25:56 -06:00
Sam Germain
256160740e
Updated interest and ratio calculations to correct functions
2021-07-28 12:25:56 -06:00
Sam Germain
8e52a3a29c
updated ratio_calc_profit function
2021-07-28 12:25:55 -06:00
Sam Germain
006a60e5a4
Added docstrings to methods
2021-07-28 12:25:55 -06:00
Sam Germain
b0476ebd3e
All persistence margin tests pass
...
Flake8 compliant, passed mypy, ran isort .
2021-07-28 12:25:55 -06:00
Sam Germain
52def4e826
Changed InterestMode enum implementation
2021-07-28 12:25:55 -06:00
Sam Germain
60572c9e0d
Took liquidation price out of order completely
2021-07-28 12:25:55 -06:00
Sam Germain
737a62be52
set initial_stop_loss in stoploss helper
2021-07-28 12:25:55 -06:00
Sam Germain
f566d83839
Tried to add liquidation price to order object, caused a test to fail
2021-07-28 12:25:55 -06:00
Sam Germain
31fa6f9c25
updated timezone.utc time
2021-07-28 12:25:55 -06:00
Sam Germain
811cea288d
Added checks for making sure stop_loss doesn't go below liquidation_price
2021-07-28 12:25:55 -06:00
Sam Germain
286427c04a
Moved interest calculation to an enum
2021-07-28 12:25:55 -06:00
Sam Germain
be3a9390fe
Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable
2021-07-28 12:25:55 -06:00
Sam Germain
5fc587c225
Removed exchange file modifications
2021-07-28 12:25:55 -06:00
Sam Germain
0ffc85fed9
Set default leverage to 1.0
2021-07-28 12:25:55 -06:00
Sam Germain
78708b27f2
Updated tests to new persistence
2021-07-28 12:25:55 -06:00
Matthias
e0d42d2eb7
Fix migrations, revert some parts related to amount properties
2021-07-28 12:25:55 -06:00
Sam Germain
e4d4d1d1f1
Wrote all tests for shorting
2021-07-28 12:25:55 -06:00
Sam Germain
f194673001
Updated ratio calculation, updated short tests
2021-07-28 12:25:55 -06:00
Sam Germain
5ac03762f0
Kraken interest test comes really close to passing
...
Added more trades to conftest_trades
2021-07-28 12:25:55 -06:00
Sam Germain
df360fb281
Made borrowed a computed property
2021-07-28 12:25:55 -06:00
Sam Germain
68d3699c19
Turned amount into a computed property
2021-07-28 12:25:55 -06:00
Sam Germain
efcc2adacf
About 15 margin tests pass
2021-07-28 12:25:55 -06:00
Sam Germain
f5d7deedf4
added exception checks to LocalTrade.leverage and LocalTrade.borrowed
2021-07-28 12:25:55 -06:00
Sam Germain
34073135b7
Added types to setters
2021-07-28 12:25:55 -06:00
Sam Germain
d07fe1586c
Set leverage and borowed to computed properties
2021-07-28 12:25:55 -06:00
Sam Germain
c24ec89dc4
Started some pytests for short and leverage
...
1 short test passes
2021-07-28 12:25:55 -06:00
Sam Germain
b80f8ca0af
Created interest function
2021-07-28 12:25:55 -06:00
Sam Germain
000932eed0
Adding templates for leverage/short tests
...
All previous pytests pass
2021-07-28 12:25:55 -06:00
Sam Germain
10979361c1
Added changes suggested in pull request, fixed breaking changes,
...
can run the bot again
2021-07-28 12:25:55 -06:00
Sam Germain
741ca0e58c
Added changed to persistance/migrations
2021-07-28 12:25:55 -06:00
Sam Germain
7823a33cbb
Updated Trade class
2021-07-28 12:25:55 -06:00
Sam Germain
c7e8439c76
Updated LocalTrade and Order classes
2021-07-28 12:25:55 -06:00
Sam Germain
10d214ccad
Added is_short and leverage to __repr__
2021-07-26 23:09:47 -06:00
Sam Germain
4fcae0d927
Changed liquidation_price to isolated_liq
2021-07-26 23:09:47 -06:00
Sam Germain
1918304c5b
persistence all to one test file, use more regular values like 2.0 for persistence tests
2021-07-26 23:09:47 -06:00
Sam Germain
35fd8d6a02
Added enter_side and exit_side computed variables to persistence
2021-07-26 23:09:47 -06:00
Matthias
3d7a74551f
Boolean sqlite fix for orders table
2021-07-26 23:09:47 -06:00
Matthias
9a03cae920
Try fix migration tests
2021-07-26 23:09:47 -06:00
Sam Germain
0d06d7e108
updated mkdocs and leverage docs
...
Added tests for set_liquidation_price and set_stop_loss
updated params in interestmode enum
2021-07-26 23:09:47 -06:00
Sam Germain
f1dc6b54ad
Updated interest and ratio calculations to correct functions
2021-07-26 23:09:47 -06:00
Sam Germain
358f0303b9
updated ratio_calc_profit function
2021-07-26 23:09:47 -06:00
Sam Germain
546a7353df
Added docstrings to methods
2021-07-26 23:09:47 -06:00
Sam Germain
7f75c978a0
All persistence margin tests pass
...
Flake8 compliant, passed mypy, ran isort .
2021-07-26 23:09:47 -06:00
Sam Germain
a368dfa7b5
Changed InterestMode enum implementation
2021-07-26 23:09:47 -06:00
Sam Germain
86888dbbf0
Took liquidation price out of order completely
2021-07-26 23:09:47 -06:00
Sam Germain
98acb0f4ff
set initial_stop_loss in stoploss helper
2021-07-26 23:09:46 -06:00
Sam Germain
dd6cc1153b
Tried to add liquidation price to order object, caused a test to fail
2021-07-26 23:09:46 -06:00
Sam Germain
1414df5e27
updated timezone.utc time
2021-07-26 23:09:46 -06:00
Sam Germain
2aa2b5bcff
Added checks for making sure stop_loss doesn't go below liquidation_price
2021-07-26 23:09:46 -06:00
Sam Germain
1b202ca22e
Moved interest calculation to an enum
2021-07-26 23:09:46 -06:00
Sam Germain
b6c8b60e65
Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable
2021-07-26 23:09:46 -06:00
Sam Germain
ffadc7426c
Removed exchange file modifications
2021-07-26 23:09:46 -06:00
Sam Germain
0d5749c508
Set default leverage to 1.0
2021-07-26 23:09:46 -06:00
Sam Germain
9ddb6981dd
Updated tests to new persistence
2021-07-26 23:09:46 -06:00
Matthias
75b2c9ca1b
Fix migrations, revert some parts related to amount properties
2021-07-26 23:09:46 -06:00
Sam Germain
25ff726921
Wrote all tests for shorting
2021-07-26 23:09:46 -06:00
Sam Germain
4d057b8047
Updated ratio calculation, updated short tests
2021-07-26 23:09:46 -06:00
Sam Germain
3a8a9eb255
Kraken interest test comes really close to passing
...
Added more trades to conftest_trades
2021-07-26 23:09:46 -06:00
Sam Germain
876386d2db
Made borrowed a computed property
2021-07-26 23:09:46 -06:00
Sam Germain
2a50f4ff7b
Turned amount into a computed property
2021-07-26 23:09:46 -06:00
Sam Germain
da81be9050
About 15 margin tests pass
2021-07-26 23:09:46 -06:00
Sam Germain
6f6deae376
added exception checks to LocalTrade.leverage and LocalTrade.borrowed
2021-07-26 23:09:46 -06:00
Sam Germain
c68a0f05d8
Added types to setters
2021-07-26 23:09:46 -06:00
Sam Germain
691a042e29
Set leverage and borowed to computed properties
2021-07-26 23:09:46 -06:00
Sam Germain
692c55088a
Started some pytests for short and leverage
...
1 short test passes
2021-07-26 23:09:46 -06:00
Sam Germain
b6cc3f02bf
Created interest function
2021-07-26 23:09:46 -06:00
Sam Germain
613eecf16a
Adding templates for leverage/short tests
...
All previous pytests pass
2021-07-26 23:09:46 -06:00
Sam Germain
67341aa4f2
Added changes suggested in pull request, fixed breaking changes,
...
can run the bot again
2021-07-26 23:09:46 -06:00
Sam Germain
20dcd9a1a2
Added changed to persistance/migrations
2021-07-26 23:09:46 -06:00
Sam Germain
69e81100e4
Updated Trade class
2021-07-26 23:09:46 -06:00
Sam Germain
a27171b371
Updated LocalTrade and Order classes
2021-07-26 23:09:46 -06:00
Sam Germain
05f74bdf53
Changed log ouput to debug in exchange.get_rate
2021-07-25 16:13:04 -06:00
sauces1313
4675d85b90
Merge branch 'freqtrade:develop' into RangeStabilityFilterMax
2021-07-25 02:37:56 -05:00
sauces1313
34c8a5afaf
remove second filter, add max option
2021-07-25 07:24:55 +00:00
Sam Germain
b42afb9dae
get_rate checks if side is buy for some console output
2021-07-24 17:14:54 -06:00
kevinjulian
aea5da0c73
changes testcase
2021-07-23 11:42:43 +07:00
kevinjulian
5fe18be4b5
add note buy_tag and split 3 assignment for get_signal
2021-07-23 01:25:15 +07:00
Matthias
b84a1d0c92
Don't crash when *_params is not defined in strategy
...
closes #5407
2021-07-22 20:21:04 +02:00
kevinjulian
b01daa8bbc
expose buy_tag to api
2021-07-22 13:09:05 +07:00
kevinjulian
dd809f756b
run mypy
2021-07-22 02:34:20 +07:00
kevinjulian
643b6b950e
run flake8
2021-07-22 02:23:34 +07:00
kevinjulian
25e329623f
change signature
2021-07-22 02:11:54 +07:00
kevinjulian
235c1afd09
add buy_tag on telegram
2021-07-22 01:53:15 +07:00
kevinjulian
f5a660f845
caps BUY_TAG_IDX
2021-07-21 20:19:56 +07:00
kevinjulian
49886874aa
rename to buy_tag
2021-07-21 20:05:35 +07:00
GeorgeMurAlkh
759a350d73
Merge branch 'freqtrade:develop' into develop
2021-07-21 00:09:35 +03:00
George Muravei-Alkhavoi
1ea29a918a
Fix webserver timerange problem.
2021-07-21 00:09:09 +03:00
kevinjulian
66a7070170
run linter
2021-07-20 23:56:03 +07:00
kevinjulian
5d04d6ffa7
fix edge testcase
2021-07-20 23:40:32 +07:00
kevinjulian
cbfedf8b29
fix backtest testcase
2021-07-20 23:25:00 +07:00
kevinjulian
c558fc0b17
fix feedback
2021-07-20 20:40:32 +07:00
Kevin Julian
edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name
2021-07-20 19:19:46 +07:00
kevinjulian
ed30c023cd
fix some testcase
2021-07-20 19:08:14 +07:00
kevinjulian
7d04005218
add test and migration
2021-07-20 16:14:48 +07:00
Matthias
e4b42b2b5b
Merge pull request #5284 from samgermain/merge_get_buy_sell_rate
...
Merge get_buy_rate and get_sell_rate
2021-07-20 06:54:47 +02:00
kevinjulian
104711a9bf
get_signal signature
2021-07-20 05:04:25 +07:00
kevinjulian
9e63bdbac9
feat: add buy signal name
2021-07-20 04:58:20 +07:00
Sam Germain
b0bfbb6558
removed buy and sell merge, updated strategy name, removed default side for get_rate
2021-07-19 11:37:52 -06:00
George Muravei-Alkhavoi
ab786abf7f
Fix intendation.
2021-07-19 00:47:51 +03:00
George Muravei-Alkhavoi
f705293353
Dataprovider caching and trimming to timerange of historical informative.
2021-07-19 00:25:24 +03:00
Matthias
365479f5e0
Remove startup-candles after populating buy/sell signals
...
closes #5242
2021-07-18 11:06:41 +02:00
Matthias
7b7d9c02d7
Merge pull request #5243 from freqtrade/feat/webservermode_progress
...
Introduce webserver mode subcommand
2021-07-18 10:48:55 +02:00
Sam Germain
44df5eeacf
Adjusted docstring, and conditional near end of buy_rate
2021-07-18 00:00:18 -06:00
Sam Germain
7c27525bd8
Merge get_buy_rate and get_sell_rate
2021-07-17 22:51:20 -06:00
Rokas Kupstys
53a8c693b8
Honor skip_pair_validation setting when downloading pairs.
2021-07-17 09:21:03 +03:00
Matthias
d652e6fcc4
Don't log from wallet in backtest mode
2021-07-16 19:57:49 +02:00
Matthias
2e95df4d8d
Update docs for /profit output
2021-07-15 20:12:44 +02:00
Matthias
c9c7f84e8c
Calculate relative profit based on assumed starting balance
2021-07-14 20:55:11 +02:00
Matthias
f5c47767cb
Provide available capital to api
2021-07-14 20:51:42 +02:00
Matthias
3451687135
Merge pull request #5255 from freqtrade/improve_dynamic_stake
...
Improve dynamic stake with multiple bots on the same exchange
2021-07-14 06:45:48 +02:00
anasyusef
c78b2075d8
feat: add one additional asterisk
2021-07-12 12:27:59 +00:00
anasyusef
6a53e2c764
feat: apply censoring to logging
2021-07-12 12:08:01 +00:00
anasyusef
f94dbcd085
feat: censor password from logs
2021-07-12 12:02:10 +00:00
Matthias
40db424363
Add documentation for available capital setting
2021-07-12 07:11:56 +02:00
Matthias
7863746904
Add available_capital parameter
2021-07-12 06:54:06 +02:00
Matthias
b41c234440
Extract Closed profit calculation to trade object
2021-07-12 06:54:06 +02:00
Matthias
8b78a3bde2
Quick fix for trades opening below min-trade amount
2021-07-11 21:01:12 +02:00
Matthias
38296e8689
Merge pull request #5189 from rokups/rk/custom-stake
...
Implement strategy-controlled stake sizes
2021-07-11 19:45:43 +02:00
Matthias
7ea0a74c53
Default to proposed stake
2021-07-11 14:11:41 +02:00
Rokas Kupstys
0e4466ca1e
Implement strategy-controlled stake sizes. Expose self.wallet
to a strategy.
2021-07-11 12:38:58 +03:00
Matthias
f658cfa349
Remove Slack
...
As the community is mostly active on discord, there's little point in
linking people to Slack as well
2021-07-11 11:13:27 +02:00
Matthias
52ae95b2a5
Improve naming of apiserver variables
2021-07-10 11:20:21 +02:00
Matthias
ad26b0dad0
Don't void backtest object when not necessary
2021-07-10 10:59:00 +02:00
Matthias
e4e2340f91
Fix bug where currencies are duplicated
...
in case there is dust
2021-07-10 10:02:05 +02:00
Matthias
6129c5ca9e
Fix deprecation warnings from pandas 1.3.0
...
closes #5251
2021-07-09 20:46:38 +02:00
Matthias
2f33b97b95
Validate startup candles for backtesting correctly
...
closes #5250
2021-07-09 07:20:43 +02:00
Matthias
fb25130588
Merge pull request #5244 from octaviusgus/develop
...
fix daily profit data bug and daily profit curve example
2021-07-09 07:06:14 +02:00
Matthias
d96d6024f4
Merge pull request #5252 from kevinjulian/agefilter-max-days-listed
...
Fix Agefilter cannot appear on startup messages
2021-07-08 20:29:06 +02:00
kevinjulian
2a4a980855
Merge branch 'agefilter-max-days-listed' of https://github.com/kevinjulian/freqtrade into agefilter-max-days-listed
2021-07-08 19:25:32 +07:00
kevinjulian
863391122f
fix short desc not appear
2021-07-08 13:42:52 +07:00
Matthias
225522762b
Merge pull request #5231 from nightshift2k/enhancement/range-based-volumefilter
...
Range based VolumeFilter
2021-07-08 07:22:37 +02:00
Matthias
76e51cddba
Merge pull request #5246 from nightshift2k/feature/offsetfilter
...
new filter OffsetFilter for offsetting incoming pairlists
2021-07-07 21:06:23 +02:00
Matthias
682f880630
Slightly simplify if statement, add additional test
2021-07-07 20:05:56 +02:00
kevinjulian
8248d1acd1
run flake8
2021-07-07 22:10:22 +07:00
kevinjulian
00a1931f40
fix test
2021-07-07 21:24:44 +07:00
sauces1313
8b0a02db8e
Correct exception messages
2021-07-07 08:11:13 +00:00
nightshift2k
3c3772703b
changed quoteVolume to be built over a
...
rolling period using lookback_period
to avoid pair_candles being larger
than requested lookback_period
2021-07-07 09:46:05 +02:00
user
638bed3dac
Add RangeStabilityFilterMax pairlist filter
2021-07-07 06:46:51 +00:00
octaviusgus
d1104bd434
fix daily profit data and daily profit curve example
2021-07-06 22:47:39 +02:00
Matthias
005da97183
extract backtesting abort functionality
2021-07-06 19:48:28 +02:00
Matthias
5474d5ee64
Move webserver start command to seperate file
2021-07-06 19:48:28 +02:00
Matthias
e5b1657ab3
Properly remove rpc handler
2021-07-06 19:48:28 +02:00
Matthias
2ec22f1d97
Add Sorting to available pair list
2021-07-06 19:48:28 +02:00
Matthias
830b2548bc
Add backtest stopping
2021-07-06 19:48:28 +02:00
Matthias
129c7b02d0
Not all config values are mandatory in webserver mode
2021-07-06 19:48:28 +02:00
Matthias
17b3cc2097
Return numeric value, not empty string
2021-07-06 19:48:28 +02:00
Matthias
b44d215b90
Add test for backtest via APII
2021-07-06 19:48:28 +02:00
Matthias
804d99cce9
Move backtesting api to it's own file
2021-07-06 19:48:28 +02:00
Matthias
8566306010
Add test for start_websever
2021-07-06 19:48:28 +02:00
Matthias
134c61126e
Properly track bt progress ...
2021-07-06 19:48:28 +02:00
Matthias
03140a0ecb
Run webserver in main thread when using webserver mode
2021-07-06 19:48:28 +02:00
Matthias
37b15e830a
Add trade count to progress
2021-07-06 19:48:28 +02:00
Matthias
048008756f
Add progress tracking for backtesting
2021-07-06 19:48:28 +02:00
Matthias
06b6726029
Support compounding key
2021-07-06 19:48:28 +02:00
Matthias
f96d7dfe6d
Allow backtesting to reuse data
...
Allow activating / deactivating protections dynamically
2021-07-06 19:48:28 +02:00
Matthias
edb8c4f0e5
Fix tests for webserver mode
2021-07-06 19:48:28 +02:00
Matthias
5c18c8726d
Implement backtesting with fastapi
2021-07-06 19:48:28 +02:00
Matthias
df55259737
Add start_trading endpoint
2021-07-06 19:48:28 +02:00
Matthias
02b84bd018
Introduce webserver mode for fastapi
2021-07-06 19:48:28 +02:00
Matthias
800e314bfd
Store backtesting results in backtest instance
2021-07-06 19:48:28 +02:00
Matthias
97e8ec91f0
Save configuration file paths
2021-07-06 19:48:28 +02:00
Matthias
ef137546fe
Add webserver entrypoint
2021-07-06 19:48:28 +02:00
Kevin Julian
0f3d34eaf4
Merge branch 'develop' into agefilter-max-days-listed
2021-07-06 19:47:18 +07:00
kevinjulian
502c69dce3
change short desc
2021-07-06 19:36:42 +07:00
Matthias
dec523eef0
Display verison of installed FreqUI
2021-07-06 07:20:05 +02:00
nightshift2k
1e87225e91
added test_VolumePairList_range
to test_pairlist.py
2021-07-05 20:59:27 +02:00
Matthias
10998eb0fa
Remove further usages of int(int_timestamp)
2021-07-05 19:51:14 +02:00
Matthias
1682578a39
Merge pull request #5234 from nightshift2k/fixups/pairlists
...
fixup pairlist filters, change float_timestamp to int_timestamp
2021-07-05 19:45:35 +02:00
nightshift2k
346d66748b
first version of OffsetFilter
2021-07-05 12:50:56 +02:00
nightshift2k
5626ca5a06
removed unnecessary casting to int()
2021-07-05 10:39:22 +02:00
Matthias
eb3ead4930
Merge pull request #5229 from kevinjulian/telegram-balance
...
compact low balance currencies
2021-07-05 06:56:35 +02:00
nightshift2k
7ac55e5415
AgeFilter, RangeStabilityFilter, VolatilityFilter
...
changed `float_timestamp` to `int_timestamp`
2021-07-04 21:08:42 +02:00
nightshift2k
85c7b55750
improvements:
...
- `float_timestamp` switched to `int_timestamp`
- added documentation to pairlists.md
2021-07-04 20:46:24 +02:00
Matthias
c5489d530a
Reexport File to docs to have this available as documentation too
2021-07-04 19:50:44 +02:00
kevinjulian
c3cf71bba8
sort import
2021-07-04 22:04:39 +07:00
kevinjulian
2d5ced7801
fix testcase
2021-07-04 21:59:59 +07:00
octaviusgus
558bcc7959
Jupyter notebook snippet: Plotting daily profit / equity line
2021-07-04 15:56:55 +02:00
octaviusgus
4aa2ae37bd
add daily_profit_list
...
added extra key daily_profit in return of optimize_reports.generate_daily_stats
this allows us to analyze and plot a daily profit chart / equity line using snippet below inside jupyter notebook
```
# Plotting equity line (starting with 0 on day 1 and adding daily profit for each backtested day)
from freqtrade.configuration import Configuration
from freqtrade.data.btanalysis import load_backtest_data, load_backtest_stats
import plotly.express as px
import pandas as pd
# strategy = 'Strat'
# config = Configuration.from_files(["user_data/config.json"])
# backtest_dir = config["user_data_dir"] / "backtest_results"
stats = load_backtest_stats(backtest_dir)
strategy_stats = stats['strategy'][strategy]
equity = 0
equity_daily = []
for dp in strategy_stats['daily_profit']:
equity_daily.append(equity)
equity += float(dp)
dates = pd.date_range(strategy_stats['backtest_start'], strategy_stats['backtest_end'])
df = pd.DataFrame({'dates':dates,'equity_daily':equity_daily})
fig = px.line(df, x="dates", y="equity_daily")
fig.show()
```
2021-07-04 14:38:17 +02:00
Matthias
898bef1837
Merge pull request #5219 from freqtrade/hyperopt_paramfile
...
automatic Hyperopt paramfile
2021-07-04 13:56:52 +02:00
nightshift2k
9919061c78
PEP8 compliance
2021-07-04 11:40:45 +02:00
nightshift2k
348dbeff3f
added meaningful logging of used lookback range
2021-07-04 11:16:33 +02:00
Matthias
77293b1f1e
Remove Zero duration Trades
...
after the recent backtesting fixes, this metric no longer makes sense, as it can't really be 0 any longer.
2021-07-04 10:50:10 +02:00
Matthias
a4096318e0
Provide full backtest-statistics to Hyperopt loss functions
...
closes #5223
2021-07-04 10:15:19 +02:00
kevinjulian
7efa228d73
add dust balance
2021-07-04 03:08:29 +07:00
kevinjulian
dbdd7f38a8
add plural
2021-07-04 02:56:05 +07:00
kevinjulian
b722e12350
compact low balance currencies
2021-07-04 02:44:48 +07:00
kevinjulian
f6511c3e3f
fix typo and add blocker
2021-07-04 02:20:53 +07:00
kevinjulian
b72bbebccb
fix flake8
2021-07-04 01:46:51 +07:00
kevinjulian
3d9f3eeb07
feat(agefilter): add max_days_listed
2021-07-03 23:58:04 +07:00
Rokas Kupstys
3686efa08a
Add range property to CategoricalParameter and DecimalParameter, add their tests.
...
At the moment we can keep a single code path when using IntParameter, but we have to make a special hyperopt case for CategoricalParameter/DecimalParameter. Range property solves this.
2021-07-03 16:02:45 +03:00
nightshift2k
53f963dd73
fixed self._tf_in_secs
to self._tf_in_sec
2021-07-03 11:49:05 +02:00
nightshift2k
62da4b452c
code cleanup and comments
2021-07-03 11:47:17 +02:00
nightshift2k
055229a44a
first iteration of volume pairlist with range lookback
2021-07-03 11:39:14 +02:00
Matthias
9d6860337f
Merge pull request #5212 from rokups/rk/trailing-stop-2
...
Trailing stoploss in backtesting v2
2021-07-03 08:39:30 +02:00
Matthias
fbd91cd3f8
Improve formatting to avoid backslash newlines
2021-07-03 08:22:21 +02:00
Matthias
b25ad68c44
Fix np.bool_ not outputting correctly
2021-07-02 20:52:25 +02:00
Matthias
b8de3270fa
Plotting: Fix hover mode options after plotly update
...
closes #5209
2021-06-30 20:11:11 +02:00
Matthias
15e36a20e1
Improve naming of default hyperopt serializer
2021-06-30 19:48:34 +02:00
Rokas Kupstys
bc0742ae67
Fix extremely optimistic results when using a combination of custom_stoploss and trailing_stop.
2021-06-30 09:10:50 +03:00
Matthias
0809225a0a
Update documentation to mention parameter strategy files
2021-06-30 07:05:20 +02:00
Matthias
645da51b5f
Add test for parameter loading
2021-06-30 06:55:10 +02:00
Matthias
dcf53ac3ff
Add test for try_eport_params
2021-06-30 06:33:40 +02:00
Matthias
84703080b8
Extract hyperopt_defaults_serializer to hyperopt_tools
2021-06-29 20:51:29 +02:00
Matthias
55f032b18e
Catch trying to read faulty parameter file
2021-06-29 20:51:29 +02:00
Matthias
62cdbdc26a
Automatically export hyperopt parameters
2021-06-29 20:51:25 +02:00
Matthias
af04c8e2da
Merge pull request #5205 from barisengez/develop
...
Added timerange and max open trades info above multiple strategy backtest result summary table
2021-06-29 16:49:17 +02:00
barbarius
a8117c6e0b
Refactored to use results variable from for loop
2021-06-29 11:24:49 +02:00
Matthias
a2ccc1526e
Load parameters from file
2021-06-29 07:07:34 +02:00
Matthias
8ca0076332
Fix small typos
2021-06-29 06:50:47 +02:00
Matthias
d4514f5f16
Introduce File versions to hyperopt result files
2021-06-29 06:50:47 +02:00
Matthias
a7e9e362b7
Simplify printing logic for non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
8b7010fc9a
Update pprint name
2021-06-29 06:50:47 +02:00
Matthias
aa5181ca81
Properly export non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
34e6ce431f
Print non-optimized parameters (also stop / roi)
2021-06-29 06:50:47 +02:00
Matthias
2310deec53
Update name to get non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
8cdd1e3aef
Fix some type errors
2021-06-29 06:50:47 +02:00
Matthias
2bf17f71e7
Dump parameters from hyperopt-show
2021-06-29 06:50:47 +02:00
Matthias
750c780293
Support loading parameters from json file
2021-06-29 06:50:47 +02:00
Eugene Schava
d54de72471
"/profit N" command should print best pair for the same period of time, not for all trades
2021-06-28 23:42:09 +03:00
barbarius
a0f28f4a15
Added max open trades to strategy summary first line
2021-06-28 17:05:12 +02:00
barbarius
2e5b719de8
Added timerange above multiple strategy backtest result summary table
2021-06-28 10:54:54 +02:00
barbarius
c99ae3b419
Added timerange above multiple strategy backtest result summary table
2021-06-28 10:20:34 +02:00
Matthias
ab07fb5b3f
Merge pull request #5188 from freqtrade/move_config_settings
...
Move ask_strategy config settings to root level
2021-06-27 11:30:50 +02:00
Matthias
34448fb87c
Expose default currency precision to API
2021-06-26 20:46:54 +02:00
Matthias
00a7097b9e
Reduce verbosity of getting sell-rate from orderbook
2021-06-26 20:09:52 +02:00
Matthias
3f669147f1
Simplify strategy-resolver moving
2021-06-26 17:55:31 +02:00
Matthias
158cb415a9
Add settings interface to have types available
2021-06-26 17:28:37 +02:00
Matthias
b7f01a08f3
Update sequence of process_deprecated_setting parameters
2021-06-26 17:03:51 +02:00
Matthias
1067a9f356
Move strategy-override signals to top-level of the config
...
closes #2867
2021-06-26 16:06:13 +02:00
Matthias
60c7308126
Merge pull request #5183 from freqtrade/remove_order_book_max
...
Remove order book max
2021-06-26 14:56:10 +02:00
Matthias
1cb057bda7
Version bump 2021.6
2021-06-26 14:01:23 +02:00
Matthias
7fe42852a8
Merge branch 'stable' into new_release
2021-06-26 14:00:55 +02:00
Matthias
c62fad0088
Pricing strategies should default to use orderbook pricing
2021-06-26 08:19:37 +02:00
Matthias
59a33d0fa9
Add test for ask_orderbook validation
2021-06-25 20:52:34 +02:00
Matthias
d59a38665c
Remove support for order_book_max
2021-06-25 20:36:39 +02:00
aayush-jain18
d294ef10d7
unexpected docstring params
2021-06-25 23:56:16 +05:30
Matthias
1440b2f7fe
Merge pull request #5178 from aayush-jain18/spell-correction
...
spell corrections
2021-06-25 19:10:39 +02:00
aayush-jain18
a46f60bd94
spell corrections
2021-06-25 22:10:04 +05:30
Matthias
40545e62af
Merge pull request #5082 from freqtrade/dry_run_order
...
Dry run order filling
2021-06-25 18:26:01 +02:00
Matthias
1a82685dd8
Don't reset log caching
...
uvicorn will "load from dict" the config - which flushes the logs
and therefore cleans log-buffering
2021-06-25 18:24:10 +02:00
Matthias
e0d3ca6c6d
Fix import sorting
2021-06-24 18:44:59 +02:00
Matthias
c938edc01b
Apply dataprovider to /pair_history endpoint
2021-06-24 18:18:01 +02:00
Matthias
f7c09ba63a
Log endpoint should use static rpc class
2021-06-24 18:17:40 +02:00
Eugene Schava
3c70768e18
make "/profit N" command output be consistent with "/daily" and "/status table" commands
2021-06-23 07:30:08 +03:00
Eugene Schava
e97c82c514
make "/profit N" command output be consistent with "/daily" and "/status table" commands
2021-06-22 12:22:19 +03:00
Eugene Schava
0605cbb06e
make "/profit N" command output be consistent with "/daily" and "/status table" commands
2021-06-22 12:20:12 +03:00
Matthias
204758834d
Merge pull request #4308 from eatrisno/patch-1
...
Add Refresh / Reload Button on rpc/Telegram
2021-06-19 18:50:59 +01:00
Matthias
122943d835
Don't run filter again for pairlist generator
...
The generator implicitly runs filter - so it should not be ran again
as that would void generator caching.
closes #5103
2021-06-19 19:37:27 +02:00
Matthias
96fbb226c5
Implement better strategy checks
...
part of #2696
2021-06-19 19:32:29 +02:00
Matthias
a7f8342171
Add small documentation about reload disabling
2021-06-19 16:49:54 +02:00
Matthias
6e99e3fbbb
Implement tests for message updating
2021-06-19 09:31:34 +02:00
Matthias
39b876e37a
Log exchange responses if configured
2021-06-19 09:07:42 +02:00
Matthias
e40d481d09
Merge pull request #5014 from Rikj000/hyperopt-show-include-non-optimized-in-json
...
BugFix - `hyperopt-show --print-json` include non-optimized params
2021-06-19 07:42:15 +01:00
Rik Helsen
656bebd4da
🪲 Included completely non_optimized spaces in json + swapped merge dictionary order
2021-06-18 22:03:04 +02:00
Matthias
e1010ff592
Don't load protections from config if strategy defines a property
2021-06-18 19:55:53 +02:00
Rik Helsen
1567804509
⚡ kwargs merge dictionaries instead of using loops
2021-06-17 22:41:49 +02:00
Cryptomeister Nox
85979c3176
* Adding command for Filtering
...
* Read latest Backtest file and print trades
2021-06-17 20:35:02 +02:00
Rik Helsen
546ca01071
♻️ Fixed flake8 warning
2021-06-17 20:33:21 +02:00
Rik Helsen
90d37f5ec6
🔀 Merged upstream branches and fixed merge conflicts
2021-06-17 20:24:20 +02:00
Matthias
a9f111dca0
Fix some types
2021-06-17 19:50:49 +02:00
Matthias
7ff794cb87
Merge branch 'develop' into pr/eatrisno/4308
2021-06-17 19:46:15 +02:00
Matthias
8bb464bd64
Merge pull request #5108 from rokups/rk/pessimistic-trailing-stoploss
...
Implement most pessimistic handling of trailing stoploss.
2021-06-17 18:41:00 +01:00
Matthias
c4bc47e6e7
Merge pull request #5140 from barisengez/develop
...
Moved daily avg trade row next to total trades on backtest results
2021-06-17 08:54:48 +01:00
Matthias
a49ca9cbf7
Change log-level "Executing handler" msg to debug
...
closes #5143
2021-06-17 06:57:35 +02:00
Matthias
b38ab84a13
Add documentation mention about new behaviour
2021-06-17 06:48:41 +02:00
Matthias
1c9def2fdb
Update freqtrade/optimize/optimize_reports.py
2021-06-16 20:17:44 +01:00
barbarius
1bb04bb0c2
Moved daily avg trade row next to total trades on backtest results
2021-06-16 11:40:55 +02:00
Matthias
38ed49cef5
move low to stoploss_reached
...
to clarify where which rate is used
2021-06-15 09:05:36 +03:00
Rokas Kupstys
6d5fc96714
Implement most pessimistic handling of trailing stoploss.
2021-06-15 09:05:36 +03:00
Matthias
0af9bcef60
Merge pull request #5131 from freqtrade/dependabot/pip/develop/mypy-0.902
...
Bump mypy from 0.812 to 0.902
2021-06-14 19:03:46 +01:00
Matthias
cf7394d01c
Export backtesting results by default
...
closes #4977
2021-06-14 19:57:24 +02:00
Matthias
4ba7a2bbd2
Fix mypy update problems
2021-06-14 19:18:42 +02:00
Bernd Zeimetz
cd6620a044
Ignore broken symlinks while resolving strategies.
...
Without this fix the resolver tries to read from the broken symlink,
resulting in an exception that leads to the the rather confusing
error message
freqtrade.resolvers.iresolver - WARNING - Path "...../user_data/strategies" does not exist.
as a result of a symlink matching .py not being readable.
2021-06-13 21:42:09 +02:00
Matthias
e226252921
Always use the same parameter sequence
2021-06-13 20:39:25 +02:00
Matthias
a95f760ff7
Simplify update logic by moving it to send_msg
2021-06-13 20:34:08 +02:00
Matthias
03eff69829
Simplify update message sending
2021-06-13 20:23:32 +02:00
Matthias
d32508aa75
Merge branch 'develop' into pr/eatrisno/4308
2021-06-13 20:04:24 +02:00
Matthias
eaf0aac77e
Remove OrderedDict
...
as we're no longer supporting python 3.6
2021-06-13 11:47:18 +02:00
Matthias
d54ee0eb04
Refactor hyperopt_tools naming
2021-06-13 11:24:24 +02:00
Matthias
c65b4e5d3b
Small fix to models
2021-06-13 11:20:22 +02:00
Matthias
d35b2e3b8f
Update ftx stoploss logic to properly detect correct trades
...
closes #5045
2021-06-13 11:06:34 +02:00
Matthias
a05e38dbd3
Require timeframe for plot-profit
...
must be set in config or via --timeframe
2021-06-12 09:03:55 +02:00
Matthias
ef208012c4
Merge pull request #5104 from freqtrade/enums_own_module
...
Enums own package
2021-06-10 05:31:14 +01:00
Matthias
c292926086
Small style improvements (no empty line at start)
2021-06-10 06:21:10 +02:00
Matthias
d4dfdf04fc
Move RPCMessageType to enums
2021-06-09 20:23:17 +02:00
Matthias
f484ec216e
Merge pull request #5099 from bgouvea/develop
...
Addition of the maximum drawdown to the hyperoptimization
2021-06-09 19:10:25 +01:00
Bruno Gouvea
40f1ede775
Simplifying HO's result function
2021-06-09 12:03:24 -03:00
Matthias
756904f985
Set sell_reason to stoploss when closing the trade as stoploss
...
closes #5101
2021-06-08 21:21:29 +02:00
Matthias
9c34304cb9
Move state enums to enums package
2021-06-08 21:20:35 +02:00
Matthias
3c149b9b59
Move signalType to enums
2021-06-08 21:09:39 +02:00
Matthias
89b9915c12
Update imports for SellType in tests
2021-06-08 21:07:16 +02:00
Matthias
d16a619489
Move SellType Enum to it's own module
2021-06-08 21:04:34 +02:00
Matthias
e71d965e32
Merge pull request #4982 from eschava/profit_day_week
...
day/week options for Telegram '/profit' command
2021-06-08 19:26:57 +01:00
Matthias
3310a45029
Change wording if limited lookback is used
2021-06-08 20:10:43 +02:00
Bruno Gouvea
3cce668353
Creating a control variable to determine the existence of max drawdown in the final result.
2021-06-08 02:57:44 -03:00
Bruno Gouvea
816bb531b3
Creating fake column for legacy mode on max drawdown
2021-06-08 02:42:55 -03:00
Bruno Gouvea
4595db39aa
Displaying max. drawdown only when it is not legacy mode.
2021-06-08 02:18:00 -03:00
Bruno Gouvea
c513c9685d
Remove blank line (PEP8)
2021-06-07 18:20:04 -03:00
Bruno Gouvea
5c3a418e65
Adjusting drawdown column position.
2021-06-07 18:15:26 -03:00
Bruno Gouvea
35d6140068
Displays the max drawdown in the hyper optimization results table.
2021-06-07 17:53:19 -03:00
Matthias
c389d44e9a
Improve filling logic
2021-06-05 15:22:52 +02:00
Matthias
db03a24109
Add tests for fill methods
2021-06-05 09:09:39 +02:00
Matthias
1e988c97ad
Update dry-run order handling to use realistic fill prices
...
closes #3389
2021-06-05 09:09:39 +02:00
Matthias
a0893b291a
Fix strategy samples to use runmode.value
...
closes #5073
2021-06-05 09:03:03 +02:00
Matthias
8e44de7f83
Merge pull request #5071 from janoskut/plot-profit-make-open-html-optional
...
plot-profit: Make "auto-open" HTML result optional
2021-06-03 05:40:38 +01:00
Janos
812eb229df
plot-profit: Make "auto-open" HTML result optional
...
Adding an "--auto-open" argument.
This improves tool processing of the results, while still allowing to open the HTML file for easy use.
2021-06-02 21:33:26 +02:00
Janos
80af6e43e4
test-pairlist: remove non-JSON headline from JSON output
2021-06-02 21:02:21 +02:00
Matthias
bd1984386e
Move get_sell_rate to exchange class
2021-06-02 11:41:13 +02:00
Matthias
12916243ec
Move get_buy_rate to exchange class
2021-06-02 11:30:19 +02:00
Matthias
4e1425023e
Further reorder exchange methods
2021-06-02 11:20:26 +02:00
Matthias
4c277b3039
Reorder exchange methods
2021-06-02 11:18:13 +02:00
Matthias
67beda6c92
Add fetch_dry_run_order method
2021-06-02 11:06:32 +02:00
Matthias
10cd89a99d
Allow the API to respond faster in case of long pairlists
2021-06-02 10:39:49 +02:00
Eugene Schava
9edcb393b6
telegram: move the most important information to the top of sell message
...
fixed flake error
2021-06-01 22:24:21 +03:00
Eugene Schava
53b1f38952
telegram: move the most important information to the top of sell message
2021-06-01 20:08:22 +03:00
Matthias
f920c26802
fix Hyperopt-list avg-time filters
...
These should use a numeric field (which currently isn't available).
closes #5061
2021-05-31 20:01:40 +02:00
Matthias
2d7ccaeb3d
Add test for load_config
2021-05-30 20:14:54 +02:00
Matthias
f9bcf19f9a
Merge pull request #5003 from rokups/rk/plotting
...
Indicator plotting improvement
2021-05-30 18:44:54 +01:00
Matthias
e3d5c9cb10
Fix typo in exception message
2021-05-30 16:39:33 +01:00
Matthias
e17e35f0ef
Merge pull request #5046 from freqtrade/list_strategy_hyperopt
...
allow list-strategies to show if params are hyperoptable
2021-05-30 16:36:31 +01:00
Kamontat Chantrachirathumrong
806838c3af
Fix we use check sell_noti not noti
2021-05-30 21:07:44 +07:00
Rokas Kupstys
b54da430b9
Add ability to plot bars on indicator chart and pass custom arguments to plotly.
2021-05-30 11:11:19 +03:00
Matthias
d7fdc2114a
allow list-strategies to show if params are hyperoptable
2021-05-29 13:27:08 +02:00
Matthias
313567d07d
Support having numbers in custom keyboard
2021-05-29 08:12:25 +02:00
Eugene Schava
14df243661
day/week options for Telegram '/profit' command
...
mypy fix
2021-05-28 17:18:23 +03:00
Eugene Schava
012309a06a
day/week options for Telegram '/profit' command
...
fixed line lenght
2021-05-28 17:03:31 +03:00
Eugene Schava
36b68d3702
day/week options for Telegram '/profit' command
...
format changed to "/profit n"
2021-05-28 14:46:22 +03:00
Eugene Schava
4b5a9d8c49
day/week options for Telegram '/profit' command
...
revert accidental changes
2021-05-28 14:43:57 +03:00
Eugene Schava
a965436cd6
day/week options for Telegram '/profit' command
...
format changed to "/profit n"
2021-05-28 10:17:26 +03:00
Matthias
8a56af9192
Update onlyprofit loss should use absolute profit
...
closes #4934
2021-05-28 08:38:46 +02:00
Matthias
7bfe935e37
Merge pull request #4838 from Antreasgr/fix-encoding-issue
...
Fix bug in running hyperopt in windows 10
2021-05-27 14:57:36 +01:00
Matthias
377352fced
Merge pull request #4682 from freqtrade/sqlalchemy_14
...
Sqlalchemy 14 preparations
2021-05-27 14:19:25 +01:00
Matthias
a89364aa98
Merge branch 'develop' into pr/Antreasgr/4838
2021-05-27 14:59:39 +02:00
Matthias
3014bc3467
Don't use Sum sign in hyperopt to avoid compatibility problems
2021-05-27 14:22:11 +02:00
Matthias
639c83575b
Fix csv-export error with new hyperopt format
2021-05-27 13:09:06 +02:00
Matthias
cf39dd2163
Fix csv-export error with new hyperopt format
2021-05-27 13:08:28 +02:00
Matthias
e0083bc58e
Support backwards-compatible sell setting
2021-05-27 13:00:05 +02:00
Matthias
66de5df1d1
Update sqlite init method
2021-05-27 11:38:28 +02:00
Matthias
b82f7a2dfd
Update orders-migrations to work with new sqlalchemy syntax
2021-05-27 11:38:28 +02:00
Matthias
17f74f7da8
Ensure commit happens on forcebuy
2021-05-27 11:38:28 +02:00
Matthias
a01d05997e
Add Trade.commit method for easy use
2021-05-27 11:38:28 +02:00
Matthias
6fb32c3594
Use commit instead of .flush()
2021-05-27 11:38:28 +02:00
Matthias
eaa47ff335
Don't use autocommit
2021-05-27 11:38:28 +02:00
Matthias
c31cb67118
Further changes for sqlalchemy 1.4
2021-05-27 11:38:28 +02:00
Matthias
2f79958acb
Move declarative_base import to import from .orm
2021-05-27 11:38:28 +02:00
Kamontat Chantrachirathumrong
c5c323ca88
Settings notify sell in telegram base on sell reason ( #5028 )
...
* BREAK: notification sell by sell reason
* Update constants.py
* Update telegram.py
* Update telegram-usage.md
* Update telegram.py
* Update telegram.py
* Fix test fail
* Update config_full.json.example
* Update telegram-usage.md
* Update telegram.py
* Update telegram.py
* Update telegram-usage.md
* validate value of sell object
* Fix linter
* Update constants.py
* Make telegram sample slightly more positive
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-05-27 11:35:27 +02:00
Matthias
0c9b913cad
Version bump 2021.5
2021-05-27 11:10:10 +02:00
Matthias
e42e06a593
Merge branch 'stable' into new_release
2021-05-27 11:10:00 +02:00
Matthias
42453333be
Align coinbase download with ccxt limits
...
Align with https://github.com/ccxt/ccxt/issues/9268
2021-05-27 07:38:47 +02:00
Matthias
8e89d3e6e4
Fix sort error
2021-05-25 19:33:34 +02:00
Matthias
cc5769e900
Convert np.int64 to proper int
...
closes #5018
2021-05-25 19:24:56 +02:00
Matthias
a747312c1e
Explicitly provide is_open to trade Object
...
closes #5015
2021-05-25 18:02:07 +02:00
Rikj000
bd44deea0d
BugFix - hyperopt-show --print-json include non-optimized params
2021-05-24 18:51:33 +02:00
Matthias
af16614bf2
Fix formatting issue
2021-05-24 07:48:36 +02:00
Priveyes
6f990c5976
Fix a rare error in save_result : ValueError: Out of range float values are not JSON compliant
...
freqtrade/freqtrade/optimize/hyperopt.py", line 166, in _save_result
rapidjson.dump(epoch, f, default=str, number_mode=rapidjson.NM_NATIVE)
ValueError: Out of range float values are not JSON compliant
2021-05-23 18:49:07 +02:00
Matthias
f760b4a789
Merge branch 'develop' into pr/gmatheu/4746
2021-05-23 16:03:11 +02:00
Matthias
971d5b2ecc
Merge pull request #5002 from freqtrade/track_rejected_trades
...
Track rejected trades
2021-05-23 14:56:50 +01:00
Matthias
3f956441fc
Properly format % of zero_duration_trades
2021-05-23 15:53:54 +02:00
Matthias
a39860e0de
Add tests for rejected signals
2021-05-23 14:15:02 +02:00
Matthias
7f125315b0
Track Rejected Trades
...
closes #3423
2021-05-23 09:42:05 +02:00
Matthias
02faeb60a3
Merge pull request #4943 from rokups/rk/statistics
...
Extra statistics
2021-05-23 08:38:27 +01:00
Rokas Kupstys
db985cbc2e
Fix hyperopt-show failing to display old results with missing new fields.
2021-05-23 09:45:26 +03:00
Matthias
74d75599a9
Merge pull request #4964 from thraizz/develop
...
Add backoff timer for coingecko API
2021-05-22 16:54:29 +01:00
Matthias
765c824bfc
isort
2021-05-22 17:25:23 +02:00
Matthias
a7bd8b0aa5
Fix exception in plotting when no trades where generated
...
as seen in #4981
2021-05-22 17:03:16 +02:00
Matthias
feb836eaf6
Merge pull request #4994 from freqtrade/support_other_dbs
...
Support other dbs
2021-05-22 15:54:34 +01:00
A. Schueler
0693458507
Update freqtrade/rpc/fiat_convert.py
2021-05-22 16:26:58 +02:00
Rokas Kupstys
25cc4eae96
Fix tests that broke after table formatting changed.
2021-05-22 15:25:37 +02:00
A. Schueler
f8cdd6475c
Reduce warnings when waiting for coingecko backoff
2021-05-22 13:43:33 +02:00
A. Schueler
6e05f856b4
Abort _find_price when cryptomap is empty after retry
2021-05-22 11:55:03 +02:00
A. Schueler
ab6bfbad12
Handle RequestExceptions that are not 429s in _load_cryptomap
2021-05-22 11:52:40 +02:00
A. Schueler
8842e0d161
Fix flake8 error in fiat_convert
2021-05-22 10:59:33 +02:00
A. Schueler
a0921ec753
Add backoff timer for coingecko API
...
Set a future timestamp when we should retry getting coingecko data.
This fixes conversion from stake to fiat when running multiple bots
as we don't simply accept the 429 error from Coingecko but handle it.
2021-05-22 10:59:33 +02:00
Matthias
df0928c8b5
Merge pull request #4992 from freqtrade/buy_partial_fill
...
Don't cancel low partial filled buy
2021-05-22 09:17:04 +01:00
Matthias
cc064f1574
String columns should have a max-length defined
...
otherwise MySql will not work.
2021-05-22 10:12:23 +02:00
Matthias
6acb2eb2b6
Add average column to orders table
2021-05-21 20:35:39 +02:00
Matthias
45e2621505
Add minimum-filled protection for buy cancels
2021-05-21 19:32:16 +02:00
Matthias
dfa412f0de
Fix typo in filter
2021-05-21 13:24:13 +02:00
Rokas Kupstys
981b2df7ca
Include win:loss ratio in results tables.
2021-05-21 12:18:08 +03:00
Rokas Kupstys
debd98ad9a
Make results table more compact by merging win/draw/loss columns and drawdown abs/% into single columns.
2021-05-21 11:36:23 +03:00
Rokas Kupstys
e1dc1357ce
Add drawdown column to strategy summary table.
2021-05-21 11:36:23 +03:00
Rokas Kupstys
edcfa94093
Include zero duration trades in backtesting report.
2021-05-21 11:36:23 +03:00
Matthias
96ea10e562
Fix circular import in hyperopt
2021-05-21 08:52:56 +02:00
Matthias
f398888865
Refactor preprocessed trimming to seperate method
2021-05-21 08:26:19 +02:00
Matthias
d19b37c777
Merge pull request #4979 from kamontat/patch-1
...
Fix hyperopt trim to empty dataframe
2021-05-21 08:17:35 +02:00
Matthias
ccd705bfda
Merge pull request #4962 from eschava/total_row
...
Total row for telegram "/status table" command
2021-05-21 08:02:30 +02:00
Eugene Schava
336f4aa6a7
day/week options for Telegram '/profit' command
...
isort fix
2021-05-20 08:17:08 +03:00
Kamontat Chantrachirathumrong
6172e67fcd
Update hyperopt.py
2021-05-20 11:56:31 +07:00
Kamontat Chantrachirathumrong
c2b9da68e1
fix indent
2021-05-20 11:56:11 +07:00
Kamontat Chantrachirathumrong
1b3bfb2e7f
found root cause.
2021-05-20 11:50:15 +07:00
Kamontat Chantrachirathumrong
48210170e7
wrap with is not empty
2021-05-20 11:49:25 +07:00
Matthias
ba106e6c4a
Merge pull request #4975 from Axel-CH/allow_seconds_unfilled_timeout
...
Add ability to choose unit in unfilled timeout
2021-05-20 06:43:15 +02:00
Matthias
586f2a699d
Merge pull request #4953 from freqtrade/value_filter
...
max-value change filter
2021-05-20 06:35:34 +02:00
Matthias
0358b5365f
Add "unfilledtimeout-unit" to full config sample
2021-05-20 06:26:07 +02:00
Eugene Schava
935ed36433
day/week options for Telegram '/profit' command
...
mypy fix
2021-05-20 01:10:22 +03:00
Eugene Schava
e9841910e9
day/week options for Telegram '/profit' command
2021-05-20 00:33:33 +03:00
Kamontat Chantrachirathumrong
082fb11bbe
Avoid having error cannot set a frame with no defined index and a scalar
2021-05-20 01:54:48 +07:00
Matthias
ef4d1c24d7
Merge pull request #4941 from brookmiles/fix-stoploss-above-candle
...
prevent backtest stoploss trade price being set above candle high
2021-05-19 06:20:35 +02:00
axel
75f88b466a
add ability to choose unit in unfilled timeout
2021-05-18 19:30:36 -04:00
Matthias
7a9853bfe1
Fix "Too many open Files" exception
2021-05-18 20:39:55 +02:00
Matthias
16c22c7b68
Add pair name to stoploss
...
helps debugging #4972
2021-05-18 19:16:25 +02:00
Matthias
36eba0f110
Don't use "r+" memmap, but "r2
2021-05-17 21:05:48 +02:00
Matthias
6aa574fa2b
Convert ROI result to proper json object
...
closes #4952
2021-05-17 20:58:50 +02:00
Matthias
6659a07079
Add tests for max-value filter
2021-05-17 19:47:57 +02:00
Matthias
369f19df6b
Add valuefilter to Pricefilters
2021-05-17 19:44:36 +02:00
Matthias
3006396398
Fix docstring typo
2021-05-17 19:37:22 +02:00
Matthias
26f5bc6584
Merge pull request #4944 from brookmiles/fix-download-data-end-date
...
Add support for timerange end date to `download-data`
2021-05-17 19:35:32 +02:00
Eugene Schava
459fae6d80
Total row for telegram "/status table" command
...
fixes
2021-05-17 16:22:48 +03:00
Eugene Schava
3ad8fa2f38
Total row for telegram "/status table" command
...
moved sum calculation to API
2021-05-17 15:59:03 +03:00
Eugene Schava
196fde44e0
Total row for telegram "/status table" command
...
work around mypy warning
2021-05-17 14:45:54 +03:00
Eugene Schava
915ff7e1bf
Total row for telegram "/status table" command
...
fix mypy warnings
2021-05-17 13:03:20 +03:00
Eugene Schava
d7479fda1f
Total row for telegram "/status table" command
...
fix compiler warnings
2021-05-17 12:53:57 +03:00
Eugene Schava
0abb9cfe28
Total row for telegram "/status table" command
2021-05-17 12:41:44 +03:00
Eugene Schava
10ef0f54ac
Total row for telegram "/status table" command
2021-05-17 11:12:11 +03:00
Matthias
37b71b8cfd
Fix PerformanceFilter failing in test-pairlist mode
2021-05-16 19:55:13 +02:00
Matthias
0d50e99563
Fix Agefilter checking for > instead of >=
2021-05-16 19:35:30 +02:00
Matthias
c9ac67e985
Fix some typos
2021-05-16 14:50:25 +02:00
Matthias
6f38976470
Introduce cancel_stoploss_with_result
2021-05-16 14:15:24 +02:00
Matthias
380754b8ab
Fix typos in docstrings
2021-05-16 13:20:05 +02:00
Matthias
0b1dd0d203
Use correct order_id for ftx
...
closes #4511
2021-05-16 09:15:25 +02:00
Matthias
2d7735ba04
Update telegram to sort performance by absolute performance
2021-05-15 19:49:21 +02:00
Matthias
6b2a38ccfb
Add absolute Profit to apiserver
2021-05-15 19:39:46 +02:00
Matthias
4f968b4a6f
Merge pull request #4926 from rokups/rk/misc-fixes
...
Two fixes
2021-05-15 15:11:07 +02:00
Brook Miles
db17b1a851
fix indentation
2021-05-15 20:20:36 +09:00
Brook Miles
88da1f109b
fix #4412 download-data does not stop downloading at the specified TIMERANGE end date
2021-05-15 20:15:19 +09:00
Rokas Kupstys
2d5f465f1b
Fix protections being loaded multiple times for first strategy when backtesting.
2021-05-15 13:37:03 +03:00
Rokas Kupstys
29fed37df3
Fix exception when few pairs with no data do not result in aborting backtest.
...
Exception is triggered by backtesting 20210301-20210501 range with BAKE/USDT pair (binance). Pair data starts on 2021-04-30 12:00:00 and after adjusting for startup candles pair dataframe is empty.
Solution: Since there are other pairs with enough data - skip pairs with no data and issue a warning.
Exception:
```
Traceback (most recent call last):
File "/home/rk/src/freqtrade/freqtrade/main.py", line 37, in main
return_code = args['func'](args)
File "/home/rk/src/freqtrade/freqtrade/commands/optimize_commands.py", line 53, in start_backtesting
backtesting.start()
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 502, in start
min_date, max_date = self.backtest_one_strategy(strat, data, timerange)
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 474, in backtest_one_strategy
results = self.backtest(
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 365, in backtest
data: Dict = self._get_ohlcv_as_lists(processed)
File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 199, in _get_ohlcv_as_lists
pair_data.loc[:, 'buy'] = 0 # cleanup from previous run
File "/home/rk/src/freqtrade/venv/lib/python3.9/site-packages/pandas/core/indexing.py", line 692, in __setitem__
iloc._setitem_with_indexer(indexer, value, self.name)
File "/home/rk/src/freqtrade/venv/lib/python3.9/site-packages/pandas/core/indexing.py", line 1587, in _setitem_with_indexer
raise ValueError(
ValueError: cannot set a frame with no defined index and a scalar
```
2021-05-15 13:37:03 +03:00
Matthias
e1447f955c
/locks should always respond, even if there's no locks
...
closes #4942
2021-05-15 10:50:00 +02:00
Brook Miles
2eac23a15f
if stoploss price is above the candle high, set it to candle open instead. this can occur if stoploss had previously been reached but the sell was prevented by confirm_trade_exit
2021-05-15 15:38:51 +09:00
Matthias
0ace35bf3d
Fix unreferenced error
2021-05-15 08:14:50 +02:00
Matthias
a6c644161d
Merge pull request #4930 from freqtrade/hyperopt_memory
...
Hyperopt memory problems
2021-05-15 07:12:57 +02:00
Matthias
5e73195b30
Use linux lineseperator at all times
2021-05-15 07:01:32 +02:00
Matthias
4bc018a456
Change rate back to "open" for custom_sell
...
closes #4920
2021-05-14 07:18:10 +02:00
Matthias
09756e3007
Subplots should always be included in responses
2021-05-14 06:36:50 +02:00
Matthias
ecee42f561
Read pickle file in mmap mode
2021-05-13 20:13:04 +02:00
Matthias
1055862bc0
Extract data-load + dump from hyperopt
...
(Reduces memory-usage as the dataframes go out of scope)
2021-05-12 21:15:01 +02:00
Matthias
24a1d5a96f
Change default hyperopt-name to be shorter
2021-05-12 19:06:13 +02:00
Matthias
3cbe40875d
read hyperopt results from pickle or json
2021-05-12 06:06:30 +02:00
Matthias
06bf1aa274
Store epochs as json per line
2021-05-12 05:58:25 +02:00
Matthias
7398ea88e0
Change optimize_reports to convert dates to string earlier
2021-05-11 20:37:49 +02:00
Matthias
b81f24d9c6
Merge pull request #4851 from rokups/rk/backtest-dataprovider
...
Data provider support in backtesting
2021-05-10 19:11:05 +02:00
Matthias
92186d89a2
Add some changes to strategytemplate
2021-05-09 09:56:36 +02:00
Matthias
2157923aee
have edge send multiple messages if necessary
...
closes #4519
2021-05-08 19:45:34 +02:00
Rokas Kupstys
8d8c782bd0
Slice dataframe in backtesting, preventing access to rows past current time.
2021-05-08 18:40:49 +03:00
Rokas Kupstys
f1eb653545
Fix strategy protections not being loaded in backtesting.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
1b01ad6f85
Make exchange parameter optional and do not use it as parameter in backtesting.
2021-05-08 10:29:47 +03:00
Matthias
4b6cd69c81
Add test for no-exchange dataprovider
2021-05-08 10:29:47 +03:00
Rokas Kupstys
d344194b36
Fix dataprovider in hyperopt.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
9b4f6b41a2
Use correct datetime.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
6fb4d83ab3
Fix dataprovider in hyperopt.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
6af4de8fe8
Remove dataframe parameter from docs.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
cdfa6adbe5
Store pair datafrmes in dataprovider for backtesting.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
dc6e702fec
Pass current_time to confirm_trade_entry/confirm_trade_exit.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
d34da3f981
Revert "Add dataframe parameter to custom_stoploss() and custom_sell() methods."
...
This reverts commit 595b8735f8
.
# Conflicts:
# freqtrade/optimize/backtesting.py
# freqtrade/strategy/interface.py
2021-05-08 10:29:47 +03:00
Matthias
513be11fd9
Fix hyperopt output
...
closes #4892
2021-05-07 20:23:11 +02:00
Matthias
554f5f14b6
Raise exception if no data is left
2021-05-07 06:41:15 +02:00
Matthias
4f529fe424
Don't use Arrow to get min/max backtest dates
2021-05-06 19:43:14 +02:00
Matthias
32577cc0cd
Merge pull request #4836 from bzed/telegram-locks
...
Telegram rpc: split too long /locks messages
2021-05-05 20:15:13 +02:00
Matthias
431cb5313f
Support informative pairs in edge positioning
2021-05-05 19:58:45 +02:00
Matthias
da47f4e1a4
Fix Kraken balance update error
...
closes #4873
2021-05-05 06:47:26 +02:00
Matthias
da574e4e69
Small style fixes
2021-05-03 06:30:41 +02:00
Matthias
fc110ea418
Support csv export for new and old versions
2021-05-02 20:41:45 +02:00
Matthias
303895b33e
Add support for filters to new hyperopt-results
2021-05-02 20:07:22 +02:00
Matthias
287b43e999
Output strategy results including non-optimized parameters
2021-05-02 11:30:53 +02:00
Matthias
d069ad43d8
Small reformatting in hyperopt
2021-05-02 11:01:26 +02:00
Matthias
8ee0b0d8e8
Store not optimized parameters (if applicable)
2021-05-02 10:46:04 +02:00
Matthias
9049d6b779
Reformat hyper to cache parameters
2021-05-02 10:45:21 +02:00
Matthias
46f0f66039
Keep dimensions stored in hyperopt class
...
There is no point in regenerating them and it will cause some
overhead as all space classes will be recreated for every epoch.
2021-05-02 09:48:37 +02:00
Matthias
ced5cc7ce2
Don't recalculate min/max date - they won't change between epochs
2021-05-02 09:46:27 +02:00
Matthias
ecdfb6e5ed
Fix output of % for new format
2021-05-02 09:46:27 +02:00
Matthias
881cba336a
Show backtesting result in hyperopt-show
2021-05-02 09:46:27 +02:00
Matthias
420e75af65
Extract show_backtest_result for one strategy
2021-05-02 09:46:27 +02:00
Matthias
97478abb9d
Move format explanation string to HyperoptTools
2021-05-02 09:46:27 +02:00
Matthias
f2e182002d
Simplify calling backtesting by returning the proper result
2021-05-02 09:46:27 +02:00
Matthias
e2e1d34828
Extract stake_currency param from hyperopt-explanationstring
2021-05-02 09:46:27 +02:00
Matthias
6aaaad29d7
Use backtesting output for hyperopt results
2021-05-02 09:46:27 +02:00
Matthias
545cba7fd8
Refactor optimize_report
...
we should not calculate non-daily statistics in the daily stats method
2021-05-02 09:46:27 +02:00
Matthias
9994fce577
Extract generation of report for one strategy to it's own method
2021-05-02 09:46:27 +02:00
Matthias
b125c975c7
Rename strategy_comparison method
2021-05-02 09:46:27 +02:00
Matthias
ac2e1eb3d7
Don't import joblib for regular strategies
2021-05-02 08:44:16 +02:00
Matthias
0e359dcb7a
Merge pull request #4788 from saeedrss/develop
...
fetch live data from hitbtc exchange #4778
2021-05-01 19:13:00 +02:00
Matthias
bdd0184f0b
Small stylistic fixes
2021-05-01 17:44:43 +02:00
Matthias
1cb430f59b
Remove encoding specifics, gitattributes to echeckout as utf8
2021-05-01 17:41:40 +02:00
Matthias
0b280a59bc
Support per exchange params for OHLCV endpoint
2021-05-01 17:29:53 +02:00
Matthias
e0ca3c014c
Don't completely remove encode/decode
2021-05-01 17:12:48 +02:00
Matthias
30da307d13
Remove encode/decode for hyperopt
2021-05-01 17:01:52 +02:00
Matthias
555262b6e1
Only calculate additional indicators if the space is selected
2021-05-01 16:40:29 +02:00
Matthias
e381df9098
extract has_space to Hyperopt-Tools
2021-05-01 16:36:35 +02:00
Matthias
e050ea8dfa
Don't load parameters for other space
2021-05-01 16:21:59 +02:00
Matthias
401f31e86b
Merge pull request #4841 from JoeSchr/fix/istrategy-return-value
...
fix IStrategy: abstract methods still need to pass through return value
2021-04-30 20:13:11 +02:00
Matthias
856b65206b
Reduce log-frequency of AgeFilter
...
closes #4840
2021-04-30 19:42:41 +02:00
Joe Schr
f3388ed9aa
fix IStrategy: abstract methods still need to pass through return value
...
otherwise doing something like:
```py
dataframe = super().populate_indicators(dataframe, ...)
```
won't work, because `dataframe` becomes `None`.
This is needed if one of those methods uses dataframe.copy() instead of
just working on reference. e.g. using `merge_informative` in
`populate_indicator` in a nested class hierarchy
2021-04-30 14:39:01 +02:00
Antreas Gribas
cf03daa0fd
Fix bug in running hyperopt in windows 10
...
with preferred encoding in locale differrent from
utf-8
2021-04-30 00:28:42 +03:00
Bernd Zeimetz
3be7bc509c
Telegram: send locks as chunks of 25.
...
Producing easily readable messages, hopefully always below the message lenght limit
2021-04-29 22:21:04 +02:00
Bernd Zeimetz
4d1613a432
Add chunks function.
...
Implementing a generator to split Lists into chunks.
2021-04-29 22:21:04 +02:00
Matthias
a3d2e68312
Merge pull request #4750 from rokups/rk/custom_sell
...
Add IStrategy.custom_sell method which allows per-trade sell signal evaluation
2021-04-29 06:50:56 +02:00
Matthias
aab020c9a2
Merge pull request #4818 from freqtrade/cleanup_models
...
Move static Trade functions to right class
2021-04-28 21:18:55 +02:00
Matthias
2b78ee254c
Version bump to 2021.4
2021-04-28 21:16:13 +02:00
Matthias
4767d41d6f
Merge branch 'stable' into new_release
2021-04-28 21:06:15 +02:00
Matthias
7c8a367442
Update docs to not promote stoploss / take-profit
2021-04-28 20:36:06 +02:00
Matthias
63c28b6519
Remove obsolete get_balance method
2021-04-28 16:00:12 +02:00
Matthias
6eb947ae09
Move static Trade functions to right class
2021-04-28 06:37:40 +02:00
Matthias
55faa6a84a
safe_wrapper should use kwargs to call methods
2021-04-26 20:18:03 +02:00
Matthias
2061162d79
Convert trade-opendate to python datetime
2021-04-26 20:01:13 +02:00
Matthias
dbf33271b5
Small doc changes
2021-04-26 19:52:26 +02:00
Matthias
3f84c37a79
Fix wallet calls
...
closes #4810 #4812
2021-04-26 14:12:52 +02:00
Rokas Kupstys
31a2285eac
Fix mypy complaints.
2021-04-26 10:42:24 +03:00
Matthias
bb7ef2f804
Cache pairlist in pairlist, not globally
...
closes #4797 closes #4689
2021-04-25 20:10:47 +02:00
Matthias
7448a05f15
Use correct variable in pairlist_manager
2021-04-25 11:01:04 +02:00
Matthias
fd3afdc230
plot-profit should use absolute values
2021-04-25 10:10:09 +02:00
Rokas Kupstys
98f6fce2ec
Use correct sell reason in case of custom sell reason.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
595b8735f8
Add dataframe parameter to custom_stoploss() and custom_sell() methods.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
961b38636f
Remove explicit sell_flag parameter from SellCheckTuple.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
bfad4e82ad
Make execute_sell() use SellCheckTuple for sell reason.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
a90e795695
Warn and trim custom sell reason if it is too long.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
1aad128d85
Support returning a string from custom_sell() and have it recorded as custom sell reason.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
1292e08fe4
Use strategy_safe_wrapper() when calling custom_sell().
2021-04-25 09:48:40 +03:00
Rokas Kupstys
0fd68aee51
Add IStrategy.custom_sell method which allows per-trade sell signal evaluation.
2021-04-25 09:48:40 +03:00
wr0ngc0degen
869a45a031
Merge pull request #2 from freqtrade/develop
...
update develop from base repo
2021-04-25 05:50:03 +02:00
wr0ngc0degen
2eda25426f
fix typo in sample_strategy.py
...
fix copy-paste issue in populate_sell_trend docstring
2021-04-25 05:47:59 +02:00
Matthias
e855530483
hdf5 handler should include the end-date
2021-04-24 20:26:37 +02:00
Matthias
cb86c90d3e
Remove obsolete TODO's
2021-04-24 19:16:54 +02:00
Matthias
88f26971fa
Use defaultdict for backtesting
2021-04-24 19:15:09 +02:00
Matthias
8e85b63b3d
Merge pull request #4792 from JoeSchr/add-distribution-graph-to-example-notebook
...
add distribution graph to example notebook
2021-04-24 16:14:48 +02:00
Matthias
f12e002686
Merge pull request #4775 from freqtrade/fix_wallet_unlimited
...
Fix wallet unlimited
2021-04-24 15:54:06 +02:00
Joe Schr
31b0e3b5e8
add distribution graph to example notebook
2021-04-24 13:29:59 +02:00
Matthias
90476c4287
Add "range" property to IntParameter
2021-04-24 07:00:33 +02:00
Matthias
9dc7f776d9
Improve log output when loading parameters
2021-04-23 20:35:30 +02:00
saeedrss
37d8e3c758
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into develop
2021-04-23 22:28:33 +04:30
Matthias
191a31db30
NameErrors should not stop loading a different strategy
2021-04-23 19:36:26 +02:00
Matthias
df16fbd742
Add "dataload complete" message to backtest + hyperopt
2021-04-23 19:22:41 +02:00
saeedrss
b69a9134f5
fixing support for HitBTC #4778
...
hitbtc by default send candle from beginning (not most recently)
this change fixed
2021-04-23 21:27:13 +04:30
Matthias
4005708f85
Handle edge with volumepairlist and empty pair_whitelist
...
closes #4779
2021-04-23 06:50:39 +02:00
Matthias
406c1267a2
Remove superfluss space
2021-04-22 20:01:08 +02:00
Matthias
f5f0bf53af
Merge pull request #4780 from rokups/rk/new-pairs-days
...
Add --new-pairs-days parameter for download-data command.
2021-04-22 19:55:25 +02:00
Matthias
ccaf5764da
Small adjustments
2021-04-22 19:41:01 +02:00
Matthias
0d2457cd47
Add lock_reason to per-pair lock
2021-04-22 19:28:50 +02:00
Matthias
f2d5f476d4
Merge pull request #4777 from c0d5x/informative-global-pairlock-msg
...
Add the reason why there is a global pairlock when lock is available
2021-04-22 19:24:13 +02:00
Matthias
4693cba10d
Merge pull request #4769 from freqtrade/trades_pagination
...
Trades pagination
2021-04-22 19:13:19 +02:00
Matthias
7e2e196643
improve sell_message by using sell rate
2021-04-22 17:13:22 +02:00
Rokas Kupstys
3144185409
Allow specifying "new_pairs_days" in config.
2021-04-22 11:18:28 +03:00
Matthias
f744df2374
Fix bad fill message
2021-04-22 10:01:41 +02:00
Rokas Kupstys
09efa7b06b
Add --new-pairs-days parameter for download-data command.
...
This parameter allows us to customize a number of days we would like to download for new pairs only. This allows us to achieve efficient data update, downloading all data for new pairs and only missing data for existing pairs. To do that use `freqtrade download-data --new-pairs-days=3650` (not specifying `--days` or `--timerange` causes freqtrade to download only missing data for existing pairs).
2021-04-22 10:07:13 +03:00
Matthias
515c73f399
Don't hard-limit trades endpoint for now
2021-04-22 06:51:26 +02:00
Jose Hidalgo
896ec58cad
Add the reason why there is a global pairlock when lock is available
2021-04-21 15:02:33 -06:00
Matthias
d8c8a8d8c2
Remvoe pointless arguments from get_trade_stake_amount
2021-04-21 20:01:10 +02:00
Matthias
ba2d4d4656
Reduce number of calls to Trade.total_open_traes_stakes()
2021-04-21 19:27:42 +02:00
Matthias
0233aa248e
Limit stake_amount to max available amount
2021-04-21 17:22:16 +02:00
Matthias
9f6f3e0862
Address ZeroDivisionExceptiond
...
closes #4764 closes #4617
2021-04-20 21:41:49 +02:00
Matthias
bd92ce938c
trade_history should paginate through results
...
this avoids huge results
2021-04-20 21:04:44 +02:00
Matthias
b230558294
Merge pull request #4766 from freqtrade/fill_rpc
...
Add buy/sell fill messages to telegram
2021-04-20 20:39:15 +02:00
Matthias
cfa9315e2a
Prevent out of candle ROI sells
2021-04-20 20:29:53 +02:00
Jose Hidalgo
fd110c7d62
The error that it prints says the contrary to what
...
was evaluated.
ex. Trading stopped due to Max Drawdown 0.79 < 0.2 within 48 candles
2021-04-20 11:50:53 -06:00
Matthias
f821ef5aec
Final finetunings of rpc_fill messages
2021-04-20 19:36:30 +02:00
Matthias
d740aae8ca
Default fill notifications to off
2021-04-20 19:23:29 +02:00
Matthias
0341ac5a55
rename RPC message types
2021-04-20 19:23:28 +02:00
Matthias
8800a09770
Don't send double-notifications for stoploss fills
2021-04-20 19:22:14 +02:00
Matthias
fecd5c582b
Add buy and sell fill notifications
...
closes #3542
2021-04-20 19:22:14 +02:00
Matthias
06d6f9ac41
Fix calculation of unlimited_stake in case of modified wallet
2021-04-20 15:55:48 +02:00
Matthias
a2acb54e7e
Clarify comments in pairlist
2021-04-19 15:15:40 +02:00
Matthias
44bfb53668
Don't use current rate for closed trades
2021-04-17 19:29:34 +02:00
Matthias
1eb9ce4227
Allow specifying pairs for optimize commands via --pairs
2021-04-17 10:47:32 +02:00
Matthias
c52edcff4d
Merge pull request #4677 from mads03dk/get_trade
...
Add API endpoint for getting a specific trade
2021-04-16 19:57:58 +02:00
Matthias
9f2b6ee9a5
Merge pull request #4740 from freqtrade/decimal_stoploss_Hyperopt
...
stoploss and roi skdecimal spaces hyperopt
2021-04-16 19:46:07 +02:00
Matthias
aeb81f90ff
Implement errorhandling for /trade endpoint
2021-04-16 19:35:56 +02:00
Gonzalo Matheu
7a98de10ea
telegram: Formatting typings
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
e3c5a4b3fc
telegram: Formatting imports
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
5fae4ea2fd
telegram: Formatting code
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
50bdae8eb2
telegram: Adding forcebuy inline keyboard
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
e2f28991e6
telegram: Wrapping long line
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
271e4500d9
telegram: Adding dynamic keyboard to /forcebuy response
2021-04-15 21:51:16 -03:00
grillzoo
5e51ba6258
fix flake8
2021-04-15 21:38:00 +01:00
Matthias
ce870bbcf7
Use 3 decimals for ROI space
2021-04-15 21:38:20 +02:00
Théo Martin
fa343b0484
Fix get_min_pair_stake_amount formula
2021-04-15 01:19:30 +01:00
Matthias
52c482cecf
Convert trailing and roi defaults to skdecimal
2021-04-14 20:36:34 +02:00
Matthias
e820814809
Default-stoploss-hyperopt should use decimal space, nto real
2021-04-14 20:32:34 +02:00
Matthias
ba38e398e4
Add type hint
2021-04-13 22:17:42 +02:00
Matthias
c2f35ce416
/balance should use cached tickers when possible
2021-04-13 20:21:03 +02:00
Matthias
82d66410f7
Fix /performance output
...
if multiple messages are necessary
closes #4726
2021-04-13 19:20:57 +02:00
Matthias
e4bb6b1582
Add kucoin exchange subclass
...
Kucoin has some specific orderbook restrictions
closes #4723
2021-04-13 12:28:07 +02:00
Matthias
37c8fd6ad7
Remove arrow from models.py
2021-04-13 11:55:03 +02:00
Matthias
59cfbbee17
Merge pull request #4724 from csteeg/develop
...
Fixes FTX stoploss on echange throwing an error
2021-04-13 08:41:52 +02:00
Matthias
9b23be4021
Return a copy from current_whitelist
...
this avoids manipulating of the pair whitelist from within a strategy
2021-04-13 06:49:53 +02:00
Matthias
4b902d6eb8
Don't use response-model on trades endpoint for now
2021-04-13 06:23:11 +02:00
Matthias
9a58a85347
Don't export "hum" date versions for trade objects.
...
They are not used and have a rather high performance penalty due to
using arrow.get
2021-04-13 06:17:11 +02:00
Matthias
cb60db01b1
Merge pull request #4703 from freqtrade/decimal_space
...
Add SKDecimal Space
2021-04-12 19:18:10 +02:00
Chris van de Steeg
d4dc05980c
Update ftx.py
...
Stoploss price should be set as param instead of passing it as price according to ccxt
2021-04-12 16:01:46 +02:00
Matthias
be0dc737dc
Merge pull request #4706 from freqtrade/simplify_fiat_convert
...
Simplify fiat convert and fix USD coingecko problem
2021-04-10 14:57:34 +02:00
Matthias
579e68f31e
Reduce log verbosity when buying
2021-04-10 14:40:44 +02:00
Matthias
14e8574235
fetch_balance is never called in dry-run
2021-04-10 14:17:43 +02:00
Matthias
37c2e037f1
Rename dry_run_order to create_dry_run_order
2021-04-10 13:50:56 +02:00
Matthias
ebbe47f38d
Simplify fiat convert and fix USD coingecko problem
2021-04-10 13:36:16 +02:00
Matthias
9804e20114
Don't use _set_value for autoOpt-Spaces
2021-04-10 09:53:48 +02:00
Matthias
4996bd443e
Merge pull request #4697 from freqtrade/docker_user
...
Docker as user
2021-04-10 08:19:25 +02:00
Matthias
83fbaf16c8
Extract numeric param validation and explosion
2021-04-10 07:59:59 +02:00
Matthias
ea4b5d675d
Don't explode low/high, but use explicit parameters
2021-04-10 07:12:31 +02:00
Matthias
34e47db18d
Test SKDecimal space
2021-04-09 22:15:24 +02:00
Matthias
5f67400649
Add SKDecimal Space
2021-04-09 21:58:15 +02:00
Matthias
898c24949b
Add chown method to support docker
2021-04-08 20:17:07 +02:00
Matthias
8cd3c05c39
Merge pull request #4686 from gerrito333/develop
...
Add Pairlist Handler for Volatility
2021-04-08 20:00:41 +02:00
gbojen
f8244d9d76
resolves freqtrade/freqtrade#4650
2021-04-07 22:25:54 +02:00
Matthias
c36051be56
Merge pull request #4685 from freqtrade/ft_has
...
Use ccxt's has to check which exchanges can work with freqtrade
2021-04-07 10:47:56 +02:00
gbojen
5ee879a747
isort resolves freqtrade/freqtrade#4650
2021-04-07 10:15:51 +02:00
Matthias
d2680f6cb8
Remove telegram deprecation warning
...
closes #4688
2021-04-07 06:57:05 +02:00
Matthias
ac6bff536f
Fix test failure with UI test if UI is deployed
2021-04-07 06:55:11 +02:00
Matthias
0f0607baec
Fix rangeestability filter caching issue
2021-04-07 06:52:34 +02:00
gbojen
9772a93634
resolves freqtrade/freqtrade#4650
2021-04-06 23:11:40 +02:00
gbojen
9089323d26
resolves freqtrade/freqtrade#4650
2021-04-06 22:46:36 +02:00
gbojen
187cf6dcd5
VolatilityFilter resolves freqtrade/freqtrade#4650
2021-04-06 22:41:15 +02:00
Matthias
a3b4667f7c
Update exchange validation to use "validate_exchange".
2021-04-06 20:16:29 +02:00
Matthias
5ed7828446
Remove hardcoded list of non-working exchanges
2021-04-06 20:03:38 +02:00
klara31
f37fbbf4e1
Update constants.py
2021-04-06 19:47:48 +02:00
klara31
bf0886a839
Update constants.py
2021-04-06 18:35:30 +02:00
Matthias
56ef3af424
Allow comments in pairs files
2021-04-06 13:29:22 +02:00