Matthias
44e616c264
Add unfilledtimeout to required props for backtesting
2022-02-05 16:28:21 +01:00
Matthias
49cecf1cb2
Small cosmetic fix
2022-02-05 16:28:21 +01:00
Rokas Kupstys
9140679bf4
Backtest order timeout continued.
2022-02-05 16:28:21 +01:00
Rokas Kupstys
15698dd1ca
Fix errors so it runs, implement timeout handling.
2022-02-05 16:28:21 +01:00
Matthias
f7a1cabe23
Add first version to fill orders "later" in backtesting
2022-02-05 16:28:21 +01:00
Matthias
c12e5a3b6c
Initial idea backtesting order timeout
2022-02-05 16:28:21 +01:00
Matthias
6ed237a72a
Merge pull request #6272 from stash86/fix-docs
...
Add more info on Telegram's status message
2022-02-05 16:22:45 +01:00
Sam Germain
8b57827676
exchange.get_max_pair_stake_amount hard set leverage to 0
2022-02-04 14:26:15 -06:00
Joe Schr
761f7fdefb
fix: linter
2022-02-04 13:14:55 +01:00
Joe Schr
e84a58de28
fix: don't use different configuration keys, just add as 2nd argument
2022-02-04 12:47:13 +01:00
Joe Schr
a3e045f69d
Plotting: add alias --backtest-filename
for --export-filename
...
makes it easier to discover how to use this argument
2022-02-04 12:47:13 +01:00
Sam Germain
dc6cb445fd
Merge branch 'feat/short' into max-amount
2022-02-04 04:42:38 -06:00
Sam Germain
1824ee6b73
removed TODO
2022-02-04 04:41:41 -06:00
Sam Germain
e7d71d01c0
removed plotting todo
2022-02-03 20:39:47 -06:00
Sam Germain
3ee2b7978c
wallets.validate_stake_amount added param max_stake_available
2022-02-03 20:33:16 -06:00
Sam Germain
30c476e3c1
freqtradebot.get_valid_enter_price_and_stake gets min of stake_amount and max_stake_amount before calling wallets.validate_stake_amount
2022-02-03 20:33:16 -06:00
Sam Germain
a50f4d2c57
Exchange.createOrder added * as second param
2022-02-03 20:33:16 -06:00
Sam Germain
16c2d54482
updated margin_modes
2022-02-03 20:33:16 -06:00
Sam Germain
7465037906
freqtradebot.execute_entry test for too high stake amount
2022-02-03 20:33:16 -06:00
Sam Germain
8c680d75b9
moved max_stake_amount check for None to exchange.get_max_pair_stake_amount
2022-02-03 20:33:16 -06:00
Sam Germain
6b6b35ac1c
check for max stake limit in freqtradebot and backtesting
2022-02-03 20:33:04 -06:00
Sam Germain
55d91f018f
exchange._get_stake_amount_limit (merged min_pair_stake_amount and get_max_tradeable amount)
2022-02-03 20:33:04 -06:00
Sam Germain
ff5fffefb4
exchange.get_max_amount_tradable looks at cost also
2022-02-03 20:33:03 -06:00
Sam Germain
6e8420914e
removed unnecessary CCXT checks in exchange.get_min_pair_stake_amount
2022-02-03 20:33:03 -06:00
Sam Germain
64ad810445
Revert "moved get_max_leverage to get_min_pair_stake_amount"
...
This reverts commit 90e48d5b98bcfb1452aa818a3274745eac395712.
2022-02-03 20:33:03 -06:00
Sam Germain
73319a74d3
moved get_max_leverage to get_min_pair_stake_amount
2022-02-03 20:33:03 -06:00
Sam Germain
f3b42b0ef3
wrote exchange.get_max_amount_tradable
2022-02-03 20:33:03 -06:00
Sam Germain
de557f1386
models.update removed TODO-lev
2022-02-03 17:48:34 -06:00
Sam Germain
99b8a8ca79
Revert "plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function"
...
This reverts commit 0abba7f9b7299ba3c45df6a2ba6e35ad6a19c5a0.
2022-02-03 17:48:34 -06:00
Sam Germain
84dea0339b
Added todo to freqtradebot._safe_exit_amount
2022-02-03 17:48:34 -06:00
Sam Germain
edc0e9c75f
backtesting._get_ohlcv_as_lists changed candle_type to candle_type_def
2022-02-03 17:48:34 -06:00
Sam Germain
1f74cfe841
plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function
2022-02-03 17:48:34 -06:00
Sam Germain
a31cf236e4
freqtradebot._safe_exit_amount, no _safe_exit_amount is needed for futures
2022-02-03 17:48:34 -06:00
Sam Germain
d5376c2c89
wrote freqtradebot.test_leverage_prep
2022-02-03 17:48:33 -06:00
Sam Germain
977f87659c
edited backtesting._get_sell_trade_entry TODO: removed "Other fees"
2022-02-03 17:48:33 -06:00
Sam Germain
73d10b5c02
backtesting._get_ohlcv_as_lists removed # TODO-lev: Candle-type should be conditional, either "spot" or futures
2022-02-03 17:48:33 -06:00
Sam Germain
64bfa118e0
freqtradebot.handle_cancel_enter todo - Check edge cases, we dont want to make leverage > 1.0 if we dont have to
2022-02-03 17:48:33 -06:00
Sam Germain
bc6614df2d
fixed failing tests in tests/commands/test_commands.py by adding NONE='' option to MarginMode
2022-02-03 17:48:33 -06:00
Sam Germain
f58b92bb86
exchange.create_order removed default for leverage
2022-02-03 17:48:08 -06:00
Matthias
f8faf748df
Simplify prepare_buy_details
2022-02-03 19:47:03 +01:00
Matthias
1e6362debf
Add test for new /status telegram message
2022-02-03 19:41:45 +01:00
Matthias
29879bb415
Update wording to entry/exit
2022-02-03 19:11:35 +01:00
Matthias
a733a74dd9
Merge pull request #6294 from xataxxx/health
...
/health api and telegram commands to return last processing time
2022-02-02 19:53:45 +01:00
Matthias
a4e1aaa9bd
Merge pull request #6307 from freqtrade/bt_shift
...
Remove shift in analyzed dataframe columns
2022-02-02 19:52:10 +01:00
Matthias
2d45163f8f
Bump version to 2022.1
2022-02-02 19:46:48 +01:00
Matthias
e95fb7ef3e
Merge branch 'stable' into new_release
2022-02-02 19:46:33 +01:00
Sam Germain
179947fa72
New config ( #6333 )
...
* updated new-config to add trading_mode and margin_mode
* added trading_mode and margin_mode to config examples
* added okex config example
* new file: config_examples/config_binance_futures.example.json
* removed trading_mode and margin_mode from base_config and binance and okex example
* deleted okex and futures config files
* updated full config file
* updated new-config command to add trading_mode and margin_mode to config
* new file: config_examples/config_okex_futures.example.json
* removed config_okex_futures.example.json
* added trading_mode to test_start_new_config
* new-config asks exchange before asking futures
* Simplify trading_mode selection
* margin_mode is empty string for spot new configs
* build_config_commands sorted exchanges
* isort
Co-authored-by: Matthias <xmatthias@outlook.com>
2022-02-02 14:46:44 +01:00
Matthias
0058abcc2d
Fix crash when no min-stake-amount could be determined
2022-02-02 12:20:05 +01:00
Sam Germain
a741356d65
okex._lev_prep, removing rounding from default set_leverage
2022-02-02 00:28:57 -06:00
Sam Germain
8e51360f75
exchange._set_leverage rounds leverage
2022-02-02 00:09:58 -06:00
Sam Germain
8a64f6a27f
exchange.set_margin_mode param swap
2022-02-02 00:09:53 -06:00
Sam Germain
386be2d889
set reduceOnly for futures exit orders
2022-02-02 00:08:50 -06:00
Sam Germain
b3477c4802
_api.fetch_funding_history argument pair->symbol
2022-02-02 00:08:50 -06:00
Matthias
ac04d5852a
change to margin_mode also in documentation
2022-02-02 06:41:42 +01:00
Sam Germain
30519aa3be
Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
2022-02-01 13:05:40 -06:00
Matthias
64d0c75bbb
Fix deprecation warnings
2022-02-01 19:11:51 +01:00
Matthias
45e533fc3e
Add leverage/short properties to api responses
2022-02-01 07:08:43 +01:00
Matthias
7dd50f78cf
Small finetuning improving a comment
2022-02-01 06:37:13 +01:00
Sam Germain
fc15e14707
Merge branch 'feat/short' into isolated-liq
2022-01-31 14:22:01 -06:00
Sam Germain
ed320bb2ac
exchange.get_liquidation_price check length of positions
2022-01-31 14:01:06 -06:00
Sam Germain
9de63412c1
exchange.get_liquidation_price arguments are not optional
2022-01-31 14:00:52 -06:00
Sam Germain
430051275a
freqtradebot.leverage_prep moved wallet_balance to a variable
2022-01-31 13:21:27 -06:00
Sam Germain
8190b0d83b
binance.get_max_leverage adjustment
2022-01-31 12:49:18 -06:00
Sam Germain
a368f8b322
exchange.get_max_leverage changed variable names, made more effecient
2022-01-31 12:21:12 -06:00
Sam Germain
08e4a4a6dd
binance.get_max_leverage_fix
2022-01-31 12:21:12 -06:00
Sam Germain
43db4c34d1
added okex back to unsupported exchanges
2022-01-31 12:18:30 -06:00
Sam Germain
2c1497b348
contracts_to_amount no longer in amount_to_precision
2022-01-31 12:18:30 -06:00
Sam Germain
b8f4cebce7
exchange.liquidation_price methods combined, dry_run check on exchange for liquidation price
2022-01-31 12:18:25 -06:00
Sam Germain
143c37d36f
cleaned up liquidation price methods
2022-01-31 12:17:07 -06:00
Sam Germain
ede9012fcc
removed TODO-levs about okex liquidation price
2022-01-31 12:17:07 -06:00
Sam Germain
d133a7c789
added isolated, futures to okex trading_mode_collateral_pairs
2022-01-31 12:17:07 -06:00
Sam Germain
88ce66650c
Okex and Gateio liquidation_price formula are the same, moved liquidation_price to exchange.exchange class
2022-01-31 12:17:07 -06:00
Sam Germain
7f4894d68e
okex.liquidation_price formula update
2022-01-31 12:17:07 -06:00
Sam Germain
fe037aa971
exchange.liquidation_price combined position and position_assets
2022-01-31 12:17:07 -06:00
Sam Germain
0b5c2e97b3
exchange._get_maintenance_ratio_and_amount
2022-01-31 12:17:07 -06:00
Sam Germain
0c13e387fe
moved liquidation_price method to exchange classes
2022-01-31 12:16:43 -06:00
Sam Germain
5a97760bd1
binance.get_max_leverage divide by 0 warning
2022-01-31 12:16:43 -06:00
Sam Germain
1f8111d1c6
exchange.get_max_leverage pair is required
2022-01-31 12:16:43 -06:00
Sam Germain
caff7e227f
binance.fill_leverage_brackets remove excess bracket
2022-01-31 12:16:43 -06:00
Sam Germain
e4b37c6462
freqtradebot.leverage_prep minor fixes
2022-01-31 12:16:43 -06:00
Sam Germain
1f1ac8ce9d
test_get_liquidation_price/test_get_maintenance_ratio_and_amt_binance/fill_leverage_brackets/test_validate_trading_mode_and_collateral TODO comments
2022-01-31 12:16:43 -06:00
Sam Germain
c2f9201512
Added get_liquidation_price check
2022-01-31 12:16:43 -06:00
Sam Germain
bb2b2211d0
exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
2022-01-31 12:16:43 -06:00
Sam Germain
b4a0611afc
exchange.get_liquidation_price removed irrelevant comment
2022-01-31 12:16:43 -06:00
Sam Germain
0c8205ab3b
replace single quote docstrings with double quote docstrings
2022-01-31 12:16:43 -06:00
Sam Germain
7abffee755
liquidation_price formula organize and comment clean up
2022-01-31 12:16:43 -06:00
Sam Germain
387a9fbf36
test_execute_entry liquidation_price test test_get_maintenance_ratio_and_amt_gateio
2022-01-31 12:16:38 -06:00
Sam Germain
2d545a2def
fixed breaking tests for liquidation price
2022-01-31 12:15:54 -06:00
Sam Germain
1eee5373b9
gateio.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
8889512887
freqtradebot.leverage_prep gets taker_fee_rate
2022-01-31 12:15:54 -06:00
Sam Germain
bff53c52af
rewrite fill_leverage_brackets
2022-01-31 12:15:54 -06:00
Sam Germain
69a6223ca0
implemented binance.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
ba5fc21d84
added isolated futures to supported modes for binance,gateio
2022-01-31 12:15:54 -06:00
Sam Germain
e0df7ee72a
Changed variable names in binance.get_max_leverage
2022-01-31 12:15:54 -06:00
Sam Germain
42360592ba
trimmed down liquidation_price variable and edited comments
2022-01-31 12:15:54 -06:00
Sam Germain
5796d95a95
Added gateio and okex isolated liquidation formulas
2022-01-31 12:15:54 -06:00
Sam Germain
ba02605d77
Isolated liq branch passes all tests and has the general structure that it is supposed to, but is patchy, and doesnt get the correct maintenance amt and maintenance margin rate yet
2022-01-31 12:15:54 -06:00
Sam Germain
eee7271ab8
Added live isolated-liq get
2022-01-31 12:15:54 -06:00
Arunavo Ray
778e3bcba6
Suppress incompatible type "Optional[float]"; expected "float" as the check exists.
2022-01-31 12:15:54 -06:00
Sam Germain
92c94bb62a
added position and wallet_balance to LocalTrade.set_isolated_liq
2022-01-31 12:15:54 -06:00
Arunavo Ray
447312d4c8
Fixed parameter check which failed when 0.0 was passed
2022-01-31 12:15:54 -06:00
Sam Germain
d26a068adf
rearanged isolated_liq in models a bit
2022-01-31 12:15:54 -06:00
Arunavo Ray
3709130eb7
Added Tests for Binance Liquidation price, shortened liquidation param names
2022-01-31 12:15:54 -06:00
Arunavo Ray
f9a2d1a71d
Binance Liquidation Price Hedge-Mode Removed
2022-01-31 12:15:54 -06:00
Arunavo Ray
7119dc6e41
Converted kwargs to params
2022-01-31 12:15:54 -06:00
Sam Germain
80f4bae3fe
Revert "Added Formulas to Calculate Liquidation Price of Binance USDⓈ-M Futures Contracts"
...
This reverts commit d343e84507
.
2022-01-31 12:15:54 -06:00
Sam Germain
b30458f871
Revert "Added Margin Mode Check for Binance."
...
This reverts commit abcb9729e5
.
2022-01-31 12:15:54 -06:00
Arunavo Ray
1299cff894
Added Margin Mode Check for Binance.
2022-01-31 12:15:54 -06:00
Arunavo Ray
60454334d9
Added Formulas to Calculate Liquidation Price of Binance USDⓈ-M Futures Contracts
2022-01-31 12:15:54 -06:00
Sam Germain
fe5e00361e
separated test_leverage into test_interest and test_liquidation_price, and paramaterized tests
2022-01-31 12:15:54 -06:00
Sam Germain
a087d03db9
Added liquidation_price function
2022-01-31 12:15:54 -06:00
Sam Germain
da0d2590b9
Removed PrecisionFilter liquidation price TODO-lev
2022-01-31 12:06:04 -06:00
Matthias
be866f04fa
Merge pull request #6330 from samgermain/market-checks
...
Removed unnecessary CCXT market checks
2022-01-31 19:01:59 +01:00
Sam Germain
689174ea0d
removed TODO-lev comments
2022-01-31 04:12:37 -06:00
Sam Germain
29c5dfd4ca
Removed unnecessary CCXT market checks
2022-01-31 02:40:10 -06:00
Matthias
cf7edace2b
Merge pull request #6312 from freqtrade/short_informative_decorator
...
Short informative decorator
2022-01-30 15:33:52 +01:00
Matthias
cafda31869
Merge pull request #6320 from stash86/pos_adjust
...
Change new-config message for max_open_trades input
2022-01-30 14:11:20 +01:00
Matthias
7aae9565c7
Only look at buy orders when looking to recalculate trade value
2022-01-30 14:08:42 +01:00
Stefano Ariestasia
da39ca6650
fix new-config
2022-01-30 21:19:05 +09:00
Matthias
000b8ff281
Merge pull request #6306 from freqtrade/short_forceentry
...
add `/forcelong` and `/forceshort` commands
2022-01-30 07:36:14 +01:00
Matthias
aea84dc117
Limit should default to None when calling pair_candles
2022-01-29 20:16:58 +01:00
Matthias
8a6823deb1
Convert InformativeData to dataclass
2022-01-29 19:59:54 +01:00
Stefano Ariestasia
326ba46bf8
Merge branch 'freqtrade:develop' into fix-docs
2022-01-29 23:20:41 +09:00
Matthias
ab932d8398
Properly detect default candle type
2022-01-29 14:31:58 +01:00
Matthias
d1d520769e
Improve status table for position adjust
...
don't show "/max" if no maximum is set
closes #6317
2022-01-29 14:29:09 +01:00
Matthias
463714832d
Merge branch 'develop' into feat/short
2022-01-29 14:19:30 +01:00
Matthias
e7409e74c2
Remove default from position_adjustment (otherwise strategy parameters won't work anymore)
2022-01-28 19:21:42 +01:00
Matthias
c620e38c7d
Informative decorator updates for futures
2022-01-28 19:17:46 +01:00
Matthias
fb3c67d86b
Accept that keys sometimes are not provided
2022-01-28 17:07:34 +01:00
Matthias
fdea4fcb1b
Remove some todo's
2022-01-28 15:52:12 +01:00
Matthias
571ddceaf6
Merge pull request #6310 from Verbalinsurection/perso
...
Fix ETH duplicate in CoinGecko
2022-01-28 12:35:44 +01:00
Matthias
15d5389564
Update /health endpoint to be in local timezone
2022-01-28 10:33:35 +01:00
Verbalinsurection
660f474ab8
Fix ETH duplicate in CoinGecko
2022-01-28 10:26:31 +01:00
Matthias
5d0c2bcb44
Shift candles after pushing them to dataprovider
...
this will ensure that the signals are not shifted in callbacks
closes #6234
2022-01-28 07:25:10 +01:00
Matthias
138e867a68
Filter tickers on stake-currency for kraken
2022-01-28 07:20:47 +01:00
Stefano Ariestasia
bd1b991448
Merge branch 'freqtrade:develop' into fix-docs
2022-01-28 06:57:13 +09:00
Matthias
82e193d9f0
Merge pull request #6260 from stash86/pos_adjust
...
Add max_buy_position_adjustment as attribute
2022-01-27 20:13:51 +01:00
Matthias
108018b30b
Merge pull request #6231 from freqtrade/funding_rate_backtest
...
Funding rate backtest
2022-01-27 17:01:28 +01:00
Matthias
002226f5fd
Update setting to max_entry_position_adjustment
2022-01-27 16:57:50 +01:00
Matthias
c4f71cc103
More forceenter updates
2022-01-27 07:38:11 +01:00
Matthias
6e72effbf0
Update forcebuy telegram tests
2022-01-27 06:31:45 +01:00
Matthias
0a52d79208
Update forcesell to work as forceexit
2022-01-26 20:17:00 +01:00
Matthias
7afaf4b5d4
Add /forceshort
command
2022-01-26 19:53:46 +01:00
Matthias
e2ddea79ee
Add "market" to /show_config
2022-01-26 19:49:15 +01:00
Matthias
be7ce208dc
Update tests to test forceenter endpoint
2022-01-26 19:24:01 +01:00
Matthias
48d8cd82af
_rpc_forcebuy
2022-01-26 19:11:01 +01:00
Matthias
4998f3bdd7
Add order_side to forcebuy endpoint
2022-01-26 19:07:44 +01:00
Stefano Ariestasia
396ebebdc1
Merge branch 'freqtrade:develop' into fix-docs
2022-01-26 16:09:11 +09:00
Stefano Ariestasia
ed71f777a3
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-26 07:07:00 +00:00
Stefano Ariestasia
1f26709aca
changes
2022-01-26 07:06:52 +00:00
Matthias
67651e013e
Add /forceenter endpoint
2022-01-26 07:10:38 +01:00
Matthias
88ccfedd32
Improve wording of "no history found" error
2022-01-26 06:53:00 +01:00
Matthias
b6943f3bca
Merge pull request #6296 from freqtrade/python_37_remove
...
Update references to remove python 3.7 support
2022-01-25 20:01:14 +01:00
Matthias
12c79967f5
Merge pull request #6258 from italodamato/pass_dimensions_to_generate_estimator
...
Pass dimensions to generate_estimator
2022-01-25 19:37:22 +01:00
Matthias
13978e9893
Merge pull request #6276 from clover-es/feat/short
...
Add support for shorts in strategy.stoploss_from_absolute()
2022-01-25 19:11:05 +01:00
Italo
30b27ae736
explicit dtype
2022-01-25 12:29:55 +00:00
Italo
f7a5b2cb71
explicit dimensions, added **kwargs, updated docs
2022-01-25 11:43:40 +00:00
Matthias
d9347e9900
Update references to remove python 3.7 support
2022-01-25 06:43:36 +01:00
Matthias
f7be93aaa6
leverage limits can be None, so we need to check for that
2022-01-25 06:30:03 +01:00
Stefano Ariestasia
0fa7986369
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-25 10:30:18 +09:00
Stefano Ariestasia
7c975df42a
Merge branch 'freqtrade:develop' into fix-docs
2022-01-25 10:30:03 +09:00
Reigo Reinmets
78986a0def
I sort managed to fit it on another row. Impressive.
2022-01-24 14:09:23 +02:00
Reigo Reinmets
1d59a6b7e3
Merge branch 'freqtrade:develop' into health
2022-01-24 13:52:53 +02:00
Matthias
194a5ce3cc
Update advanced strategy template with missing methods
2022-01-24 07:02:02 +01:00
Matthias
e252830229
Add entry_tag to "entry" callbacks
2022-01-24 07:02:01 +01:00
Reigo Reinmets
bf62fc9b25
Add /health endpoint that returns last_process timestamp, fix issue #6009
2022-01-23 21:58:46 +02:00
Reigo Reinmets
451eca51c8
Optimise the multiple usages of the same timestamp.
2022-01-23 20:58:25 +02:00
Reigo Reinmets
e67a54f7a9
Fix missing order time info in backtesting.
2022-01-23 20:52:35 +02:00
Matthias
daee59f4f1
Reorder interface methods
2022-01-23 19:20:31 +01:00
Matthias
57067ce88d
Add tests for max_adjustment_buy handling
2022-01-23 19:07:37 +01:00
Matthias
7429f535c1
Imrpove code by reusing available properties
2022-01-23 18:59:09 +01:00
Matthias
62df044618
Merge pull request #6279 from xataxxx/develop
...
Fix position adjustment not counting older orders because of missing average field value
2022-01-23 17:42:51 +01:00
Matthias
4b6f9121ca
Merge pull request #6275 from freqtrade/extract_timedout_from_ftbot
...
Extract timedout from ftbot
2022-01-23 17:28:10 +01:00
Reigo Reinmets
6613e3757a
Additional fix
2022-01-23 18:09:57 +02:00
Matthias
09db4bcadd
Don't use strings, use methods directly
2022-01-23 17:00:00 +01:00
Reigo Reinmets
51b94889b2
Just in case also check for closed to avoid counting in canceled orders.
2022-01-23 17:56:41 +02:00
Reigo Reinmets
8c79d55739
Fix issue #6268
2022-01-23 17:44:16 +02:00
Stefano Ariestasia
480ed90a02
create to_json function for Order
2022-01-23 11:33:06 +00:00
Matthias
821a9d9cdc
Add current_time to check_timeout functions for convenience
2022-01-23 08:10:35 +01:00
Stefano Ariestasia
cc3852daf3
Add defaults to constants.py and update docs
2022-01-23 03:54:58 +00:00
Matthias
ad28543d4d
Update kraken calculation
2022-01-22 19:46:11 +01:00
Matthias
a0c0c4dcbe
Update funding_fee formula to correctly calculate fees for long trades
2022-01-22 19:46:10 +01:00
Matthias
f26cd19146
Merge index and mark rates as part of dataload
2022-01-22 19:45:46 +01:00
Matthias
82c90c0049
Extract funding and mark mergin to separate method
2022-01-22 19:45:46 +01:00
Matthias
84c6d92d4c
calculate_funding_fees is actually a public exchange interface (used in backtesting).
2022-01-22 19:45:46 +01:00
Matthias
e9e7fd749b
Support funding-fees while running backtest
2022-01-22 19:45:43 +01:00
Matthias
c6c97efed3
Remove unused method _get_funding_fee
2022-01-22 19:44:20 +01:00
Matthias
ef3a1ea8f2
Split funding fee calculation from Download
2022-01-22 19:44:20 +01:00
Guillermo Rodríguez
17ae6a0c78
Harmonize short parameter name in stoploss_from_open()
2022-01-22 18:01:56 +01:00
Guillermo Rodríguez
40cd478c6d
Calculate stoploss_from_absolute for shorts
2022-01-22 18:01:02 +01:00
Matthias
f090dcc597
Merge branch 'develop' into feat/short
2022-01-22 17:56:01 +01:00
Matthias
56daafd6b7
Use realistic date for dry-run orders
2022-01-22 16:31:59 +01:00
Matthias
01b331ee42
Merge pull request #6274 from italodamato/set-stoploss-at-trade-creation
...
set stoploss at trade creation
2022-01-22 16:17:47 +01:00
Matthias
7bef9a9b3e
Extract timeout handling from freqtradebot class
2022-01-22 15:59:10 +01:00
Italo
82f0d4d056
set stoploss at trade creation
2022-01-22 14:03:12 +00:00
Matthias
bd4014e1e6
Small cleanup
2022-01-22 15:01:27 +01:00
Matthias
a35b0b519a
Update forcebuy endpoint to support stake-amount
...
closes #6223
2022-01-22 13:26:02 +01:00
Stefano Ariestasia
fe5f61694b
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-22 21:25:16 +09:00
Matthias
1505ad451c
Merge pull request #6271 from freqtrade/fix/6267
...
Allow @informative in webserver mode
2022-01-22 10:33:52 +01:00
Matthias
9ecd7400c8
Allow NaN when calculating digests
2022-01-22 08:10:09 +01:00
Stefano Ariestasia
f79decdb9c
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-22 06:54:57 +00:00
Stefano Ariestasia
05046b9eef
Add more info on status message
2022-01-22 06:54:49 +00:00
Matthias
a43c088448
Allow @informative in webserver mode
2022-01-22 07:11:59 +01:00
Matthias
3d94d7df5c
Update migrations for mariadb
2022-01-21 19:31:11 +01:00
Matthias
c265f39323
Update sequences for postgres
2022-01-21 17:19:39 +01:00
Matthias
19948a6f89
Try fix sequence migrations
2022-01-21 16:49:08 +01:00
Matthias
5dca183b7b
Combine order and Trade migrations to better facilitate migrations in advanced DB systems
2022-01-21 16:49:08 +01:00
Matthias
bb1d8fb54f
Improve message when no hyperopt fie is found
...
closes #6266
2022-01-21 15:24:26 +01:00
Stefano Ariestasia
3249f9fb98
Add max buys on status table
2022-01-21 08:27:54 +00:00
Stefano Ariestasia
f3a152a5a2
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-21 17:11:36 +09:00
Matthias
730d2e3574
Merge pull request #6259 from stash86/fix-docs
...
add "# Buys" column to status table
2022-01-21 07:49:21 +01:00
Matthias
d02acb21c2
Add simple test for #buy header
2022-01-21 07:04:25 +01:00
Stefano Ariestasia
748381c5cd
Update based on flake8
2022-01-21 00:35:22 +00:00
Italo
e35a1e4a01
fix flake8
2022-01-20 21:00:33 +00:00
Italo
a9f14ac119
show buy_tag only if not None
2022-01-20 18:44:09 +00:00
Italo
4e9f0d89af
add buy_tag to trade tooltip in plots
2022-01-20 17:17:58 +00:00
Matthias
a6c7f45545
Update webserver backtseting to reuse prior results
2022-01-20 06:51:48 +01:00
Matthias
e9baabce6f
Store results when backtesting via API
2022-01-20 06:35:18 +01:00
Stefano Ariestasia
f30580e5f2
Update freqtradebot.py
2022-01-20 11:40:29 +09:00
Stefano Ariestasia
5fb9511556
fix typo
2022-01-20 10:34:35 +09:00
Stefano Ariestasia
62ea1a445e
add lines to show_config message
2022-01-20 10:03:26 +09:00
Stefano Ariestasia
2e537df358
Update strategy_resolver.py
2022-01-20 09:07:59 +09:00
Matthias
847e8977ca
Merge pull request #6255 from rokups/rk/backtest-result-caching-2
...
Rework backtesting --no-cahche to --cache=[none, day, week, month].
2022-01-19 21:01:24 +01:00
Matthias
afe46a55f7
Add documentation for --cache backtest option
2022-01-19 20:19:17 +01:00
Matthias
d319204dea
Add note about legacy metadata format
2022-01-19 20:08:09 +01:00
Stefano Ariestasia
ac93eea585
update
2022-01-19 21:58:24 +09:00
Rokas Kupstys
5fffc5033a
Rework backtesting --no-cahche to --cache=[none, day, week, month].
...
Fix an issue where config modification during runtime would prevent use of cached results.
2022-01-19 11:44:35 +02:00
Stefano Ariestasia
5525fdae1a
add max_buy_position_adjustment as attribute
2022-01-19 16:50:13 +09:00
Stefano Ariestasia
3925e8a7e3
add "# Buys" column to status table
2022-01-19 16:14:21 +09:00
Matthias
e04956be0e
Merge pull request #6185 from freqtrade/fix_funding_fee_calc
...
cleanup funding fee tests
2022-01-19 06:57:44 +01:00
Italo
a4dbdb549d
added type spec
2022-01-19 01:37:47 +00:00
Italo
407c20412d
Pass dimensions to generate_estimator
...
It's needed in order to create isotropic kernels for the GaussianProcessRegressor
2022-01-19 01:07:41 +00:00
Matthias
1fb48a1f53
Add TODO-lev for "stoploss_from_absolute".
2022-01-18 16:52:34 +01:00
Matthias
120639e84b
Merge pull request #6228 from clover-es/feat/short
...
Stoploss from open for shorts
2022-01-18 16:49:58 +01:00
மனோஜ்குமார் பழனிச்சாமி
d918d24f08
Spreadfilter log % fix
...
Both the following same
print(f'{3:.3%}')
print(f'{3 *100 :.3}%')
# 300.000%
2022-01-18 14:05:03 +05:30
Matthias
3c06d31bbf
Merge pull request #6238 from stash86/fix-docs
...
Add position adjustment On or Off on startup message
2022-01-17 20:32:27 +01:00
Matthias
9c9c9f0171
Readd trailing white line
2022-01-17 20:00:35 +01:00
Matthias
6c7a4230ad
Update comment about funding_fees calculation
2022-01-17 19:20:47 +01:00
Reigo Reinmets
3de843ab2c
Add eager-loading for orders. This allows access to trade.orders in all callbacks.
2022-01-17 13:23:37 +02:00
Stefano Ariestasia
f9a935b9a3
Update rpc_manager.py
2022-01-17 16:37:06 +09:00
Stefano Ariestasia
b6ad0f52e9
Merge branch 'freqtrade:develop' into fix-docs
2022-01-17 10:59:16 +09:00
Stefano Ariestasia
edd2ea3699
Update rpc_manager.py
2022-01-17 10:57:10 +09:00
Matthias
c02497e4b8
Merge pull request #6172 from rokups/rk/backtest-results-caching
...
Backtest result reuse
2022-01-16 19:09:37 +01:00
Matthias
2bcfc0c90c
Add warning about cache problems
2022-01-16 18:01:05 +01:00
Matthias
d08885ed92
Fix empty "/log" endpoint in certain moments
2022-01-16 15:37:00 +01:00
Matthias
5bb48eaed0
Replace Nan with 0 or None in backtesting
...
part of #6224
2022-01-16 14:49:29 +01:00
Matthias
69c00db7cd
Only show /balance % improvement if trades have been made
2022-01-16 13:39:50 +01:00
Matthias
b96b0f89bd
improved unfilledtimeout defaults
2022-01-16 13:17:12 +01:00
Matthias
6c4b261469
Convert nan to None in get_signal.
2022-01-16 08:04:39 +01:00
Rokas Kupstys
062d00e8f2
Fix @informative decorator failing with edge.
2022-01-15 17:31:16 +02:00
Rokas Kupstys
2b7405470a
Fix timerange check.
2022-01-15 17:30:40 +02:00
Rokas Kupstys
16861db653
Implement previous backtest result reuse when config and strategy did not change.
2022-01-15 17:30:40 +02:00
Matthias
6684bff963
Dry-run orders should have filled set correctly
2022-01-15 15:25:16 +01:00
Guillermo Rodríguez
d28287880c
Add support for shorts in strategy.stoploss_from_open
...
Signed-off-by: Guillermo Rodríguez <guillebep@gmail.com>
2022-01-15 04:30:30 +01:00
Reigo Reinmets
93adb436f8
Fix flake8 intention issue.
2022-01-14 20:25:29 +02:00
Reigo Reinmets
320c9ccf90
Unify functions and make it easy to get a list of filled buy orders
2022-01-14 20:02:35 +02:00
Reigo Reinmets
08cae6f067
Fix horrible whitespace mistake.
2022-01-13 20:44:03 +02:00
Reigo Reinmets
ffe69535d8
These could be properties.
2022-01-13 20:31:03 +02:00
Reigo Reinmets
13bc5c5d8f
Fine, this does look better.
2022-01-13 20:24:21 +02:00
Reigo Reinmets
678be0b773
Slightly move code.
2022-01-13 20:16:45 +02:00
Matthias
faa35cb167
Small minor fixes
2022-01-13 17:18:07 +01:00
Reigo Reinmets
c826c9c2b9
Merge branch 'freqtrade:develop' into dca
2022-01-13 10:04:39 +02:00
Wings22Actual
a22e1b6500
minor spelling correction
...
line 89 "Tim"->"Time"
2022-01-13 01:48:38 +00:00
Reigo Reinmets
e50b07ecb4
Make code compatible.
2022-01-11 12:05:57 +02:00
Reigo Reinmets
94f2c99989
Temporary fix for lazy loading. Probably we can do it better.
2022-01-11 11:43:32 +02:00
Reigo Reinmets
fbf026ac43
Fix sorting of imports.
2022-01-10 20:43:57 +02:00
Reigo Reinmets
3b7167ab07
Fix backtesting missing filled amounts in orders.
2022-01-10 20:30:40 +02:00
Reigo Reinmets
26f2db4777
Fix notify_enter attempting to fetch rate during testing.
2022-01-10 20:30:32 +02:00
Reigo Reinmets
30d293bfec
Fix bug with None in backtesting.
2022-01-10 20:16:11 +02:00
Reigo Reinmets
91b89c8c42
Improve docs, fix telegram message to show current rate.
2022-01-08 21:30:42 +02:00
Reigo Reinmets
195d601b8e
Fix notification message showing "Current rate" as the initial buy order desired rate.
2022-01-08 17:41:59 +02:00
Reigo Reinmets
0bca07a32a
Added min_stake, max_stake. Removed pair as its included in trade.
2022-01-08 17:20:02 +02:00
Reigo Reinmets
813a2cd23b
Add useful helper methods for adjust_trade_position implementation
2022-01-08 17:18:37 +02:00
Matthias
2fb9e7940a
Improve "missing data" message
2022-01-08 14:39:09 +01:00
Reigo Reinmets
8e424f7c73
Merge branch 'freqtrade:develop' into dca
2022-01-08 14:57:15 +02:00
Matthias
dad080f56f
Merge branch 'develop' into feat/short
2022-01-08 10:45:15 +01:00
Sam Germain
c61acb9f19
removed rename todos
2022-01-08 03:09:47 -06:00
Matthias
04976658da
Fix crash when using backtesting-show on a old backtestresult
2022-01-07 17:34:47 +01:00
Matthias
522496d9e2
Add Compatibility code for BT_DATA_COLUMNS
2022-01-07 17:17:35 +01:00
Rokas Kupstys
11ace0f867
Instead of clearing processed
dict, store df_analyzed
(one with buy/sell signals) dataframe in it.
...
It still saves memory because this dataframe is kept by DataProvider.
Fixes #6179 .
Amends #6133 (a715083fc0
).
2022-01-07 12:07:49 +02:00
Matthias
46809f08fe
Merge branch 'develop' into feat/short
2022-01-07 10:13:16 +01:00
Matthias
e540959c27
Remove btdata from generate_strategy_stats
2022-01-07 09:27:07 +01:00
Matthias
1203d08d1e
generate_pair_metrics does not need processed dict
2022-01-07 09:27:07 +01:00
Matthias
b77943af0d
Merge pull request #6173 from freqtrade/volume_quote_workaround
...
Selectively convert quote to base volume in volumepairlist
2022-01-07 09:07:16 +01:00
Matthias
d64f9030c1
Remove now unused codesegment
2022-01-07 08:04:01 +01:00
Matthias
b3a4ecaf77
Remove old backtest format support
2022-01-06 19:49:25 +01:00
Matthias
24ec78b11c
Quote-volumelist fix for gateio
2022-01-06 19:07:47 +01:00
Matthias
326e3d1f8e
Selectively convert quote to base volume in volumepairlist
2022-01-06 19:07:43 +01:00
Matthias
173524ea5b
Merge pull request #6170 from freqtrade/contract_workaround
...
contractSize is a string coming from ccxt
2022-01-06 16:25:19 +01:00
Carlo Revelli
7451b60501
increase okex candle limit
2022-01-06 05:31:23 -08:00
Matthias
431fcdd76f
contractSize is a string comming from ccxt
2022-01-06 13:53:27 +01:00
Matthias
a0f9c1bf7b
Avoid failure when calculating max-drawdown
...
occurs if if no winning trade is recorded.
2022-01-06 13:51:15 +01:00
Matthias
e88a1ab209
Improve VolumePairlist behaviour
...
Filter pairs before downloading ohlcv candles - this will greatly speed up some instances.
2022-01-06 13:49:27 +01:00
Matthias
72b2d4ab5f
Update FTX to support new standardized futures format
2022-01-06 11:16:26 +01:00
Matthias
6ad521a0f7
Update apply_fee_conditional with note about futures
2022-01-06 10:22:28 +01:00
Matthias
addba6597a
Merge pull request #6165 from freqtrade/drawdown_fixes
...
Improved drawdown calculation
2022-01-06 09:56:05 +01:00
Matthias
2a2392fd73
Update parameter name in docstring
2022-01-06 09:15:30 +01:00
Matthias
33d95d245e
Fix unbounderror
...
closes #6169
2022-01-06 08:48:30 +01:00
Matthias
a9a6cf13f8
Add exit_tag to detail-sells
...
closes #6159
2022-01-06 08:22:15 +01:00
Matthias
4e2b9203d7
Remove no longer used BT_DATA_COLUMNS_MID
2022-01-05 20:40:59 +01:00
Matthias
6abd6bceb9
Avoid recalculating statistics for comparison line
2022-01-05 20:16:48 +01:00
Sam Germain
3d22497177
add warning for futures dust to freqtradebot.apply_fee_conditional
2022-01-05 00:57:36 -06:00
Sam Germain
501f473164
Merge branch 'develop' into feat/short
2022-01-04 22:47:33 -06:00
Matthias
8373a4e713
Small Adjustments to improve compatibility
2022-01-04 19:17:08 +01:00
Matthias
4d9b4ddc28
Update hyperopt-tools to use account drawdown
2022-01-04 17:43:39 +01:00
Matthias
09fae25c94
Fix some tests after drawdown calculation change
2022-01-04 17:07:31 +01:00
Matthias
7a2b50ce8b
Update drawdown calculation to account drawdown
2022-01-04 17:07:31 +01:00
Matthias
42579c0268
Drop hyperopt results legacy mode
2022-01-04 17:06:40 +01:00
Sam Germain
b2a1124a26
Merge branch 'feat/short' of https://github.com/freqtrade/freqtrade into feat/short
2022-01-04 00:17:42 -06:00
Matthias
e57c2d64a5
Merge pull request #5888 from samgermain/contract-sizes
...
Convert contract size to underlying asset size
2022-01-03 21:55:19 +01:00
Matthias
d8cb61278f
Simplify contract conversion code
...
by reusing "get_contract_size"
2022-01-03 18:12:45 +01:00
Sam Germain
707a6507b5
removed redundant todos
2022-01-02 21:46:06 -06:00
Matthias
711a6a6dbc
Merge branch 'develop' into pr/xataxxx/6079
2022-01-02 22:21:41 +01:00
Matthias
2116b0729f
Integration-test for DCA order
2022-01-02 20:20:56 +01:00
Matthias
209ecc8732
Fix typo in bt_progress
2022-01-02 19:38:03 +01:00
Matthias
7f88f9bf27
Revert unintended double-call of amount conversion
2022-01-02 13:11:29 +01:00
Sam Germain
33ab3c1bea
Removed some todo-lev comments
2022-01-01 14:10:24 -06:00
Sam Germain
14ae327459
grouped contract methods
2022-01-01 14:08:10 -06:00
Sam Germain
3e4912979a
exchange.py: removed get funding rate history
2022-01-01 14:03:26 -06:00
Sam Germain
fcded264e6
removed exchange._get_mark_price_history
2022-01-01 13:53:26 -06:00
Sam Germain
f92d47a16b
exchange._contracts_to_amount and exchange._amount_to_contracts safe checks
2022-01-01 13:52:06 -06:00
Matthias
8da596f66d
Implement PR feedback
2022-01-01 13:52:01 -06:00
Sam Germain
49a6ebb454
exchange class contract methods safe check for symbol
2022-01-01 13:50:50 -06:00
Sam Germain
78d1a267f0
contract-sizes tests
2022-01-01 13:50:50 -06:00
Sam Germain
d0a300a2e1
Added TODOs
2022-01-01 13:50:49 -06:00
Sam Germain
4f6203e45f
Added conversions from contract size to amount for objects returned from api
2022-01-01 13:50:43 -06:00
Sam Germain
e10ceb2362
Amount to precision has _amount_to_contract_size in it
2022-01-01 13:49:09 -06:00
Sam Germain
ee63f12236
Revert "Removed leverage param from get_min_pair_stake_amount"
...
This reverts commit 096588550ca1de5e5edf63cf7214af037d7bc93b.
2022-01-01 13:49:09 -06:00
Sam Germain
2df5993812
_contract_size_to_amount only impacts limits.amount and not limits.cost, put _get_stake_amount_considering_leverage back in
2022-01-01 13:49:09 -06:00
Sam Germain
ef6ad0e6d7
Removed leverage param from get_min_pair_stake_amount
2022-01-01 13:49:09 -06:00
Sam Germain
3f75531105
added methods _contract_size_to_amount and _amount_to_contract_size, added _amount_to_contract_size to create_order, added contract_size_to_amount to get_min_leverage
2022-01-01 13:49:09 -06:00
Matthias
ddfbe55e7c
Merge branch 'develop' into feat/short
2022-01-01 19:16:49 +01:00
Matthias
08ba5b0451
Update docs to include underwaterplot
2022-01-01 16:55:08 +01:00
Matthias
fb06a673e0
Add Underwater plot
2022-01-01 14:40:20 +01:00
Matthias
78ba2d3fc7
Add underwaterplot calculation to btanalysis
2022-01-01 14:39:58 +01:00
Matthias
a2d97eecfe
Add trade parallelism plot
...
closes #6142
2022-01-01 14:11:51 +01:00
Matthias
9becd20f20
Improve "Missing data" messages
2022-01-01 10:37:58 +01:00
Matthias
670aed06bf
Remove loop for hyperopt.
2021-12-31 17:35:08 +01:00
Matthias
0277d93a64
don't use deprecated asyncio.get_event_loop()
2021-12-31 17:27:42 +01:00
Matthias
c9296dc9a0
Uvloop_helper should use "get_running_loop"
2021-12-31 17:27:42 +01:00
Matthias
c06496e66f
Update some more TODO-lev's
2021-12-31 16:49:47 +01:00
Sam Germain
9a220f6cfe
removed a few todos
2021-12-31 07:30:01 -06:00
Sam Germain
46072be011
models.__init__ exception for no interest_rates on Margin trading
2021-12-31 06:20:00 -06:00
Sam Germain
867483170a
binance.funding_fee_cutoff removed TODO-lev
2021-12-31 06:11:43 -06:00
Matthias
550a1eef91
Reduce "cleanup" slowdown in telegram
2021-12-31 12:54:15 +01:00
Matthias
880ee016a4
Merge pull request #6133 from rokups/rk/reduce-memory-usage
...
Reduce memory usage by not holding on to no longer needed data
2021-12-31 11:36:52 +01:00
Matthias
39f8c5719b
Fix exception on exchange shutdown
2021-12-31 11:24:56 +01:00
Rokas Kupstys
a715083fc0
Reduce memory usage by not holding on to no longer needed data.
2021-12-31 12:10:01 +02:00
Matthias
b1b2eebd11
Change sequence of ROI/sell signal to favor sell-signal
2021-12-30 20:00:58 +01:00
Matthias
4b79d435ad
Merge pull request #6084 from aezomz/lev-telegram
...
Telegram and Webhook updates
2021-12-30 19:17:58 +01:00