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
|
c456cfc312
|
Merge branch 'develop' into pr/Axel-CH/5347
|
2021-08-14 09:13:30 +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
|
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 |
|
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 |
|
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
|
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
|
599ae15460
|
Parametrize tests
|
2021-08-09 11:35:27 +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
|
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 |
|
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
|
756112c84d
|
Merge pull request #5374 from freqtrade/rem_legacy_hyperopt
Remove legacy hyperopt
|
2021-08-08 12:42:52 +02:00 |
|
Matthias
|
be240566ba
|
Fix random test failure
|
2021-08-08 10:57:20 +02:00 |
|
Matthias
|
faf16a64e5
|
Remove legacy hyperopt file support
|
2021-08-08 10:22:45 +02: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
|
b9356a5564
|
Autopep8 formatting
|
2021-08-06 16:35:39 -06:00 |
|
axel
|
0aeebc9d53
|
add test for custom exit price
|
2021-08-05 17:57:45 -04:00 |
|
axel
|
2cf781f3dd
|
add freqtradebot execute_buy test in custom entry price case
|
2021-08-04 18:32:39 -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
|
091bf7c4d2
|
Output protection space
|
2021-08-04 06:50:14 +02:00 |
|
axel
|
bc3e6deb1c
|
remove specific test for buy with custom entry
|
2021-08-03 17:09:52 -04:00 |
|
axel
|
b3dafb378e
|
remove use_custom_entry_price as a config option
|
2021-08-03 16:54:28 -04:00 |
|
axel
|
00939b63f2
|
flake 8 fixes
|
2021-08-03 16:25:18 -04:00 |
|
axel
|
d9c9b7d7fc
|
restore interface test file
|
2021-08-03 16:02:10 -04:00 |
|
axel
|
3d8c3ffd38
|
fix syntax error in unit test
|
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 |
|
Sam Germain
|
d88e2ae603
|
Merge branch 'develop' into margin-db
|
2021-08-02 23:58:44 -06: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
|
3c5f06d5c0
|
Update tests/exchange/test_exchange.py
|
2021-08-02 08:31:33 +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 |
|
Sam Germain
|
047df0c212
|
Removed leverage references
|
2021-08-01 03:01:47 -06:00 |
|
Sam Germain
|
90a61b1765
|
Changed tests in tests/test_persistence.py to use usdt prices
|
2021-07-31 20:44:49 -06: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 |
|
Sam Germain
|
bc42516f68
|
test_update_limit_order has both a buy and sell leverage short order
|
2021-07-31 01:05:37 -06:00 |
|
Matthias
|
6abd352c0f
|
Add test for backtesting dataframe cache
|
2021-07-31 08:44:09 +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
|
35bf2a59a8
|
Improve test reliability (fix fluky test)
|
2021-07-30 21:02:55 +02: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
|
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
|
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 |
|
Sam Germain
|
b801eaaa54
|
Changed the name of a test to match it's equivelent
Removed test-analysis-lev
|
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
|
b0476ebd3e
|
All persistence margin tests pass
Flake8 compliant, passed mypy, ran isort .
|
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
|
0fc9d6b6ac
|
Moved leverage and is_short variables out of trade constructors and into conftest
|
2021-07-28 12:25:55 -06:00 |
|
Sam Germain
|
b7b6d87c27
|
Pass all but one test, because sqalchemy messes up
|
2021-07-28 12:25:55 -06:00 |
|
Sam Germain
|
b1098f0120
|
Added liquidation_price check to test_stoploss_reinitialization_short
|
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
|
0bd71f87d0
|
made leveraged test names unique
test_adjust_stop_loss_short, test_update_market_order_shortpasses
|
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
|
a4403c0814
|
fixed rpc_apiserver test fails, changed test_persistence_long to test_persistence_leverage
|
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
|
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
|
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
|
000932eed0
|
Adding templates for leverage/short tests
All previous pytests pass
|
2021-07-28 12:25:55 -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 |
|
kevinjulian
|
0fcbe097c0
|
remove blankspace
|
2021-07-23 21:06:38 +07:00 |
|
kevinjulian
|
7a0cb95ffb
|
fix testcase
|
2021-07-23 20:43:27 +07:00 |
|