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 |
|
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 |
|
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
|
c5e3348b89
|
Migrations for indexes should run in a seperate session
closes #5349
|
2021-07-31 16:36:28 +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 |
|
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
|
aa34889c04
|
Don't run migrations twice
|
2021-07-30 07:14:35 +02: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
|
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 |
|