Matthias
|
9107819c95
|
Fix order migration "forgetting" average
|
2022-03-13 14:42: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
|
667054e1ad
|
Reorder methods in trade object
|
2022-03-06 15:07:07 +01:00 |
|
Matthias
|
46e17c9762
|
Fix stoploss_pct set wrongly for short trades
|
2022-03-06 15:07:04 +01:00 |
|
Matthias
|
cc38f0656d
|
Explicitly check for None to determine if initial stoploss was set
closes #6460
|
2022-03-06 15:06:57 +01:00 |
|
Matthias
|
be4bc4955c
|
Explicitly check for None to determine if initial stoploss was set
closes #6460
|
2022-03-05 14:12:14 +01:00 |
|
Matthias
|
8943d42509
|
Update telegram notifications to properly detect shorts
|
2022-03-04 19:42:33 +01:00 |
|
Sam Germain
|
488da9b875
|
Merge branch 'develop' into feat/short
|
2022-03-03 13:51:52 -06: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 |
|
Matthias
|
1b07ad92cf
|
Merge branch 'feat/short' into pr/samgermain/6467
|
2022-02-28 20:07:19 +01:00 |
|
Matthias
|
1d27cbd01f
|
Simplify leverage_prep interface
|
2022-02-28 19:34:10 +01:00 |
|
Matthias
|
33be14e7e2
|
Update stake_amount calculation with multiple entries when using leverage
|
2022-02-27 17:09:29 +01:00 |
|
Matthias
|
1b6548c8d8
|
Don't modify leverage through DCA
|
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 |
|
Sam Germain
|
78194559f4
|
persistence.adjust_stop_loss accounts for leverage
|
2022-02-26 13:55:37 -06:00 |
|
Matthias
|
018c620057
|
Fix 0 Division error on exchanges without average
closes #6461
|
2022-02-26 08:19:45 +01:00 |
|
Matthias
|
6562511137
|
add trade_direction to trade object
|
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
|
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
|
8952829adc
|
Merge branch 'develop' into feat/short
|
2022-02-23 06:28:15 +01:00 |
|
Matthias
|
1f9ed0beff
|
Add test for wal mode
|
2022-02-22 19:39:55 +01:00 |
|
Matthias
|
02ce0dc02e
|
Set journal mode to wal for sqlite databases
closes #6353
|
2022-02-22 19:31:58 +01:00 |
|
Matthias
|
fddacfedaa
|
Remove returntype
|
2022-02-20 16:47:02 +01:00 |
|
Matthias
|
a24586cd41
|
Update migrations for new column
|
2022-02-20 16:32:04 +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
|
508e677d70
|
Fix some tests to call update_trade with order object
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
1b1216fc87
|
Rename update_trade method
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
c13eed2178
|
use Order object to update trade
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
3785f04be7
|
Handle empty min stake amount as observed on FTX
(closes #6429)
|
2022-02-19 06:39:43 +01:00 |
|
Matthias
|
e981d644e1
|
Add toto-lev for order-leverage
|
2022-02-16 19:24:59 +01:00 |
|
Matthias
|
119d4d5204
|
select_order should use ft_order_side, not the exchange specific one
|
2022-02-12 17:06:03 +01:00 |
|
Matthias
|
0c6d92a7a6
|
Merge branch 'develop' into feat/short
|
2022-02-11 17:02:04 +01:00 |
|
Matthias
|
9f47853661
|
Merge pull request #6235 from freqtrade/backtest_order_timeout
Backtest order timeout
|
2022-02-09 07:12:35 +01:00 |
|
Matthias
|
303b12efd8
|
Merge pull request #6273 from freqtrade/pg_migrations
Update database migrations for PG and mariadb
|
2022-02-06 14:39:02 +01:00 |
|
Matthias
|
808cefe526
|
Update order_selection logic
|
2022-02-05 16:28:47 +01:00 |
|
Matthias
|
4ea79a32e4
|
Use Order object for ft_timeout check
|
2022-02-05 16:28:47 +01:00 |
|
Matthias
|
7ac44380f7
|
Extract backtest order closing to models class
|
2022-02-05 16:28:46 +01:00 |
|
Matthias
|
f7a1cabe23
|
Add first version to fill orders "later" in backtesting
|
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
|
de557f1386
|
models.update removed TODO-lev
|
2022-02-03 17:48:34 -06:00 |
|
Sam Germain
|
f58b92bb86
|
exchange.create_order removed default for leverage
|
2022-02-03 17:48:08 -06:00 |
|
Matthias
|
29879bb415
|
Update wording to entry/exit
|
2022-02-03 19:11:35 +01: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
|
0c13e387fe
|
moved liquidation_price method to exchange classes
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
69a6223ca0
|
implemented binance.get_maintenance_ratio_and_amt
|
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
|
92c94bb62a
|
added position and wallet_balance to LocalTrade.set_isolated_liq
|
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 |
|
Sam Germain
|
a087d03db9
|
Added liquidation_price function
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
689174ea0d
|
removed TODO-lev comments
|
2022-01-31 04:12:37 -06:00 |
|
Matthias
|
7aae9565c7
|
Only look at buy orders when looking to recalculate trade value
|
2022-01-30 14:08:42 +01:00 |
|
Matthias
|
463714832d
|
Merge branch 'develop' into feat/short
|
2022-01-29 14:19:30 +01: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 |
|
Stefano Ariestasia
|
7c975df42a
|
Merge branch 'freqtrade:develop' into fix-docs
|
2022-01-25 10:30:03 +09:00 |
|
Reigo Reinmets
|
6613e3757a
|
Additional fix
|
2022-01-23 18:09:57 +02: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
|
f090dcc597
|
Merge branch 'develop' into feat/short
|
2022-01-22 17:56:01 +01:00 |
|
Matthias
|
bd4014e1e6
|
Small cleanup
|
2022-01-22 15:01:27 +01:00 |
|
Stefano Ariestasia
|
05046b9eef
|
Add more info on status message
|
2022-01-22 06:54:49 +00: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
|
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 |
|
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
|
ffe69535d8
|
These could be properties.
|
2022-01-13 20:31:03 +02:00 |
|
Reigo Reinmets
|
30d293bfec
|
Fix bug with None in backtesting.
|
2022-01-10 20:16:11 +02:00 |
|
Reigo Reinmets
|
813a2cd23b
|
Add useful helper methods for adjust_trade_position implementation
|
2022-01-08 17:18:37 +02:00 |
|
Sam Germain
|
c61acb9f19
|
removed rename todos
|
2022-01-08 03:09:47 -06:00 |
|
Sam Germain
|
46072be011
|
models.__init__ exception for no interest_rates on Margin trading
|
2021-12-31 06:20:00 -06:00 |
|
Reigo Reinmets
|
099dc07baf
|
No longer needed since recalc_trade_from_orders always calls it.
|
2021-12-26 20:02:20 +02:00 |
|
Reigo Reinmets
|
3aca3a7133
|
Use parentheses instead of backslash
|
2021-12-18 18:55:47 +02:00 |
|
Reigo Reinmets
|
462270bc5a
|
Fix a case where the amount was not recalculated. Added additional temporary logging.
|
2021-12-16 22:57:56 +02:00 |
|
Reigo Reinmets
|
71147d2899
|
Attempt to support limit orders for position adjustment.
|
2021-12-11 18:25:05 +02:00 |
|
Reigo Reinmets
|
b7bf3247b8
|
Only adjust stoploss if it's set.
|
2021-12-10 23:17:12 +02:00 |
|
Reigo Reinmets
|
c179951cca
|
Expect stake_amount, not actual amount of pair from strategy for DCA.
|
2021-12-10 20:42:24 +02:00 |
|
Reigo Reinmets
|
00366c5c88
|
Additional unit-tests
|
2021-12-09 20:03:41 +02:00 |
|
Reigo Reinmets
|
fde6779873
|
Some code improvements. Still some bugs.
|
2021-12-09 14:47:44 +02:00 |
|
Matthias
|
192ac88314
|
Update optimize-reports to enter_tag wording
|
2021-11-21 10:20:09 +01:00 |
|
Matthias
|
36deced00b
|
Remove more buy_tag references
|
2021-11-21 09:55:10 +01:00 |
|
Matthias
|
7d77aff289
|
Add some compatibility around buy_tag
|
2021-11-21 09:24:20 +01:00 |
|
Sam Germain
|
54ef52692f
|
Trade.has_no_leverage makes more sense
|
2021-11-20 01:06:10 -06:00 |
|
Matthias
|
f40221dd9f
|
Merge branch 'develop' into feat/short
|
2021-11-18 20:20:01 +01:00 |
|
Sam Germain
|
430aa0903f
|
Removed redundent TODO-levs
|
2021-11-13 19:45:41 -06:00 |
|
Matthias
|
4eb9038358
|
Some more fixes to % formatting
|
2021-11-11 15:06:16 +01:00 |
|
Matthias
|
d5438ed0a8
|
Fix docstring indents
|
2021-11-09 19:22:29 +01:00 |
|
Matthias
|
f9e5a25b36
|
Add docstring style to Contributing
|
2021-11-09 07:48:25 +00:00 |
|
Matthias
|
ebc38159b8
|
Merge branch 'develop' into feat/short
|
2021-11-06 15:24:52 +01:00 |
|
Matthias
|
f7dc47b1c8
|
Add test for exit_timeout_count
|
2021-11-06 13:10:41 +01:00 |
|
Matthias
|
7a907a7636
|
Add Emergencyselling after X timeouts have been reached
|
2021-11-06 11:48:49 +01:00 |
|