Matthias
|
f70166270d
|
Update pricing to use entry/exit pricing
|
2022-03-28 07:07:46 +02:00 |
|
Matthias
|
bcf326a035
|
Initial steps to change bid/ask pricing to enter/exit
|
2022-03-27 18:03:49 +02:00 |
|
Matthias
|
d1f61c4cf9
|
Use proper fee for DCA entries
|
2022-03-27 17:00:45 +02:00 |
|
Matthias
|
9a8c24ddf3
|
Update gateio to patch fees
|
2022-03-26 15:04:17 +01:00 |
|
Matthias
|
6f1b14c013
|
Update buy_timeout and sell_timeout methods
|
2022-03-25 19:57:06 +01:00 |
|
Matthias
|
1ab6773257
|
Update todo-lev to todo
|
2022-03-25 15:17:46 +01:00 |
|
Matthias
|
f8e87e45a5
|
Merge pull request #6576 from samgermain/funding-tests
funding_fee tests
|
2022-03-25 15:11:45 +01:00 |
|
Matthias
|
743a7b7849
|
Merge branch 'develop' into feat/short
|
2022-03-25 10:04:18 +01:00 |
|
Matthias
|
dcfa3e8648
|
Update SellType to ExitType
|
2022-03-25 06:55:37 +01:00 |
|
Matthias
|
c07883b1f9
|
Move ExitCheckTuple to enums
|
2022-03-25 06:50:18 +01:00 |
|
Matthias
|
8d111d357a
|
Update SellCheckTuple to new naming
|
2022-03-25 06:46:29 +01:00 |
|
Matthias
|
62e8c7b5b7
|
Rename parameter to avoid ambiguity
|
2022-03-25 06:39:57 +01:00 |
|
Matthias
|
d7f76ee452
|
Update confirm_trade_exit to use sell_reason terminology
|
2022-03-25 06:37:40 +01:00 |
|
Matthias
|
8a708a9892
|
Don't assing attributes we never use
|
2022-03-23 06:48:23 +01:00 |
|
Matthias
|
b1e3ead88b
|
Merge branch 'develop' into feat/short
|
2022-03-22 20:28:38 +01:00 |
|
Matthias
|
247635db79
|
Fix tests
|
2022-03-22 19:28:13 +01:00 |
|
Matthias
|
4fd0681265
|
Combine stake_amount recalculation
|
2022-03-20 20:00:30 +01:00 |
|
adriance
|
f01c9cd28c
|
fix taker stake amount with leverage
|
2022-03-20 20:06:32 +08:00 |
|
Matthias
|
fcec071a08
|
Use order date to fetch trades
using the trade open-date may fail in case of several trade-entries spread over a longer timeperiod.
closes #6551
|
2022-03-20 09:46:51 +01:00 |
|
Matthias
|
b292f28b35
|
Call leverage before custom_stake_amount to properly determine min-stake-amount
|
2022-03-19 15:44:37 +01:00 |
|
Matthias
|
cfa9458bcc
|
Merge branch 'develop' into feat/short
|
2022-03-13 15:38:12 +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
|
24f480b4ce
|
Double-check stoploss behaviour
closes #6508
|
2022-03-11 08:28:47 +01:00 |
|
Matthias
|
f6c263882d
|
Update outdated TODO-lev
|
2022-03-10 07:09:48 +01:00 |
|
Matthias
|
cb9da78a27
|
Merge branch 'develop' into feat/short
|
2022-03-10 06:54:20 +01:00 |
|
Matthias
|
93a91bdeee
|
Update order_Types documentation
|
2022-03-09 07:44:21 +01:00 |
|
Matthias
|
50ab0dc6c5
|
Fix subtle bug
|
2022-03-09 07:04:59 +01:00 |
|
Matthias
|
e492bf3159
|
Update order_types to use entry/exit definition
|
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
|
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
|
9576fab621
|
Re-remove amount to precision from trade entry
|
2022-03-04 07:16:06 +01:00 |
|
Sam Germain
|
488da9b875
|
Merge branch 'develop' into feat/short
|
2022-03-03 13:51:52 -06: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
|
79538368db
|
Simplify liquidation price calculation
|
2022-02-28 19:47:21 +01:00 |
|
Matthias
|
8e2d3445a7
|
Move leverage_prep calculations to exchange class
|
2022-02-28 19:29:42 +01:00 |
|
Matthias
|
bc92225441
|
Add todo about leverage_prep
|
2022-02-28 19:23:14 +01:00 |
|
Matthias
|
7948224892
|
leverage_prep should also becalled after filling a entry ordre
|
2022-02-27 21:14:28 +01:00 |
|
Matthias
|
437b12fab7
|
Use trade.* props where possible
|
2022-02-27 17:16:38 +01:00 |
|
Matthias
|
0ebf40f390
|
Don't call amount_to_precision twice on entry
|
2022-02-27 15:57:44 +01:00 |
|
Matthias
|
1b6548c8d8
|
Don't modify leverage through DCA
|
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
|
bcfa73d492
|
Add "nr_of_successfull_entries"
|
2022-02-27 15:44:23 +01:00 |
|
Sam Germain
|
ac433eebfe
|
stoploss in freqtradebot leverage adjustment
|
2022-02-26 13:55:37 -06:00 |
|
Matthias
|
6caa5f7131
|
Update dry-run behaviour
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
7ba92086c9
|
Make stoploss method more flexible
|
2022-02-26 08:25:42 +01:00 |
|
Matthias
|
5826698c04
|
Don't emergencysell partial sold exit
closes #6457
|
2022-02-25 15:07:35 +01:00 |
|
Matthias
|
4b27bd9838
|
don't fetch free balance if we don't use it
|
2022-02-24 20:05:56 +01:00 |
|
Sam Germain
|
f67e0bd6dd
|
wallet amount for futures
|
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
|
8952829adc
|
Merge branch 'develop' into feat/short
|
2022-02-23 06:28:15 +01:00 |
|
Matthias
|
70f4305dfa
|
don't allow short trades in spot mode
|
2022-02-21 19:19:12 +01:00 |
|
Matthias
|
fddacfedaa
|
Remove returntype
|
2022-02-20 16:47:02 +01:00 |
|
Matthias
|
6fb5b22a8e
|
Some cleanup
|
2022-02-20 16:31:44 +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
|
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
|
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 |
|
Sam Germain
|
a65dcc709e
|
leverage in trade.stake_amount calculation
|
2022-02-16 08:09:43 -06:00 |
|
Matthias
|
de26844578
|
Merge pull request #6397 from samgermain/todos
edited todo-lev comments
|
2022-02-16 13:36:17 +01:00 |
|
Sam Germain
|
a9eb8ce1bf
|
added todos back in
|
2022-02-16 05:47:41 -06:00 |
|
Sam Germain
|
a2b84561fe
|
removed a todo
|
2022-02-14 10:00:03 -06:00 |
|
Sam Germain
|
19783e0d39
|
edited todos
|
2022-02-14 09:02:55 -06:00 |
|
Matthias
|
2523c12c71
|
Small enhancements and notes
|
2022-02-13 14:33:37 +01:00 |
|
Sam Germain
|
fc2d3649a1
|
edited todos
|
2022-02-12 16:23:14 -06:00 |
|
Matthias
|
c769e9757d
|
Improve "order refind" to also work for stoploss orders
|
2022-02-12 20:13:12 +01:00 |
|
Sam Germain
|
3c3675ea1a
|
moved liquidation_buffer to exchange class, add check for valid liquidation_buffer values
|
2022-02-11 19:38:59 +01:00 |
|
Sam Germain
|
e5d68f12d2
|
Added liquidation_buffer to freqtradebot
|
2022-02-11 19:38:58 +01:00 |
|
Matthias
|
0c6d92a7a6
|
Merge branch 'develop' into feat/short
|
2022-02-11 17:02:04 +01:00 |
|
Matthias
|
4ea79a32e4
|
Use Order object for ft_timeout check
|
2022-02-05 16:28:47 +01:00 |
|
Sam Germain
|
8b57827676
|
exchange.get_max_pair_stake_amount hard set leverage to 0
|
2022-02-04 14:26:15 -06:00 |
|
Sam Germain
|
dc6cb445fd
|
Merge branch 'feat/short' into max-amount
|
2022-02-04 04:42:38 -06:00 |
|
Sam Germain
|
1824ee6b73
|
removed TODO
|
2022-02-04 04:41:41 -06:00 |
|
Sam Germain
|
3ee2b7978c
|
wallets.validate_stake_amount added param max_stake_available
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
30c476e3c1
|
freqtradebot.get_valid_enter_price_and_stake gets min of stake_amount and max_stake_amount before calling wallets.validate_stake_amount
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
7465037906
|
freqtradebot.execute_entry test for too high stake amount
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
8c680d75b9
|
moved max_stake_amount check for None to exchange.get_max_pair_stake_amount
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
6b6b35ac1c
|
check for max stake limit in freqtradebot and backtesting
|
2022-02-03 20:33:04 -06:00 |
|
Sam Germain
|
84dea0339b
|
Added todo to freqtradebot._safe_exit_amount
|
2022-02-03 17:48:34 -06:00 |
|
Sam Germain
|
a31cf236e4
|
freqtradebot._safe_exit_amount, no _safe_exit_amount is needed for futures
|
2022-02-03 17:48:34 -06:00 |
|
Sam Germain
|
d5376c2c89
|
wrote freqtradebot.test_leverage_prep
|
2022-02-03 17:48:33 -06:00 |
|
Sam Germain
|
64bfa118e0
|
freqtradebot.handle_cancel_enter todo - Check edge cases, we dont want to make leverage > 1.0 if we dont have to
|
2022-02-03 17:48:33 -06:00 |
|
Sam Germain
|
f58b92bb86
|
exchange.create_order removed default for leverage
|
2022-02-03 17:48:08 -06:00 |
|
Matthias
|
a733a74dd9
|
Merge pull request #6294 from xataxxx/health
/health api and telegram commands to return last processing time
|
2022-02-02 19:53:45 +01:00 |
|
Sam Germain
|
386be2d889
|
set reduceOnly for futures exit orders
|
2022-02-02 00:08:50 -06:00 |
|
Sam Germain
|
30519aa3be
|
Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
|
2022-02-01 13:05:40 -06:00 |
|
Sam Germain
|
430051275a
|
freqtradebot.leverage_prep moved wallet_balance to a variable
|
2022-01-31 13:21:27 -06: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
|
143c37d36f
|
cleaned up liquidation price methods
|
2022-01-31 12:17:07 -06:00 |
|
Sam Germain
|
ede9012fcc
|
removed TODO-levs about okex liquidation price
|
2022-01-31 12:17:07 -06:00 |
|
Sam Germain
|
0c13e387fe
|
moved liquidation_price method to exchange classes
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
e4b37c6462
|
freqtradebot.leverage_prep minor fixes
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
bb2b2211d0
|
exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
387a9fbf36
|
test_execute_entry liquidation_price test test_get_maintenance_ratio_and_amt_gateio
|
2022-01-31 12:16:38 -06:00 |
|
Sam Germain
|
8889512887
|
freqtradebot.leverage_prep gets taker_fee_rate
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
69a6223ca0
|
implemented binance.get_maintenance_ratio_and_amt
|
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 |
|
Matthias
|
463714832d
|
Merge branch 'develop' into feat/short
|
2022-01-29 14:19:30 +01:00 |
|
Matthias
|
15d5389564
|
Update /health endpoint to be in local timezone
|
2022-01-28 10:33:35 +01:00 |
|
Matthias
|
002226f5fd
|
Update setting to max_entry_position_adjustment
|
2022-01-27 16:57:50 +01:00 |
|
Stefano Ariestasia
|
0fa7986369
|
Merge branch 'freqtrade:develop' into pos_adjust
|
2022-01-25 10:30:18 +09:00 |
|
Reigo Reinmets
|
1d59a6b7e3
|
Merge branch 'freqtrade:develop' into health
|
2022-01-24 13:52:53 +02:00 |
|
Matthias
|
e252830229
|
Add entry_tag to "entry" callbacks
|
2022-01-24 07:02:01 +01:00 |
|
Reigo Reinmets
|
bf62fc9b25
|
Add /health endpoint that returns last_process timestamp, fix issue #6009
|
2022-01-23 21:58:46 +02:00 |
|
Matthias
|
57067ce88d
|
Add tests for max_adjustment_buy handling
|
2022-01-23 19:07:37 +01:00 |
|
Matthias
|
7429f535c1
|
Imrpove code by reusing available properties
|
2022-01-23 18:59:09 +01:00 |
|
Matthias
|
a0c0c4dcbe
|
Update funding_fee formula to correctly calculate fees for long trades
|
2022-01-22 19:46:10 +01:00 |
|
Matthias
|
f090dcc597
|
Merge branch 'develop' into feat/short
|
2022-01-22 17:56:01 +01:00 |
|
Matthias
|
7bef9a9b3e
|
Extract timeout handling from freqtradebot class
|
2022-01-22 15:59:10 +01:00 |
|
Stefano Ariestasia
|
748381c5cd
|
Update based on flake8
|
2022-01-21 00:35:22 +00:00 |
|
Stefano Ariestasia
|
f30580e5f2
|
Update freqtradebot.py
|
2022-01-20 11:40:29 +09:00 |
|
Stefano Ariestasia
|
5fb9511556
|
fix typo
|
2022-01-20 10:34:35 +09:00 |
|
Stefano Ariestasia
|
ac93eea585
|
update
|
2022-01-19 21:58:24 +09: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
|
08cae6f067
|
Fix horrible whitespace mistake.
|
2022-01-13 20:44:03 +02:00 |
|
Reigo Reinmets
|
ffe69535d8
|
These could be properties.
|
2022-01-13 20:31:03 +02:00 |
|
Matthias
|
faa35cb167
|
Small minor fixes
|
2022-01-13 17:18:07 +01:00 |
|
Reigo Reinmets
|
e50b07ecb4
|
Make code compatible.
|
2022-01-11 12:05:57 +02:00 |
|
Reigo Reinmets
|
94f2c99989
|
Temporary fix for lazy loading. Probably we can do it better.
|
2022-01-11 11:43:32 +02:00 |
|
Reigo Reinmets
|
fbf026ac43
|
Fix sorting of imports.
|
2022-01-10 20:43:57 +02:00 |
|
Reigo Reinmets
|
26f2db4777
|
Fix notify_enter attempting to fetch rate during testing.
|
2022-01-10 20:30:32 +02:00 |
|
Reigo Reinmets
|
91b89c8c42
|
Improve docs, fix telegram message to show current rate.
|
2022-01-08 21:30:42 +02:00 |
|
Reigo Reinmets
|
195d601b8e
|
Fix notification message showing "Current rate" as the initial buy order desired rate.
|
2022-01-08 17:41:59 +02:00 |
|
Reigo Reinmets
|
0bca07a32a
|
Added min_stake, max_stake. Removed pair as its included in trade.
|
2022-01-08 17:20:02 +02:00 |
|
Sam Germain
|
c61acb9f19
|
removed rename todos
|
2022-01-08 03:09:47 -06:00 |
|
Matthias
|
6ad521a0f7
|
Update apply_fee_conditional with note about futures
|
2022-01-06 10:22:28 +01:00 |
|
Sam Germain
|
3d22497177
|
add warning for futures dust to freqtradebot.apply_fee_conditional
|
2022-01-05 00:57:36 -06:00 |
|
Matthias
|
711a6a6dbc
|
Merge branch 'develop' into pr/xataxxx/6079
|
2022-01-02 22:21:41 +01:00 |
|
Sam Germain
|
33ab3c1bea
|
Removed some todo-lev comments
|
2022-01-01 14:10:24 -06:00 |
|
Matthias
|
ddfbe55e7c
|
Merge branch 'develop' into feat/short
|
2022-01-01 19:16:49 +01:00 |
|
Matthias
|
c06496e66f
|
Update some more TODO-lev's
|
2021-12-31 16:49:47 +01:00 |
|
Matthias
|
39f8c5719b
|
Fix exception on exchange shutdown
|
2021-12-31 11:24:56 +01:00 |
|
Aezo Teo
|
1f773671ed
|
updated tests and telegram
|
2021-12-29 21:24:12 +08:00 |
|
Reigo Reinmets
|
4b654b2713
|
Reduce logging.
|
2021-12-27 19:48:18 +02:00 |
|
Reigo Reinmets
|
2a728c676e
|
Improve documentation. Fix bug.
|
2021-12-27 19:41:33 +02:00 |
|
Matthias
|
17f037cec6
|
Extract order_fee handling from update_trade_state
|
2021-12-27 16:07:43 +01:00 |
|
Reigo Reinmets
|
bc8fc3ab09
|
We can actually call recalc_open_trade_value less since it's being called eventually anyway.
|
2021-12-26 20:09:18 +02:00 |
|
Reigo Reinmets
|
bd5520bee2
|
Adjust comments, fix stoploss_on_exchange for slower closed orders.
|
2021-12-26 20:03:10 +02:00 |
|
Matthias
|
d3f3c49b13
|
Fix minor "gotchas"
|
2021-12-26 15:29:10 +01:00 |
|
Reigo Reinmets
|
de79d25caf
|
Refactoring to use strategy based configuration
|
2021-12-24 12:38:43 +02:00 |
|
Reigo Reinmets
|
ac690e9215
|
Remove unnecessary returns.
|
2021-12-23 18:49:11 +02:00 |
|
Reigo Reinmets
|
2e23e88fc1
|
Re-add back the log i accidentally removed.
|
2021-12-22 11:49:43 +02:00 |
|
Reigo Reinmets
|
d70ddeef9a
|
Remove whitespace. Darn IntelliJ.
|
2021-12-22 11:43:48 +02:00 |
|
Reigo Reinmets
|
e439ae1fea
|
Update wallet balance on every order close, not only trade close
|
2021-12-22 11:20:03 +02:00 |
|
Reigo Reinmets
|
c9243fb4f6
|
Use buy side for price since mostly used for DCA.
|
2021-12-20 22:45:46 +02:00 |
|
Reigo Reinmets
|
f6d36ce56b
|
Fix the dca order not being counted bug.
|
2021-12-20 22:07:42 +02:00 |
|
Reigo Reinmets
|
5da38f3613
|
Fix typo. Make sure trade is market open.
|
2021-12-19 10:36:47 +02:00 |
|
Reigo Reinmets
|
db2f0660fa
|
Some more compatibility fixes.
|
2021-12-18 11:15:59 +02:00 |
|
Reigo Reinmets
|
b094430c26
|
Restructure for less complexity. Flake8
|
2021-12-18 11:01:06 +02:00 |
|
Reigo Reinmets
|
cc28f73d7f
|
Hopefully fix orders being left lingering and trade not updating once they are complete
|
2021-12-17 22:29:41 +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
|
7200659b35
|
Merge branch 'freqtrade:develop' into dca
|
2021-12-15 23:17:44 +02:00 |
|
Matthias
|
f9aa36f291
|
Don't hard-fail when executing emergency sell fails
closes #6068
|
2021-12-15 19:37:35 +01:00 |
|
Reigo Reinmets
|
9be29c6e92
|
Theoretically fix second order timeout/canceling deleting the whole order.
|
2021-12-13 20:44:18 +02:00 |
|
Reigo Reinmets
|
468076cf54
|
This has to be reset since otherwise it will not handle live limit orders after first buy.
|
2021-12-13 20:32:13 +02:00 |
|
Reigo Reinmets
|
d4b31263ca
|
Fix open rate being None formatting error.
|
2021-12-13 13:54:01 +02:00 |
|
Reigo Reinmets
|
6f6e7467f5
|
Fix potential problem.
|
2021-12-13 11:17:24 +02:00 |
|
Reigo Reinmets
|
1362bd9626
|
Fix potential problem.
|
2021-12-13 02:46:37 +02:00 |
|
Reigo Reinmets
|
2c3e5fa080
|
Remove extra logging.
|
2021-12-13 02:30:29 +02:00 |
|
Reigo Reinmets
|
1017b68af9
|
Fix some unit-tests. Use common trade entry code.
|
2021-12-13 02:27:09 +02:00 |
|
Reigo Reinmets
|
71147d2899
|
Attempt to support limit orders for position adjustment.
|
2021-12-11 18:25:05 +02:00 |
|
Reigo Reinmets
|
f11a40f144
|
Improve documentation on adjust_trade_position and position_adjustment_enable
|
2021-12-11 17:14:04 +02:00 |
|
Reigo Reinmets
|
f97662e816
|
Add position_adjustment_enable config keyword to enable it.
|
2021-12-11 00:28: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
|
fde6779873
|
Some code improvements. Still some bugs.
|
2021-12-09 14:47:44 +02:00 |
|
Reigo Reinmets
|
fd875786fd
|
Initial very crude DCA implementation attempt. Very alpha.
No backtesting support.
|
2021-12-07 11:16:11 +02:00 |
|
Matthias
|
f71b7a4e76
|
Merge branch 'develop' into feat/short
|
2021-12-02 06:53:15 +01:00 |
|
Matthias
|
5ce1eeecf5
|
Reorder messages to be sent in correct order
buy first, then buy fill,
sell first, then sell fill.
|
2021-12-01 19:57:24 +01:00 |
|
Matthias
|
67f3570bf3
|
Merge branch 'develop' into feat/short
|
2021-12-01 07:21:36 +01:00 |
|
Matthias
|
542963c7a6
|
Reduce code complexity by combining buy and buy_fill methods
|
2021-11-30 19:45:20 +01:00 |
|
Matthias
|
80ed5283b2
|
Add forcesell market/limit distinction
|
2021-11-27 09:10:18 +01:00 |
|
Matthias
|
338fe333a9
|
Allow forcebuy to specify order_type
|
2021-11-24 20:20:58 +01:00 |
|
Matthias
|
c26c0b6822
|
Merge branch 'feat/short' into short_buy_tag_compat
|
2021-11-21 19:31:59 +01:00 |
|
Matthias
|
fb519a5b39
|
Add comment with reasoning to ignore leverage in min_amount calculation
|
2021-11-21 10:28:40 +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 |
|
Matthias
|
9aed76ba17
|
Integrate leverage() to freqtradebot
|
2021-11-19 19:23:48 +01:00 |
|
Matthias
|
f40221dd9f
|
Merge branch 'develop' into feat/short
|
2021-11-18 20:20:01 +01:00 |
|
Matthias
|
8638e6fe47
|
Simplify tradingmode parsing
|
2021-11-18 19:58:44 +01:00 |
|
Sam Germain
|
e7fad04eb9
|
Merge branch 'feat/short' into funding-fee-dry-run
|
2021-11-14 03:15:22 -06:00 |
|
Sam Germain
|
430aa0903f
|
Removed redundent TODO-levs
|
2021-11-13 19:45:41 -06:00 |
|
Matthias
|
6b40792f80
|
Merge branch 'feat/short' into funding-fee-dry-run
|
2021-11-12 08:06:29 +01:00 |
|
Sam Germain
|
c8c2d89893
|
exchange.get_funding_fees returns 0 by default
|
2021-11-11 19:10:56 -06:00 |
|
Sam Germain
|
592b7e0ce3
|
All test_update_funding_fees tests pass
|
2021-11-11 17:49:32 -06:00 |
|
Matthias
|
f8d30abd79
|
Handle order returns that contain trades directly
binance market orders - and potentially other exchanges
|
2021-11-10 19:43:36 +01:00 |
|
Sam Germain
|
b87f8e7034
|
Removed unnecessary todo comments
|
2021-11-10 00:59:53 -06:00 |
|
Matthias
|
23a566b478
|
validate_stake_amount should not be a private method
|
2021-11-10 06:38:24 +01:00 |
|
Sam Germain
|
bea37e5ea3
|
moved dry run check for funding fees to exchange
|
2021-11-08 01:58:09 -06:00 |
|
Matthias
|
1dd6872b80
|
Merge pull request #5843 from Theagainmen/patch-2
Update warning message open trades
|
2021-11-07 11:07:16 +01:00 |
|
Matthias
|
4595c1e73c
|
Slightly reformat to simplify new change
|
2021-11-07 10:55:11 +01:00 |
|
Sam Germain
|
252e45ebf2
|
Merge branch 'feat/short' into funding-fee-dry-run
|
2021-11-06 22:46:00 -06:00 |
|
Sam Germain
|
48b34c8fd0
|
Fixed issues with funding-fee being miscalculated on trade objects in freqtradebot
|
2021-11-06 21:03:18 -06:00 |
|
Matthias
|
ebc38159b8
|
Merge branch 'develop' into feat/short
|
2021-11-06 15:24:52 +01:00 |
|
Sam Germain
|
cb97c6f388
|
Updated time to utc in test_update_funding_fees, some funding rate key errors because a timestamp is likely not in utc
|
2021-11-06 05:56:58 -06:00 |
|
Matthias
|
7a907a7636
|
Add Emergencyselling after X timeouts have been reached
|
2021-11-06 11:48:49 +01:00 |
|
Matthias
|
d99eaccb5a
|
Fix exception when using okex
closes #5842
|
2021-11-05 19:47:13 +01:00 |
|
Theagainmen
|
2115a3ed12
|
Update warning message open trades
This shouldn't confuse user when just reloading their bot.
|
2021-11-05 18:49:10 +01:00 |
|
Sam Germain
|
8a4236198f
|
Added test_update_funding_fees in freqtradebot, test currently fails
|
2021-11-03 22:52:37 -06:00 |
|
Matthias
|
6b90b4a144
|
Test "get-signal"
|
2021-10-31 10:53:30 +01:00 |
|
Matthias
|
dffe76f109
|
Don't double-loop to generate profits
|
2021-10-31 10:49:56 +01:00 |
|
Matthias
|
17432b2823
|
Improve some stylings
|
2021-10-24 09:15:05 +02:00 |
|
Sam Germain
|
3eda9455b9
|
Added dry run capability to funding-fee
|
2021-10-23 21:59:47 -06:00 |
|
Matthias
|
1267374c8a
|
Small fixes to tests
|
2021-10-20 19:21:38 +02:00 |
|
theluxaz
|
905f3a1a50
|
Removed exit_tag from Trade objects.
|
2021-10-20 17:58:50 +03:00 |
|
theluxaz
|
1fdc4425dd
|
Changed exit_tag to be represented as sell_reason
|
2021-10-20 01:26:15 +03:00 |
|
theluxaz
|
69a59cdf37
|
Fixed flake 8, changed sell_tag to exit_tag and fixed telegram functions
|
2021-10-18 23:56:41 +03:00 |
|
Sam Germain
|
053aecf111
|
reformatted check_handle_timedout
|
2021-10-18 01:01:29 -06:00 |
|
Sam Germain
|
e4682b78c5
|
updates suggested on github
|
2021-10-18 00:28:32 -06:00 |
|
Sam Germain
|
bcbe8f229c
|
Merge branch 'feat/short' into lev-freqtradebot
|
2021-10-13 19:02:57 -06:00 |
|
theluxaz
|
96cab22a8c
|
Fixed some bugs for live sell_tags.
|
2021-10-14 01:03:15 +03:00 |
|
theluxaz
|
0f670189eb
|
quick typo fix
|
2021-10-13 02:14:07 +03:00 |
|
theluxaz
|
b151cf032b
|
Merge branch 'develop' of https://github.com/theluxaz/freqtrade into main
# Conflicts:
# freqtrade/freqtradebot.py
# freqtrade/optimize/backtesting.py
|
2021-10-13 02:01:26 +03:00 |
|
theluxaz
|
02243b1a2b
|
minifix
|
2021-10-13 01:34:29 +03:00 |
|
theluxaz
|
80b71790bc
|
Added some bigfixes for sell_tag
|
2021-10-13 01:22:53 +03:00 |
|
theluxaz
|
b898f86364
|
Added sell_tag and buy/sell telegram performance functions
|
2021-10-13 00:02:28 +03:00 |
|
Matthias
|
f290ff5c9a
|
Re-add schedule.run_pending
|
2021-10-12 19:10:38 +02:00 |
|
Sam Germain
|
86cbd0039f
|
Fixed bugs
|
2021-10-12 02:24:35 -06:00 |
|
Matthias
|
70000b5843
|
Use scheduler as Object, not the automatic Singleton
|
2021-10-11 20:28:23 +02:00 |
|
Sam Germain
|
d5a1385fdc
|
Changes described on github
|
2021-10-11 04:14:59 -06:00 |
|
Sam Germain
|
855b26f846
|
Parametrized more time machine tests in test_update_funding_fees
|
2021-10-11 01:31:21 -06:00 |
|
Sam Germain
|
3b962433fb
|
Switched shcedule to perform every 15 minutes
|
2021-10-10 02:55:04 -06:00 |
|
Sam Germain
|
81cf4653a9
|
Fixed failing test_process_trade_creation, test_order_book_depth_of_market, test_handle_stoploss_on_exchange_trailing
|
2021-10-09 17:35:57 -06:00 |
|
Sam Germain
|
94f0be1fa9
|
Added is_short=(signal == SignalDirection.SHORT) inside freqtradebot.create_trade
|
2021-10-09 16:32:22 -06:00 |
|
Sam Germain
|
85e86ec09d
|
Fixed failing test_check_handle_timedout_buy_usercustom
|
2021-10-09 15:14:33 -06:00 |
|
Sam Germain
|
b83933a10a
|
Added gateio and kucoin funding fee times
|
2021-10-09 13:09:11 -06:00 |
|
Sam Germain
|
057b048f31
|
Started added timezone offset stuff
|
2021-10-09 12:27:40 -06:00 |
|
Sam Germain
|
795d51b68c
|
Switched scheduler to get funding fees every hour for any exchange
|
2021-10-09 11:27:26 -06:00 |
|
Sam Germain
|
39be675f1f
|
Adjusted time to utc in schedule
|
2021-10-09 10:52:07 -06:00 |
|
Sam Germain
|
e367f84b06
|
Added more update_funding_fee tests, set exchange of default conf
|
2021-10-07 04:20:53 -06:00 |
|
Sam Germain
|
29e582c6d9
|
Fixed time format for schedule and update_funding_fees conf is mocked better
|
2021-10-05 01:42:46 -06:00 |
|
Sam Germain
|
928c4edace
|
removed side from execute_trade_exit
|
2021-10-03 23:22:51 -06:00 |
|
Sam Germain
|
2a2b759419
|
patch_get_signal test updates
|
2021-10-03 17:41:01 -06:00 |
|
Sam Germain
|
70db228f24
|
Merge branch 'feat/short' into funding-fee
|
2021-10-03 02:15:54 -06:00 |
|
Sam Germain
|
09ef0781a1
|
switching limit_buy_order_usdt and limit_sell_order_usdt to limit_order(enter_side[is_short]) and limit_order(exit_side[is_short])
|
2021-10-03 01:52:58 -06:00 |
|
Sam Germain
|
3823ca4162
|
Merge branch 'test-freqtradebot-usdt' into lev-freqtradebot
|
2021-10-02 20:26:52 -06:00 |
|
Sam Germain
|
87ff65d31e
|
Fixed failing test_handle_protections
|
2021-10-02 04:06:22 -06:00 |
|
Sam Germain
|
b3656ddfc9
|
Merge branch 'feat/short' into lev-freqtradebot
|
2021-10-02 03:36:32 -06:00 |
|
Sam Germain
|
e8b4cf6eaa
|
Merge branch 'develop' into feat/short
|
2021-10-02 03:15:12 -06:00 |
|
Matthias
|
5f23af5802
|
Rename update_open_trades to clarify it's only called at startup
|
2021-09-30 07:24:16 +02:00 |
|
Sam Germain
|
157223f6ab
|
datetime.utc -> datetime.now(timezone.utc)
|
2021-09-29 22:32:02 -06:00 |
|
Sam Germain
|
af6afd0ac2
|
Revert "Replace datetime.utcnow with datetime.now(timezone.utc)"
This reverts commit c4ac876183 .
|
2021-09-29 22:27:21 -06:00 |
|
Sam Germain
|
c4ac876183
|
Replace datetime.utcnow with datetime.now(timezone.utc)
|
2021-09-29 22:16:44 -06:00 |
|
Sam Germain
|
545b62d746
|
Merge branch 'feat/short' into funding-fee
|
2021-09-27 23:34:09 -06:00 |
|
Sam Germain
|
1a132758d0
|
merged with feat/short
|
2021-09-27 23:26:20 -06:00 |
|