adriance
|
8f432fe468
|
Merge branch 'feat/short' into fs_fix
|
2022-03-16 14:22:08 +08:00 |
|
Matthias
|
ebd61ebdef
|
Merge pull request #6513 from samgermain/gateio-stoploss
Gateio stoploss on exchange
|
2022-03-15 06:27:54 +01:00 |
|
Matthias
|
12948aade6
|
Remove unused argument
|
2022-03-14 19:29:26 +01:00 |
|
adriance
|
7dd57e8c04
|
format
|
2022-03-14 18:39:11 +08:00 |
|
adriance
|
1d4eeacc6d
|
fix test_backtest__enter_trade_futures row data error
|
2022-03-14 17:55:42 +08:00 |
|
Matthias
|
c63b5fbbbf
|
Use last to get rates for /balance endpoints
|
2022-03-13 17:53:52 +01:00 |
|
Matthias
|
32c06f4a05
|
Improve test
|
2022-03-13 16:45:11 +01:00 |
|
Matthias
|
d5f0c6c78d
|
Exclude alternative candletypes from timeframe check
|
2022-03-13 16:16:48 +01:00 |
|
Matthias
|
cfa9458bcc
|
Merge branch 'develop' into feat/short
|
2022-03-13 15:38:12 +01:00 |
|
Sam Germain
|
843606c9cb
|
gateio stoploss adjust
|
2022-03-12 20:14:23 -06:00 |
|
Sam Germain
|
91549d3254
|
Revert "stoploss_adjust fixed breaking tests"
This reverts commit 6f4d607902 .
|
2022-03-12 20:07:56 -06:00 |
|
Sam Germain
|
7e7e596372
|
Revert "moved binance.stoploss_adjust to exchange class"
This reverts commit 6bb93bdc25 .
|
2022-03-12 20:07:50 -06:00 |
|
Sam Germain
|
bf5afbcdbd
|
Merge branch 'develop' into gateio-stoploss
|
2022-03-12 19:50:46 -06:00 |
|
Matthias
|
b044dd2c45
|
Update custom_sell to custom_exit
|
2022-03-12 11:37:56 +01:00 |
|
Matthias
|
fe62a71f4c
|
Simplify implementation of "check_override" by extracting it to function
|
2022-03-12 10:58:48 +01:00 |
|
Matthias
|
6946203a7c
|
Add tests and test-strategies for custom "implements" requirements
|
2022-03-12 10:05:16 +01:00 |
|
Matthias
|
9460fd8d75
|
Add Appropriate test for loading error
|
2022-03-12 09:49:20 +01:00 |
|
Matthias
|
28046c6a22
|
Change populate_buy_trend to populate_entry_trend
|
2022-03-12 09:38:28 +01:00 |
|
Matthias
|
efc313b28b
|
Merge pull request #6512 from freqtrade/short_order_types
Short order types renamal
|
2022-03-12 09:32:16 +01:00 |
|
Matthias
|
b9b5d749bb
|
Fix typo causing an implicit bug
|
2022-03-12 08:58:59 +01:00 |
|
Matthias
|
0aa170ac95
|
Check can_short in live-mode as well.
|
2022-03-12 06:58:22 +01:00 |
|
Matthias
|
20fc9459f2
|
Add test for can_short strategy attribute
|
2022-03-11 19:37:45 +01:00 |
|
Matthias
|
7825d855cd
|
Fix flake8 error in tests
|
2022-03-11 19:28:15 +01:00 |
|
Matthias
|
11c76c3c89
|
Check if timeframe is available before calling exchange
closes #6517
|
2022-03-11 18:01:30 +01:00 |
|
Matthias
|
9ff52c0a93
|
Add test for emergencysell behaviour
|
2022-03-11 08:26:28 +01:00 |
|
Matthias
|
cb9da78a27
|
Merge branch 'develop' into feat/short
|
2022-03-10 06:54:20 +01:00 |
|
Matthias
|
98755c1874
|
Fix wrong estimated output from /balance endpoints
|
2022-03-10 06:47:17 +01:00 |
|
Sam Germain
|
6f4d607902
|
stoploss_adjust fixed breaking tests
|
2022-03-09 19:31:51 -06:00 |
|
Sam Germain
|
6bb93bdc25
|
moved binance.stoploss_adjust to exchange class
|
2022-03-09 15:47:16 -06:00 |
|
Matthias
|
a837571e2b
|
Improve dry-run-wallets in futures case test
|
2022-03-09 19:01:38 +01:00 |
|
Sam Germain
|
ae4742afcb
|
test_fetch_stoploss_order_gateio and test_cancel_stoploss_order_gateio
|
2022-03-09 00:59:28 -06:00 |
|
Matthias
|
93a91bdeee
|
Update order_Types documentation
|
2022-03-09 07:44:21 +01:00 |
|
Matthias
|
51828a0b0b
|
Update buy-signals to entry wording
|
2022-03-09 07:03:37 +01:00 |
|
Matthias
|
66afc233db
|
Use Deprecated method for order_Time_in_force
|
2022-03-09 06:54:13 +01:00 |
|
Matthias
|
943d080f5e
|
Add test for order-types migration
|
2022-03-09 06:37:08 +01:00 |
|
Matthias
|
420cc5c595
|
deprecated-setting moval should delete old setting
|
2022-03-09 06:37:08 +01:00 |
|
Matthias
|
5d4386f037
|
Implement order_types validation
|
2022-03-09 06:37:08 +01:00 |
|
Matthias
|
f2ed6165e9
|
convert price to precision price before verifying stoploss adjustment
closes #6504
|
2022-03-08 19:35:30 +01:00 |
|
Matthias
|
1ce55e88b4
|
Try to revert sequence in test
|
2022-03-08 07:10:59 +01:00 |
|
Matthias
|
3ff261e22c
|
Update order time in force to use entry/exit wording
|
2022-03-07 19:55:15 +01:00 |
|
Matthias
|
d2a163e2cf
|
rename column to liquidation_price
|
2022-03-07 17:16:33 +01:00 |
|
Matthias
|
6360ef029c
|
Simplify and align liquidation price handling
|
2022-03-06 16:27:55 +01:00 |
|
Matthias
|
612ede5e48
|
Merge pull request #6468 from samgermain/todos
todos
|
2022-03-06 16:03:05 +01:00 |
|
Matthias
|
46e17c9762
|
Fix stoploss_pct set wrongly for short trades
|
2022-03-06 15:07:04 +01:00 |
|
Matthias
|
08d8dfaee6
|
Remove wrong import
|
2022-03-06 14:47:26 +01:00 |
|
Matthias
|
81d4a61353
|
Update more trades
|
2022-03-06 14:33:04 +01:00 |
|
Matthias
|
bc37f67e76
|
Add one more test
|
2022-03-06 14:18:25 +01:00 |
|
Matthias
|
76e5d5b232
|
Fix stake-amount handling for dry-run
|
2022-03-05 15:53:40 +01:00 |
|
Matthias
|
7a545f49af
|
Improve test stability by making keys optional in the ccxt test-matrix
|
2022-03-05 14:15:58 +01:00 |
|
Matthias
|
2b1a8f2fbb
|
Update binance stoploss to use correct stop order for futures
|
2022-03-05 13:57:54 +01:00 |
|
Matthias
|
685820cc12
|
Fix failures due to non-happening rounding
|
2022-03-04 19:48:34 +01:00 |
|
Matthias
|
8943d42509
|
Update telegram notifications to properly detect shorts
|
2022-03-04 19:42:33 +01:00 |
|
Matthias
|
62dcebee46
|
Update stoploss method to new functionality
|
2022-03-04 07:07:34 +01:00 |
|
Matthias
|
011cd58377
|
Adjust new stoploss tests to futures world
|
2022-03-04 06:58:34 +01:00 |
|
Matthias
|
7435b5ec96
|
Fix small merge errors
|
2022-03-04 06:58:21 +01:00 |
|
Sam Germain
|
488da9b875
|
Merge branch 'develop' into feat/short
|
2022-03-03 13:51:52 -06:00 |
|
Matthias
|
1d3ce5bef4
|
Remove duplicate call to init_db
|
2022-03-03 07:23:10 +01:00 |
|
Matthias
|
5ab72ac082
|
chore: realign enums imports
|
2022-03-03 07:07:33 +01:00 |
|
Matthias
|
9bcc79e118
|
Use parsed TradingMode from config
|
2022-03-03 07:06:13 +01:00 |
|
Matthias
|
5332c441b9
|
Fix fail test - add more TODO's
|
2022-03-03 07:00:10 +01:00 |
|
Matthias
|
e9456cdf15
|
Update trade response to use a single Order object
|
2022-03-02 19:58:08 +01:00 |
|
Matthias
|
17c9c3caf3
|
Enable orders via API
|
2022-03-02 19:58:08 +01:00 |
|
Sam Germain
|
c9988e0aa2
|
test_backtest__enter_trade_futures comment calculations include liquidation buffer
|
2022-03-02 12:46:31 -06:00 |
|
Sam Germain
|
c0e11beced
|
linting
|
2022-03-02 01:30:52 -06:00 |
|
Sam Germain
|
c0fb6f7e85
|
test_backtest__enter_trade_futures - fixed formula in comments
|
2022-03-02 01:26:47 -06:00 |
|
Matthias
|
1c4a7c25d7
|
Fix failing test
|
2022-03-02 07:14:36 +01:00 |
|
Matthias
|
478d440e80
|
Test backtesting with USDT pairs
|
2022-03-02 07:00:07 +01:00 |
|
Matthias
|
c2b90afa61
|
Merge branch 'develop' into pr/stash86/6458
|
2022-03-01 19:31:36 +01:00 |
|
Matthias
|
a2c9879375
|
Reset sell-reason if order is cancelled
|
2022-03-01 19:30:16 +01:00 |
|
Matthias
|
1b07ad92cf
|
Merge branch 'feat/short' into pr/samgermain/6467
|
2022-02-28 20:07:19 +01:00 |
|
Matthias
|
c39e7368ee
|
Split backtesting test to properly initialize it
|
2022-02-28 19:58:44 +01:00 |
|
Matthias
|
79538368db
|
Simplify liquidation price calculation
|
2022-02-28 19:47:21 +01:00 |
|
Matthias
|
ab46476e63
|
Rename get_liquidation method
|
2022-02-28 19:42:26 +01:00 |
|
Matthias
|
8e2d3445a7
|
Move leverage_prep calculations to exchange class
|
2022-02-28 19:29:42 +01:00 |
|
Matthias
|
68bc2a6107
|
Add huobi to ccxt compat tests
|
2022-02-28 07:00:52 +01:00 |
|
Sam Germain
|
1121965c6e
|
liq backtesting tests
|
2022-02-27 14:28:28 -06:00 |
|
Matthias
|
0ebf40f390
|
Don't call amount_to_precision twice on entry
|
2022-02-27 15:57:44 +01:00 |
|
Matthias
|
5c2cca50e5
|
Minor updates, document no leverage changes
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
f0f5a50975
|
Update tests to test DCA for shorts
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
eed516a5c6
|
Update DCA logic to some extend
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
bcfa73d492
|
Add "nr_of_successfull_entries"
|
2022-02-27 15:44:23 +01:00 |
|
Matthias
|
7b9880035b
|
Remove wrong TODO-lev comment
|
2022-02-27 15:11:09 +01:00 |
|
Sam Germain
|
7508f79b6c
|
test_freqtradebot, is_short tests
|
2022-02-26 13:55:52 -06:00 |
|
Sam Germain
|
b363940baf
|
Add TODO-lev comment in test_handle_stoploss_on_exchange
|
2022-02-26 13:55:37 -06:00 |
|
Sam Germain
|
499e21517b
|
test_persistence tests for stoploss with leverage adjustements
|
2022-02-26 13:55:37 -06:00 |
|
Matthias
|
12a1e27708
|
Merge pull request #6456 from samgermain/lev-tier-update
Lev tier update
|
2022-02-26 19:55:30 +01:00 |
|
Matthias
|
e9f3f3d859
|
Fix random test failure (2nd try)
|
2022-02-26 17:08:35 +01:00 |
|
Sam Germain
|
7dab70f1a5
|
test_ccxt_compat - ftx["futures"] = false
|
2022-02-26 09:45:15 -06:00 |
|
Sam Germain
|
64172bc98d
|
removed TODOs in test_CCXT_compat
|
2022-02-26 09:27:38 -06:00 |
|
Sam Germain
|
fbcd260bf6
|
flake8 import issues
|
2022-02-26 09:05:51 -06:00 |
|
Sam Germain
|
af77358d6a
|
updated test_load_leverage_tiers_okx
|
2022-02-26 09:05:51 -06:00 |
|
Sam Germain
|
f5ea7827e0
|
removed gateio.get_max_leverage and gateio.get_maint_ratio_and_amt
|
2022-02-26 09:05:51 -06:00 |
|
Sam Germain
|
b61cfada6d
|
moved okex.load_leverage_tiers to new method
|
2022-02-26 09:05:51 -06:00 |
|
Matthias
|
79ddc9abaa
|
Merge pull request #6423 from samgermain/wallet-amt
Futures wallet amount
|
2022-02-26 15:55:28 +01:00 |
|
Matthias
|
e25929f50a
|
Update test to not fail randomly
|
2022-02-26 15:53:01 +01:00 |
|
Matthias
|
75868a851b
|
Attempt Fix random test failure
|
2022-02-26 15:20:56 +01:00 |
|
Matthias
|
14d49e85af
|
Update Huobi stoploss to shared method
|
2022-02-26 14:57:13 +01:00 |
|
Matthias
|
292c350885
|
Add stoploss support for huobi
|
2022-02-26 10:33:36 +01:00 |
|
Matthias
|
9504b3eb05
|
Improve huobi config generation
|
2022-02-26 10:33:11 +01:00 |
|
Matthias
|
0749199097
|
Add stoploss tests for kucoin
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
018c620057
|
Fix 0 Division error on exchanges without average
closes #6461
|
2022-02-26 08:19:45 +01:00 |
|
Matthias
|
5826698c04
|
Don't emergencysell partial sold exit
closes #6457
|
2022-02-25 15:07:35 +01:00 |
|
Matthias
|
3b1b66bee8
|
Prevent backtest starting when not in webserver mode
#6455
|
2022-02-25 07:40:49 +01:00 |
|
Matthias
|
1c26ff4c4c
|
Add dry run test
|
2022-02-24 20:05:56 +01:00 |
|
Matthias
|
9d55621f42
|
Test fetch_position exchange method
|
2022-02-24 20:05:56 +01:00 |
|
Matthias
|
9901decf0d
|
Rename get_positions to fetch_positions to align with ccxt naming
|
2022-02-24 20:05:56 +01:00 |
|
Matthias
|
62c42a73e2
|
Add initial rpc test
|
2022-02-24 20:05:56 +01:00 |
|
Matthias
|
d07a24a54f
|
Update tests for new wallet RPC structure
|
2022-02-24 20:05:56 +01:00 |
|
Matthias
|
fd936e26ae
|
Merge branch 'develop' into feat/short
|
2022-02-24 19:56:42 +01:00 |
|
Matthias
|
42df65d4ec
|
Make sure backtesting is cleaned up in tests
|
2022-02-24 14:22:49 +00:00 |
|
Matthias
|
53452c8d64
|
Merge pull request #6437 from freqtrade/update_trade
Migrate trade updating to use order model
|
2022-02-23 19:56:02 +01:00 |
|
Matthias
|
731eb99713
|
Update mock-trade creation to rollback first
|
2022-02-23 19:18:04 +01:00 |
|
Matthias
|
14b69405a2
|
Init persistence should be the innermost fixture
|
2022-02-23 10:43:04 +01:00 |
|
Matthias
|
ec34189f1b
|
Attempt to fix random ci error
|
2022-02-23 08:47:20 +01:00 |
|
Matthias
|
8952829adc
|
Merge branch 'develop' into feat/short
|
2022-02-23 06:28:15 +01:00 |
|
Matthias
|
5a4f30d1bd
|
Don't specially handle empty results.
|
2022-02-22 20:07:41 +01:00 |
|
Matthias
|
1f9ed0beff
|
Add test for wal mode
|
2022-02-22 19:39:55 +01:00 |
|
Matthias
|
70f4305dfa
|
don't allow short trades in spot mode
|
2022-02-21 19:19:12 +01:00 |
|
Matthias
|
dc7bcf5dda
|
Update failing test
|
2022-02-20 14:29:26 +01:00 |
|
Matthias
|
db540dc990
|
Orders should also store fee if in receiving currency
|
2022-02-20 14:24:27 +01:00 |
|
Matthias
|
c3c815e794
|
Merge pull request #6425 from samgermain/stake-amount
leverage in trade.stake_amount calculation
|
2022-02-19 20:11:23 +01:00 |
|
Matthias
|
e9f451406c
|
Use correct order id
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
874c161f78
|
Update more tests to use order_obj to update trade
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
508e677d70
|
Fix some tests to call update_trade with order object
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
d610b6305d
|
Improve /balance output by removing trailing zeros
|
2022-02-19 16:40:30 +01:00 |
|
Matthias
|
a7a25bb285
|
Update "round coin value" to trim trailing zeros
|
2022-02-19 16:40:26 +01:00 |
|
Matthias
|
a32aed2225
|
Update FTX stoploss code to avoid exception for stoploss-market orders
closes #6430, closes #6392
|
2022-02-19 10:07:32 +01:00 |
|
Matthias
|
0bbbe2e96c
|
Add test for #6429
|
2022-02-19 06:39:43 +01:00 |
|
Kavinkumar
|
60d1e7fc65
|
fix stake amt
|
2022-02-18 19:47:45 +05:30 |
|
Kavinkumar
|
95d4a11bb1
|
add precision
|
2022-02-18 19:32:37 +05:30 |
|
Kavinkumar
|
eb88c0f71b
|
fixed stake amount
|
2022-02-18 19:25:56 +05:30 |
|
Matthias
|
989edca622
|
Add test-case for cancel stake update with leverage
|
2022-02-18 06:41:15 +01:00 |
|
Matthias
|
8bdc77eb4d
|
Add TODO-lev for tests which define is_short but don't use it
|
2022-02-18 06:38:51 +01:00 |
|
Matthias
|
de8d789962
|
Fix test missing assert statement
|
2022-02-17 19:37:24 +01:00 |
|
Sam Germain
|
f452fce4cc
|
Merge branch 'ccxt-compat' into leverage-tiers
|
2022-02-16 10:07:49 -06:00 |
|
Sam Germain
|
a37287d9ba
|
test__get_params
|
2022-02-16 10:06:27 -06:00 |
|
Sam Germain
|
2015e9345d
|
test_ccxt_compat maintenanceMarginRatio -> maintenanceMarginRate
|
2022-02-16 09:25:27 -06:00 |
|
Sam Germain
|
df86300729
|
test_ccxt_dry_run_liquidation_price
|
2022-02-16 09:22:22 -06:00 |
|
Sam Germain
|
124532a4b7
|
maintenanceMarginRatio -> maintenanceMarginRate
|
2022-02-16 09:04:43 -06:00 |
|
Sam Germain
|
dc73fccd3c
|
removed test_ccxt_get_maintenance_ratio_and_amt
|
2022-02-16 09:03:50 -06:00 |
|
Sam Germain
|
a1e9e940dd
|
test_ccxt_load_leverage_tiers
|
2022-02-16 08:51:39 -06:00 |
|
Sam Germain
|
ef5dae2770
|
ccxt_compat_tests for leverage tiers
|
2022-02-16 08:08:10 -06:00 |
|
Sam Germain
|
88a8ff2f4e
|
Merge branch 'feat/short' into leverage-tiers
|
2022-02-16 08:05:51 -06:00 |
|
Matthias
|
e7bfb4fd5c
|
Add test case for "sell below close" case
|
2022-02-16 13:42:39 +01:00 |
|
Matthias
|
de26844578
|
Merge pull request #6397 from samgermain/todos
edited todo-lev comments
|
2022-02-16 13:36:17 +01:00 |
|
Sam Germain
|
6f410d3096
|
fixed test_load_leverage_tiers
|
2022-02-16 05:44:11 -06:00 |
|
Sam Germain
|
c70050e750
|
fixed test_load_leverage_tiers
|
2022-02-16 05:26:52 -06:00 |
|
Sam Germain
|
183f85efe3
|
test_execute_entry fixed
|
2022-02-16 05:08:11 -06:00 |
|
Sam Germain
|
1f3d3d87f6
|
fixed tests
|
2022-02-16 04:52:26 -06:00 |
|
Sam Germain
|
3fe0e13bb1
|
expanded test_load_leverage_tiers
|
2022-02-16 04:37:11 -06:00 |
|