Misagh
9b38c04579
negating SL pct and adding tests
2019-03-31 13:15:35 +02:00
hroff-1902
06144a1fc4
Wording in a comment
2019-03-30 23:33:52 +03:00
Matthias
1a61bf7bff
sort imports
2019-03-30 13:48:30 +01:00
Matthias
87a296f728
No need to call patch_coinmarketcap each tim
2019-03-30 13:48:03 +01:00
Matthias
e98c0621d3
We don't need to call patch_coinmarketcap each time.
2019-03-30 13:47:30 +01:00
Matthias
40c0b4ef2e
Autopatch coinmarketcap
2019-03-30 13:47:21 +01:00
hroff-1902
208832e847
flake8, mypy resolved
2019-03-30 02:19:43 +03:00
Matthias
e5008fbf93
Add test for logfile attribute
2019-03-29 20:16:52 +01:00
Matthias
d4ffdaffc2
Correctly add types
2019-03-29 20:16:41 +01:00
Matthias
bb5a310aec
Add --logfile argument
2019-03-29 20:13:15 +01:00
Misagh
f2599ffe90
pct default to None
2019-03-29 08:08:29 +01:00
Misagh
50fc63251e
added SL pct to DB
2019-03-28 21:18:26 +01:00
Misagh
b1ef39927c
Merge pull request #1673 from freqtrade/refactor/persistance_stoplossupdate
...
trailing stop backtest problems
2019-03-28 20:44:24 +01:00
Matthias
b4472a165e
Merge pull request #1707 from mishaker/telegram_msg
...
Telegram status message refactoring
2019-03-28 19:45:48 +01:00
Matthias
a87fc5f863
Fix tests - freqtrade should not be patched in this case
2019-03-28 19:37:50 +01:00
Misagh
2f3f5f19cd
sl percentage removed form rpc test
2019-03-28 16:26:59 +01:00
Misagh
e11eb4775e
stoploss precentage in telegram msg removed
2019-03-28 16:21:49 +01:00
Misagh
0e5b0ebda6
adding SL and SL percentage to telegram msg
2019-03-28 12:09:07 +01:00
hroff-1902
d5254dff7b
Merge branch 'develop' into main_refactoring
2019-03-28 11:10:21 +03:00
Matthias
146d6bf7fb
Merge pull request #1698 from mishaker/edge_rpc
...
Edge RPC
2019-03-28 06:22:38 +01:00
Matthias
0a8c1528cf
Merge pull request #1686 from iuvbio/refactor/binance
...
Refactor/binance
2019-03-28 06:22:02 +01:00
Misagh
941921dd0f
initial SL and SL added to RPC
2019-03-27 22:00:46 +01:00
Misagh
0ca3a38ba6
moved date to top and show open order only if it is not none
2019-03-27 21:39:17 +01:00
Misagh
1678a039ae
removing close profit is trade is open
2019-03-27 21:32:56 +01:00
Misagh
e5406ed3cf
typo in docs and comments
2019-03-27 21:22:25 +01:00
Misagh
4d9ca71c82
shifting edge help message a line lower
2019-03-27 21:20:09 +01:00
Misagh
6045f07a9c
telegram message concatenation refactored
2019-03-27 21:12:57 +01:00
Matthias
9b22d5cab1
Fix typo, add test for validate_order_tif
2019-03-27 20:51:55 +01:00
Misagh
1e37d8ccb3
flake8
2019-03-27 16:58:53 +01:00
Misagh
4038cdf70a
"Edge" test for rpc telegram
2019-03-27 16:04:05 +01:00
Misagh
0687051ffb
Update test_rpc.py
...
flake8
2019-03-27 14:04:33 +01:00
Misagh
8641da13b9
added RPC tests in case of edge enabled/disabled
2019-03-27 14:02:37 +01:00
Misagh
955e2d2826
Update test_rpc_telegram.py
...
telegram test_init fixed
2019-03-27 12:59:59 +01:00
Misagh
52012003e9
Merge pull request #1700 from freqtrade/dataprovider/backtesting
...
Dataprovider during backtesting
2019-03-27 12:43:59 +01:00
Gianluca Puglia
b2c2b42408
Removed unwanted comment
2019-03-26 18:53:16 +01:00
hroff-1902
f5744cc9bf
fix in the tests
2019-03-26 18:34:50 +03:00
hroff-1902
c6d2c1e520
rest of telegram tests adjusted
2019-03-26 12:45:19 +03:00
hroff-1902
8aee009a0a
test _reconfigure() adjusted
2019-03-26 12:42:19 +03:00
hroff-1902
5ccd618189
tests adjusted
2019-03-26 11:07:24 +03:00
hroff-1902
5161e1abb3
Allow to pass config into worker, as it's used in the tests
2019-03-26 11:07:02 +03:00
iuvbio
e15f2ef11a
add order_time_in_force in _ft_has and revert binance
2019-03-26 00:49:39 +01:00
iuvbio
8dea640e9a
remove exchange urls
2019-03-25 23:58:02 +01:00
iuvbio
4005b8d1d2
remove the if condition for binance
2019-03-25 23:57:14 +01:00
iuvbio
85ac99aee0
move exchange urls to constants
2019-03-25 23:57:14 +01:00
Matthias
e085fd9e95
Disable dataprovider from hyperopt.
...
Dataprovider uses weak links to initialize, which cannot be pickled, and
therefore cannot be used during hyperopt.
2019-03-25 19:49:58 +01:00
Matthias
f26ed1c8c1
Check if added pair has correct stake-currency
2019-03-25 19:40:21 +01:00
Matthias
0ae81d4115
Provide dataprovider access during backtesting
2019-03-25 19:26:51 +01:00
Matthias
226fc3d99b
Check that dataprovider is part of strategy
2019-03-25 19:26:51 +01:00
Matthias
bd29b7d031
Test that dataprovider is loaded to strategy
2019-03-25 19:26:51 +01:00
hroff-1902
c8b0c9af0a
Worker moved to new worker.py
2019-03-25 17:45:03 +03:00
Misagh
e8bfeae048
conflict with develop resolved
2019-03-25 10:16:09 +01:00
Misagh
fd7278517d
using items()
2019-03-25 09:48:41 +01:00
Misagh
b13735e4cc
Merge pull request #1697 from freqtrade/feat/rpc_blacklist
...
add pairs to blacklist dynamically
2019-03-25 09:44:12 +01:00
Misagh
a8be277ca0
cached pairs iteration fixed + help added
2019-03-24 22:56:42 +01:00
Misagh
1dfbf6eed6
darfting edge rpc messages
2019-03-24 22:36:33 +01:00
Matthias
29b9bb96f3
Fix test to support adding things to pairlist
2019-03-24 19:49:49 +01:00
Matthias
14167f826b
Fix typehints
2019-03-24 19:44:52 +01:00
Matthias
49559f1a1a
Improve documentation and help message
2019-03-24 16:33:21 +01:00
Matthias
042354d00f
Test blacklist-adding
2019-03-24 16:30:11 +01:00
Matthias
9d6f629f6a
Support adding pairs to blacklist
2019-03-24 16:28:14 +01:00
Matthias
8b2174d249
Add tests for /blacklist handler
2019-03-24 16:09:20 +01:00
Matthias
ffdca7eea7
Add blacklist to default_config
2019-03-24 16:09:04 +01:00
Matthias
684727b32e
Add black blacklist handler (ro)
2019-03-24 16:08:48 +01:00
Matthias
06f4e627fc
Add stake_currency to strategy, fix documentation typo
2019-03-23 20:40:07 +01:00
Matthias
9a632d9b7c
Formatting
2019-03-23 16:51:36 +01:00
Matthias
c404e9ffd0
Simplify trailing_stop logic
2019-03-23 16:48:17 +01:00
Matthias
b1fe8c5325
Simplify stoploss_reached
2019-03-23 16:46:03 +01:00
Matthias
7307084dfd
Move stoploss-adjustment to the top
2019-03-23 16:44:58 +01:00
Matthias
40899d08dd
Fix failing test (all timezones are in UTC, so we should not convert to
...
None)
2019-03-23 15:24:11 +01:00
Matthias
00e6749d8b
Refactor backtest() to be a bit more concise
2019-03-23 15:00:07 +01:00
Matthias
05466d318a
Modify test to check for this condition
2019-03-23 14:50:18 +01:00
hroff-1902
158cb307f6
further refactoring of FreqtradeBot.process()
2019-03-23 00:20:20 +03:00
hroff-1902
e35daf95c0
minor cleanup
2019-03-22 23:41:48 +03:00
hroff-1902
b448890210
test_main.py adjusted (only beginning)
2019-03-22 22:03:15 +03:00
hroff-1902
be6836b0ef
resolve python module circular dependency
2019-03-22 21:49:19 +03:00
hroff-1902
60afba5592
move worker stuff to main.py
2019-03-22 20:16:54 +03:00
Matthias
35d65bc7d7
Merge branch 'develop' into 'validate_whitelist'
2019-03-21 06:22:48 +01:00
Matthias
7fdb099097
Reformat log statement
2019-03-21 06:14:43 +01:00
Gianluca Puglia
6b89e86a97
Removed Timestamp cast
2019-03-20 19:44:59 +01:00
Gianluca Puglia
0eff324ce0
Use dedicated index for every pair
2019-03-20 18:38:10 +01:00
hroff-1902
580ada8c4f
exchange cleanup
2019-03-19 20:52:35 +03:00
hroff-1902
aa15312670
wallets cleanup
2019-03-19 20:51:27 +03:00
Matthias
c8617e70a8
Merge pull request #1668 from freqtrade/fix/1658_no_telegram_updates
...
No telegram rate updates when orderbook is enabled
2019-03-18 19:40:32 +01:00
Matthias
8d173efe2d
reword stopbuy message
2019-03-18 06:29:08 +01:00
Matthias
aa698a8412
rename /stopbuy message
2019-03-18 06:27:44 +01:00
Matthias
9373d0c915
Add tests for /stopbuy
2019-03-17 19:36:02 +01:00
Matthias
a467d76832
Add /stopbuy command to telegram
...
fixes #1607
2019-03-17 19:35:25 +01:00
iuvbio
937399606e
fix flake8
2019-03-17 18:24:29 +01:00
iuvbio
c2076af43b
update tests
2019-03-17 18:18:44 +01:00
iuvbio
4de4a70be7
update log messages
2019-03-17 18:18:35 +01:00
Matthias
8afce7e651
Add testcase for Testcase 2
2019-03-17 16:26:38 +01:00
iuvbio
8386496456
remove tests that are no longer applicable
2019-03-17 16:04:09 +01:00
iuvbio
7f9c76a6fc
move stake check to the same condition as the other checks
2019-03-17 16:04:09 +01:00
iuvbio
d4d37667e1
use pairname for stake cur comparison
2019-03-17 16:04:09 +01:00
iuvbio
d4543be8eb
edit comment
2019-03-17 16:04:09 +01:00
iuvbio
e38a3051a1
update docstring
2019-03-17 16:04:09 +01:00
iuvbio
c907e80c10
make sure no dups
2019-03-17 16:04:09 +01:00
iuvbio
a241e950f2
prune validate_pairs
2019-03-17 16:04:09 +01:00
iuvbio
39232cbcbb
loop over whitelist only instead of all markets
2019-03-17 16:04:09 +01:00
Matthias
a7b60f6780
update trailing_stop with high in case of backtesting
2019-03-17 16:03:44 +01:00
Matthias
05ab1c2e0a
Fix some comments
2019-03-17 16:02:13 +01:00
Matthias
8c7e8255bb
Add detailed test for trailing stop
2019-03-17 16:01:34 +01:00
Matthias
f0e5113a7f
Use Magicmock instead of lambda for mocking
2019-03-17 15:39:05 +01:00
Matthias
a830bee9c7
Enable trailing_stop for BTContainer tests
2019-03-17 15:28:04 +01:00
Matthias
a77d513513
Fix backteest detail numbering ...
2019-03-17 13:27:32 +01:00
Matthias
7b99daebd7
Update docstring for adjust_stoploss
2019-03-17 13:19:24 +01:00
Matthias
2d4a2fd10b
Use oppen_rate instead of artificial defaults
2019-03-17 13:12:04 +01:00
Matthias
a0e6cd93b6
Use bids, not asks for sell-rate detection
2019-03-17 11:27:01 +01:00
Matthias
fc360608b7
Rename function to adjust_min_max
2019-03-16 20:14:45 +01:00
Matthias
01733c94fa
Split up tests for adjust_stoploss and adjust_highlow
2019-03-16 20:04:55 +01:00
Matthias
68a9b14eca
Min-rate should not default to 0
2019-03-16 20:04:39 +01:00
Matthias
738ed93221
call new function
2019-03-16 19:54:34 +01:00
Matthias
7166a474ae
Add min_rate - always update min/max rates
2019-03-16 19:54:16 +01:00
Matthias
e7f6df46e8
Add missing bt file
2019-03-16 19:15:20 +01:00
Matthias
a123246ac9
Add test for load_backtest_data
2019-03-16 17:50:57 +01:00
Matthias
ddb9933c91
Remove duplicate-check from test - it's in btanalysis
2019-03-16 17:28:28 +01:00
Matthias
9f7f089d8a
adjust plot_dataframe to use btanalysis
2019-03-16 17:28:28 +01:00
Matthias
e1f48c2b46
Add btanalysis file
2019-03-16 17:28:28 +01:00
Matthias
6666d31ee9
Merge pull request #1648 from hroff-1902/sd-watchdog
...
Support for systemd watchdog
2019-03-16 13:46:04 +01:00
Matthias
29aa159827
Add test for get_sell_rate
2019-03-16 13:32:26 +01:00
Matthias
6bfc37309e
refactor getting sell/current rate for telegram and selling
...
fix #1658
2019-03-16 13:24:10 +01:00
Matthias
b9b15e5f32
Align help message for forcebuy
2019-03-16 11:04:24 +01:00
Matthias
d66e6510e3
Merge pull request #1645 from mishaker/trailing_only_offset
...
Adding an option for trailing stoploss: "trailing_only_offset_is_reached"
2019-03-16 10:43:56 +01:00
Matthias
d42ebab575
Rename function and add test
2019-03-16 10:38:25 +01:00
Matthias
44acf2f471
Catch syntaxerror on import
2019-03-15 19:50:38 +01:00
iuvbio
95a3b5c41e
check if ticker sort key is populated
2019-03-14 22:48:42 +01:00
misagh
edf2cd0b92
configuration test fixed
2019-03-14 09:26:31 +01:00
misagh
b5034cf535
TSL validator removed from exchange
2019-03-14 09:04:41 +01:00
misagh
29305dd070
config validation moved to configuration file
2019-03-14 09:01:03 +01:00
misagh
3c99e3b7c7
test adapted to new market refactoring
2019-03-14 09:00:28 +01:00
misagh
9a226ec7e6
conflict with develop resolved
2019-03-14 07:56:21 +01:00
Misagh
2959600f52
Merge pull request #1656 from freqtrade/fix/1633
...
Default value for minimal_roi
2019-03-14 07:51:07 +01:00
Matthias
ff9231eec4
Format attributes-table
2019-03-14 06:42:27 +01:00
Matthias
6b8f5963a8
Merge pull request #1623 from iuvbio/markets_refactor
...
Markets refactor
2019-03-14 06:22:18 +01:00
iuvbio
a1841c35ae
reset _last_markets_refresh
2019-03-13 20:18:49 +01:00
Matthias
2bf5a3843d
Use close_rate for notification if available
2019-03-13 19:41:58 +01:00
Matthias
6b948cfc7e
Don't move notify_sell to rpc_manager - it needs exchange stuff
2019-03-12 22:01:19 +01:00
Matthias
9054165e8a
Adjust test, since rpc_message is now called on buy and sel
2019-03-12 21:55:18 +01:00
Matthias
11cc33a982
Refactor notify_sell to rpc_manager
...
* Call sell_notify also when stoploss_on_exchange is hit
fix #1653
2019-03-12 21:55:00 +01:00
Matthias
e2bcaa4d75
Set Requested_close_rate to stoploss when stoploss_on_exchange was hit
2019-03-12 21:54:52 +01:00
Matthias
94b2d48d02
Add default value for minimal_roi (1000%)
...
fix #1633
2019-03-12 19:37:58 +01:00
iuvbio
7ffe65770e
fix test
2019-03-12 17:54:16 +01:00
iuvbio
cb9849e192
add markets_refresh_interval to CONF_SCHEMA
2019-03-12 16:54:59 +01:00
Misagh
954963b40e
Merge pull request #1651 from freqtrade/fix/importerror_strats
...
Catch ModuleNotFoundError when importing external code
2019-03-12 16:37:30 +01:00
iuvbio
779bcdd990
remove reload for async api
2019-03-12 16:35:32 +01:00
iuvbio
0ffefe44a7
reorder vars
2019-03-12 16:31:22 +01:00
iuvbio
deddbda26e
delete markets patch from conftest
2019-03-12 16:31:22 +01:00
iuvbio
1a92bf9e8e
add test
2019-03-12 16:31:22 +01:00
iuvbio
8741017819
remove get_markets
2019-03-12 16:31:22 +01:00
iuvbio
0d980134e7
add markets reload func
2019-03-12 16:31:22 +01:00
iuvbio
3ad0686bc7
fix typing
2019-03-12 16:31:22 +01:00
iuvbio
df9410cd15
check if markets were loaded
2019-03-12 16:31:22 +01:00
iuvbio
041e9957dd
add reload argument
2019-03-12 16:31:22 +01:00
iuvbio
6b97af4a03
add comment
2019-03-12 16:31:22 +01:00
iuvbio
e234158cc9
update tests
2019-03-12 16:31:22 +01:00
iuvbio
c30fb7f590
return markets as dict
2019-03-12 16:31:22 +01:00
iuvbio
5c840f333f
slight change to exception message
2019-03-12 16:31:22 +01:00
iuvbio
b24a22b0b6
use self.markets instead of get_markets
2019-03-12 16:31:22 +01:00
iuvbio
47cc04c0a3
use self.markets instead of _api.markets
2019-03-12 16:31:22 +01:00
iuvbio
ccad883256
adjust get_markets
2019-03-12 16:31:22 +01:00
iuvbio
3a2aa54d2a
add markets property
2019-03-12 16:31:22 +01:00
iuvbio
d423f58566
replace fetch_markets
2019-03-12 16:31:22 +01:00
misagh
a772ab323e
adding the option to resolver
2019-03-12 15:43:53 +01:00
misagh
f55d75e7fc
TSL validation tests added
2019-03-12 15:35:44 +01:00
misagh
36e95bc868
unnecessary variable removed
2019-03-12 13:10:59 +01:00
misagh
3e40f5c588
if condition simplified
2019-03-12 13:09:27 +01:00
misagh
643262bc6a
add trailing stop loss config validator
2019-03-12 13:03:29 +01:00
misagh
f1f311e456
Merge branch 'develop' into trailing_only_offset
2019-03-12 12:32:10 +01:00
Misagh
c1a22dda46
Merge pull request #1654 from freqtrade/feat/startup_stoploss
...
Add stoploss to startup messages
2019-03-12 11:48:29 +01:00
Matthias
48d33b070f
Add stoploss to startup messages
2019-03-12 07:06:42 +01:00
Matthias
0eb9dd5fe5
Don't use timeInForce for market orders
2019-03-11 20:30:36 +01:00
Matthias
4705b7da0e
Add time_in_force test for sell
2019-03-11 20:30:16 +01:00
Matthias
c0f276a892
Move kraken specific tests to their own file
2019-03-11 20:22:51 +01:00
Matthias
e666c6850e
Fix tests so Market orders should not send timeInForce
2019-03-11 20:20:51 +01:00
Matthias
f9aa3c27be
Catch ModuleNotFoundError when importing external code
2019-03-11 19:49:03 +01:00
hroff-1902
41add9f8ca
code cleanup; added message to systemd for reconfiguration
2019-03-11 15:38:00 +03:00
hroff-1902
8730852d6e
Support for systemd watchdog via sd_notify
2019-03-10 21:04:38 +03:00
misagh
ca496c13b8
TSL only offset test added
2019-03-10 17:11:28 +01:00
misagh
9c1c962aa7
if condition fixed
2019-03-09 20:30:56 +01:00
misagh
c122eab77b
added trailing_only_offset_is_reached option
2019-03-09 20:13:35 +01:00
Matthias
4cd70138b6
Add test to make sure this ain't reintroduced
2019-03-08 21:26:21 +01:00
Matthias
0a2cacbba8
Fix #1637
2019-03-08 21:17:12 +01:00
Matthias
e67ffd2d87
Fix issue that backtest is broken when stoploss_on_exchange is on
2019-03-06 19:55:34 +01:00
Matthias
2d0aca0d20
Move --customhyperopts to hyperopt section
2019-03-04 07:24:05 +01:00
Matthias
3c5deb9aaf
Add test for precision_remove ...
...
BTT should not be in the list when that is enabled.
2019-03-03 15:31:48 +01:00
iuvbio
e2cbb7e7da
remove remnants markets and precisionlist
2019-03-03 13:41:51 +01:00
iuvbio
064f6629ab
delete separate pairlist
2019-03-03 00:35:25 +01:00
iuvbio
786244c0d3
Merge branch 'develop' into feature/volume-precision-pairlist
2019-03-02 18:55:40 +01:00
iuvbio
e1ae0d7e90
remove markets changes
2019-03-02 18:53:42 +01:00
iuvbio
c36fa0c7e2
add ticker argumet to get_target_bid
2019-03-02 17:24:48 +01:00
iuvbio
24c587518a
add precision_filter
2019-03-02 17:24:28 +01:00
hroff-1902
b792f00553
exchange cleanup
2019-03-01 02:13:16 +03:00
hroff-1902
4df44d8b32
wallets cleanup
2019-03-01 01:26:29 +03:00
Misagh
7e62a4a79c
Merge pull request #1602 from hroff-1902/no-recursion-edge
...
[Minor] comments: removed mentioning recursion, typos, etc.
2019-02-27 11:50:29 +01:00
hroff-1902
761861f0b7
comments: removed mentioning recursion, typos, etc.
2019-02-27 13:35:06 +03:00
Misagh
4e291795a6
Merge pull request #1601 from hroff-1902/no-recursion-edge
...
eliminate recursion in Edge
2019-02-27 11:18:23 +01:00
hroff-1902
4c2961f0d9
eliminate recursion in _detect_next_stop_or_sell_point()
2019-02-27 06:31:27 +03:00
Matthias
ef26484153
Super() should not be called with parameters
...
source: https://realpython.com/python-super/
2019-02-26 21:01:50 +01:00
Matthias
79aac473b3
Remove market_url from tests
2019-02-26 19:27:28 +01:00
Matthias
6c75b8a36a
Remove pair market url
2019-02-26 19:27:28 +01:00
Matthias
ee0e381d65
Merge pull request #1595 from freqtrade/binance_subclass
...
Create binance Subclass and parametrize exchange-tests
2019-02-26 19:26:23 +01:00
Misagh
cee4116b80
Merge pull request #1576 from hroff-1902/patch-10
...
Minor: code cleanup in _process()
2019-02-26 10:17:21 +01:00
Matthias
0c53bd6dd4
Complete refactor, moving query_trades to persistance as get_open_trades
2019-02-25 20:00:17 +01:00
Matthias
006635003e
Fix small typos
2019-02-24 20:18:41 +01:00
Matthias
f2fd5205ef
Fix typo
2019-02-24 20:13:38 +01:00
Matthias
31be4d2454
Add parametrized tests
2019-02-24 20:08:27 +01:00
Matthias
5c18346cd5
Add typehint to binance dict
2019-02-24 20:01:20 +01:00
Matthias
e0b634ba3b
Parametrize exchanges and test multiple exchanges
2019-02-24 19:59:45 +01:00
Matthias
a05155cb75
Adapt failing test
2019-02-24 19:41:47 +01:00
Matthias
455b168366
add _ft_has to exchangeclass
2019-02-24 19:35:29 +01:00
Matthias
06f486a8eb
Add binance exchange subclass
2019-02-24 19:30:05 +01:00
Matthias
2531961bf8
Merge pull request #1571 from hroff-1902/patch-9
...
multiple --config options
2019-02-24 13:50:39 +01:00
Matthias
9b288c6933
Add test to specifically test for merged dict
2019-02-24 13:29:22 +01:00
iuvbio
403ed48c3e
rename _store_dry_order
2019-02-23 16:28:13 +01:00
iuvbio
ec6794b9ba
fix dry_orders
2019-02-23 16:03:15 +01:00
iuvbio
98bca30dfb
reorganize imports
2019-02-22 21:16:31 +01:00
iuvbio
cc0fae8e4e
change < to <=
2019-02-22 21:13:08 +01:00
iuvbio
8d8da71f20
Merge branch 'develop' into feature/volume-precision-pairlist
2019-02-22 20:31:24 +01:00
iuvbio
9a097214a6
return complete dry_order in buy and sell
2019-02-22 19:22:48 +01:00
iuvbio
71774bce6f
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into order_creation
2019-02-22 19:02:31 +01:00
iuvbio
b79d967371
add tests, further consolidate orders
2019-02-22 01:48:35 +01:00
iuvbio
69bb6ebaf6
fix comments
2019-02-21 22:43:15 +01:00
iuvbio
bf5d2a68f5
Merge branch 'develop' into order_creation
2019-02-21 19:03:29 +01:00
Matthias
be754244a3
Only resolve exchanges from correct location
2019-02-21 07:07:45 +01:00
Matthias
e0f426d863
Allow import freqtrade.exchange.*
2019-02-21 06:59:52 +01:00
Matthias
e987a915e8
Rename exchange file
2019-02-21 06:56:22 +01:00
Matthias
2dcb4134cc
Merge branch 'develop' into pr/iuvbio/1563
2019-02-21 06:29:37 +01:00
Matthias
e309f75118
Merge pull request #1581 from hroff-1902/patch-11
...
Minor changes to exchange
2019-02-21 06:25:47 +01:00
iuvbio
b5758e67f9
order creation cleanup
2019-02-21 00:29:59 +01:00
hroff-1902
2851833726
added _now_is_time_to_refresh()
2019-02-21 01:20:24 +03:00
hroff-1902
c1ef6940b0
removed wrong comment: tuple is not created here
2019-02-21 00:47:18 +03:00
hroff-1902
2aba9c081c
fixed typos in comments
2019-02-21 00:46:35 +03:00
hroff-1902
eb21170691
added amount_reserve_percent into config json-schema
2019-02-21 00:26:02 +03:00
Matthias
4315c157c7
Move exception handling to resolver, add test
2019-02-20 20:13:23 +01:00
hroff-1902
4fbba98168
tests adjusted for multiple --config options
2019-02-20 17:54:20 +03:00
hroff-1902
87c82dea3d
support for multiple --config in the download_backtest_data.py utility
2019-02-20 17:00:35 +03:00
hroff-1902
c08a2b6638
help message fixed
2019-02-20 16:23:09 +03:00
hroff-1902
7bc874c7fd
comments adjusted
2019-02-20 16:12:17 +03:00
hroff-1902
fac0e4e603
more code cleanup in _process()
2019-02-20 16:01:56 +03:00
hroff-1902
199e3d2234
typo in a comment
2019-02-20 15:13:21 +03:00
hroff-1902
5906d37818
code cleanup in _process()
2019-02-20 15:12:04 +03:00
iuvbio
e495ffec78
align dry_run_orders
2019-02-20 02:38:16 +01:00
iuvbio
84ccb85184
Merge branch 'develop' into feature/volume-precision-pairlist
2019-02-20 01:03:03 +01:00
iuvbio
686949b258
Merge branch 'develop' into kraken_support
2019-02-20 00:52:10 +01:00
iuvbio
3e2f90a32a
formatting
2019-02-19 22:27:20 +01:00
iuvbio
bb31e64752
add test_sell_kraken_trading_agreement
2019-02-19 21:56:20 +01:00
iuvbio
481cf02db9
add test and fix exchange_resolver
2019-02-19 19:15:22 +01:00
hroff-1902
2f225e2340
multiple --config options
2019-02-19 15:14:47 +03:00
hroff-1902
f9d68d919c
move default amount_reserve_percent value into constants
2019-02-19 11:49:49 +03:00
iuvbio
eed1c2344d
delete unnecessary arguments
2019-02-18 01:03:09 +01:00
iuvbio
4241caef95
changes to base and subclass
2019-02-17 23:34:15 +01:00
iuvbio
62382809b2
Merge branch 'develop' into feature/volume-precision-pairlist
2019-02-17 16:14:20 +01:00
iuvbio
0572336ff7
revert changes to history
2019-02-17 16:12:40 +01:00
iuvbio
d8feceebb5
fix type-hints
2019-02-17 15:54:22 +01:00
iuvbio
da4faacd6b
flake8
2019-02-17 15:34:44 +01:00
iuvbio
39c28626aa
remove error message to make pytest pass
2019-02-17 15:29:58 +01:00
iuvbio
5e8a7a03c3
correct time_in_force param
2019-02-17 15:26:33 +01:00
iuvbio
dd2522d8d0
Merge branch 'develop' into kraken_support
2019-02-17 15:21:14 +01:00
iuvbio
fe792882b5
load generic class if no subclass exists
2019-02-17 14:42:55 +01:00
iuvbio
d3ead2cd09
exchange import is not needed anymore
2019-02-17 04:25:39 +01:00
iuvbio
c879591f45
add exchange_resolver to resolver init
2019-02-17 04:22:24 +01:00
iuvbio
c315f63e4b
use exchange_resolver in freqbot
2019-02-17 04:18:56 +01:00
iuvbio
2fb36b116d
change variable names
2019-02-17 04:15:11 +01:00
iuvbio
ca388a9acf
create exchange_resolver
2019-02-17 04:01:43 +01:00
iuvbio
32b02c9925
kraken subclass
2019-02-17 04:01:17 +01:00
iuvbio
54d5bce445
undo kraken specific changes
2019-02-17 03:59:40 +01:00
iuvbio
b7afcf3416
add VolumePrecisionPairList
2019-02-16 22:56:04 +01:00
hroff-1902
ea6d4a9d36
fetch amount_reserve_percent from config
2019-02-16 19:50:55 +03:00
Matthias
e0c420b93f
Merge pull request #1550 from hroff-1902/patch-2
...
execute_buy, handle_trade: do not use ticker if use_order_book:true is set in config
2019-02-16 13:55:33 +01:00
iuvbio
8ed3658447
Merge branch 'develop' into kraken_support
2019-02-15 23:27:41 +01:00
Crypto God
3aa614b983
bump version
2019-02-15 22:51:09 +01:00
Crypto God
3953092edd
output error message
2019-02-15 22:50:31 +01:00
Crypto God
ef5a0b9afc
add Kraken specifics
2019-02-15 22:50:11 +01:00
Matthias
98bd713624
iUpdate orderbook_bid_test
2019-02-14 19:15:16 +01:00
Matthias
f852be1a9b
Fix tests for get_ticker fix
2019-02-14 07:27:13 +01:00
hroff-1902
b87e15774b
test adjusted
2019-02-13 13:02:57 +03:00
hroff-1902
8e7e670003
Orthography in the log message
2019-02-13 12:42:39 +03:00
hroff-1902
8fc8c985d8
logs: cosmetic changes
...
"30 seconds" was errorneously hardcoded in the text of the log message, while actually it's RETRY_TIMEOUT which may differ
2019-02-13 12:38:44 +03:00
hroff-1902
69a24c1272
no need for test_ticker parameter just for making current tests happy, tests should be reimplemented
2019-02-13 12:23:22 +03:00
hroff-1902
e8daadfb7e
same approach for the sell side (at handle_trade)
2019-02-13 03:54:57 +03:00
hroff-1902
91629807f7
shame on me
2019-02-13 03:17:54 +03:00
hroff-1902
f551fb5ff7
adjusted for passing tests
...
Don't like this test_ticker parameter, but it's needed for tests to pass prepared ticker.
Any ideas?
2019-02-13 03:14:24 +03:00
hroff-1902
e8ef36fb6e
execute_buy: do not use ticker if use_order_book:true is set in config
...
This PR corresponds to:
https://github.com/freqtrade/freqtrade/issues/1377#issue-386200394
in understanfing that pair Ticker is mostly statistics, but on the other side, create_trade/execute_buy.
It resolves problem with some exchanges (BitMex) where ticker structure returned by ccxt does not contain bid and ask values.
1. On exchanges like Bitmex, set use_order_book: true for buys. FT won't request ticker and will use data from order book only.
2. On exchanges where order book is not available, set use_order_book: false, ticker data (including ask/last balance logic) will be used.
3. On other exchanges, either approach may be used in the config.
Performance: current implementation fetches ticker every time even if order book data will be later used. With this change it's eliminated.
Comparison of order book rate and ticker rate is removed (in order to split fetching order book and ticker completely in execute_buy), so some tests that touch this code may require adjustments.
2019-02-13 02:55:55 +03:00
Matthias
d91dbf4090
Merge pull request #1545 from hroff-1902/patch-3
...
Cosmetic: fix logging
2019-02-11 06:12:17 +01:00
hroff-1902
69f69d965c
test asserts aligned accordingly to new log messages
2019-02-10 23:37:24 +03:00
hroff-1902
5e741a0f73
fixed flake
2019-02-10 22:28:40 +03:00
hroff-1902
d6c0c107ac
fixed flake
...
hmm, even in the comments?
2019-02-10 22:23:00 +03:00
hroff-1902
7ed15c64ba
what else?
2019-02-10 22:13:40 +03:00
hroff-1902
08d35f3e15
fix checks
...
Should not make cosmetic changes right in the github editor without local smoketests...
2019-02-10 22:09:11 +03:00
hroff-1902
4dffb17dd6
fix flake
2019-02-10 22:01:46 +03:00
hroff-1902
14d6cdf9b2
OHLCV should be float for TA-LIB indicators in the strategy
...
Some exchanges (BitMEX) return integer values for Volume field. And sometimes even for OHLC -- same, on BitMEX, since price decrease is 0.5. TA-LIB functions assume floats and fail with exception.
Of course, this can be fixed (converted) in ccxt for particular exchange, but TA-LIB will still fail for exchanges for that such a conversion is not implemented in ccxt code. So let's make perform this conversion here in order to be sure our strategy will not crash on a new exchange.
2019-02-10 21:52:33 +03:00
hroff-1902
b91981f0aa
Cosmetic: fix logging
...
Output stake_amount as it is defined in the config (it may by int) instead of float. In order to avoid unnecessary questions where and why it was converted to float and changed in the last digit while it should be integer for the exchange...
Other small cosmetic improvements to logging in freqtradebot.py
2019-02-10 21:31:13 +03:00
hroff-1902
585f525879
Cosmetic: fix logging
2019-02-10 21:02:53 +03:00
Matthias
0a71ebce68
Remove unneeded pair conversation, add docstring
2019-02-04 06:13:22 +01:00
Matthias
1d940041e3
Add log test for cancelled order
2019-02-03 13:52:05 +01:00
Matthias
40fea4593f
Add log_has_re
2019-02-03 13:52:05 +01:00
Matthias
02c3552954
Adjust comment
2019-02-03 13:52:05 +01:00
Matthias
91ed02134e
Add tests for cancelled on exchnage
2019-02-03 13:52:05 +01:00
Matthias
e8ed8a2ea7
Handle orders cancelled on exchange
...
fix #1527
2019-02-03 13:51:52 +01:00
Samuel Husso
e3ae8d3f69
flake8 3.7.1 fixes
2019-01-31 07:51:03 +02:00
Matthias
2b71e8de5c
Merge pull request #1525 from mishaker/edge_messages
...
Edge messages enriched
2019-01-30 11:41:32 +01:00
misagh
84b6b8fe97
edge messages enriched
2019-01-30 11:23:23 +01:00
Misagh
421be5da86
Merge pull request #1511 from freqtrade/fix/more_settings_strategy
...
add more settings to strategy
2019-01-30 11:22:10 +01:00
Misagh
22e82f5e47
Merge pull request #1507 from xmatthias/feat/dataprovider
...
Data Provider
2019-01-27 12:32:18 +01:00
Matthias
38f73dafb3
Fix indexing error
2019-01-27 10:47:24 +01:00
Matthias
e0ad095bc7
Simplify conversation to python dates (pandas offers this "for free"
2019-01-27 10:47:02 +01:00
Matthias
1d08ada939
Fix backtest-test with timestamp-conversion
2019-01-27 10:40:52 +01:00
Matthias
3446dd1792
Add test informative_pairs_added
2019-01-26 20:05:49 +01:00
Matthias
02d13645b0
Merge branch 'develop' into feat/dataprovider
2019-01-26 19:29:41 +01:00
Matthias
ba07348b82
Rename additional_pairs to informative_pairs
2019-01-26 19:22:45 +01:00
Matthias
bfd8609352
Fix comment
2019-01-26 19:16:33 +01:00
Matthias
da5210ef5b
Merge branch 'develop' into feature/plot_df_refactoring_multiple_pairs
2019-01-26 11:04:35 +01:00
AxelCh
eec7276393
fix crash when backtest-result.json not exist
2019-01-26 11:00:04 +01:00
Matthias
3c316fe3e4
Fix alignment
2019-01-25 19:14:38 +01:00
Matthias
3afe54790e
Merge pull request #1510 from gianlup/add_totprofit_to_bt
...
Added total profit column to backtest result
2019-01-25 06:38:39 +01:00
Matthias
74b03d0529
Add tests and default values for all experimental features
2019-01-24 07:03:41 +01:00
Matthias
d136cac181
Merge branch 'develop' into feat/dataprovider
2019-01-23 21:01:19 +01:00
Matthias
97f6a45819
Allow more settings to come from strategy
2019-01-23 20:59:41 +01:00
Matthias
5ea332e9be
fix bug with trailing_stop_offset if it's disabled
2019-01-23 20:57:31 +01:00
Gianluca Puglia
896c9d34fd
Added total profit column do backtest result
2019-01-22 22:41:53 +01:00
Matthias
13e2f71d30
Add flake8 plugins and implement small improvements
2019-01-22 20:01:12 +01:00
Matthias
86a0863e30
Clarify logmessage Done fetching
2019-01-22 19:26:07 +01:00
Matthias
a06593e6e9
Fix test
2019-01-22 19:17:21 +01:00
Matthias
89ddfe08f4
Add additional-pairs (sample) to defaultstrategy
2019-01-22 19:17:08 +01:00
Matthias
c77607b997
Fix tests after rebase
2019-01-22 07:38:15 +01:00
Matthias
3221f883d3
Wrap line correctly
2019-01-22 07:07:15 +01:00
Matthias
1e7431a7b8
Blackify
2019-01-22 07:07:15 +01:00
Matthias
e66808bb02
Add additional pairs to refresh call
2019-01-22 07:07:15 +01:00
Matthias
6e2de75bcb
Add additional_pairs to strategy
2019-01-22 07:07:15 +01:00
Matthias
d6cdfc58af
Fix mypy hickup after changing list to tuples
2019-01-22 07:07:15 +01:00
Matthias
27b2021726
Only run once per pair
2019-01-22 07:07:15 +01:00
Matthias
e7800aa88a
Import only what's necessary
2019-01-22 07:07:15 +01:00
Matthias
a2bc1da669
Remove private var from class instance
...
it's overwritten in __init__ anyway
2019-01-22 07:07:15 +01:00
Matthias
1e749a0f9b
Rename variable to be clearer
2019-01-22 07:07:15 +01:00
Matthias
d7df5d5715
Keep last_pair_refresh as tuple asw ell
2019-01-22 07:07:15 +01:00
Matthias
6525a838d1
Adjust documentation to tuple use
2019-01-22 07:07:15 +01:00
Matthias
f0af4601f9
Adopt plot_dataframe to work with --live
2019-01-22 07:07:15 +01:00
Matthias
a9abc25785
Improve data-provider tests
2019-01-22 07:07:15 +01:00
Matthias
0aa0b1d4fe
Store tickers by pair / ticker_interval
2019-01-22 07:07:15 +01:00
Matthias
5f61da30ed
Adjust tests to 3tuple return value from async method
2019-01-22 07:06:30 +01:00
Matthias
d6df3e55c0
Return ticker_interval from async routine
...
used to identify calls in refresh_latest_ohlcv
2019-01-22 07:06:30 +01:00
Matthias
e503d811bd
Change logmessages to match functions called
2019-01-22 07:05:09 +01:00
Matthias
b981cfcaa0
remove comment which proves untrue now
2019-01-22 07:05:09 +01:00
Matthias
a206777fe5
Rename refresh_tickers to refresh_latest_ohlcv
2019-01-22 07:05:09 +01:00
Matthias
06ec106079
simplify refresh_tickers
2019-01-22 07:04:19 +01:00
Matthias
646e98da55
Always return dataframe
2019-01-22 07:04:19 +01:00
Matthias
2b029b2a86
Only return ohlcv if available (Live and dry modes)
2019-01-22 07:04:19 +01:00
Matthias
35c8d1dcbe
Update comment
2019-01-22 07:04:19 +01:00
Matthias
8f3ea3608a
some cleanup
2019-01-22 07:04:19 +01:00
Matthias
5ecdecd1eb
remove unused local variable persistance
2019-01-22 07:04:19 +01:00
Matthias
58f1abf287
Add dp / wallets to strategy interface
2019-01-22 07:04:19 +01:00
Matthias
d3a37db79a
Provide available pairs
2019-01-22 07:04:19 +01:00
Matthias
f034235af4
Tests for RunMode
2019-01-22 07:04:19 +01:00
Matthias
1340b71633
Add RunMode setting to determine bot state
2019-01-22 07:04:19 +01:00
Matthias
fed3ebfb46
Change enum from 0 to 1 according to the documentation
...
see [here](https://docs.python.org/3/library/enum.html#functional-api )
2019-01-22 07:04:19 +01:00
Matthias
a7db4d74cb
Add some simple dataprovider tests
2019-01-22 07:04:19 +01:00
Matthias
84cc4887ce
Add copy parameter
2019-01-22 07:04:19 +01:00
Matthias
e38c06afe9
Small fixes
2019-01-22 07:04:19 +01:00
Matthias
f1a5a8e20e
provide history
2019-01-22 07:04:19 +01:00
Matthias
4ab7edd3d6
small adaptations
2019-01-22 07:04:19 +01:00
Matthias
05570732c6
add get_runmode
2019-01-22 07:04:19 +01:00
Matthias
7206287b00
Use Dataprovider
2019-01-22 07:04:19 +01:00
Matthias
b119a767de
Some more restructuring
2019-01-22 07:04:19 +01:00
Matthias
a6d74a1463
Draft of dataprovider
2019-01-22 07:04:19 +01:00
Misagh
34b617065d
Merge pull request #1500 from freqtrade/fix/1491_typeerror
...
Fix typeerror when fetching candles
2019-01-20 16:13:02 +01:00
Matthias
b48430f922
Return list not None
2019-01-19 20:21:33 +01:00
Matthias
4e760e1a5e
Test for errors found in 1491
...
fixes #1491
2019-01-19 20:03:04 +01:00
Matthias
30e3b52b1e
catch errors found in #1491
2019-01-19 20:02:37 +01:00
Axel CHERUBIN
797ac71376
fix stoploss_on_exchange_interval type
...
from boolean to number
2019-01-19 13:26:30 -04:00
Matthias
c2578c7321
Merge pull request #1474 from mishaker/tsl_on_exchange
...
Making trailing stoploss compatible with stoploss on exchange
2019-01-18 19:29:39 +01:00
misagh
87329a393c
adding stop loss last update to test persistence
2019-01-18 12:14:00 +01:00
misagh
a2618208ef
wrapping in parantheses instead of line breaks
2019-01-18 12:07:51 +01:00
misagh
70780bb01e
using dict.get to fetch interval
2019-01-18 12:02:29 +01:00
Matthias
a2c01916e1
Add type-ignores to floatfmt
...
tabulate supports this:
30554300d7/tabulate.py (tabulate.py-1291)
:1294
2019-01-17 20:28:21 +01:00
misagh
75cedfafb8
unreachable code removed
2019-01-16 20:03:34 +01:00
misagh
da51ef40f8
SL interval added to CONF_SCHEMA
2019-01-16 19:04:43 +01:00
misagh
5e2e96acd2
compatibility with edge added
2019-01-16 18:38:20 +01:00
misagh
611b48dbb9
fix return value from info hash: value is in string
2019-01-16 16:15:36 +01:00
misagh
50bc20134f
adding whitespace
2019-01-16 15:17:28 +01:00
misagh
baa5cc5b9e
logs enriched
2019-01-16 15:10:31 +01:00
misagh
aa03a864f7
comments added for TSL on exchange function
2019-01-16 15:00:35 +01:00
misagh
a44f781284
Merge branch 'develop' into tsl_on_exchange
2019-01-16 14:56:27 +01:00
misagh
cffc9ce890
last step: stop loss on exchange added to trailing
2019-01-16 14:49:47 +01:00
misagh
6d588b3b0b
trailing stop loss on exchange extracted to a separate function
2019-01-16 14:28:52 +01:00
misagh
bfb7121583
refactoring handle_stoploss_on_exchange
2019-01-16 12:16:32 +01:00
misagh
e31fa8721f
Merge branch 'develop' into tsl_on_exchange
2019-01-16 11:52:23 +01:00
misagh
29439c05d6
adding update beat test
2019-01-16 11:51:54 +01:00
misagh
1cd5abde37
removing unnecessary guard
2019-01-16 11:22:25 +01:00
misagh
12e8108015
checking params of cancel order and stop loss order
2019-01-15 15:36:41 +01:00
misagh
f0cfab7940
flaking 8
2019-01-15 11:10:28 +01:00
misagh
cfe00c2f0c
initial test added for TSL on exchange
2019-01-15 11:04:32 +01:00
Matthias
cd2bccd441
Have backtest use the same logic to get the ROI entry
2019-01-12 13:45:43 +01:00
Matthias
e9d61eb35d
Fix ROI calculation problem
...
Prior to that all ROI entries with a key > trade_duration where active.
This causes a problem if the ROI is not linearly declining
2019-01-12 13:45:03 +01:00
Matthias
9e0902e72f
Add test for case for odd ROI dict - #1478
2019-01-12 13:38:49 +01:00
misagh
e025ad3918
temp test commit
2019-01-09 16:23:13 +01:00
Matthias
99e2d795c5
Merge pull request #1475 from freqtrade/feat/hyperopt_sell
...
Feat/hyperopt sell
2019-01-08 21:19:53 +01:00
misagh
1a27258469
condition fixed
2019-01-08 16:34:23 +01:00
misagh
9e133eb32e
adding guard not to cancel the previous stop loss on exchange if market
...
is falling quickly
2019-01-08 16:31:02 +01:00
misagh
f4ceeca438
Merge branch 'develop' into tsl_on_exchange
2019-01-08 15:33:32 +01:00
misagh
aed855284c
comparing with stopPrice instead of price
2019-01-08 13:44:51 +01:00
misagh
4fbb9d4462
adding stoploss_on_exchange_interval to order_types dict. default to 1
...
minute (60)
2019-01-08 12:39:53 +01:00
misagh
16472535eb
adding stoploss_last_update to persistence
2019-01-08 12:39:10 +01:00
Matthias
f620449bec
Add test for hyperoptresolver
2019-01-06 19:38:32 +01:00
Matthias
440a7ec9c2
fix pytest
2019-01-06 19:31:25 +01:00
Matthias
40b1d8f067
Fix CI problems
2019-01-06 14:57:14 +01:00
Matthias
dd2af86a41
pprint results
2019-01-06 14:47:38 +01:00
misagh
821e299afb
adjusting trailing stoploss on exchange
2019-01-06 14:45:29 +01:00
Matthias
167088827a
include default buy/sell trends for the hyperopt strategy
2019-01-06 14:13:15 +01:00
Matthias
a0df7b9d7c
Use sell/buy trends from hyperopt file if available
2019-01-06 14:12:55 +01:00
Gianluca Puglia
87cbff5d0e
Fix warning for max_open_trades when edge is enabled
2019-01-06 13:48:27 +01:00
Gianluca Puglia
13800701ce
Fix custom db_url ignored if provided by conf.json
2019-01-06 13:47:36 +01:00
Matthias
2147bd8847
Fix problem when no experimental dict is available
2019-01-06 13:29:14 +01:00
Matthias
798ae460d8
Add check if trigger is in parameters
2019-01-06 13:29:14 +01:00
Matthias
68ba1e1f37
Add sell signal hyperopt
2019-01-06 13:29:14 +01:00
Matthias
f32232ba96
Add documentation for stoploss in strategy
2019-01-05 07:32:35 +01:00
Matthias
cacb9ef3ad
Loop twice
2019-01-05 07:25:35 +01:00
Matthias
00c5ac56d4
Print startup strategy summary
2019-01-05 07:24:15 +01:00
Matthias
a7dc6b18aa
Overridable attributs as list
2019-01-05 07:22:19 +01:00
Matthias
5e23442032
Simplify StrategyResolver by code deduplication
2019-01-05 07:20:38 +01:00
Matthias
4599c80e79
Add trailing-stop to strategy
2019-01-05 07:10:25 +01:00
Misagh
29db2078d6
Merge pull request #1463 from mishaker/readme
...
Readme refactoring.
2019-01-04 23:00:36 +01:00
Misagh
26a77e193e
Merge pull request #1454 from freqtrade/feat/interpolate_missing
...
interpolate missing candles
2019-01-04 22:33:53 +01:00
misagh
afffa2f313
changed to “Free, open source …”
2019-01-03 14:38:38 +01:00
Misagh
3b5785884f
Merge pull request #1460 from freqtrade/fix/stop_loss_result
...
Stop loss should also be shown when trailing is active
2019-01-02 16:41:15 +01:00
Matthias
3329ffd071
improve comment
2019-01-02 14:44:17 +01:00
Misagh
dcdd7d7436
Merge pull request #1456 from freqtrade/fix/refresh_pairs_cached
...
Fix bug on --refresh-pairs-cached
2019-01-02 14:02:11 +01:00
Matthias
516217b6cb
Stop loss should also be shown when trailing is active
2019-01-02 13:34:08 +01:00
Matthias
1b84aa82eb
dont use 55 for regular check as that's a key in the dict
2019-01-01 16:54:44 +01:00
Matthias
2bc76771bf
Align backtest to interface.py
...
interface.py roi calculation skips on <= duration
the correct selection is therefore trade_duration > x.
2019-01-01 16:50:10 +01:00
Matthias
1d518885a9
fix roi-reached when list is unsorted
2019-01-01 16:45:52 +01:00
Matthias
da6f1a3945
Sequence of minroi dict must be irrelevant
2019-01-01 16:32:45 +01:00
Matthias
a54d8f0e16
Create datadir when not exists
2019-01-01 14:07:40 +01:00
Matthias
c337a931c2
Fix bug on --refresh-pairs-cached
2019-01-01 13:42:30 +01:00
Matthias
672d115eca
Change default value and add docstring
2018-12-31 19:42:14 +01:00
Matthias
dd1d3430b9
Add explicit test for ohlcv fillup
2018-12-31 19:40:14 +01:00
Matthias
fae875f588
Implement missing_data_fillup to tests and operations
2018-12-31 19:15:49 +01:00
Matthias
ef4555735a
Fill up missing as part of loading data
2018-12-31 19:13:34 +01:00
Matthias
8b9cc45f41
move test for data completeness
...
should be done before analyzing strategy
2018-12-31 15:09:50 +01:00
Matthias
d409211908
add test to verify data does not contain missing data afterwards
2018-12-31 09:24:04 +01:00
Matthias
03389d961f
ADd test for data_interpolate
2018-12-31 09:18:22 +01:00
Matthias
a021cd3ae2
Add ohlcv data interpolator
2018-12-31 07:12:54 +01:00
Matthias
460900ddd7
Remove unused and duplicate datastructure
2018-12-29 09:01:58 +01:00
Matthias
fab7663ab3
Log when dumping to file (instead of print)
2018-12-28 10:46:48 +01:00
Matthias
61f8ce5c0e
remove unused imports
2018-12-28 10:44:24 +01:00
Matthias
7dc40cdac5
refactor file_load_json to be standalone
2018-12-28 10:25:41 +01:00
Matthias
27abdd9788
Move load_json to misc
2018-12-28 10:04:28 +01:00
Matthias
065b469a10
rename test to avoid naming collision
2018-12-28 10:04:07 +01:00
Matthias
c955415cc3
Switch from ujson to rapidjson
2018-12-28 10:01:16 +01:00
Matthias
ecb5cdc9e3
Version bump to 0.18.1-dev
2018-12-27 11:47:00 +01:00
Matthias
23d0cea01f
Version bump to 0.18.0
2018-12-27 11:45:21 +01:00
Matthias
bb9dd86e77
Merge branch 'master' into release_1804
2018-12-27 11:44:50 +01:00
Matthias
9af2fca718
Add handling for market orders
...
fixes #1427 and #1428
2018-12-27 11:19:26 +01:00
Matthias
20cdabbe9c
Add test for market order
2018-12-27 09:31:21 +01:00
Matthias
34b93eb952
Load config-file in download_backtest_data -
2018-12-25 13:15:41 +01:00
misagh
a5137e4fa4
comparing float instead of int
2018-12-24 11:39:11 +01:00
misagh
7243da3afe
tests added for klines copy=True
2018-12-22 19:03:42 +01:00
misagh
34e3af6ad4
do not copy DF if copy is false
2018-12-21 10:35:17 +01:00
misagh
a13b30b2de
removing test
2018-12-21 10:21:31 +01:00
misagh
a45ec1ed1c
adding copy as a parameter to klines
2018-12-21 10:20:01 +01:00
misagh
215ded2e0a
returning last candle close price for a pair
2018-12-17 21:30:58 +01:00
Misagh
1dbcab0b09
Merge pull request #1413 from freqtrade/feat/data_helpers
...
Feat/data helpers
2018-12-17 09:14:10 +01:00
Matthias
b3bb98777b
Merge branch 'develop' into time_in_force
2018-12-17 06:37:46 +01:00
Matthias
5493d1a7e0
Fix wonrly named module
2018-12-17 06:32:59 +01:00
Matthias
806ab3729f
Add / fix some comments
2018-12-16 14:14:17 +01:00
Matthias
eb7034c7a7
Rename download_backtest_testdata to download_pair_history
2018-12-16 10:33:08 +01:00
Matthias
50938d410a
Remove tests for download_pairs
2018-12-16 10:30:13 +01:00
Matthias
8bd4d03e13
remove download_pairs
2018-12-16 10:29:53 +01:00
Matthias
8826a1df5f
Add missing tests for trim_tickerlist
2018-12-16 10:19:49 +01:00
Matthias
043cefd60a
allow reloading single pair
2018-12-16 10:17:11 +01:00
Matthias
ebb80b6906
remove ujson / json fallback hack as it's now in requirements
2018-12-16 09:58:54 +01:00
Matthias
f5b2430cda
Fix docstrings and typo
2018-12-16 09:58:46 +01:00
Matthias
8a3c2a0c63
allow only loading 1 pair if necessary
...
* simplify tests nad remove unnecessary mocking
2018-12-15 20:32:55 +01:00
Matthias
429f846ad1
Switch load_data to kwargs
2018-12-15 20:31:05 +01:00
Matthias
acd07d40a0
Cleanup some comments and code formatting
2018-12-15 19:52:52 +01:00
Matthias
d0c9791ca6
Fix tests to support load_data with dataframe
2018-12-15 15:38:40 +01:00
Matthias
34ea214f7c
Fix some tests to use dataframe
2018-12-15 14:42:21 +01:00
Matthias
1c5031b468
load_data to return dataframe
2018-12-15 14:28:37 +01:00
Matthias
c1a32bc6c8
use json_load to load data
...
- otherwise unforseen problems could appear due to the default beeing ujson
2018-12-15 14:22:49 +01:00
Matthias
6c02cc5993
Adjust test to pathlib
2018-12-15 14:14:38 +01:00
Matthias
21aba1620c
Replace calls to load_data
2018-12-15 14:10:33 +01:00
Matthias
f261911285
replace os.path with pathlib.Path
2018-12-15 13:54:35 +01:00
Matthias
a34c2cf64b
Add missing test-module __init__.py
2018-12-15 13:40:02 +01:00
Matthias
407139b0e0
remove unused imports
2018-12-14 06:32:49 +01:00
Matthias
17a820e5c0
Move tests from test_optimize to test_history
2018-12-14 06:32:49 +01:00
Matthias
92c800d925
Adjust tests to data.history
2018-12-14 06:32:49 +01:00
Matthias
432cc00283
Adjust imports to data.history
2018-12-14 06:32:49 +01:00
Matthias
0250a96feb
Sort imports
2018-12-14 06:32:49 +01:00
Matthias
1a3fcd4771
extract data-handling methods from optimize
2018-12-14 06:32:49 +01:00
Matthias
b38195e9b3
Rename to converter
2018-12-14 06:32:49 +01:00
Matthias
1f29802884
only export what's needed
2018-12-14 06:32:49 +01:00
Matthias
453f62cdfa
Adjust imports
2018-12-14 06:32:49 +01:00
Matthias
030ecbfc17
move exchange_helpers to data module
2018-12-14 06:32:49 +01:00
Matthias
04c330f10b
Merge pull request #1404 from freqtrade/feat/pass_df
...
keep DF instead of list
2018-12-13 20:14:32 +01:00
Matthias
aca243086e
Fix comment
2018-12-13 19:43:17 +01:00
Matthias
7e3955b04c
Fix edge-cli comments (refer to edge, not backtest
2018-12-12 20:04:14 +01:00
Matthias
5c3dcf3e2b
Test for wrong inputs (empty / none-dataframes) in get_signal
2018-12-12 19:35:51 +01:00
Matthias
d6ba4f0e81
Fix last 2 tests to use DF as data container
2018-12-12 19:17:09 +01:00
Matthias
7a533de1a8
Use list ticker history for backtesting
2018-12-12 19:17:09 +01:00
Matthias
fe3990af3d
Adjust some tests to dataframe passing
2018-12-12 19:17:09 +01:00
Matthias
627ab9f583
pass around dataframe instead of list
2018-12-12 19:17:09 +01:00
misagh
aa1262bea6
typo corrected
2018-12-12 13:33:03 +01:00
misagh
8d8b53f4d1
added tests for IOC and FOK
2018-12-12 13:05:55 +01:00
Matthias
81b4940eef
Adjust tests to new fiat-convert location
2018-12-11 20:27:54 +01:00
Matthias
efc709501a
move fiat-convert to rpc - adjust imports
2018-12-11 20:27:30 +01:00
Matthias
0f2c547805
Move fiat-convert to subfolder
2018-12-11 20:26:53 +01:00
Matthias
0ab8ac1c1d
Add test to verify downloading history does not modify
...
_pairs_last_refresh_time
2018-12-11 19:18:28 +01:00
Matthias
8c1901ad1e
Extract caching logic from lowestlevel fetch_ohlcv function
2018-12-11 07:14:39 +01:00
Matthias
523dea4a04
remove hacky workaround not needed anymore
2018-12-10 20:22:41 +01:00
Matthias
e2bff9d5cb
Remove assigning klines from download method
2018-12-10 20:22:21 +01:00
Matthias
36de451809
Remove class-level variables
2018-12-10 19:55:21 +01:00
misagh
adcaa8439e
test_strategy_override_order_tif added
2018-12-10 19:17:56 +01:00
misagh
e6fd7da43f
adding test: create order should consider TIF
2018-12-10 19:09:20 +01:00
misagh
6018f2d252
order status handled in case of IOC and FOK
2018-12-10 18:52:24 +01:00
misagh
866b7aee8e
tests fixed
2018-12-09 16:22:21 +01:00
misagh
663e33d2ef
if condition refactored
2018-12-09 16:06:00 +01:00
misagh
20d794e265
mistake in previous commit
2018-12-09 16:04:28 +01:00
misagh
2f5c8941eb
removing unnecessary default value
2018-12-09 16:00:04 +01:00
misagh
b35199a772
intermediary commit before extracting the logic
2018-12-09 15:59:05 +01:00
misagh
510f78079b
conflict with develop resolved
2018-12-09 15:16:38 +01:00
Matthias
3b951c3817
Drop indexes on renamed table
...
avoid naming conflicts on recreate (indexes are not renamed, and keeping
them on backup tables does not really make sense).
fixes #1396
2018-12-09 09:03:17 +01:00
Matthias
2c27736dfe
Merge pull request #1390 from freqtrade/feat/dynamic_provider
...
Dynamic Pairlist provider
2018-12-09 08:39:53 +01:00
Matthias
aa579bafa4
Merge pull request #1365 from mishaker/edge_position
...
Fix edge position sizing.
2018-12-06 20:02:31 +01:00
Matthias
a63f123b6d
Check if number_assets is defined, as it's required by VolumePairList
2018-12-06 19:36:33 +01:00
misagh
0ea7dc9272
test added for total open trade stake amount from schalchemy
2018-12-06 13:51:06 +01:00
Matthias
0c10719037
Specify JsonValidatorversion explicitly
...
without doing that, it exclusiveMaximum raises an exception
as jsonschema defaults to the latest version (Draft6)
which changes behaviour of this property.
fixes #1233
2018-12-06 06:57:07 +01:00
Matthias
2f0d7a1aea
Add specific test
2018-12-05 20:45:11 +01:00
Matthias
3e2fa58029
load pairlists via resolver
2018-12-05 20:44:56 +01:00
Matthias
43031aa3bb
Add missing path-error handler for hyperopt
2018-12-05 20:44:41 +01:00
Matthias
21906e4892
Remove duplicate code
2018-12-05 19:48:50 +01:00
misagh
ee26b6bcff
Merge branch 'develop' into time_in_force
2018-12-05 10:57:23 +01:00
misagh
d12cc39a5e
some visual happyness
2018-12-04 20:59:55 +01:00
misagh
910601ba1d
in case exchange doesn’t return order info …
2018-12-04 20:50:35 +01:00
misagh
e3876bcf0f
removing AON as it is not supported in binance. will be added once TIF
...
is added for other exchanges
2018-12-04 20:36:44 +01:00
misagh
b7aa77acdd
conflict resolved
2018-12-04 20:28:07 +01:00
Matthias
6ab907bef1
Rename config whitelist to pairlist
2018-12-04 20:24:45 +01:00
Matthias
4143e2c032
adapt tests to send sell-reason in sell-message
2018-12-04 19:58:43 +01:00
Matthias
33e9ed5a5e
Print sellreason in sell-message
2018-12-04 19:58:26 +01:00
misagh
24f9ea29c6
tests fixed
2018-12-04 17:13:46 +01:00
misagh
e7684b446b
capital in trade extracted to a separated argument
2018-12-04 17:05:35 +01:00
Matthias
bf678164c7
remove default param - fix tests
2018-12-04 07:16:34 +01:00
Matthias
ba3218a87d
Support multiple sorting variants
2018-12-04 07:12:56 +01:00
Matthias
0929f59680
Refactor pairlist-tests
2018-12-03 20:48:51 +01:00
Matthias
18ad3388b4
Some more tests adapted to pairlists
2018-12-03 20:38:15 +01:00
Matthias
ef1208b366
Fix rpc messages
2018-12-03 20:31:25 +01:00
Matthias
1b3ecb8343
Deprecate --dynamic-whitelist
2018-12-03 20:00:18 +01:00
misagh
108d9a1117
function name refactored
2018-12-03 19:55:37 +01:00
misagh
43bafc391f
static method added
2018-12-03 19:46:22 +01:00
misagh
b5192193fd
total amount passed to edge should consider open trades too
2018-12-03 19:45:00 +01:00
Matthias
3360e777a1
Fix flake adn mypy
2018-12-03 19:29:35 +01:00
Matthias
26187ef6c7
patch exchange_has
2018-12-02 22:18:14 +01:00
Matthias
d09dbfe2e6
Add volumePairList - refactor tests to correct file
2018-12-02 22:07:09 +01:00
Matthias
58c7adae0a
Test for blacklist
2018-12-02 22:07:09 +01:00
Matthias
8fd713f3ae
validate_whitelist should return the list again
2018-12-02 22:07:09 +01:00
Matthias
1738633efc
Fix refresh_whitelist tests
2018-12-02 22:07:09 +01:00
Matthias
e8fbe77ebc
Refactor static whitelist to module
2018-12-02 22:07:09 +01:00
Matthias
bb828c308f
Remove unnecessary test-file
2018-12-02 16:03:34 +01:00
misagh
a5414b8437
flake8
2018-12-01 13:02:45 +01:00
misagh
2d17346b0e
explaining arbitrary stake amount in comment
2018-12-01 13:01:51 +01:00
misagh
237dc8290f
conflict resolved0
2018-12-01 12:00:03 +01:00
misagh
bd673178ce
constants removed
2018-12-01 11:56:53 +01:00
misagh
33f1cc13b3
fixing tests
2018-12-01 11:56:16 +01:00
misagh
1d41a91788
stake_amount in case it doesn’t exist
2018-12-01 11:48:41 +01:00
misagh
88d277ea55
adding required config for edge
2018-12-01 11:08:18 +01:00
misagh
9c0be99ff7
rounding float at the end
2018-12-01 11:00:33 +01:00
misagh
86d9457ea1
removing unnecessary variable before returning the result
2018-12-01 10:58:05 +01:00
misagh
9c987fdedd
variable name changed (_final_pairs)
2018-12-01 10:56:33 +01:00
misagh
b1c81acfcb
another futile one
2018-12-01 10:53:21 +01:00
misagh
042e631f87
rollback on futile change
2018-12-01 10:52:36 +01:00
misagh
bf990ec599
test fixed and flake
2018-12-01 10:50:41 +01:00
misagh
f100432fe8
conflict resolved0
2018-12-01 10:43:26 +01:00
Misagh
24f573f3b0
log "Found no sell signal for whitelisted ..." changed ( #1378 )
...
* sell log enriched and put modify on debug
2018-12-01 10:01:11 +01:00
Matthias
e31963f6e1
Merge pull request #1341 from mishaker/stoploss_on_exchange
...
Stoploss on exchange
2018-12-01 09:46:37 +01:00
Matthias
d4f83a7516
Fix missing mock in test_add_stoploss_on_exchange
2018-11-30 20:15:56 +01:00
Matthias
f04655c012
Test exceptions in sell-stoploss
2018-11-30 20:13:50 +01:00
Matthias
3ac2106a16
Merge pull request #1290 from freqtrade/fix/backtest_toomanyopen
...
fix backtesting not respecting max_open_trades
2018-11-30 19:17:09 +01:00
Matthias
8effcc2de5
Merge pull request #1374 from freqtrade/refactor_startupmessges
...
refactor startup_messages to rpc_manger
2018-11-30 19:15:00 +01:00
misagh
7e86ec31be
tests added for wallet additional functions
2018-11-30 18:23:16 +01:00
misagh
aadc9f052a
conf schema
2018-11-30 18:10:22 +01:00
misagh
12471e012e
added tests for position sizing
2018-11-30 17:59:51 +01:00
misagh
abd88767f8
Merge branch 'develop' into edge_position
2018-11-30 17:50:06 +01:00
misagh
7767470af8
return stake amount of strategy if edge doesn’t have any
2018-11-30 17:50:03 +01:00
misagh
9d005678c3
Merge branch 'develop' into stoploss_on_exchange
2018-11-30 15:13:43 +01:00
misagh
f554647efd
“checking sell” message removed to debug
2018-11-30 14:14:31 +01:00
misagh
8ff82e3dac
Merge branch 'develop' into fix_dry_run_stop_price
2018-11-30 10:37:58 +01:00
Matthias
efcec736b5
refactor startup_messages to rpc_manger
...
this cleans up freqtradebot slightly
2018-11-29 20:02:12 +01:00
Matthias
49e44d5481
Merge pull request #1373 from mishaker/fix_edge_stoploss
...
Should fallback to strategy stoploss if Edge cannot provide.
2018-11-29 19:09:25 +01:00
misagh
74ca34f2de
flaking8
2018-11-29 18:45:37 +01:00
misagh
3d37c5d767
edge non existing stoploss fixed. solves #1370
2018-11-29 18:31:08 +01:00
misagh
6bedcc5d79
log enriched for time in force
2018-11-29 13:22:41 +01:00
misagh
a61daed8e9
logs enriched
2018-11-29 12:24:04 +01:00
Matthias
38592c6fa6
Add binance config sample, improve invalid pair message
2018-11-29 07:07:47 +01:00
misagh
e698590bb2
avoid generating logs on each iteration
2018-11-28 20:04:56 +01:00
misagh
1a5465fb50
logs enriched in case of stop loss on exchange, test fixed
2018-11-28 19:35:10 +01:00
misagh
c913fef80c
stop loss limit when hit, the close price is “average”
2018-11-28 15:45:11 +01:00
misagh
e9305b6592
position size fixed
2018-11-28 15:36:32 +01:00
misagh
fb755880fa
logs added in case stop loss on exchange is hit
2018-11-28 14:16:50 +01:00
misagh
da94e97c60
in case trade is not open, then handle_stoploss_on_exchange should not
...
be called
2018-11-28 13:58:53 +01:00
misagh
4ffc74d5fa
if buy order is rejected or expired the bot should exit the buy loop
2018-11-27 19:05:59 +01:00
misagh
29f680ec5d
fix order type test
2018-11-27 17:26:06 +01:00
misagh
7dbf0fed68
stop loss limit order type corrected
2018-11-27 17:09:51 +01:00
misagh
159ac6e657
edge tests fixed for position sizing
2018-11-27 14:02:34 +01:00
misagh
f5a70750f0
edge real position sizing drafted
2018-11-26 21:06:32 +01:00
misagh
6351fe7a7f
test added: stoploss_order_id should be null after migration
2018-11-26 20:24:13 +01:00
misagh
3131788639
Merge branch 'develop' into time_in_force
2018-11-26 19:20:01 +01:00
misagh
7f6fc7e90f
Lost in git !
2018-11-26 19:13:36 +01:00
misagh
86354ed258
conflict resolved
2018-11-26 19:08:58 +01:00
misagh
2135976cb8
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into develop
2018-11-26 19:01:29 +01:00
misagh
b63535083e
flake8
2018-11-26 18:47:32 +01:00
misagh
1f1770ad5a
migration script and and error handling on stop loss order
2018-11-26 18:46:59 +01:00
misagh
b2634e8e08
typo corrected
2018-11-26 18:28:13 +01:00
Samuel Husso
823bc3abb6
Merge pull request #1361 from freqtrade/wallets/add_live_test
...
Test live mode of get_free
2018-11-26 15:15:42 +02:00
Matthias
854af9c124
Merge pull request #1355 from freqtrade/fix/async_followup
...
async followup PR
2018-11-26 06:55:10 +01:00
Matthias
ad8592f316
Test live mode of get_free
2018-11-26 06:40:20 +01:00
Matthias
797a0e8fd0
Merge pull request #1354 from freqtrade/fix/lambda_test
...
replace lambda with Magicmock in test
2018-11-26 06:28:01 +01:00
Pan Long
16eec078d7
Use dot to access attribute in NamedTuple
...
This should fix the crash in #1359
2018-11-26 09:18:29 +08:00
misagh
962b02b079
one last step before tests
2018-11-25 22:02:59 +01:00
misagh
29c23e3136
added time in force in buy and sell functions
2018-11-25 21:38:11 +01:00
misagh
181424e8ea
time in force validator added
2018-11-25 21:09:35 +01:00
misagh
ba20b1b5c7
TIF added to constants and json full
2018-11-25 21:05:25 +01:00
misagh
890cef88ab
oops, lost in git :/
2018-11-25 21:02:58 +01:00
misagh
fb7b65c909
time in force drafted
...
time in force drafted
2018-11-25 20:44:40 +01:00
misagh
6c38bde24a
some formatting fixed
2018-11-25 20:21:50 +01:00
misagh
b579768618
dry run set explicitly to False for live stop loss
2018-11-25 20:20:11 +01:00
misagh
5c257730a8
test added for dry run stop loss sell
2018-11-25 20:16:53 +01:00
misagh
59fc67f85b
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into develop
2018-11-25 19:48:51 +01:00
misagh
1ad5ccdfb0
dry run condition when sell occurs
2018-11-25 19:48:46 +01:00
misagh
a80c984323
flake8
2018-11-25 19:09:11 +01:00
misagh
92930b2343
test fixed
2018-11-25 19:03:28 +01:00
misagh
5e1fb11124
documentation added for stop loss on exchange
2018-11-25 17:30:06 +01:00
misagh
3e29fbb17a
stoploss on exchange added as a parameter to order_types
2018-11-25 17:22:56 +01:00
Matthias
ebaf58b0fe
Only sort data if necessary
2018-11-25 15:00:50 +01:00
Matthias
8a43611992
Remove get_candle_history (it's now async)
...
convert sort-test to async
2018-11-25 14:48:15 +01:00
Matthias
745a517795
Fix comment pointing to wrong column
2018-11-25 14:40:21 +01:00
Matthias
317eba2139
Remove dual instanciation of pairinfo named tuple
2018-11-25 14:38:06 +01:00
Matthias
fd7184718b
replace lambda with Magicmock in test
2018-11-25 14:31:46 +01:00
Matthias
200484ab8b
Merge pull request #1352 from freqtrade/combine_resolvers
...
Combine resolvers
2018-11-25 13:52:48 +01:00
misagh
dcae3a2644
test of check_consistency added
2018-11-25 11:29:04 +01:00
misagh
664b96173e
removing NotImplementedError from stoploss_limit
2018-11-25 10:54:36 +01:00
Matthias
1d35428c8d
Rename get_valid_objects to get_valid object
...
it only ever returns one object ...
2018-11-25 10:08:27 +01:00
Matthias
a3477e07eb
Remove constructor, it's not needed in the baseclass
2018-11-25 09:55:36 +01:00
misagh
266bd7b9b6
error message improved
2018-11-24 21:42:15 +01:00
Matthias
20de8c82e4
Convert to Pathlib
2018-11-24 20:39:16 +01:00
Matthias
cc7b820978
Move hyperoptresolver to resolvers package
2018-11-24 20:14:08 +01:00
misagh
519b1f00e2
adding strategy config consistency function
2018-11-24 20:12:50 +01:00
Matthias
2c0d0946e6
Small stylistic improvements to strategyresolver
2018-11-24 20:02:29 +01:00
Matthias
21a093bcdb
extract resolvers to IResolvers and it's own package
2018-11-24 20:00:02 +01:00
misagh
c8a0956e1b
fixed test handle_stoploss_on_exchange
2018-11-24 19:12:00 +01:00
misagh
b5192880df
[WIP] adding tests for handle_stoploss_on_exchange.
2018-11-24 19:00:59 +01:00
misagh
fe8927136c
typo
2018-11-24 18:36:07 +01:00
misagh
b2c0b20a58
added real tests for stop on exchange in dry-run
2018-11-24 18:26:04 +01:00
misagh
000711b025
added stoploss_limit_order for dry-run
2018-11-24 18:08:11 +01:00
misagh
870631f324
1) comments added to handle_sl 2) dry-run force price removed
2018-11-24 17:32:25 +01:00
misagh
531d9ecd0c
docstring added
2018-11-24 17:10:51 +01:00
misagh
afd0a054b2
typo corrected
2018-11-24 17:08:12 +01:00
misagh
a9ec5c6699
simplifying if conditions
2018-11-24 17:07:35 +01:00
misagh
1a8e9ebc0f
stoploss_order_id added to migration script
2018-11-24 16:53:10 +01:00
misagh
63c2ea110a
Not sure why those arguments were there !
2018-11-24 16:41:17 +01:00
misagh
29347a6931
adding get_free to wallet
2018-11-24 16:37:28 +01:00
Matthias
805f509498
Merge branch 'develop' into fix/backtest_toomanyopen
2018-11-24 10:39:16 +01:00
misagh
dedf1ff703
refactoring
2018-11-23 20:51:23 +01:00
misagh
89eb3d9f36
blank line removed
2018-11-23 20:49:00 +01:00
misagh
1c2c19b12c
the complex in the life of flake8 resolved
2018-11-23 20:47:17 +01:00
misagh
9144a8f79d
tests fixed
2018-11-23 20:28:01 +01:00
misagh
5ee2faa182
adding stop loss on exchange after the buy order is fulfilled not
...
before.
2018-11-23 19:17:36 +01:00
misagh
fea77824d0
handle stop loss on exchange added
2018-11-23 15:17:36 +01:00
misagh
a9f04609d3
tests fixed
2018-11-23 10:17:10 +01:00
misagh
27a6dcf3fc
getting available balance from wallet instead of API call.
2018-11-22 21:23:35 +01:00
misagh
1dde56790c
final broken test fixed
2018-11-22 21:12:49 +01:00
misagh
7faafea8a2
added test for cancelling stop loss before sell
2018-11-22 21:01:39 +01:00
misagh
07ac902451
test exchange added
2018-11-22 20:30:31 +01:00
misagh
ecb2c4dca3
bloody flake8
2018-11-22 19:38:20 +01:00
misagh
cc1422d448
flake8
2018-11-22 19:27:32 +01:00
misagh
3418592908
freqtradebot test added for orders on exchange
2018-11-22 19:25:26 +01:00
misagh
24df093a85
test: only implemented for binance
2018-11-22 17:41:01 +01:00
misagh
2461d86c8d
dry run should consider stop loss is hit on limit price
2018-11-22 17:24:45 +01:00
misagh
3a1c378325
typing bugs
2018-11-22 17:14:22 +01:00
misagh
bbe8e4e494
flake8
2018-11-22 17:07:37 +01:00
misagh
da5617624c
cancelling stop loss order before selling
2018-11-22 17:02:02 +01:00
misagh
fad7593935
doesn’t have to create another Trade for SL. can be cumulated into the
...
same.
2018-11-22 16:53:50 +01:00
misagh
bb37b56dea
adding stop loss order id to Trade
2018-11-22 16:47:52 +01:00
misagh
3b7e05e07b
stop loss order added right after a buy order is executued
2018-11-22 16:26:24 +01:00
misagh
bfbdddff26
stoploss limit order added to exchange
2018-11-22 16:24:40 +01:00
misagh
238dd6413c
Merge branch 'develop' into stoploss_on_exchange
2018-11-22 09:39:01 +01:00
Matthias
1810fc9efa
Merge pull request #1346 from mishaker/fix_python_beginner_mistake
...
Refactoring a bit ...
2018-11-22 06:02:15 +01:00
Matthias
8e62fc1c03
Merge pull request #1337 from mishaker/wallet
...
Wallet data structure added. it is initialized on boot then updated right after any trade happens on the exchange.
2018-11-22 06:00:49 +01:00
misagh
eb53281434
python beginner problem resolved
2018-11-22 00:04:20 +01:00
misagh
4b86b2b7e3
Happy flake8 !
2018-11-21 23:36:48 +01:00
misagh
3a2134db24
removed Optional
2018-11-21 23:35:44 +01:00
misagh
4d75e9059c
None ripped off for optional as wallet must have exchange and currency
2018-11-21 21:05:20 +01:00
misagh
b129750f4d
adding “optional” in str
2018-11-21 19:58:28 +01:00
misagh
88f61581d9
1) NamedTuple refactored 2) Missing data handled
2018-11-21 19:47:51 +01:00
misagh
cb3cf960d7
tests added in case of missing data
2018-11-21 19:47:28 +01:00
Matthias
64028647a0
Merge pull request #571 from stephendade/userhyper
...
Separated out custom hyperopts
2018-11-21 19:14:30 +01:00
misagh
aeb372c2f0
test wallet when api return changes
2018-11-21 17:54:14 +01:00
misagh
5b68940213
update wallet in casse order remaining is zero
2018-11-21 17:48:53 +01:00
misagh
68f81aa2af
test wallets moved to tests folder
2018-11-21 17:27:45 +01:00
misagh
c1673aaba3
Merge branch 'develop' into fix_twice_refresh_ticker_call
2018-11-21 14:01:08 +01:00
misagh
64129897f9
refresh_ticker should be called just once per iteration.
2018-11-21 14:00:15 +01:00
Matthias
a3b6004115
IHyperopt: all methods static, somef ixes for mypy
2018-11-20 19:41:07 +01:00
Matthias
7757c53b06
Small fixes
2018-11-20 17:43:49 +01:00
Matthias
5dd013c3b1
Rename hyperopt interface and resolver
2018-11-20 17:40:45 +01:00
misagh
b50250139e
Drafting stoploss on exchange
2018-11-19 20:02:26 +01:00
Matthias
d72e605cb7
Merge pull request #1330 from freqtrade/feat/diff_order_types
...
Add support for different order types
2018-11-19 19:55:30 +01:00
misagh
003480ad90
flake indentation
2018-11-19 13:01:17 +01:00
misagh
b680681b34
updating wallet at handle timeout functions too
2018-11-19 11:16:07 +01:00
misagh
c033378048
change dict type to Any
2018-11-18 14:57:03 +01:00
misagh
9c549f4513
removing unnecessary private function
2018-11-18 14:39:31 +01:00
misagh
608ce98e1a
moving wallets to root
2018-11-18 14:38:31 +01:00
misagh
a92619f18c
Added empty lines related to last commit removed
2018-11-18 14:34:31 +01:00
misagh
7cb8b28f58
wallet sync added
2018-11-17 23:03:07 +01:00
misagh
606e41d574
wallet tests added
2018-11-17 22:58:27 +01:00
misagh
f4bb203782
removing persistence update
2018-11-17 21:59:21 +01:00
misagh
d5b47abe98
Wallet table removed
2018-11-17 21:31:06 +01:00
misagh
a0658bb504
comments added
2018-11-17 21:27:42 +01:00
misagh
12f07ee126
space removed
2018-11-17 21:26:41 +01:00
misagh
b815c8fe2d
updating wallets whenever a trade happens
2018-11-17 21:22:54 +01:00
misagh
afe52efc8a
removing wallet from freq
2018-11-17 21:17:39 +01:00
misagh
82cb0e4d95
putting wallets into a class (doesn’t need to be in persistence)
2018-11-17 21:16:32 +01:00
Matthias
b3e08831f7
Remove rate for market orders
2018-11-17 20:14:50 +01:00
Matthias
c11984d943
Check if exchange supports all configured market types
2018-11-17 19:54:55 +01:00
Matthias
968184ef0d
Swap default mode to all limit (defaults to how it was before)
2018-11-17 19:40:53 +01:00
misagh
69dd56b237
wallet sync drafted
2018-11-17 18:47:13 +01:00
Matthias
492868a966
Seperate different tests within one test clearer
2018-11-17 13:34:23 +01:00
Matthias
a9a157af0f
Align tests and test if ordertype is passed to ccxt correctly
2018-11-17 13:29:42 +01:00
Matthias
ef1e20bfe8
Don't add default value for ordertype
...
sort parameters to align with ccxt
2018-11-17 13:29:24 +01:00
Matthias
543873263a
remove need for escaping quote
2018-11-17 13:13:16 +01:00
Matthias
e485aff597
Test failed load on invalid ordertypes
2018-11-17 13:12:11 +01:00
Matthias
9ba281c141
add supported limit values
2018-11-17 13:05:35 +01:00
Matthias
54a86d72f2
Raise error if one of the required ordertypes is not present
2018-11-17 12:59:16 +01:00
Matthias
3ab0cf49af
Add order_types to sample strategy
2018-11-17 10:26:15 +01:00
Matthias
24ed9a8b7d
Add loading order_types from config file
2018-11-17 10:14:18 +01:00
Matthias
de57da3249
Merge pull request #1328 from mishaker/edge_cli
...
Edge cli
2018-11-15 20:14:03 +01:00
Matthias
98df3c8103
Fix missing mock in backtesting
2018-11-15 20:02:48 +01:00
misagh
db8c8ea4a4
added a space in help
2018-11-15 20:02:07 +01:00
Matthias
44c682724d
Merge pull request #1327 from mishaker/max_open_trades
...
Ignoring max_open_trades if it is -1 in config.
2018-11-15 19:40:05 +01:00
Matthias
e6baa9ccf2
Switch tests to kwarguments
2018-11-15 19:31:24 +01:00
misagh
69619030f3
removing unnecessary args from config
2018-11-15 10:50:40 +01:00
misagh
1cfd19aee3
removing unnecessary args for edge
2018-11-15 10:44:33 +01:00
misagh
f666d1596b
renaming edge to edge_cli for command line version
2018-11-15 10:31:56 +01:00
Matthias
6a71f80a9e
Add support for different order types
2018-11-15 06:58:24 +01:00
Matthias
4f800bfbc8
Fix pickling-error
2018-11-14 20:25:43 +01:00
misagh
bb9a1e5f9f
edge cli tests added
2018-11-14 19:14:34 +01:00
Matthias
23958ba96a
Merge pull request #1322 from freqtrade/feat/add_whitelist_rpc
...
Feat/add whitelist rpc
2018-11-14 19:13:00 +01:00
misagh
ca22a116ad
timerange added to args
2018-11-14 17:14:37 +01:00
misagh
5d73b303fe
unnecessary libraries removed + arg help enriched
2018-11-14 16:49:16 +01:00
misagh
0767718a17
clear help added to stop losses arg
2018-11-14 16:38:55 +01:00
misagh
dd47d7adb4
cli blank line added to readability
2018-11-14 16:37:26 +01:00
misagh
b0e4aa8eff
stop loss range added to args
2018-11-14 16:31:23 +01:00
misagh
36030176bb
nb_trades and avg_trade_duration added to cli
2018-11-14 13:38:23 +01:00
misagh
ac0c931492
adding number of trades + average trade duration to edge info
2018-11-14 13:38:04 +01:00