Matthias
c094ac5762
Merge branch 'develop' into feat/short
2021-10-30 19:45:19 +02: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
Sam Germain
bcbe8f229c
Merge branch 'feat/short' into lev-freqtradebot
2021-10-13 19:02:57 -06:00
Sam Germain
0dbad19b40
trading_mode default null in models.Trade
2021-10-12 20:34:19 -06: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
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
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
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
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
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
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
Sam Germain
d559b6d6c6
changed add_funding_fees template
2021-09-08 19:34:54 -06:00
Sam Germain
695a8fc73b
comment updates, formatting, TODOs
2021-09-08 03:09:39 -06:00
Sam Germain
f8248f3771
comments, formatting
2021-09-08 00:19:21 -06: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
Sam Germain
7eab855476
Merge branch 'feat/short' into lev-exchange
2021-09-04 20:15:36 -06:00
Sam Germain
d6d5bae2a1
New funding fee methods
2021-09-04 16:33:06 -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
5184cc7749
Merge branch 'develop' into feat/short
2021-09-02 07:03:14 +02:00
Matthias
ef9c1addcf
Add expired to list of canceled statuses
2021-08-27 19:54:53 +02:00
Matthias
957551ea97
Merge branch 'develop' into feat/short
2021-08-24 06:25:06 +02:00
Sam Germain
6ac0ab0233
Added short functionality to exchange stoplss methods
2021-08-21 21:10:03 -06:00
Matthias
e03784d98d
Fix filled exception
...
closes #5404
2021-08-12 05:02:56 +00:00
Matthias
cf27968b97
Properly preserve trade's low during backtesting
2021-08-09 19:38:56 +02:00
Sam Germain
de4b0d1f7c
Merged with feat/short
2021-08-09 00:24:25 -06: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
Sam Germain
d88e2ae603
Merge branch 'develop' into margin-db
2021-08-02 23:58:44 -06: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
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
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
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