Matthias
e529a4c261
Fix typehint for get_datahandlerclass
2019-12-28 11:01:41 +01:00
Matthias
eff5cc0568
Add default to internals
2019-12-28 11:01:41 +01:00
Matthias
c6d6dbfdb1
Implement jsondatahandler file store
2019-12-28 11:01:41 +01:00
Matthias
8f214aec89
Fix "dumping" message to work correctly for .gz files
2019-12-28 11:01:41 +01:00
Matthias
abc6b9459a
Add ohlcv_store call to convert_ohlcv
2019-12-28 11:01:41 +01:00
Matthias
d804372d74
Enhance ohlcv_convert method
2019-12-28 11:01:41 +01:00
Matthias
018e270336
Allow --pairs for convert arguments
2019-12-28 11:01:41 +01:00
Matthias
2a728ee68f
fix bug in find-files
2019-12-28 11:01:41 +01:00
Matthias
3d4f62081e
Allow timeframes for convert-data
2019-12-28 11:01:41 +01:00
Matthias
ef0fcb0e0f
Make data-finding safe
2019-12-28 11:01:41 +01:00
Matthias
f8b8b9ac63
Convert to Path temporarily
2019-12-28 11:01:41 +01:00
Matthias
2a6b542b09
Add second subcommand to allow conversation of ohlcv and trades data
...
seprately
2019-12-28 11:01:41 +01:00
Matthias
c3064dfd2b
Enhance validation constants
2019-12-28 11:00:45 +01:00
Matthias
cd4466a626
Add convert_* methods
2019-12-28 11:00:45 +01:00
Matthias
e5a61667dd
Implement first version of jsondatahandler
2019-12-28 11:00:22 +01:00
Matthias
2496aa8e3f
Add convert-data template subcommands
2019-12-28 10:59:30 +01:00
hroff-1902
004993583b
Merge pull request #2712 from freqtrade/strategylist
...
add list-strategies subcommand
2019-12-28 12:32:06 +03:00
Matthias
443fd8f7dd
Merge branch 'develop' into safe_sell_amount
2019-12-28 09:42:52 +01:00
Matthias
fc98cf0037
Address PR feedback - change output to show Filename only
2019-12-28 06:25:45 +01:00
hroff-1902
6db75bc244
Merge pull request #2706 from freqtrade/data_dir
...
Convert datadir within config to Path
2019-12-28 05:14:48 +03:00
hroff-1902
d6ca562b03
Make mypy happy and handle hypothetical case when stake_amount == 0
2019-12-28 04:05:03 +03:00
hroff-1902
3dbd83e35a
Introduce get_free_open_trades() method
2019-12-28 03:46:42 +03:00
hroff-1902
8eeabd2372
Move warning to create_trades()
2019-12-28 03:22:50 +03:00
hroff-1902
ed9cb4219d
Make mypy happy
2019-12-28 02:58:23 +03:00
hroff-1902
ef92fd775c
Align behavior: check for available in all cases: edge, unlimited and fixed
2019-12-28 02:53:41 +03:00
hroff-1902
abaeab89aa
Make _calculate_unlimited_stake_amount() a separate method
2019-12-28 02:36:32 +03:00
hroff-1902
243bcb2368
Make _check_available_stake_amount() a separate method
2019-12-28 02:25:43 +03:00
hroff-1902
86f2693040
cosmetics
2019-12-28 01:54:12 +03:00
hroff-1902
b6d1c5b17a
_get_trade_stake_amount() is not private
2019-12-28 01:44:51 +03:00
hroff-1902
039dfc302c
No need to convert pair name
2019-12-28 01:34:31 +03:00
Matthias
cadde3ab6d
Check if markets.info is a dict before using it
2019-12-27 16:15:44 +01:00
Matthias
e5aed098b5
Enhance backtest results with sell reason profit / loss table
2019-12-25 09:39:29 +01:00
hroff-1902
5e6e625694
Merge pull request #2710 from freqtrade/rpc_balance_output
...
/balance should not convert to BTC
2019-12-24 23:59:05 +03:00
hroff-1902
a95454d338
Merge pull request #2709 from freqtrade/dry_wallet_fix
...
Fix bug in dry-run wallet
2019-12-24 23:55:22 +03:00
Matthias
402c761a23
Change loglevel of Path output to debug
2019-12-24 15:44:04 +01:00
Matthias
2ab989e274
Cleanup some code and add option
2019-12-24 15:28:35 +01:00
Matthias
5a11ca86bb
Move instanciation out of search_object
2019-12-24 14:01:28 +01:00
Matthias
25e6d6a7bf
Combine load_object methods into one
2019-12-24 13:54:46 +01:00
Matthias
eb1040ddb7
Convert resolvers to classmethods
2019-12-24 13:34:37 +01:00
Matthias
a68445692b
Add first steps for list-strategies
2019-12-24 12:44:41 +01:00
Matthias
a105e5664a
Align /balance output to show everything in stake currency
...
the conversation to BTC does not make sense
2019-12-24 06:58:30 +01:00
Matthias
6688a2c112
Merge branch 'develop' into doc/pricing_reasons
2019-12-24 06:33:51 +01:00
Matthias
f487dac047
FIx bug in dry-run wallets causing balances to stay there after trades
...
are sold
2019-12-24 06:27:11 +01:00
Matthias
0ac5e5035c
Remove unused import
2019-12-23 20:43:31 +01:00
Matthias
c6b9c8eca0
Forgot to save
2019-12-23 19:32:31 +01:00
Matthias
ecbb77c17f
Add forgotten option
2019-12-23 15:13:55 +01:00
Matthias
bb8acc61db
Convert datadir within config to Path
...
(it's used as Path all the time!)
2019-12-23 15:11:29 +01:00
Matthias
c6d2233978
Convert StrategyLoader to static loader
2019-12-23 10:23:48 +01:00
Matthias
6d5aca4f32
Convert hyperoptloss resolver to static loader
2019-12-23 10:09:08 +01:00
Matthias
248ef5a0ea
Convert HyperoptResolver to static loader
2019-12-23 10:06:19 +01:00
Matthias
560acb7cea
Convert ExchangeResolver to static loader class
2019-12-23 10:03:18 +01:00
Matthias
5fefa9e97c
Convert PairlistResolver to static loader
2019-12-23 09:56:12 +01:00
Matthias
1c5f8070e5
Refactor build_paths to staticmethod
2019-12-23 09:53:55 +01:00
hroff-1902
98eed4f2ed
Merge pull request #2695 from freqtrade/custom_pairlock
...
Improve pairlocking mechanism to allow usage from within strategy
2019-12-22 15:03:24 +03:00
hroff-1902
4f88857442
Merge pull request #2694 from freqtrade/unfilled_strategy
...
Add unfilledtimeout to strategy overrides
2019-12-22 14:34:25 +03:00
Matthias
ffd7034c00
Persist dry-run trade per default
2019-12-22 10:16:16 +01:00
Matthias
9835312033
Improve pair_lock handling
2019-12-22 09:46:00 +01:00
Matthias
1ff0d0f1fa
Add unfilledtimeout to strategy overrides
2019-12-22 09:35:06 +01:00
hroff-1902
95bd9e8e0b
No underscores in cli options
2019-12-22 00:17:51 +03:00
Matthias
fc5764f9df
Edge small cleanup
2019-12-19 19:55:21 +01:00
Matthias
6507a26cc1
Fix some tests after merge
2019-12-18 20:16:53 +01:00
Matthias
e72c6a0d94
use only first part of the currency to get wallet-amount (!!)
2019-12-18 20:02:15 +01:00
Matthias
834a0ed620
Merge branch 'develop' into safe_sell_amount
2019-12-18 19:45:31 +01:00
Matthias
21622ac313
Rename get_ticker to fetch_ticker
2019-12-18 16:34:30 +01:00
hroff-1902
cf4c3642ce
Minor improvements in data.history
2019-12-18 01:06:03 +03:00
hroff-1902
021fa1ca1a
Merge pull request #2678 from hroff-1902/dataprovider-history-split-refresh
...
Dataprovider history: split refresh part
2019-12-18 00:30:47 +03:00
hroff-1902
3a542bce62
Merge pull request #2674 from freqtrade/bt_trade_open_price
...
Pre-calculate open_trade_price
2019-12-17 21:51:13 +03:00
Matthias
c5e6a34f25
Remove unnecessary parenteses
2019-12-17 19:30:04 +01:00
hroff-1902
1537389617
Remove startup_candles argument in refresh_data
2019-12-17 18:23:31 +03:00
hroff-1902
b2796f99b6
Remove redundant refresh_pair_history
2019-12-17 14:06:21 +03:00
hroff-1902
60f89c8c01
Split refresh from load_data/load_pair_history
2019-12-17 13:43:42 +03:00
Matthias
a2964afd42
Rename profit_percent to profit_ratio to be consistent
2019-12-17 08:53:30 +01:00
Matthias
539b5627fd
Fix typo
2019-12-17 08:31:44 +01:00
Matthias
362a40db6f
Update docstring
2019-12-17 07:09:56 +01:00
Matthias
861a7834fc
Call calc_open_price() whenever necessary
2019-12-17 07:08:36 +01:00
Matthias
307ade6251
Cache open_trade_price
2019-12-17 07:02:02 +01:00
hroff-1902
0277cd82ea
Make mypy happy
2019-12-16 23:25:57 +03:00
hroff-1902
a6fc743d85
Align code in _download_*_history()
2019-12-16 22:12:26 +03:00
hroff-1902
fa968996ed
Remove useless check
2019-12-16 22:01:26 +03:00
hroff-1902
4cd45b6535
Rename download_*_history as non-public
2019-12-16 21:57:03 +03:00
hroff-1902
2af9ffa7f2
Align refresh_backtest_ to each other
2019-12-16 21:43:33 +03:00
hroff-1902
39197458f4
Merge pull request #2661 from freqtrade/wallet_dry
...
Introduce Dry-Run Wallet
2019-12-16 14:00:11 +03:00
Matthias
ce845ab092
Improve docstring for dry-run wallet method
2019-12-15 11:03:40 +01:00
Matthias
56e13c8919
Enhance documentation for dry-run wallet
2019-12-15 10:55:15 +01:00
Matthias
23d467eb0d
Show simulation note also in restserver
2019-12-15 10:41:57 +01:00
Matthias
c741b67c3c
Adjust tests for dry_run wallet simulation
2019-12-15 10:39:52 +01:00
Matthias
5a5741878c
Improve dry-run calculations
2019-12-15 10:26:56 +01:00
Matthias
f0bbc75038
Combine dry_run wallet into original Wallets class
2019-12-15 09:48:35 +01:00
Matthias
fda8f7e305
Introuce WalletDry - supporting dry-run wallets
2019-12-15 09:38:18 +01:00
Matthias
931d24b5a8
Have dry_run_wallet default to 1000
2019-12-15 09:26:17 +01:00
hroff-1902
26ab108890
Fix mypy errors in develop
2019-12-15 01:10:09 +03:00
hroff-1902
1cc174c007
Merge pull request #2624 from freqtrade/backtest_refactor
...
handle and document ROI=-1
2019-12-14 23:11:36 +03:00
hroff-1902
e26f563f4b
Merge pull request #2655 from freqtrade/avoid_keyerror_backtest
...
Use first pair of pairlist to get fee
2019-12-14 23:10:40 +03:00
Matthias
f81c49ce6d
Fix typo causing a trailing "tic" in /show_config output
2019-12-14 19:53:20 +01:00
Matthias
2f7181e236
Merge pull request #2648 from hroff-1902/hyperopt-random-state
...
Seed hyperopt random_state if not passed
2019-12-14 15:54:59 +01:00
Matthias
2275a1539e
Remove default symbol from get_fee()
2019-12-14 13:22:42 +01:00
hroff-1902
f2266ea9f4
Use shorter range for seeded random-state
2019-12-14 15:17:45 +03:00
Matthias
a48c0ad868
Use first pair of pairlist to get fee
...
Use this instead of hardcoded ETH/BTC - so backtesting works with
exchanges without ETH/BTC pair
2019-12-14 12:55:02 +01:00
Matthias
014c18ead2
Improve output from show_config when trailing_stop is active
2019-12-13 20:27:06 +01:00
hroff-1902
6c4f424887
Merge pull request #2651 from freqtrade/dry_amount
...
Round amount to precision also for dry-runs
2019-12-13 13:13:20 +03:00
Matthias
04257d8ecc
Add tests for safe_sell_amount
2019-12-13 07:06:54 +01:00
Matthias
b69f5afaaf
Round amount to precision also for dry-runs
2019-12-13 06:59:10 +01:00
Matthias
5db883906a
Try to verify available amount on the exchange
2019-12-13 06:52:33 +01:00
Matthias
703924d6c4
Merge pull request #2643 from freqtrade/mins
...
Remove min (plural) from codebase
2019-12-12 14:27:39 +01:00
Matthias
330b8cf8a1
space before unit ...
2019-12-12 14:08:44 +01:00
hroff-1902
6e778ad710
Seed hyperopt random_state if not passed
2019-12-12 03:12:28 +03:00
Matthias
f44e3dc319
Merge pull request #2642 from hroff-1902/fix-hyperopt-trailing
...
Fix generation of hyperopt trailing params
2019-12-11 19:53:42 +01:00
Matthias
d8b2d39f2f
Merge pull request #2628 from freqtrade/rpc/sell_duration
...
Telegram / sell duration
2019-12-11 07:15:00 +01:00
Matthias
7c7ca1cb90
Remove min (plural) from codebase
2019-12-11 07:12:37 +01:00
Matthias
1058e5fb72
No plural for min
2019-12-11 06:48:40 +01:00
Matthias
b2a9b87be3
Merge pull request #2632 from freqtrade/dependabot/pip/develop/scikit-learn-0.22
...
Bump scikit-learn from 0.21.3 to 0.22
2019-12-10 16:20:39 +01:00
Matthias
3f9f29ba4e
Fix Flake8 import error
2019-12-10 16:10:51 +01:00
Matthias
390db9503f
Show humanized and minutes version of duration
2019-12-10 15:12:36 +01:00
hroff-1902
3448f86263
Suppress scikit-learn FutureWarnings from skopt imports
2019-12-10 15:46:29 +03:00
hroff-1902
641e3fdf7a
Fix generation of hyperopt trailing params
2019-12-10 03:32:43 +03:00
hroff-1902
0e4ef33d6a
Merge pull request #2581 from hroff-1902/hyperopt-list
...
Add hyperopt-list and hyperopt-show commands
2019-12-10 00:30:26 +03:00
hroff-1902
8431b54b21
Fix index limits handling
2019-12-09 23:50:40 +03:00
hroff-1902
5fc357ee10
Fix typo
2019-12-09 23:43:50 +03:00
Matthias
de33ec4250
use sell_row.open also when the active ROI value just changed
2019-12-09 16:52:12 +01:00
hroff-1902
a9f7e9fb7a
Fix NO_CONF; fix tests
2019-12-09 12:49:04 +03:00
Matthias
e4655c9b07
include trade-duration with sell-notification
2019-12-08 14:07:46 +01:00
hroff-1902
a7d6dc9d3a
Merge pull request #2625 from freqtrade/validate_stakecurrency
...
Validate stake-currency against pairlist
2019-12-07 22:08:46 +03:00
Matthias
ed7207d4c8
Show pairs which are wrong ...
2019-12-07 19:31:15 +01:00
Matthias
bb9235c715
Validate stake-currency against pairlist - making sure only correct
...
pairs are in the whitelist
2019-12-07 15:42:47 +01:00
Matthias
45d12dbc83
Avoid a few calculations during backtesting
2019-12-07 15:28:56 +01:00
Matthias
3163cbdf8a
Apply special case for negative ROI
2019-12-07 15:18:12 +01:00
Matthias
3091869115
refactor get_close_rate out of get_sell_trade-entry
2019-12-07 14:30:14 +01:00
hroff-1902
d21ae4edd3
Add fixes for comments in the review
2019-12-05 23:29:31 +03:00
Matthias
4b0a4c936a
Fix hyperopt with ticker_interval from strategy
2019-12-05 20:31:02 +01:00
hroff-1902
b61f43835d
Make flake happy
2019-12-05 01:11:06 +03:00
hroff-1902
017a94adc1
Merge develop
2019-12-05 01:08:38 +03:00
hroff-1902
54694dd3a4
Manual merge of some conflicts in hyperopt
2019-12-04 23:14:47 +03:00
hroff-1902
8dd9b5c6fb
Merge pull request #2606 from freqtrade/volume_tester
...
Subcommand: test-pairlist
2019-12-04 18:31:37 +03:00
Matthias
51f074ba4b
Don't print quote-currency for -1
2019-12-04 12:25:57 +01:00
Matthias
0ba804d051
Address first part of feedback
2019-12-04 12:14:37 +01:00
Matthias
054484ad73
load_pair_history should not return None, but an empty dataframe if no
...
data is found
2019-12-04 06:57:44 +01:00
Matthias
298e8b2332
Add testcase for test_pairlist
2019-12-03 15:10:27 +01:00
Matthias
683406b57d
correct fallback to stake_currency
2019-12-03 06:36:43 +01:00
hroff-1902
406dfe21f8
Merge pull request #2492 from hroff-1902/hyperopt-trailing-space
...
Add trailing stoploss hyperspace
2019-12-03 00:23:14 +03:00
Matthias
0b03c6c786
Implement to json
2019-12-02 07:00:38 +01:00
Matthias
150a497cb4
output pairlist after fetching all
2019-12-02 06:56:19 +01:00
hroff-1902
668d42447f
Refactor log_trials_result()
2019-12-01 16:15:00 +03:00
hroff-1902
26a7af85ea
Add trailing_space() into AdvancedSampleHyperOpt
2019-12-01 03:31:03 +03:00
hroff-1902
69b0767165
Merge remote-tracking branch 'upstream/develop' into hyperopt-trailing-space
2019-12-01 03:28:23 +03:00
hroff-1902
a88bfa8ded
Fix: trailing_stop_positive should be positive
2019-12-01 02:27:17 +03:00
Matthias
153434561d
Add test_pairlist method
2019-11-30 19:53:22 +01:00
hroff-1902
36b2ed172c
Merge branch 'develop' into logging-syslog
2019-11-30 21:38:50 +03:00
hroff-1902
8f9b5095b5
Fix some tests
2019-11-27 22:52:43 +03:00
Matthias
5b996920f2
Merge branch 'develop' into configvalidation
2019-11-27 19:48:21 +01:00
Matthias
bcec070ad7
Merge pull request #2576 from hroff-1902/fix/get_min_pair_stake_amount
...
Fix _get_min_pair_stake_amount
2019-11-27 19:28:52 +01:00
hroff-1902
c3d7411668
Fix imports
2019-11-27 19:35:22 +03:00
Matthias
111f018c85
Add datatype to configuration documentation
2019-11-27 14:46:09 +01:00
hroff-1902
a373e48939
Comment added
2019-11-27 14:53:01 +03:00
hroff-1902
9991c892ac
Merge branch 'develop' into hyperopt-list
2019-11-26 15:14:42 +03:00
hroff-1902
8e7512161a
Add hyperopt-list and hyperopt-show commands
2019-11-26 15:01:42 +03:00
Matthias
585b8332ad
Improve tests and unify required attribute
2019-11-26 11:48:01 +01:00
hroff-1902
17269c88be
Fix _get_min_pair_stake_amount()
2019-11-26 11:57:58 +03:00
Matthias
e7c17df844
validate defaults in documentation
2019-11-25 12:56:05 +01:00
Matthias
0775ac081a
Cleanup constants and required
2019-11-25 07:12:30 +01:00
Matthias
646a9d12b2
Align quoting of json schema
2019-11-25 07:06:55 +01:00
Matthias
e7be742c58
Run validation after custom validations
2019-11-25 07:05:30 +01:00
Matthias
af3eea3805
Move config json validation to after strategy loading
...
Otherwise attributes are mandatory in configuration
while they could be set in the strategy
2019-11-25 07:05:30 +01:00
Matthias
4dc0631a4b
Lower minimum tradeable value
2019-11-25 07:05:30 +01:00
Matthias
50350a09cd
use wallets instead of doing a direct call to /balance
2019-11-24 19:41:51 +01:00
Matthias
1bf8d8cff3
show /balance in stake currency
2019-11-24 19:30:09 +01:00
Matthias
62d50f512d
add tests for balance from get-tickers
2019-11-24 19:30:09 +01:00
Matthias
8c64be3cfd
get tickers only once to show balance
2019-11-24 19:22:43 +01:00
hroff-1902
cc0a733f1f
Merge pull request #2565 from freqtrade/pairlists_transition
...
Pairlists transition
2019-11-24 15:26:01 +03:00
hroff-1902
1b645d64c8
Merge pull request #2538 from freqtrade/strategy_template
...
new-strategy / new-hyperopt - from templates
2019-11-24 15:21:23 +03:00
Matthias
a374df7622
some minor fixes from feedback
2019-11-24 09:55:34 +01:00
Matthias
f05818a86e
Allow transition from "no-config"-pairlist to pairlists
2019-11-24 09:49:29 +01:00
hroff-1902
067267f4cf
Log messages improved (plural/singular)
2019-11-23 12:20:41 +03:00
hroff-1902
737c07c5b6
Make mypy happy
2019-11-23 11:51:52 +03:00
hroff-1902
097cdcb57a
Save epochs at intermediate points
2019-11-23 11:32:33 +03:00
hroff-1902
e7ddd81251
Merge branch 'develop' into hyperopt-trailing-space
2019-11-23 03:42:58 +03:00
Matthias
210d468a9b
Reinstate mfi ...
2019-11-21 20:01:08 +01:00
Matthias
5f8fcebb88
Parametrize hyperopt file
2019-11-21 19:49:04 +01:00
Matthias
f23f659ac5
Use strings instead of subtemplates
2019-11-21 19:28:53 +01:00
Matthias
99eeb2e605
Merge pull request #2560 from hroff-1902/fix-informative
...
minor: Fix second part of freqtrade-strategies #51
2019-11-21 11:06:15 +01:00
hroff-1902
2acd2542ac
Merge pull request #2559 from freqtrade/fix/cancelordercrash
...
Fix 'remaining' bug when handling buy timeout
2019-11-21 12:09:43 +03:00
Matthias
f26c40082d
Allow selection of templates for strategy
2019-11-21 07:21:19 +01:00
Matthias
b3dbb81838
Add subtemplates
2019-11-21 07:13:56 +01:00
Matthias
5e5ef21f61
Align example imports
2019-11-21 06:49:16 +01:00
Matthias
be4a4180ae
Use single line comments for samples
2019-11-21 06:40:30 +01:00
Matthias
cbb187e9b9
Use constant for Strategy and hyperopt userdirpaths
2019-11-21 06:32:45 +01:00
Matthias
03cdfe8cae
Add tests for new-hyperopt
2019-11-21 06:32:45 +01:00
Matthias
37f8139432
Small stylistic fixes
2019-11-21 06:32:45 +01:00
Matthias
79891671e9
Adapt after rebase
2019-11-21 06:32:45 +01:00
Matthias
65489c894d
Add no-arg test
2019-11-21 06:32:45 +01:00
Matthias
8a1d02e185
Update numpy imports in sample strategies
2019-11-21 06:32:45 +01:00
Matthias
8c2ff2f46e
Add template for new-hyperopt command
2019-11-21 06:32:45 +01:00
Matthias
e492d47621
Disallow usage of DefaultStrategy
2019-11-21 06:32:45 +01:00
Matthias
e3cf6188a1
Add first version of new-strategy generation from template
2019-11-21 06:32:45 +01:00
Matthias
41494f28da
Allow resetting of the directory
2019-11-21 06:32:45 +01:00
Matthias
19b1a6c638
create-userdir should create the notebooks folder, too
2019-11-21 06:32:45 +01:00
Matthias
471bd4d889
Small stylistic fixes
2019-11-21 06:32:45 +01:00
Matthias
fd45ebd0e9
Copy templates when creating userdir
2019-11-21 06:32:45 +01:00
Matthias
258d4bd6ae
move sample-files from user_data to templates folder
2019-11-21 06:32:45 +01:00
hroff-1902
b8aa727edf
Fix second part of freqtrade-strategies #51
2019-11-21 05:10:48 +03:00
Matthias
a5bd4e329a
improve cancel_order handling
2019-11-20 20:36:38 +01:00
hroff-1902
5ce665f279
Merge pull request #2540 from freqtrade/rpc/fixes
...
Improve rest api client / status response
2019-11-20 22:18:51 +03:00
Matthias
9aac080414
Fix 'remaining' bug when handling buy timeout
2019-11-20 20:10:41 +01:00
hroff-1902
dfe3d78767
Merge pull request #2541 from freqtrade/rpc/show_config
...
[Rpc] - show config
2019-11-20 18:42:41 +03:00
Matthias
09b302abf7
Merge pull request #2442 from freqtrade/volumeList_enhanced_filter
...
Pairlists enhanced filter options
2019-11-19 20:19:10 +01:00
Matthias
c92f233c15
Move settings to correct location
2019-11-19 19:33:04 +01:00
Matthias
5f62a9e4d8
rename ttl to refresh_period
2019-11-19 06:50:23 +01:00
Matthias
a8855bf795
rename LowPriceFilter to PrieFilter
2019-11-19 06:49:45 +01:00
Matthias
c22b00b303
move pairlist filters out of config[]
2019-11-19 06:37:06 +01:00
Matthias
547d65b065
Fix broken test
2019-11-17 15:22:44 +01:00
Matthias
e4e8a611be
Add tests for telegram
2019-11-17 15:13:24 +01:00
Matthias
acab56793f
Add /show_config to telegram
2019-11-17 15:03:45 +01:00
Matthias
2c976bdd24
Add show_config endpoint
2019-11-17 15:03:38 +01:00
Matthias
3aee8d2b2a
Improve rest api client / status response
2019-11-17 14:40:59 +01:00
Matthias
6e0655b3b7
add empty worker variable
2019-11-16 09:47:56 +01:00
Matthias
edc0d7f2c7
Fix non-terminating bot
2019-11-15 20:10:17 +01:00
Matthias
9b050523e9
Merge pull request #2397 from freqtrade/feat/new_args_system
...
require subcommand for all actions
2019-11-14 06:28:42 +01:00
hroff-1902
904a9c5dc7
Merge pull request #2527 from freqtrade/fix/openorder_plotprofit
...
plot-profit script fails in certain conditions
2019-11-13 22:58:44 +03:00
Matthias
38243c52fd
Filter open trades - they are not added to the profit calc
2019-11-13 20:46:21 +01:00
Matthias
c8c48156dd
Don't load trades twice ...
2019-11-13 20:44:55 +01:00
hroff-1902
f4d18034d9
Merge pull request #2523 from freqtrade/timeout_handling
...
Improve timedout handling
2019-11-13 22:25:58 +03:00
Matthias
68904296e7
Allow timeout of 0
2019-11-13 19:38:38 +01:00
hroff-1902
6174a5dd55
Reimplement adjustment of ccxt 'has' with more generic ccxt_config class attribute
2019-11-13 20:22:23 +03:00
hroff-1902
e26bbc7de8
Add fix for bibox exchange
2019-11-13 19:50:54 +03:00
hroff-1902
baea06eac7
Merge pull request #2522 from freqtrade/replace_tickerinterval
...
Replace tickerinterval
2019-11-13 13:50:07 +03:00
Matthias
6ac73f7cde
Update missed strings
2019-11-13 11:28:26 +01:00
Matthias
c42c5a1f85
Adjust "requires subcommand" message
2019-11-13 10:03:59 +01:00
Matthias
5b62ad876e
Remove hyperopts occurances
2019-11-13 09:39:00 +01:00
Matthias
2eb6513251
Improve timedout handling
2019-11-12 15:45:14 +01:00
Matthias
c449e39280
Replace more occurances of ticker_interval
2019-11-12 15:13:06 +01:00
Matthias
1c57a4ac35
more replacements of ticker_interval
2019-11-12 15:13:06 +01:00
Matthias
d801dec6aa
Some more places with ticker_interval gone
2019-11-12 15:13:06 +01:00
Matthias
08aedc18e1
Exchange ticker_interval with timeframe in some more places
2019-11-12 15:13:06 +01:00
Matthias
e4bdb92521
Replace some occurances of ticker_interval with timeframe
2019-11-12 15:13:06 +01:00
Matthias
11f7ab61b9
Remove decimal import from rpc
2019-11-12 15:11:31 +01:00
Matthias
df9bfb6c2e
Add FIAT currency to status-table
2019-11-12 14:58:41 +01:00
Matthias
ab9506df48
simplify status_table command
2019-11-12 13:55:18 +01:00
Matthias
66a273b31b
Merge branch 'develop' into volumeList_enhanced_filter
2019-11-12 09:31:46 +01:00
Matthias
52e24c3a25
Split error-messsage between incompatible and wrong stake amount
2019-11-12 09:27:53 +01:00
Matthias
75d5ff69ef
Add ping endpoing
2019-11-11 20:10:56 +01:00
Matthias
085aa3084e
Implement ticker caching
2019-11-09 19:45:09 +01:00
Matthias
748fe94603
Merge branch 'develop' into volumeList_enhanced_filter
2019-11-09 15:34:47 +01:00
Matthias
86a5dfa62e
Update documentation
2019-11-09 15:28:36 +01:00
Matthias
7ff61f12e9
pass pairlist position into the pairlists
2019-11-09 15:04:04 +01:00
Matthias
ae35649366
improve pairlistmanager errorhandling
2019-11-09 14:49:41 +01:00
Matthias
a01b34a004
tests
2019-11-09 14:44:39 +01:00
Matthias
ed0c7a6aaf
Update configschema to fit new pairlists approach
2019-11-09 14:16:11 +01:00
Matthias
25cb935eee
Some more adjustments for new pairlist
2019-11-09 14:16:03 +01:00
Matthias
c74d766275
move from name to name_list
2019-11-09 14:00:32 +01:00
Matthias
d7262c0b4e
Fix correct ticker type
2019-11-09 13:40:36 +01:00
Matthias
870966dcd0
Fix more tests
2019-11-09 09:42:34 +01:00
Matthias
bf69b055eb
Add name getting
2019-11-09 09:07:46 +01:00
Matthias
31c7189b8b
Verify blacklist correctly
2019-11-09 07:23:34 +01:00
Matthias
eaf3fd80c5
Allow blacklist-verification from all pairlists
2019-11-09 07:19:46 +01:00
Matthias
1059586226
Small adjustments
2019-11-09 07:07:33 +01:00
Matthias
b610e8c7e6
Don't refresh tickers if they are not needed
2019-11-09 07:05:17 +01:00
Matthias
e632720c02
Allow chaining of pairlists
2019-11-09 06:55:16 +01:00
hroff-1902
31ab32f0b9
Always set trailing_stop=True with 'trailing' hyperspace
2019-11-08 12:47:28 +03:00
Matthias
da57396d07
Fix UTC handling of timestamp() conversation in fetch_my_trades
2019-11-08 06:55:07 +01:00
hroff-1902
f90676cfc5
Add trailing stoploss hyperspace
2019-11-08 03:07:43 +03:00
Matthias
ca77dbe8da
Fix UnicodeError in hyperopt output
2019-11-06 19:33:15 +01:00
Matthias
c8638ce82f
Fix bug where bids_to_ask_delta causes doublebuys
...
The continue must happen irrespective of the outcome of this - otherwise
the below BUY will happen anyway.
2019-11-05 21:03:06 +01:00
Matthias
eb0b0350e0
Introduce remove_credentials to remove code duplication
2019-11-05 12:39:19 +01:00
hroff-1902
581907305a
Merge pull request #2467 from freqtrade/check_exchange_other
...
Don't check exchange for Utils commands
2019-11-04 19:28:07 +03:00
Matthias
1e44f93c31
Fix pandas access warning
2019-11-03 10:58:31 +01:00
Matthias
3eca80217c
Don't check exchange for Utils commands
2019-11-03 10:18:46 +01:00
Matthias
6f01d7f8ea
Merge branch 'develop' into feat/new_args_system
2019-11-03 10:09:49 +01:00
Matthias
861f10dca6
Allow populate-indicators to come from strategy
2019-11-02 11:10:33 +01:00
Matthias
691cec7956
Be more selective which startup-messages are shown
2019-11-01 16:42:57 +01:00
Matthias
241d947564
Add new runmodes
2019-11-01 15:39:49 +01:00
Matthias
880834b902
Merge pull request #2446 from hroff-1902/log-stderr
...
Log to stderr
2019-11-01 06:14:55 +01:00
hroff-1902
f435384bf0
Merge pull request #2451 from freqtrade/bt_analysis_maxopen
...
Bt analysis maxopen at any time
2019-11-01 00:13:31 +03:00
hroff-1902
3149c12a14
Merge pull request #2444 from freqtrade/sql_cleanup
...
Fix scoped_session and add Documentation for strategy
2019-10-31 23:19:30 +03:00
hroff-1902
6a9a2e7f88
Merge pull request #2452 from freqtrade/fix/1717
...
Allow configuration of stoploss on exchange limit
2019-10-31 23:13:37 +03:00
hroff-1902
ffed13b979
Merge pull request #2455 from freqtrade/reduce_startup_indicator_logfrequency
...
[minor][log]Reduce frequency of "startup-period" message
2019-10-31 13:10:16 +03:00
Matthias
9a42afe0be
Move exchange-constants and retriers to exchange.common
2019-10-31 10:59:17 +01:00
Matthias
5dcf28cafb
Reduce frequency of "startup-period" message
2019-10-31 06:57:37 +01:00
Matthias
9e988783de
Allow configuration of stoploss on exchange limit
...
fixes #1717
2019-10-30 20:07:26 +01:00
Matthias
dee9b84322
Merge branch 'develop' into volumeList_enhanced_filter
2019-10-30 16:41:17 +01:00
Matthias
14758dbe10
Some small cleanups
2019-10-30 16:32:22 +01:00
Matthias
fd9c02603c
Introduce chainable PairlistFilters
2019-10-30 15:59:52 +01:00
Matthias
44289e4c58
Allow not using files from user_dir
2019-10-30 15:57:08 +01:00
Matthias
dd408aa5d6
Add analyze_trade_parallelism analysis function
2019-10-30 14:07:23 +01:00
Matthias
dac88c6aed
extract Find parallel trades per interval
2019-10-30 13:35:55 +01:00
Matthias
b7b1e66c6e
Convert to % as part of RPC to allow users to use unrounded ratio
2019-10-30 11:12:49 +01:00
Matthias
c2076d86a4
Use scoped_session as intended
2019-10-30 11:12:49 +01:00
Matthias
b37c5e4878
use get_trades in rpc modules
2019-10-30 11:12:49 +01:00
Matthias
26a5800a7f
Extract get_trades function
2019-10-30 11:12:49 +01:00
Matthias
01efebc42f
Extract query to it's own function
2019-10-30 11:12:49 +01:00
Matthias
ab117527c9
Refactor get_best_pair to persistence
2019-10-30 11:12:49 +01:00
Matthias
f20f5cebbe
Move performance-calculation to persistence
2019-10-30 11:12:49 +01:00
hroff-1902
9c180e587b
Log to stderr
2019-10-30 04:04:28 +03:00
Matthias
a368646745
Merge branch 'develop' into feat/new_args_system
2019-10-29 19:33:56 +01:00
Matthias
de2cc58b0c
Final cleanups and added tests
2019-10-29 10:44:35 +01:00
Matthias
d803d86f4d
Add low_price_percent_filter
2019-10-29 09:32:06 +01:00
hroff-1902
5254059fe4
Merge pull request #2430 from freqtrade/startup_period_bt
...
Add Startup period for strategies
2019-10-28 23:33:30 +03:00
Matthias
d706571e6f
Extract precision_filter to seperate function
2019-10-28 19:41:00 +01:00
hroff-1902
907baea8b2
Merge pull request #2439 from freqtrade/fix/plotprofit
...
Plot-profit does not work with db file
2019-10-28 21:04:31 +03:00
Matthias
4ff035537b
Simplify precision_filter code
2019-10-28 16:21:00 +01:00
Matthias
e82460bde6
Fix create_cum_profit to work with trades that don't open on candle
...
opens
2019-10-28 14:24:12 +01:00
Matthias
61c037f2cf
Fix some typos and comment mistakes
2019-10-28 13:05:54 +01:00
Matthias
132a4da7cf
Small style fixes and adjusted tests
2019-10-27 10:56:38 +01:00
Matthias
73f5bff9c5
Add validation to make sure strategies work on that exchange
2019-10-27 10:38:21 +01:00
Matthias
223f0cd4d3
Apply startup_period to edge as well
2019-10-27 10:26:21 +01:00
Matthias
2ba388074e
Fix small bugs
2019-10-27 09:44:56 +01:00
Matthias
33164ac78e
Refactor loading of bt data to backtesting ...
2019-10-27 09:44:56 +01:00
Matthias
bd4a23beeb
Refactor start-adjust logic to timerange
2019-10-27 09:44:56 +01:00
Matthias
5c2682e2c9
Add startup_candle_count to sample strategy
2019-10-27 09:44:56 +01:00
Matthias
6382a4cd04
Implement startup-period to default-strategy
2019-10-27 09:44:56 +01:00
Matthias
704121c197
Move most logic to history
2019-10-27 09:44:56 +01:00
Matthias
9c7696a8ce
Add required_startup to backtesting
2019-10-27 09:44:56 +01:00
Matthias
9e7e051eb4
add trim-dataframe method
2019-10-27 09:44:56 +01:00
Matthias
616fe08bce
Add subtract_start to timerange object
2019-10-27 09:44:56 +01:00
Matthias
141c454187
Add startup-candles-argument for strategy
2019-10-27 09:44:56 +01:00
hroff-1902
4c1f0c3c59
Merge remote-tracking branch 'origin/develop' into logging-syslog
2019-10-27 02:03:03 +03:00
Matthias
20dabd9c41
Merge branch 'develop' into whitelist_docs
2019-10-26 13:36:39 +02:00
hroff-1902
3a7553eef6
Adjust option helpstring
2019-10-26 12:45:05 +03:00
Matthias
d0521d33ce
Refactor whitelist handling
...
fixes #2413
2019-10-26 11:36:02 +02:00
Matthias
3929ad4e1f
Fix typo
2019-10-26 09:21:51 +02:00
Matthias
2f1d9696cd
Change keepalive to heartbeat
2019-10-25 20:00:08 +02:00
Matthias
2e896462c1
Fix wrong volumepairlist message
2019-10-25 19:49:23 +02:00
hroff-1902
41f97a73c9
Add logging to syslog and journald
2019-10-25 17:31:57 +03:00
Matthias
0773a65333
Add I Am Alive Message
2019-10-25 15:01:35 +02:00
Matthias
8201f70a80
Change loglevel of repeated message to debug
2019-10-25 14:19:02 +02:00
Matthias
45b83cc544
Don't require pair_whitelist for dynamicPairlist usecases
2019-10-25 07:07:01 +02:00
hroff-1902
2e1e080022
Fix potential race conditions between RPC and Freqtradebot during initialization
2019-10-24 22:33:44 +03:00
Matthias
13255b370c
Allow non-config to parse config
2019-10-24 06:30:07 +02:00
Matthias
e1edf36307
Fix test failures
2019-10-24 06:22:05 +02:00
hroff-1902
6640f4a1b2
Make flake happy
2019-10-23 23:57:17 +03:00
hroff-1902
e408274fb3
Merge branch 'develop' into align_utils
2019-10-23 23:45:33 +03:00
hroff-1902
4ce278a06e
Merge branch 'develop' into feat/new_args_system
2019-10-23 22:45:06 +03:00
Matthias
87ff7be550
Use exchange.name instead of config['exchange']['name']
2019-10-23 07:08:49 +02:00
hroff-1902
7441300270
Merge remote-tracking branch 'origin/develop' into list-pairs2
2019-10-22 20:19:03 +03:00
Matthias
336808ec54
Correctly pass validate flag to fallback exchange too
2019-10-22 14:02:47 +02:00
hroff-1902
b26faa13bd
Call validate_timeframe only when validate is True
2019-10-22 13:51:36 +03:00
hroff-1902
562e4e63de
Set validate=False for exchangÑe in start_list_markets
2019-10-22 13:48:54 +03:00
hroff-1902
ad5f7e1581
Merge remote-tracking branch 'origin/develop' into list-pairs2
2019-10-22 12:30:39 +03:00
hroff-1902
3cf95f9f6c
Merge pull request #2369 from freqtrade/disable_exchangevalidate
...
Allow skipping of exchange validation
2019-10-22 12:22:48 +03:00
hroff-1902
73fa5bae96
minor: Fix wording in a docstring
2019-10-22 00:03:11 +03:00
Matthias
a43d436f98
Move decorators out of API Class
2019-10-21 19:47:09 +02:00
Matthias
1c503f39b2
Handle some merge aftermaths
2019-10-21 06:38:30 +02:00
hroff-1902
1bc63288a3
Merge branch 'develop' into list-pairs2
2019-10-20 23:22:45 +03:00
hroff-1902
d6b6ded8bd
Print empty line separator in case of human-readable formats (list and tabular)
2019-10-20 22:30:15 +03:00
Matthias
2d34c0f52d
Update helpstring exports
2019-10-20 19:35:38 +02:00
Matthias
f3cfe147b5
Merge branch 'develop' into feat/new_args_system
2019-10-20 19:32:34 +02:00
hroff-1902
14755779de
Merge pull request #2391 from freqtrade/plot_trades_in_min
...
[minor][plot] Plotting trades from database should show correct duration
2019-10-20 20:11:01 +03:00
hroff-1902
6e938b59c8
Merge pull request #2390 from freqtrade/remove_hardcoded_default
...
exportfilename should respect configured user_data_dir
2019-10-19 22:18:08 +03:00
hroff-1902
4f17511fdc
Merge pull request #2393 from freqtrade/remove_timeframe
...
Remove non-date based timeframe selection
2019-10-19 22:05:44 +03:00
Matthias
d8630ef847
Add one-sided ms timerange
2019-10-19 19:38:16 +02:00
hroff-1902
47fabca1d9
Merge pull request #2372 from xmatthias/kraken_ohlcv_emulate
...
download tick-based data to emulate candles
2019-10-19 19:32:37 +03:00
Matthias
16e10d99b9
Remove timeframe logic for non-date entries
2019-10-19 15:10:48 +02:00
Matthias
f41c659cb2
Plotting trades from database should show correct duration
2019-10-19 13:18:52 +02:00
Matthias
4c977b2e01
Merge pull request #2388 from hroff-1902/no-hyperopts
...
Minor: No more hyperoptS
2019-10-19 11:15:24 +02:00
Matthias
b152585d9b
exportfilename should respect configured user_data_dir
2019-10-19 11:13:10 +02:00
Matthias
fd22c87295
Some minor cleanups to trades download methods and docs
2019-10-19 10:05:30 +02:00
hroff-1902
30eb23e1aa
Minor freqtrade cleanup
2019-10-18 23:41:07 +03:00
hroff-1902
4ec83a2c24
DefaultHyperOpts --> DefaultHyperOpt; hyperopts --> hyperopt where it's not correct
2019-10-18 23:29:19 +03:00
hroff-1902
9e23ca14d1
Merge pull request #2384 from freqtrade/improve_buy_timeout_handling
...
Improve buy timeout handling
2019-10-18 22:30:41 +03:00
Matthias
c649f9844e
Compare >= instead of =
2019-10-18 19:36:04 +02:00
Matthias
9d739f98ac
use requested - remaining amount - not the requested amount!
2019-10-18 09:04:05 +02:00
Matthias
2588990f4b
Require unfilledtimeout - don't require telegram in config
2019-10-18 07:10:02 +02:00
Matthias
271846dfb6
Simplify cancel timedout
2019-10-18 07:01:05 +02:00
Matthias
c181fac6c7
fix #2383
2019-10-18 06:48:39 +02:00
Matthias
c735d35265
Extract open_trade generation from freqtradebot
2019-10-18 06:48:33 +02:00
hroff-1902
e957894852
Rename start_list_pairs() -> start_list_markets()
2019-10-18 01:26:05 +03:00
hroff-1902
8564affdf0
Add tests for Exchange.get_markets()
2019-10-17 22:45:20 +03:00
hroff-1902
033742b708
Fix pairlists to use market_is_active() instead of custom check
2019-10-17 19:06:58 +03:00
hroff-1902
b6e26c82ea
Replace market_is_pair() by symbol_is_pair()
2019-10-17 18:44:25 +03:00
hroff-1902
1e61263a28
More sofisticated market_is_pair(), taken from #1989
2019-10-17 17:49:04 +03:00
hroff-1902
bd08874f1f
Fix options metavars shown in the helpstring
2019-10-17 17:31:49 +03:00
hroff-1902
bf4e9a5dbb
Code cleanup
2019-10-17 04:34:05 +03:00
hroff-1902
837d4d82b4
Sort tabular and csv data by symbol as well
2019-10-17 03:06:51 +03:00
hroff-1902
a8ffd29e18
Remove --active-only, introduce -a/--all instead
2019-10-17 02:42:07 +03:00
hroff-1902
92fda0f76c
Allow --base and --quote be lists of currencies
2019-10-17 02:09:19 +03:00
hroff-1902
d72d388726
Make flake happy
2019-10-16 10:55:09 +03:00
Matthias
fda71085e0
Refactor load-path building to parent class
2019-10-16 08:12:24 +02:00
Matthias
1a765f1a17
Return generator instead of Object from _get_valid_object
2019-10-16 08:11:42 +02:00
hroff-1902
7de1631045
Print summary in the log for machine-readable formats
2019-10-16 03:55:04 +03:00
hroff-1902
4c8411e835
Cleanup in print tabular and print-csv parts
2019-10-16 03:02:58 +03:00
hroff-1902
f348956e4c
--print-csv added
2019-10-16 02:22:27 +03:00
hroff-1902
89e0c76a3f
Add --print-json and -1/--one-column options
2019-10-15 22:31:23 +03:00
hroff-1902
ad89d19955
Print list in the human-readable format
2019-10-15 21:07:01 +03:00
hroff-1902
cb4d6efb29
Merge pull request #2377 from freqtrade/aligncustomoptions
...
Rename --custom-hyperopt to --hyperopt
2019-10-15 14:18:05 +03:00
Matthias
6fb96183c0
Reword help string
2019-10-15 12:26:06 +02:00
Matthias
a5c83b66df
Add --dry-run to trade command
2019-10-15 06:53:16 +02:00
Matthias
89283ef486
Rename --custom-hyperopt to --hyperopt
2019-10-14 19:42:28 +02:00
hroff-1902
4111734637
Add 'Is pair' in the list-markets tabular output
2019-10-14 13:48:33 +03:00
hroff-1902
6e27c47dee
Handle properly exchanges with no active flag set for markets
2019-10-14 13:32:39 +03:00
Matthias
76ad5bea0e
Load correct exchange class
...
closes #2371
2019-10-14 11:36:42 +02:00
Matthias
13e80e449c
cleanup and better docstring
2019-10-14 06:22:10 +02:00
Matthias
3e4617be37
add pandas-based converter-functions
2019-10-13 19:25:16 +02:00
Matthias
2374cda8d0
Cleanup and tests for refresh_backtest_trades
2019-10-13 13:15:22 +02:00
Matthias
37925e7f6c
Add --dl-trades cli flag
2019-10-13 13:15:22 +02:00
Matthias
762ae3a598
Extend tests
2019-10-13 13:15:22 +02:00
Matthias
640d58eb13
Remove unneeded checks
2019-10-13 13:15:22 +02:00
Matthias
fa8c61382b
Remove unneeded exception handlers
2019-10-13 13:15:22 +02:00
Matthias
16d6914b15
Add test to cover missing line
2019-10-13 13:15:22 +02:00
Matthias
05e473642b
Small adjustments to get_trade_history
2019-10-13 13:15:22 +02:00
Matthias
0d592f6c55
Refactor trade downloading to handle exceptions only once
2019-10-13 13:15:22 +02:00
Matthias
476adf872a
Add conversion from trades to ohlcv at different intervals
2019-10-13 13:15:22 +02:00
Matthias
9584629f50
Rename argument from dl_path to datadir
2019-10-13 13:15:22 +02:00
Matthias
c1c49183b5
Call new method based on condition
2019-10-13 13:15:22 +02:00
Matthias
8069cd6689
add refresh_trades_ method
2019-10-13 13:15:22 +02:00
Matthias
1f79ca9539
Remove duplicate check
2019-10-13 13:15:22 +02:00
Matthias
1d8fc97053
Fix duplicate trade error, rename some methods
2019-10-13 13:15:22 +02:00
Matthias
19f3669fbd
add docstring
2019-10-13 13:15:22 +02:00
Matthias
06024b0ab0
Fix zipfile handling
2019-10-13 13:15:22 +02:00
Matthias
6e952a0aa8
Capture downloaded data
2019-10-13 13:15:22 +02:00
Matthias
57dee794d1
Fix end-reached for id-based trade-download
2019-10-13 13:15:22 +02:00
Matthias
2c0bb71a6e
Add download_trades_history()
2019-10-13 13:15:22 +02:00
Matthias
ab8f638e44
Move id/time detection to get_historic_trades method
2019-10-13 13:15:22 +02:00
Matthias
d250b67f33
Add load/store trades data
2019-10-13 13:15:22 +02:00
Matthias
42b8241541
use gz to save / load trades data
2019-10-13 13:15:22 +02:00
Matthias
77c367ad1d
First draft of async get_trade methods
2019-10-13 13:15:22 +02:00
Matthias
26b3148904
Add build_ohlcv wrapper
2019-10-13 13:15:22 +02:00
Matthias
27dc9ca799
Add trades_pagination attributes
2019-10-13 13:15:22 +02:00
Matthias
63e87ef85b
Add pair_trades_filename
2019-10-13 13:15:22 +02:00
Matthias
baad1a5166
Explain _params element
2019-10-13 13:15:22 +02:00
hroff-1902
7cf7982565
Add list-pairs and list-markets subcommands
2019-10-13 13:12:20 +03:00
Matthias
f3f6e9d365
Allow skipping of exchange validation
2019-10-13 10:33:22 +02:00
hroff-1902
4228137dff
Merge pull request #2366 from freqtrade/interface_noconf
...
Interface options should not use config
2019-10-13 11:04:51 +03:00
Matthias
3c8d27d098
remove correct comment ...
2019-10-13 09:54:03 +02:00
hroff-1902
ff1fa17dc3
No default value for the config parameter
2019-10-13 03:41:25 +03:00
hroff-1902
08e6d8a780
Rollback defaulting to DefaultHyperOptLoss
2019-10-11 23:33:22 +03:00
hroff-1902
4c1705fb1e
No specific handling for trailing_stop_positive
2019-10-11 22:59:13 +03:00
hroff-1902
31389b38f1
Merge pull request #2361 from freqtrade/dataprovider_tests
...
Add tests for orderbook and market in dataprovider
2019-10-11 22:15:21 +03:00
Matthias
ff7a3cc885
remove last occurance of config. from stop_loss_reached
2019-10-11 09:05:21 +02:00
Matthias
4d1488498c
stoploss_reached should not use config
2019-10-11 08:55:31 +02:00
hroff-1902
c49f4b73dd
Fix helpstring
2019-10-10 20:44:24 +03:00
Matthias
5e23cc719d
Add tests for orderbook and market in dataprovider
2019-10-10 19:38:01 +02:00
Matthias
bba5f54722
Merge pull request #2335 from hroff-1902/dataprovider-market
...
Allow to use market data in the strategies
2019-10-10 16:54:04 +02:00
Matthias
85c4546333
Merge pull request #2343 from hroff-1902/move-experimental
...
Move experimental settings to ask_strategy
2019-10-10 16:08:11 +02:00
hroff-1902
c4105436eb
Disable defaulting to DefaultHyperOpts and DefaultHyperOptLoss
2019-10-10 04:37:32 +03:00
hroff-1902
cdd1bc425b
Fix typo
2019-10-09 03:12:30 +03:00
hroff-1902
434e0234c5
Add handling deprecated settings
2019-10-09 02:43:06 +03:00
Matthias
5e0391aa2b
Merge pull request #2332 from hroff-1902/freqtradebot-refactor
...
Freqtradebot refactoring
2019-10-08 19:44:08 +02:00
hroff-1902
2ec8376af9
Merge pull request #2342 from freqtrade/fix/negativeroi
...
Don't have backtest sells outside of a candle
2019-10-08 11:19:34 +03:00
Matthias
7d1f66ccf8
Merge pull request #2341 from hroff-1902/indicator-helper
...
Remove indicator_helpers.py and test
2019-10-07 19:36:09 +02:00
hroff-1902
edfbb56749
Merge pull request #2344 from freqtrade/backtest_nofees
...
Backtest no fees / custom fees
2019-10-07 13:30:20 +03:00
Matthias
f27528538d
Merge pull request #2345 from hroff-1902/minor-data-history
...
Cleanup in data.history
2019-10-07 07:05:24 +02:00
Matthias
ad35a3d7ab
Small wording improvements
2019-10-07 07:02:43 +02:00
hroff-1902
211b9cbe04
Cleanup in data.history
2019-10-06 18:35:09 +03:00
hroff-1902
946b8c29d7
Merge pull request #2317 from hroff-1902/list-timeframes
...
Add list-timeframes subcommand
2019-10-06 16:28:15 +03:00
Matthias
22733e44bf
Add tests for --fee
2019-10-05 15:34:31 +02:00
Matthias
0664a8c0e6
add --fee
to change fees to other values
2019-10-05 15:29:00 +02:00
hroff-1902
9b23376415
Move experimental settings to ask_strategy
2019-10-05 13:29:59 +03:00
Matthias
553a1b90ba
Merge pull request #2297 from jraviotta/scattergl
...
Enhancements to BB plotting
2019-10-05 11:01:10 +02:00
Matthias
7ea9da9605
Fix #2277
2019-10-05 10:54:28 +02:00
hroff-1902
e1b8485b51
Remove indicator_helpers.py and test
2019-10-05 11:51:27 +03:00
Matthias
764a35d035
Remove scattergl and fix tests
2019-10-05 10:32:42 +02:00
hroff-1902
75252b6251
Docstrings improved
2019-10-04 02:32:48 +03:00
hroff-1902
3ac5b91899
Add market() method to dataprovider
2019-10-03 02:58:45 +03:00
hroff-1902
89729aefe8
Fix and improve process_maybe_execute_sells()
2019-10-02 18:47:45 +03:00
hroff-1902
096c69dc4f
Refactor Freqtradebot
2019-10-02 13:51:32 +03:00
Matthias
b73426b91f
Disable Defaulting to DefaultStrategy
2019-10-01 07:02:30 +02:00
Matthias
628c4c996a
Merge pull request #2327 from hroff-1902/enhance-list-exchanges2
...
Add --all option to list-exchanges
2019-10-01 06:52:27 +02:00
Matthias
642d20b2f7
Merge pull request #2324 from freqtrade/dependabot/pip/develop/mypy-0.730
...
Bump mypy from 0.720 to 0.730
2019-10-01 06:49:11 +02:00
hroff-1902
d1fa5f307b
Add --all option to list-exchanges
2019-10-01 00:33:33 +03:00
Matthias
dc47a391da
Move ignore to corrct line for mypy 730
2019-09-30 19:32:46 +02:00
Matthias
9f94678478
Merge pull request #2319 from hroff-1902/bad-exchanges
...
Add exchanges to the list of bad exchanges
2019-09-30 19:29:06 +02:00
hroff-1902
7617dd5029
Add separate message for hitbtc
exchange
2019-09-30 20:01:55 +03:00
hroff-1902
e9d9df3473
Merge branch 'develop' into list-timeframes
2019-09-30 18:58:25 +03:00
Matthias
03b5be91f7
some commands should not have config at all
2019-09-30 09:47:52 +02:00
hroff-1902
272c977d08
Add exchanges to the list of bad exchanges
2019-09-30 03:55:55 +03:00
hroff-1902
75446d8195
Refactor list-timeframes command with the use of the Exchange class methods
2019-09-29 23:18:04 +03:00
Matthias
381b0d3d07
Fix typo with new parser
2019-09-29 19:18:52 +02:00
Matthias
52523bcd8b
Use strategy child parser
2019-09-29 19:18:52 +02:00
Matthias
0d13e2cb2e
Update travis to run new methods
2019-09-29 19:18:52 +02:00
Matthias
014881e550
Allow query version without subcommand
2019-09-29 16:17:20 +02:00
Matthias
9ef874e979
Add Custom message during transition period
2019-09-29 16:17:20 +02:00
Matthias
ad2fa61765
Fix utils test
2019-09-29 16:17:20 +02:00
Matthias
d62a4d3566
Fix some minor problems
2019-09-29 16:17:20 +02:00
Matthias
1b25b5f590
Remove duplicate short-form -s
2019-09-29 16:17:20 +02:00
Matthias
0f2e277f80
Rename subparser variable to command
2019-09-29 16:17:20 +02:00
Matthias
8664e7f7d3
Have main.py support only subcommand mode
2019-09-29 16:17:20 +02:00
Matthias
cb37f43277
Add trade subparser (and make subparser a requirement)
2019-09-29 16:17:20 +02:00
Matthias
2a535b72ff
Parser should not have default
2019-09-29 16:17:20 +02:00
Matthias
cd2336887c
Add first version with shared parent parsers
2019-09-29 16:09:59 +02:00
hroff-1902
448b09d7b6
Add list-timeframes subcommand
2019-09-29 11:54:20 +03:00
hroff-1902
c31f118d0c
Merge pull request #2307 from freqtrade/rounding
...
Don't compare floats when updating fees
2019-09-28 12:39:27 +03:00
Matthias
ed10048394
Merge pull request #2308 from hroff-1902/hyperopt-config
...
Allow use of config in custom hyperopt methods
2019-09-28 10:36:46 +02:00
Matthias
43f2ef226c
Change rel_tol to abs_tol to avoid surprises with high priced pairs
2019-09-28 10:30:12 +02:00
hroff-1902
4ac53f1549
Shorten the default hyperopt stoploss space
2019-09-28 04:13:53 +03:00
hroff-1902
9db915853a
Allow use of config in custom hyperopt methods
2019-09-26 11:59:21 +03:00
Matthias
5237723f22
Merge pull request #2303 from freqtrade/feat/hyperopt_optional_install
...
Optional hyperopt dependency installation
2019-09-26 09:42:16 +02:00
Matthias
8d92f8b362
Compare floats via isclose instead of ==
2019-09-26 07:18:00 +02:00
Matthias
49f0a72121
Add test for rounding error on fload aggregation
2019-09-26 07:17:54 +02:00
Jonathan Raviotta
83e596c06f
chart styling
2019-09-25 23:09:50 -04:00
hroff-1902
0268bfdbd4
Minor: fix typo in comment
...
Minor cosmetics. typo caught.
2019-09-26 02:04:48 +03:00
Matthias
b994f5c273
Merge pull request #2294 from hroff-1902/fix-skopt-memory3
...
Fix skopt memory exhaustion
2019-09-25 19:55:27 +02:00
Matthias
27cc73f47e
Dynamically import hyperopt modules
2019-09-25 11:40:34 +02:00
hroff-1902
665e0570ae
Fix hyperopt position stacking
2019-09-25 03:41:22 +03:00
Jonathan Raviotta
9391c27b80
Enhancements to BB plotting
2019-09-24 20:07:54 -04:00
hroff-1902
a75fb3d4be
Merge pull request #2197 from freqtrade/implement_version_dev
...
Apply dynamic versioning to develop
2019-09-24 21:20:49 +03:00
hroff-1902
d066ab2620
Merge pull request #2278 from freqtrade/remove_refresh
...
Remove refresh-pairs-cached
2019-09-24 09:07:25 +03:00
Matthias
0f97a999fb
Improve wording
2019-09-24 06:35:41 +02:00
hroff-1902
6ffb8b7a70
Fix wordings in comment
2019-09-23 13:25:31 +03:00
hroff-1902
0c6164df7e
Fix memory exhaustion in skopt models list
2019-09-23 13:03:43 +03:00
Matthias
7aa42f8868
Fail download-data gracefully if no pairs-file exists
2019-09-21 12:53:47 +02:00
Matthias
3245ebccd4
Fix problme when no exchange is given to download-data
2019-09-21 11:25:27 +02:00
Matthias
313091eb1c
some more refresh_pairs cleanups
2019-09-20 20:22:51 +02:00
Matthias
508a35fc20
Update comment as to why certain points have not been removed
2019-09-20 20:20:16 +02:00
Matthias
9cedbc1345
Cleanup history.py and update documentation
2019-09-20 20:16:49 +02:00
Matthias
1cd8ed0c1a
Remove --refresh-pairs
2019-09-20 20:02:07 +02:00
hroff-1902
74a0f44230
Merge pull request #2276 from freqtrade/keep_original_config
...
Allow easy printing of loaded configuration
2019-09-20 20:59:33 +03:00
Matthias
f0cf8d6a81
Allow easy printing of loaded configuration
...
(beforechanging types and applying defaults)
2019-09-20 07:23:32 +02:00
hroff-1902
69f29e8907
minor: Cleanup for backtesting
2019-09-18 22:57:17 +03:00
hroff-1902
5cbc073dd1
minor: Cleanup hyperopt
2019-09-16 21:46:15 +03:00
hroff-1902
39f41def54
Merge pull request #2261 from freqtrade/test_speedup
...
[minor] Test speedup
2019-09-14 11:25:00 +03:00
hroff-1902
76e45883bd
Merge pull request #2253 from hroff-1902/backtesting-improve-logs
...
Improve logs for backtesting
2019-09-14 11:23:46 +03:00
Matthias
19ce7180be
Merge pull request #2260 from freqtrade/args_vars
...
Configuration/Arguments refactoing (don't pass Namespace around).
2019-09-14 10:11:02 +02:00
Matthias
2cf045c53e
Remove commented indicators from DefaultStrategy
2019-09-14 10:00:59 +02:00
hroff-1902
eda1ec652f
Revert back condition for open_since in Trade.__repr__
2019-09-13 23:00:09 +03:00
Matthias
0135784589
remove unused indicators from default_strategy
2019-09-13 19:56:58 +02:00
Matthias
a5f3b68bff
Allow loading of fully initialized config from jupyter notbooks
2019-09-13 07:08:22 +02:00
Matthias
f163240710
Simplify configuration init where possible
2019-09-13 07:02:36 +02:00
hroff-1902
c5f455d660
Merge pull request #2256 from freqtrade/kraken_balance
...
fix Kraken balance calculation
2019-09-12 23:12:55 +03:00
hroff-1902
e6ec8f9f30
Fix tests: Change condition for printing 'close'
2019-09-12 21:28:51 +03:00
Matthias
4d566e8bad
Update tests to not use Namespace
2019-09-12 20:28:37 +02:00
Matthias
e6ccc1427c
have Arguments return a dict instead of Namespace
2019-09-12 20:16:39 +02:00
Matthias
52b186eabe
Create-userdir does not need a configuration
2019-09-12 20:14:58 +02:00
hroff-1902
67ff48ce3e
Comment out noisy log messages
2019-09-12 21:01:14 +03:00
hroff-1902
045ca8739d
Do not print humanized datetime in the log message
2019-09-12 20:56:00 +03:00
hroff-1902
dda513c923
Minor class cosmetics
2019-09-12 12:13:20 +03:00
Matthias
6c5eff4a7c
Use List of Tuples, remove unused columns
2019-09-12 07:03:52 +02:00
hroff-1902
849d694c27
Don't inherit from object
2019-09-12 04:39:52 +03:00
hroff-1902
1d781ea9e0
Refine 'stoploss adjusted' log message
2019-09-12 02:29:47 +03:00
hroff-1902
acf3b751f0
Log sell_flag, do not log sell_type=SellType.NONE
2019-09-12 01:21:14 +03:00
hroff-1902
9bdfaf3803
Remove quotes around the pairs
2019-09-11 23:32:08 +03:00
Matthias
3b4bbe7a18
Implement get_balances which uses open_orders
2019-09-11 19:43:16 +02:00
Matthias
c01953daf2
Remove kraken block
2019-09-11 06:57:58 +02:00
hroff-1902
2081d7552f
Make flake happy
2019-09-10 12:37:15 +03:00
hroff-1902
35580b135a
Improve backtesting logs
2019-09-10 10:42:45 +03:00
Matthias
85f1291597
use git log to print version
2019-09-09 20:20:38 +02:00
Matthias
94d2790ab5
Fix #2239 -
...
return float even if fiat/crypto are identical
2019-09-09 20:00:13 +02:00
Jonathan Raviotta
a5510d14e9
de-mangling
2019-09-09 06:58:41 +02:00
Matthias
65a516e229
Move tests out of freqtrade module
2019-09-08 19:05:22 +02:00
Matthias
13932f55f5
Fix random test failures
2019-09-08 14:02:32 +02:00
hroff-1902
3d028f512e
Merge pull request #2235 from hroff-1902/eliminate_import_strategy
...
Allow --strategy for hyperopt
2019-09-08 12:23:48 +03:00
hroff-1902
865e0d3af9
Adjust tests: removed tests for/with import_strategy()
2019-09-08 03:30:15 +03:00
hroff-1902
45cfdbbda7
Make flake happy
2019-09-08 03:10:01 +03:00
hroff-1902
2b00a5d90a
Get rid of import_strategy()
2019-09-08 02:43:02 +03:00
Matthias
bd2ecf8ce3
Add testdatadir to missed test
2019-09-07 21:13:05 +02:00
Matthias
972b8a1726
Remove defaulting to test_data folder when no datadir is present
2019-09-07 21:06:20 +02:00
Matthias
fe631ffd04
Use fixture to determine test_data_dir
2019-09-07 20:56:03 +02:00
Matthias
bde82e9654
Move make_testdata_path to conftest
2019-09-07 20:34:25 +02:00
hroff-1902
df481eb642
Merge pull request #2227 from freqtrade/fix/balance_failure
...
Fix RPC /balance failure
2019-09-07 00:27:20 +03:00
hroff-1902
4fdf8a75cd
Adjust hyperopt tests after the merge with develop
2019-09-06 16:46:44 +03:00
hroff-1902
2e49125e87
Merge branch 'develop' into hyperopt-simplified-interface
2019-09-06 15:11:06 +03:00
hroff-1902
7e56704767
Parametrize tests for hyperopt simplified failed
2019-09-06 15:08:44 +03:00
Matthias
7af445adf3
Merge pull request #2137 from hroff-1902/hyperopt-adaptive-roi-space
...
Hyperopt: adaptive roi_space
2019-09-06 06:26:52 +02:00
Matthias
48ac37a1b8
BLock kraken trading - it's not working at the moment
2019-09-05 20:16:09 +02:00
Matthias
e8f37666ea
Fix Problem when ccxt reports None as values
2019-09-05 20:02:18 +02:00
Matthias
e2e0015119
Don't rename dict ... we can use it as is
2019-09-05 20:02:01 +02:00
hroff-1902
3343b34725
Add tests for simplified hyperopt interface
2019-09-05 00:38:15 +03:00
Matthias
e107290230
Validate plot arguments
2019-09-04 19:21:58 +02:00
Matthias
1b66f01ec0
Always use config.json if it's available
2019-09-04 19:21:58 +02:00
Matthias
5ce63cd54a
Remove no_config_ argument from Arguments
2019-09-04 16:39:23 +02:00
Matthias
03f3d0dc8b
Remove desc from Arguments header
2019-09-04 16:38:33 +02:00
hroff-1902
74578b8752
Merge pull request #2211 from freqtrade/dependabot/pip/develop/python-telegram-bot-12.0.0
...
Bump python-telegram-bot from 11.1.0 to 12.0.0
2019-09-04 10:44:11 +03:00
hroff-1902
caec5ac941
Merge pull request #2206 from freqtrade/sloe_handling
...
Improve stoploss on exchange handling
2019-09-04 10:00:53 +03:00
hroff-1902
9a6a89c238
allow simplified hyperopt interface
2019-09-03 19:54:28 +03:00
Matthias
dc9fda76f3
Fix tests to adapt to new telegram-bot interface
2019-09-02 20:42:39 +02:00
Matthias
3b15cce07a
Handle arguments uniformly (by using context.args)
2019-09-02 20:17:47 +02:00
Matthias
8cad90f9e6
Adapt to new api
2019-09-02 20:17:23 +02:00
Matthias
9c60ab796d
Adapt telegram api to new interface of telegram-bot-12.0.0
2019-09-02 20:14:41 +02:00
hroff-1902
08b090c707
Merge pull request #2176 from freqtrade/plot_commands
...
Move Plot scripts to freqtrade subcommands
2019-09-02 08:08:51 +03:00
Matthias
aae9c3194f
Reenable stoploss_on_exchange for dry-run
2019-09-01 17:48:06 +02:00
Matthias
20c9c93b3e
Improve docstring
2019-09-01 10:25:05 +02:00
Matthias
771519e311
Don't show stacktrace in case of invalidorder Error
...
This is handled gracefully by emergency-selling
2019-09-01 10:19:18 +02:00
Matthias
f91557f549
Add space to exception message
2019-09-01 10:17:17 +02:00
Matthias
9d7ebc65e7
Move return statement to correct intend
2019-09-01 09:21:45 +02:00
Matthias
6aab3fe25a
Add test for stoploss order handling behaviour
2019-09-01 09:18:15 +02:00
Matthias
7c0a49a6f9
_notify_sell needs ordertype seperately
2019-09-01 09:17:58 +02:00
Matthias
292df115e8
Support selling via emergencysell
2019-09-01 09:09:07 +02:00
Matthias
9f53e9f5dd
Raise InvalidOrder error when stoploss-creation fails
2019-09-01 09:08:35 +02:00
Matthias
ee808abfea
Add emergency_sell as sell reason
2019-09-01 09:07:09 +02:00
Matthias
7fc156648a
simplify stoploss_oe code
2019-08-31 16:15:39 +02:00
Matthias
f0c0f5618b
Abstract creating stoploss-orders from stoploss-logic
2019-08-31 16:11:04 +02:00
Matthias
736deaae32
Add test with plot command without configuration
2019-08-31 15:26:34 +02:00
Matthias
c9e15c2f86
Add test for new check_exchange branch
2019-08-31 15:19:59 +02:00
Matthias
d48f03c32e
check_exchange is not required for plotting
2019-08-31 15:19:53 +02:00
Matthias
1760a8dfbc
Use subparser-name to exclude from config requires
2019-08-31 15:15:10 +02:00
Matthias
f278fcfc3f
Use plot-runmode for plot scripts
2019-08-31 15:14:57 +02:00
Matthias
816d942ded
Merge branch 'develop' into plot_commands
2019-08-30 20:42:58 +02:00
Matthias
423805c9ca
Small documentation improvements
2019-08-30 20:42:14 +02:00
Matthias
d060d27745
Add test for all messagetypes
2019-08-30 07:05:22 +02:00
Matthias
75dc174c76
support all messagetypes in webhook
2019-08-30 07:02:57 +02:00
Matthias
d977695d48
Catch NotImplementedError when sending messages
...
(RPC should not crash your bot!)
2019-08-30 07:02:26 +02:00
Matthias
b6b7dcd61c
Test NotImplemented is cought correctly
2019-08-30 07:00:29 +02:00
Matthias
cabe291006
Fix test-leakage by not copying config correctly
2019-08-29 06:54:28 +02:00
Matthias
6b3d25b54b
Fix datadir init when used wiht --exchange
2019-08-29 06:45:20 +02:00
Matthias
68adfc6607
Init exchange before datadir ...
2019-08-29 06:42:56 +02:00
Matthias
50b572a657
Merge branch 'develop' into strategy_version
2019-08-28 19:29:53 +02:00
Matthias
c38f3a2b9a
Apply dynamic versioning to develop
2019-08-28 07:05:48 +02:00
Matthias
c6bb68bd30
Merge pull request #2192 from freqtrade/rename_teststrat
...
Rename testStrategy to sample_strategy
2019-08-28 06:28:19 +02:00
Matthias
51fbeed71f
Rename TestStrategy to SampleStrategy
2019-08-27 06:42:10 +02:00
Matthias
40df303122
Merge pull request #2184 from hroff-1902/backtesting-minor-cleanup2
...
minor: Backtesting cleanup
2019-08-27 06:14:02 +02:00
hroff-1902
d9c2b7d460
fix fetching ticker_interval from strategy
2019-08-26 22:31:24 +03:00
Matthias
0e62b8bd85
Update strategy_version to INTERFACE_VERSION
2019-08-26 20:16:03 +02:00
Matthias
b5789203f2
Merge branch 'develop' into timeframe_use_ccxt
2019-08-26 19:48:58 +02:00
Matthias
92011f8294
Introduce strategy_version variable
2019-08-26 19:44:33 +02:00
Matthias
4fcfb1eaca
Merge pull request #2180 from freqtrade/refactor_download
...
[Refactor] Logic for download-data to history
2019-08-26 06:13:19 +02:00
hroff-1902
bfc68ec792
minor cleanup in Backtesting
2019-08-25 23:36:42 +03:00
Matthias
513e84880e
Don't escape ticks where it's not needed
2019-08-25 20:38:51 +02:00
Matthias
da7da2ce52
Change tests to split function
2019-08-25 15:06:47 +02:00
Matthias
3232251fea
Refactor downloading ohlcv from utils to history
2019-08-25 15:01:27 +02:00
Matthias
e603cca7a5
Testing with now() should not pass in date/time
2019-08-25 10:53:56 +02:00
Matthias
565a543b7b
Use ccxt base methods to round timeframe
2019-08-25 10:34:56 +02:00
Matthias
5e12b05424
Improve test coverage
2019-08-25 10:18:55 +02:00
Matthias
a4c8b5bf5d
Move binance-specific test to test_binance.py
2019-08-25 10:08:06 +02:00
Matthias
cbf09b5ad9
Improve docstring for Exception
2019-08-25 10:07:47 +02:00
Matthias
2c66b33fd1
Adapt some tests to use Binance subclass for stoplosslimit
2019-08-25 09:57:21 +02:00
Matthias
067c122bf3
Adapt test to use Binance class
2019-08-25 09:52:21 +02:00
Matthias
defa1c027d
Move stoploss_limit to binance subclass
2019-08-25 09:50:37 +02:00
Matthias
ea179a8e38
stoploss_limit shall not use create_order()
...
It needs to handle exceptions differently
2019-08-25 09:43:10 +02:00
Matthias
8a17615b5a
move exceptionhandling from create_order() to calling functions
2019-08-25 09:42:02 +02:00
Matthias
365b9c3e9c
Add test to correctly handle unsuccessfull ordercreation
2019-08-24 18:06:33 +02:00
Matthias
3f6eeda3f0
Reset stoploss_order_id when recreating fails
2019-08-24 18:06:14 +02:00
Matthias
3121206afe
correct wrongly named test
2019-08-24 15:35:43 +02:00
Matthias
240936eb19
Small fixes
2019-08-24 15:26:42 +02:00
Matthias
fb498795ad
Improve profit-plot styling
2019-08-24 15:11:31 +02:00
Matthias
2ae398913d
Fix bug in bt-analysis when multiple trades sell at the same time
2019-08-24 15:11:31 +02:00
Matthias
d711b8c0e9
Plot-profit should have subtitles per subplot
2019-08-24 15:11:31 +02:00
Matthias
395414ccde
Refactor init_plotscript a bit (strategy is not needed for plot_profit)
2019-08-24 15:11:31 +02:00
Matthias
9f29ad77bd
fix test after plot_dataframe change
2019-08-24 15:11:31 +02:00
Matthias
545e5c5bc6
simplify load_trades call
2019-08-24 15:11:31 +02:00
Matthias
f8ddb10607
switch indicators to nargs argument type
2019-08-24 15:11:31 +02:00
Matthias
0ef13be577
Test plot_profit
2019-08-24 15:11:31 +02:00
Matthias
c559f95703
Add test for plot-profit
2019-08-24 15:11:31 +02:00
Matthias
f7cb75ff93
Add plot-profit command
2019-08-24 15:11:31 +02:00
Matthias
29076acc69
Add test for analyse_and_plot
2019-08-24 15:11:31 +02:00
Matthias
99b2be90fd
Cleanup plotting (if you have backtest results, no need to download
...
data!)
2019-08-24 15:11:31 +02:00
Matthias
f8c72feea8
Add some initial tests for plot_dataframe
2019-08-24 15:11:31 +02:00
Matthias
69c2b12879
Move plot_dataframe as freqtrade submodule
2019-08-24 15:11:31 +02:00
Matthias
3820a38e79
Merge pull request #2175 from hroff-1902/hyperopt-split-backtesting
...
Hyperopt redesign
2019-08-24 14:39:46 +02:00
Matthias
60bc9f4f5e
Merge pull request #2173 from freqtrade/improve/trailing_validation
...
improve stoploss validation
2019-08-24 09:15:43 +02:00
Matthias
a8842f38ca
Fix wrong exception message
2019-08-24 09:08:08 +02:00
hroff-1902
667a623310
adjust tests
2019-08-24 00:10:55 +03:00
hroff-1902
067208bc9d
make backtesting an attribute of Hyperopt
2019-08-24 00:10:35 +03:00
Matthias
70ebd09de4
Add checks verifying that stoploss is not 0 (and positive-stoploss is
...
also not 0).
2019-08-22 20:04:44 +02:00
Matthias
782f4112cd
Add test checking stoploss == 0 values
2019-08-22 19:49:30 +02:00
hroff-1902
d19b11a00f
exchange cosmetics
2019-08-22 20:01:41 +03:00
Matthias
91b0394433
Merge pull request #2156 from freqtrade/remove_live
...
Remove deprecated option live - deprecate -r
2019-08-22 15:33:39 +02:00
Matthias
aaeeb9c0c6
Merge branch 'develop' into align_userdata
2019-08-21 19:41:10 +02:00
Matthias
13ffb39245
Adjust tests to fixed loading method
2019-08-21 06:59:07 +02:00
Matthias
75b2db4424
FIx loading pairs-list
2019-08-21 06:58:56 +02:00
hroff-1902
fcb0ff1b60
do not round values in the debug message
2019-08-20 23:42:44 +03:00
hroff-1902
31669fde03
test adjusted
2019-08-20 23:28:16 +03:00
hroff-1902
17b3f01b28
Merge branch 'develop' into hyperopt-adaptive-roi-space
2019-08-20 23:00:23 +03:00
hroff-1902
cadf573170
round printed stoploss value as well
2019-08-20 22:24:59 +03:00
hroff-1902
a12876da92
fine printing for floats in the roi tables (round to 5 digits after the decimal point)
2019-08-20 22:17:21 +03:00
Matthias
f02adf2a45
Deprecate --refresh-pairs-cached
2019-08-20 07:00:43 +02:00
Matthias
9e24992835
Remove calls to load_data using live=
2019-08-20 07:00:43 +02:00
Matthias
e9e2a83436
remove --live
references
2019-08-20 07:00:43 +02:00
Matthias
e8ee087e9d
Merge branch 'develop' into download_module
2019-08-20 06:49:18 +02:00
Matthias
c63856dac4
Merge pull request #2158 from freqtrade/config_consistency
...
Config consistency checking improvements
2019-08-20 06:44:41 +02:00
Matthias
9e8ca8d4bf
Merge pull request #2138 from freqtrade/history_docstrings
...
Refactorings to history
2019-08-20 06:35:54 +02:00
Matthias
dc35a8022b
Merge pull request #2157 from freqtrade/fix/create_order_crash
...
create market order crash if exchange raises an exception
2019-08-20 06:22:43 +02:00
Matthias
042e47543c
Merge pull request #2159 from freqtrade/fix/pairlist_logging
...
Fix pairlist logging
2019-08-19 09:48:42 +02:00
Matthias
a4ede02ced
Gracefully handle problems with dry-run orders
2019-08-18 19:38:23 +02:00
Matthias
ea4db0ffb6
Pass object-name to loader to fix logging
2019-08-18 18:11:34 +02:00
Matthias
d785d76370
make VolumePairlist less verbose
...
no need to print the full whitelist on every iteration
2019-08-18 18:11:24 +02:00
Matthias
b6462cd51f
Add explaining comment
2019-08-18 16:22:18 +02:00
Matthias
611850bf91
Add edge/dynamic_whitelist validation
2019-08-18 16:19:24 +02:00
Matthias
ddfadbb69e
Validate configuration consistency after loading strategy
2019-08-18 16:10:10 +02:00
Matthias
045ac1019e
Split test for buy-orders too
2019-08-18 15:58:53 +02:00
Matthias
ee7ba96e85
Don't do calculations in exception handlers when one element can be None
...
fixes #2011
2019-08-18 15:46:38 +02:00
Matthias
8e96ac8765
Split exception tests for create_order
2019-08-18 15:45:30 +02:00
Matthias
acf1e734ec
Adapt lg_has calls to new standard
2019-08-18 15:09:44 +02:00
Matthias
0a478bc0dc
Merge branch 'develop' into align_userdata
2019-08-18 15:00:12 +02:00
hroff-1902
d300964691
code formatting in test_dataprovider.py
2019-08-18 13:06:21 +03:00
hroff-1902
407a3bca62
implementation of ohlcv optimized
2019-08-18 13:00:37 +03:00
hroff-1902
310e438706
logging message improved
2019-08-18 12:55:31 +03:00
hroff-1902
8a2a8ab8b5
docstring for ohlcv improved
2019-08-18 12:47:19 +03:00
hroff-1902
cda912bd8c
test added
2019-08-17 13:05:13 +03:00
hroff-1902
84a0f9ea42
get_pair_dataframe helper method added
2019-08-17 12:57:44 +03:00
Matthias
08fa5136e1
use copy of minimal_config ...
2019-08-17 07:19:46 +02:00
Matthias
7a79b292e4
Fix bug in pairs fallback resolving
2019-08-17 07:05:42 +02:00
Matthias
a53e9e3a98
improve tests for download_module
2019-08-17 07:01:20 +02:00
Matthias
f7d5280f47
Replace ARGS_DOWNLOADER with ARGS_DOWNLOAD_DATA
2019-08-17 06:48:34 +02:00
Matthias
c9207bcc00
Remove blank line at end
2019-08-16 16:01:30 +02:00
Matthias
132f28ad44
Add tests to correctly load / override pair-lists
2019-08-16 15:52:59 +02:00
Matthias
b2c215029d
Add tests for download_data entrypoint
2019-08-16 15:28:11 +02:00
Matthias
89257832d7
Don't use internal _API methods
2019-08-16 15:27:59 +02:00
Matthias
219d0b7fb0
Adjust documentation to removed download-script
2019-08-16 15:27:48 +02:00
Matthias
4e308a1a3e
Resolve pairlist in configuration
2019-08-16 14:56:57 +02:00
Matthias
3c15e3ebdd
Default load minimal config
2019-08-16 14:56:38 +02:00
Matthias
8655e521d7
Adapt some tests
2019-08-16 14:53:46 +02:00
Matthias
05deb9e09b
Migrate download-script logic to utils.py
2019-08-16 14:42:44 +02:00
Matthias
91886120a7
use nargs for --pairs argument
2019-08-16 14:39:29 +02:00
Matthias
09286d4918
file_dump_json accepts Path - so we should feed it that
2019-08-16 13:04:48 +02:00
Matthias
161db08745
Merge pull request #2142 from hroff-1902/hyperopt-print-json
...
Hyperopt: --print-json option
2019-08-16 11:08:54 +02:00
hroff-1902
b94f3e80c4
tests fixed
2019-08-16 04:20:12 +03:00
hroff-1902
2a842778e3
tests added
2019-08-16 01:05:34 +03:00
hroff-1902
e525275d10
make flake and mypy happy
2019-08-15 23:13:46 +03:00
hroff-1902
4fa92ec0fa
hyperopt: --print-json option added
2019-08-15 21:39:04 +03:00
Matthias
69eff89049
Improve comment in test_history to explain what is tested
2019-08-15 20:28:32 +02:00
Matthias
12677f2d42
Adjust docstring to match functioning of load_cached_data
2019-08-15 20:13:19 +02:00
Matthias
a94a89086f
Don't forward timerange to load_ticker_file
...
when loading cached data for updating.
We always want to get all data, not just a fraction (we would end up
overwriting the non-loaded part of the data).
2019-08-15 20:09:00 +02:00
Matthias
80a71323cc
Merge pull request #2141 from ahonnecke/fstring-runtime
...
f the string
2019-08-15 19:33:57 +02:00
Ashton Honnecke
fd77f699df
f the string
2019-08-15 10:41:02 -06:00
Matthias
93cf2cd19b
Merge pull request #2135 from freqtrade/ohlcv_docstring
...
[minor] Improve docstring for some downloading methods
2019-08-15 16:23:42 +02:00
Matthias
f5e437d8c7
Change create_trade to create_trades for new test
2019-08-15 06:59:45 +02:00
Matthias
14c4854987
Merge branch 'develop' into lock_pairs
2019-08-15 06:56:39 +02:00
Matthias
9f26c4ebdc
Merge branch 'develop' into fix/sell_order_hanging
2019-08-15 06:46:12 +02:00
Matthias
11790fbf01
Fix typos in docstrings
2019-08-15 06:37:26 +02:00
Matthias
f3e6bcb20c
Avoid using negative indexes
2019-08-15 06:35:50 +02:00
Matthias
b2a22f1afb
Fix samll errors
2019-08-14 21:39:53 +02:00
Matthias
9d3322df8c
Adapt history-tests to new load_cached_data header
2019-08-14 20:49:13 +02:00
Matthias
91d1061c73
Abstract tickerdata storing
2019-08-14 20:49:06 +02:00
Matthias
0ffb184eba
Change some docstrings and formatting from history
2019-08-14 20:45:24 +02:00
hroff-1902
5b9711c002
adaptive roi_space
2019-08-14 13:25:49 +03:00
Matthias
096a6426db
Override equality operator
2019-08-14 10:22:54 +02:00
Matthias
84baef922c
Rename get_history to get_historic_ohlcv
2019-08-14 10:14:54 +02:00
Matthias
51c3a31bb5
Correct imports and calls to parse_timerange
2019-08-14 10:07:32 +02:00
Matthias
06fa07e73e
Move parse_timerange to TimeRange class
2019-08-14 10:07:14 +02:00
Matthias
4da2bfefb7
Improve docstring for some downloading methods
2019-08-14 09:37:17 +02:00
Matthias
3b30aab8a7
Merge pull request #2132 from freqtrade/process_return_value
...
allow create_trade() to create multiple trades per iteration
2019-08-14 07:23:05 +02:00
Matthias
c2e9685e04
Merge pull request #2121 from hroff-1902/config-allow-comments
...
Allow comments in config files
2019-08-14 06:37:33 +02:00
Matthias
d6f5f6b7ba
Add test with preexisting trades
2019-08-14 06:21:15 +02:00
Matthias
a4ab42560f
improve docstring for create_trades
2019-08-14 06:16:59 +02:00
Matthias
a76136c010
Rename create_trade to create_trades
2019-08-14 06:16:43 +02:00
Matthias
e35a349229
Fix spelling of interface.py docstring
2019-08-14 06:07:03 +02:00
Matthias
c0784b7c33
Merge pull request #2089 from hroff-1902/hyperopt-print-colorized
...
Hyperopt print colorized results
2019-08-13 19:36:06 +02:00
Matthias
9d476b5ab2
Also check 0 open trades
2019-08-13 10:34:27 +02:00
Matthias
0a07dfc5cf
Add test verifying that multiple trades are opened in one iteration
2019-08-13 10:20:32 +02:00
Matthias
d69f7ae471
Adapt final tests to support multi-trade creation
2019-08-13 10:15:31 +02:00
Matthias
974d899b33
Adapt some more tests
2019-08-13 10:12:12 +02:00
Matthias
6948e0ba84
Handle orderbook_depth check correctly
2019-08-13 10:12:02 +02:00
Matthias
a325f1ce2b
adapt some tests
...
since create_trade() can now buy multiple times, we need to use
execute_buy() to create a single trade
2019-08-13 10:01:43 +02:00
Matthias
997eb7574a
Support creating multiple trades in one iteration
2019-08-13 10:01:29 +02:00
Matthias
8873e0072c
process_maybe_execute_buy does not need to return bool
2019-08-13 09:42:22 +02:00
Matthias
c29389f5f3
Remove process() checks from tests
2019-08-13 09:38:21 +02:00
Matthias
4b8eaaf7aa
freqtradebot.process() does not need to return anything
2019-08-13 09:37:56 +02:00
Matthias
8d813fa728
Remove return-value for _process
2019-08-13 09:36:52 +02:00
Matthias
28e318b646
Lock pairs for stoploss_on_exchange fills too
2019-08-13 08:47:11 +02:00
Matthias
2961efdc18
Initial test for locked pair
2019-08-13 08:38:19 +02:00
Matthias
3c589bb877
fail if known bad exchanges are detcted
2019-08-13 08:27:46 +02:00
Matthias
d8dbea9d5b
Add exchange_reasons to bad exchanges
2019-08-13 08:20:35 +02:00
Matthias
f960ea039e
Remove duplicate test
2019-08-13 08:05:51 +02:00
hroff-1902
906be7be7c
Merge branch 'develop' into config-allow-comments
2019-08-13 00:14:19 +03:00
hroff-1902
58d308fd05
fix handling --no-color for edge and backtesting
2019-08-12 23:13:04 +03:00
Matthias
59acd5ec7c
Lock pair for the rest of the candle in case of sells
2019-08-12 20:39:34 +02:00
Matthias
ca739f71fb
Fix default argument handling for timeframe_to_nextdate
2019-08-12 20:39:24 +02:00
Matthias
23a70932d2
Remove pointless tests (without config?? really?)
2019-08-12 20:36:45 +02:00
hroff-1902
1a34b9b61c
--no-color option introduced
2019-08-12 21:08:34 +03:00
hroff-1902
8f92912852
final colorization schema
...
colorization schema-2: red, green, bright/dim
colorization schema-3: red, green, bright only green bests
colorization schema-4: no red, green for profit, bright for bests
2019-08-12 21:08:52 +03:00
Matthias
2600cb7b64
simplify timeframe_next_date calculation
2019-08-12 20:04:19 +02:00
Matthias
200b6ea10f
Add is_pair_locked
2019-08-12 19:50:38 +02:00
Matthias
feced71a6d
Test closing sell-orders immediately
2019-08-12 16:47:00 +02:00
Matthias
444ee274d7
close dry-run orders in case of market orders
2019-08-12 16:46:45 +02:00
Matthias
bb0b160001
Remove duplicate test
2019-08-12 16:39:21 +02:00
Matthias
241d510096
Handle and update sell-orders immediately if they are closed
2019-08-12 16:34:55 +02:00
Matthias
c042d08bb7
Add lock_pairs to interface
2019-08-12 16:29:09 +02:00
Matthias
1ce63b5b42
Reformat tests to be easier readable
2019-08-12 16:25:01 +02:00
Matthias
dd0ba183f8
Add timeframe_to_prev_candle
2019-08-12 16:11:43 +02:00
Matthias
933a553dd4
Convert timeframe to next date
2019-08-12 16:08:23 +02:00
Matthias
af67bbde31
Test timeframe_to_x
2019-08-12 15:43:10 +02:00
Matthias
6310b40fc6
Merge pull request #2123 from freqtrade/hyperoptloss_help
...
[minor] Improve hyperopt-loss docs
2019-08-12 14:08:32 +02:00
Matthias
51ad8f5ab4
Merge branch 'develop' into log_has_ref
2019-08-12 06:49:41 +02:00
Matthias
615ce6aa69
Merge pull request #2118 from freqtrade/config_standalone
...
Config standalone loading
2019-08-12 06:47:52 +02:00
Matthias
43b41324e2
Improve hyperopt-loss docs
2019-08-12 06:45:27 +02:00
Matthias
91b0db138a
Merge pull request #2122 from hroff-1902/hyperopt-cleanup3
...
Minor: cosmetics in sample_hyperopt and default_hyperopt
2019-08-12 06:41:00 +02:00
Matthias
002003292e
Merge branch 'develop' into log_has_ref
2019-08-12 06:34:49 +02:00
Matthias
0b367a14f1
Merge pull request #2119 from freqtrade/disable_sloE_dry
...
Disable stoploss on exchange during dry-runs
2019-08-12 06:12:22 +02:00
hroff-1902
e5dcd520ba
cosmetics in sample_hyperopt and default_hyperopt
2019-08-12 02:19:50 +03:00
hroff-1902
90b75afdb1
test added to load config with comments and trailing commas
2019-08-12 00:33:34 +03:00
hroff-1902
2d60e4b18b
allow comments and trailing commas in config files
2019-08-12 00:32:03 +03:00
Matthias
b77c0d2813
Replace all "logentry" in caplog_record_tuples
...
use log_has to have checking log-entries standardized.
2019-08-11 20:22:50 +02:00
Matthias
a636dda07d
Fix remaining tests using log_has
2019-08-11 20:17:39 +02:00
Matthias
dc5719e1f4
Adapt rpc to new log_has method
2019-08-11 20:17:22 +02:00
Matthias
d53f63023a
Change log_has to get caplog instead of caplog.record_tuples in more
...
tests
2019-08-11 20:16:52 +02:00
Matthias
0221607318
Change log_has for some tests
2019-08-11 20:16:34 +02:00
Matthias
a1b5c7242e
Change log-has to use record_tuples itself
2019-08-11 20:14:58 +02:00
Matthias
a225672c87
Add tests for dry-run stoposs_on_exchange
2019-08-11 19:45:31 +02:00
Matthias
4b4fcc7034
Change stoploss_on_exchange in freqtradebot
2019-08-11 19:43:57 +02:00
Matthias
e02e64fc07
Add test to make sure dry-run disables stoploss on exchange
2019-08-11 14:15:04 +02:00
Matthias
176beefa88
Disable stoploss on exchange for dry-runs
2019-08-11 14:14:51 +02:00
Matthias
1a85e3b4cd
Fix numpy warning
2019-08-11 13:48:41 +02:00
hroff-1902
5209ce5bfa
tests: don't mask numpy errors as warnings in tests
2019-08-11 13:46:41 +02:00
Matthias
2c5a499a8b
Merge branch 'develop' into align_userdata
2019-08-10 20:15:07 +02:00
Matthias
6d89da45b0
Add test for from_config
2019-08-10 20:02:11 +02:00
Matthias
eb328037b7
combine normalize method and config validation to in_files
2019-08-10 19:58:04 +02:00
Matthias
afba31c3f9
change method from _load_config_Files to from_files()
2019-08-10 19:57:49 +02:00
Matthias
8ba7657007
Merge pull request #2117 from hroff-1902/config-load-config
...
Minor configuration cleanup
2019-08-10 19:34:03 +02:00
hroff-1902
48d8376878
tests fixed
2019-08-10 18:47:58 +03:00
Matthias
74e583a612
Merge pull request #2094 from hroff-1902/hyperopt-roi-stoploss
...
Simplify custom hyperopts -- no need to copy ugly methods in every custom implementation
2019-08-10 15:49:52 +02:00
hroff-1902
28d8fc871a
tests adjusted
2019-08-10 16:07:30 +03:00
hroff-1902
50c9679e23
move load_config_file() to separate module
2019-08-10 14:24:14 +03:00
hroff-1902
ae39f6fba5
use of termcolor eliminated
2019-08-09 14:51:03 +03:00
Cedric Schmeits
8ad5afd3a1
As -sharp_ratio is returned the value should be nagative.
...
This leads in a high positive result of the loss function, as it is a minimal optimizer
2019-08-08 22:10:51 +02:00
hroff-1902
0d4a2c6c3a
advanced sample hyperopt added; changes to helpstrings
2019-08-08 22:51:37 +03:00
Matthias
3d3b0938e5
Merge pull request #2101 from freqtrade/backtest_ticker_interval_unset
...
Backtest ticker interval unset
2019-08-07 14:20:36 +02:00
Matthias
caf4580346
Use UTC Timezone for test
2019-08-06 20:23:32 +02:00
Matthias
a90ced1f38
Since arguments are in milliseconds integer throughout ccxt.
...
Explained here: https://github.com/ccxt/ccxt/issues/5636
fixes #2093
2019-08-06 20:09:09 +02:00
Matthias
6c0c77b3a1
Merge pull request #2096 from freqtrade/fix/cons_buys_1971
...
Evaluate current candle during backtesting
2019-08-06 13:46:16 +02:00
Matthias
81f773054d
Add test to verify ticker_inteval is set
2019-08-06 06:56:08 +02:00
Matthias
7e91a0f4a8
Fail gracefully if ticker-interval is not set
2019-08-06 06:45:44 +02:00
Matthias
9d471f3c9a
Fix documentation for strategy-list
2019-08-06 06:32:31 +02:00
Matthias
c7d0329754
Clean up comments of detail-backtests
2019-08-05 20:19:19 +02:00
Matthias
bc2e920ae2
Adjust code to verify "current" candle for buy/sells
2019-08-05 20:07:29 +02:00
Matthias
3721610a63
Add new detailed trade-scenario tests
...
covers cases raised in #1971
2019-08-05 20:06:42 +02:00
hroff-1902
c6444a10a8
move roi_space, stoploss_space, generate_roi_table to IHyperOpt
2019-08-05 18:07:25 +03:00
Matthias
383b24ab84
Merge branch 'develop' into align_userdata
2019-08-05 06:55:51 +02:00
hroff-1902
9cbab35de0
colorization by means of termcolor and colorama
2019-08-04 22:54:19 +03:00
Matthias
eeecdd4e5a
Merge pull request #2092 from freqtrade/split_analyze_ticker
...
Split analyze_ticker
2019-08-04 19:37:52 +02:00
Matthias
2af663dccb
rename _analyze_ticker_int to _analyze_ticker_internal
2019-08-04 12:55:03 +02:00
Matthias
0be7e2ef70
Merge pull request #2090 from freqtrade/fix/plotting_DB
...
load_trades_db should give as many columns as possible
2019-08-04 12:52:39 +02:00
Matthias
4d1ce8178c
intend if to be clearer
2019-08-04 10:38:37 +02:00
Matthias
e4380b533b
Print plot filename so it can be easily opened
2019-08-04 10:25:46 +02:00
Matthias
62262d0bb5
improve docstring of _analyze_ticker_int
2019-08-04 10:21:22 +02:00
Matthias
52d92cba90
Split analyze_ticker and _analyze_ticker_int
2019-08-04 10:20:31 +02:00
Matthias
d1838dceec
Merge pull request #2086 from freqtrade/fix_restricted_markets
...
Restricted pairs warning
2019-08-04 09:25:59 +02:00
Matthias
c4e30862ee
load_trades_db should give as many columns as possible
2019-08-03 19:55:54 +02:00
hroff-1902
fe796c46c3
test adjusted
2019-08-03 19:13:18 +03:00
hroff-1902
f200f52a16
hyperopt print colorized results
2019-08-03 19:09:42 +03:00
Matthias
b3e6e710d8
Merge pull request #2084 from hroff-1902/hyperopt-print-params4
...
Improvements to hyperopt output
2019-08-03 13:24:47 +02:00
Matthias
ad55faafa8
Fix odd test
2019-08-03 13:18:37 +02:00
Matthias
bbd58e772e
Warn when using restricted pairs
...
As noted in https://github.com/ccxt/ccxt/issues/5624 , there is currently
no way to detect if a user is impacted by this or not prior to creating
a order.
2019-08-03 13:14:36 +02:00
hroff-1902
e8b2ae0b85
tests adjusted
2019-08-03 11:34:09 +03:00
hroff-1902
13620df717
'with values:' line removed
2019-08-03 11:05:05 +03:00
hroff-1902
3b65c986ee
wordings fixed
2019-08-03 10:20:20 +03:00
hroff-1902
cad7d9135a
tests: hide deprecation warning due to use of --live
2019-08-03 09:24:27 +03:00
hroff-1902
aa8f44f68c
improvements to hyperopt output
2019-08-02 22:22:58 +03:00
Matthias
39e8e507d9
Merge branch 'develop' into align_userdata
2019-08-02 20:08:26 +02:00
Matthias
e8be357624
Merge pull request #2079 from hroff-1902/hyperopt-print-params3
...
minor: cleanup in hyperopt
2019-08-02 20:02:46 +02:00
Matthias
76d22bc743
Show correct valueerror message
2019-08-02 09:41:24 +02:00
hroff-1902
3ccfe88ad8
tests adjusted
2019-08-01 23:57:50 +03:00
hroff-1902
065ebd39ef
cleanup in hyperopt
2019-08-01 23:57:26 +03:00
Matthias
bcccdda7c0
Merge branch 'develop' into align_userdata
2019-08-01 19:33:45 +02:00
Matthias
4c005e7086
Merge pull request #2075 from hroff-1902/hyperopt-cleanup2
...
minor: hyperopt cleanups and output improvements
2019-08-01 07:08:50 +02:00
Matthias
2a141af42e
Only create userdir when explicitly requested
2019-07-31 19:39:54 +02:00
Matthias
8cef567abc
create and use hyperopt-results folder
2019-07-31 07:10:17 +02:00
Matthias
5d22d541f2
Add forgotten directory
2019-07-31 06:58:26 +02:00
Matthias
c3d14ab9b9
don't use "folder" ...
2019-07-31 06:54:45 +02:00
Matthias
0488525888
Fix some documentation errors
2019-07-31 06:49:25 +02:00
hroff-1902
b976f24672
tests adjusted
2019-07-30 11:47:46 +03:00
hroff-1902
8f1f416a52
hyperopt cleanup and output improvements
2019-07-30 11:47:28 +03:00
Matthias
7a97995d81
2017.7-dev version bump
2019-07-29 20:30:14 +02:00
Matthias
e64509f1b4
Version bump to 2019.7
2019-07-29 20:27:50 +02:00
Matthias
8066aba6fe
Merge pull request #2044 from freqtrade/pyup/scheduled-update-2019-07-22
...
Scheduled weekly dependency update for week 29
2019-07-29 19:37:28 +02:00
Matthias
03e60b9ea4
Rename folder_Operations to directory_operations
2019-07-29 06:15:49 +02:00
Matthias
b691fb7f2d
Fix some hyperopt tests
2019-07-28 15:19:17 +02:00
Matthias
73ac98da80
Small fixes while tsting
2019-07-28 15:11:41 +02:00
Matthias
14b43b504b
Use user_data_dir for hyperopt
2019-07-28 15:05:17 +02:00
Matthias
a3c605f147
PairListResovler to use user_data_dir
2019-07-28 14:58:06 +02:00
Matthias
333413d298
Add default_conf to strategy tests
2019-07-28 14:58:06 +02:00
Matthias
9de8d7276e
have strategyresolver use user_data_dir
2019-07-28 14:57:05 +02:00
Matthias
432b106d58
Improve docstring, remove unneeded method
2019-07-28 14:57:05 +02:00
Matthias
2c7a248307
Use user_data_dir in hyperopt
2019-07-28 14:57:05 +02:00
Matthias
113947132c
user_data_dir is PATH in config, not str
2019-07-28 14:57:05 +02:00
Matthias
0a253d66d0
Remove os.path from hyperopt
2019-07-28 14:57:05 +02:00
Matthias
ae0e001187
Fix some bugs in tests
2019-07-28 14:57:05 +02:00
Matthias
eab82fdec7
plot-scripts use user_data_dir
2019-07-28 14:57:05 +02:00
Matthias
1b2581f0cb
Add user_data_dir to configuration
2019-07-28 14:57:05 +02:00
Matthias
56c8bdbaa2
Test create-userdir command line option
2019-07-28 14:57:05 +02:00
Matthias
23435512c4
Add create-userdir command to initialize a user directory
2019-07-28 14:57:05 +02:00
Matthias
6c3a0eb1d6
add create_userdir function
2019-07-28 14:55:19 +02:00
Matthias
c85cd13ca1
Change default backtest result to "backtest_results" - backtest_data is
...
misleading
2019-07-28 14:55:19 +02:00
Matthias
e4b994381b
Merge pull request #2060 from hroff-1902/improve-logging
...
Improve logging: output divider in logs between throttles
2019-07-28 14:45:16 +02:00
hroff-1902
bc299067aa
get rid of pandas warning in pytest
2019-07-27 23:24:06 +03:00
hroff-1902
c2deb1db25
eliminate warnings in pytest when testing handling of the deprecated strategy interfaces
2019-07-26 14:23:00 +03:00
Matthias
16716ad028
Merge pull request #2057 from freqtrade/refactor/argument_location
...
Move argument definitions to their own file
2019-07-26 06:19:04 +02:00
Matthias
fef8fe8525
Merge pull request #2055 from freqtrade/get_order_exception
...
Get order exception
2019-07-26 06:17:15 +02:00
Matthias
20b51da180
Merge pull request #2056 from freqtrade/deprecate_live_bt
...
Deprecate live bt
2019-07-26 06:02:27 +02:00
hroff-1902
785a7a22bc
output divider in logs between throttles
2019-07-26 04:02:34 +03:00
hroff-1902
bf1c197a37
import errors fixed
2019-07-26 02:21:31 +03:00
Matthias
3c3a902a69
Move argument definitions to their own file
2019-07-25 20:42:08 +02:00
Matthias
7ee971c3e3
Add simple method to add deprecations to cmd line options
2019-07-25 20:35:20 +02:00
Matthias
098a23adc6
Merge pull request #2048 from hroff-1902/hyperopt-loss-onlyprofit2
...
minor: add OnlyProfitHyperOptLoss
2019-07-25 20:18:05 +02:00
Matthias
4b8b2f7c5b
Use raise xxx from e to have a nicer traceback
2019-07-25 20:06:20 +02:00
Matthias
e1b8ff798f
Add test to verify that get_order was successfully cought
2019-07-25 20:05:48 +02:00
Matthias
05b1854946
Gracefully handle InvalidOrderException.
2019-07-25 19:56:59 +02:00
hroff-1902
f58668fd67
test added
2019-07-25 20:54:12 +03:00
hroff-1902
e9b77298a7
max() removed
2019-07-25 08:17:41 +03:00
Matthias
a0cecc6c52
Fix test after pandas 0.25.0 update
2019-07-24 06:29:50 +02:00
hroff-1902
0c2c094db6
minor: add OnlyProfitHyperOptLoss
2019-07-23 18:51:24 +03:00
Matthias
60cf56e235
Adapt tests to always provide message for ccxt exceptions
...
Changes introduced in https://github.com/ccxt/ccxt/pull/5470
2019-07-22 20:59:49 +02:00
Matthias
482f5f7a26
Update plotly dependencies (will break 3.x installations)
2019-07-22 20:39:38 +02:00
hroff-1902
04382d4b44
add --hyperopt-path option
2019-07-22 20:23:18 +03:00
Matthias
d2ad32eef8
partially revert last commit(DefaultStrategy import IS needed).
...
* don't run functions in travis in a way we don't support
2019-07-21 19:56:43 +02:00
Matthias
1fea6d394a
Import DefaultStrategy from the correct file
2019-07-21 19:31:50 +02:00
Matthias
dcddfce5bc
Fix small mistakes
2019-07-21 19:21:50 +02:00
Matthias
e6528be63d
Config is not optional for hyperopt resolver
2019-07-21 16:20:45 +02:00
Matthias
08ca260e82
Simplify return valuef rom _load_object
2019-07-21 15:29:17 +02:00
Matthias
88eb93da52
Fix base64 strategy test to make sure strategy was loaded via base64
2019-07-21 15:16:19 +02:00
Matthias
b35efd96dc
Extract load_object from multiple paths to iResolver
2019-07-21 15:03:12 +02:00
Matthias
89db5c6bab
Extract strategy-specific stuff from search logic
...
will allow extracting all to IResolver
2019-07-21 14:52:59 +02:00
Matthias
790838d897
Merge pull request #2024 from freqtrade/custom_hyperopt_loss
...
Custom hyperopt loss function (and sharpe-ratio)
2019-07-20 12:48:26 +02:00
Matthias
4d0cf9ec8e
Merge pull request #2033 from hroff-1902/remove-dynamic-whitelist-option
...
remove deprecated --dynamic-whitelist option
2019-07-19 06:38:54 +02:00
Matthias
299f673a8e
Merge pull request #2029 from freqtrade/create_datadir_pathlib
...
[minor] Convert create_datadir to Pathlib
2019-07-19 06:36:11 +02:00
Matthias
fa8904978b
Don't use --hyperopt-loss-class, but --hyperopt-loss instead
2019-07-19 06:31:49 +02:00
hroff-1902
7af24dc486
cleanup Arguments: name attrs and methods as non-public
2019-07-18 21:43:40 +03:00
Matthias
e01c0ab4d6
Improve doc wording
2019-07-18 20:02:28 +02:00
Matthias
8b4827ad85
Convert create_datadir to Pathlib
2019-07-18 19:48:19 +02:00
hroff-1902
50d2950e6b
add -V alias for --version
2019-07-18 12:12:34 +03:00
hroff-1902
96564d0dad
remove deprecated --dynamic-whitelist option
2019-07-18 10:45:47 +03:00
Matthias
49b95fe008
use Path.cwd() instead of odd parent.parent.parent structure
2019-07-17 20:52:17 +02:00
Matthias
639a4d5cf7
Allow importing interface from hyperopt.py
2019-07-17 07:15:43 +02:00
Matthias
0e500de1a0
Add sample loss and improve docstring
2019-07-17 06:32:24 +02:00
Matthias
c5b244419d
Merge branch 'develop' into custom_hyperopt_loss
2019-07-17 06:27:42 +02:00
Matthias
8ccfc0f316
Remove unused variables
2019-07-17 06:24:40 +02:00
hroff-1902
be26ba8f8f
rename _load_*_config() methods to _process_*_options()
2019-07-16 23:00:19 +03:00
Matthias
12679da5da
Add test for hyperoptresolver
2019-07-16 06:50:25 +02:00
Matthias
ec49b22af3
Add sharpe ratio hyperopt loss
2019-07-16 06:45:13 +02:00
Matthias
d23179e25c
Update hyperopt-loss to use resolver
2019-07-16 06:27:43 +02:00
Matthias
7d62bb8c53
Revert --clean argument to --continue
2019-07-16 05:51:26 +02:00
Matthias
07a1c48e8c
Fix wrong intendation for custom-hyperopt check
2019-07-15 23:14:07 +02:00
Matthias
7be25313a5
Add some mypy ignores
2019-07-15 22:59:28 +02:00
Matthias
55e8092cbf
Add sharpe ratio as loss function
2019-07-15 22:52:33 +02:00
Matthias
e5170582de
Adapt tests to new loss-function method
2019-07-15 22:45:14 +02:00
Matthias
710443d200
Add documentation for custom hyperopt
2019-07-15 21:38:49 +02:00
Matthias
2a20423be6
Allow loading custom hyperopt loss functions
2019-07-15 21:35:42 +02:00
hroff-1902
8096a1fb04
minor: configuration cleanup
2019-07-15 22:17:57 +03:00
Matthias
2fedae6060
Move unnecessary things out of generate_optimizer
2019-07-15 20:31:55 +02:00
Matthias
b1b4048f97
Add test for hyperopt
2019-07-15 20:28:02 +02:00
Matthias
107f00ff8f
Add hyperopt option to clean temporary pickle files
2019-07-15 20:17:15 +02:00
Matthias
5144e98a82
Merge pull request #2015 from hroff-1902/refactor/config2
...
Make configuration a module
2019-07-15 19:41:57 +02:00
Matthias
3ae94520c3
Merge pull request #2019 from freqtrade/small/cleanups
...
[Minor] Small code cleanups
2019-07-15 17:29:32 +02:00
Matthias
cbe25178d7
Merge pull request #2009 from hroff-1902/fix-2008
...
fix #2008
2019-07-15 10:55:33 +02:00
hroff-1902
007703156b
do not export ARGS_* from configuration
2019-07-15 01:55:35 +03:00
hroff-1902
9cae2900d4
get rid of patched_configuration_open() in tests
2019-07-15 01:44:25 +03:00
Matthias
e955b1ae09
Use log_has_re instead of plain regex filters for log messages
2019-07-14 20:21:57 +02:00
Matthias
dadf8adb3e
Replace filter usage
2019-07-14 20:14:35 +02:00
Matthias
4238ee090d
Cleanup some code
...
after deepcode.ai suggestions
2019-07-14 20:05:28 +02:00
hroff-1902
65f77306d3
using logger.debug, info was too noisy
2019-07-14 21:00:48 +03:00
hroff-1902
efbc7cccb1
enable --dmmp for hyperopt
2019-07-14 20:56:17 +03:00
Matthias
a8f3f2bc1a
Extend test to cover market orders with price too
2019-07-14 14:23:23 +02:00
Matthias
25822d1717
Add empty options dict to all tests using create_order
2019-07-14 14:18:30 +02:00
Matthias
9887cb997e
Check if Price is needed for market orders
...
This is currently the case for:
cex, coinex, cointiger, fcoin, fcoinjp, hadax, huobipro, huobiru, uex,
2019-07-14 14:17:09 +02:00
Matthias
2e1269c474
Revert comment for Exception that's not changed
2019-07-14 13:30:57 +02:00
hroff-1902
b499e74502
minor improvements to resolvers
2019-07-12 23:45:49 +03:00
hroff-1902
bbfbd87a9f
move create_datadir() to separate file
2019-07-12 03:31:36 +03:00
hroff-1902
7e103e34f8
flake happy
2019-07-12 01:41:09 +03:00
hroff-1902
94e6fb89b3
tests happy
2019-07-12 00:49:23 +03:00
hroff-1902
1bdffcc73b
make configuration a sep. module, including arguments
2019-07-12 00:49:23 +03:00
hroff-1902
e993e010f4
Fix #2013
2019-07-11 23:02:57 +03:00
hroff-1902
c474e2ac86
fix #2008
2019-07-10 01:53:40 +03:00
hroff-1902
322227bf67
fix #2005
2019-07-09 00:59:34 +03:00
Matthias
87ff1e8cb0
Merge pull request #2002 from hroff-1902/refactor/arguments2
...
minor: refactoring arguments and configuration
2019-07-08 16:56:25 +02:00
Matthias
61b24180f0
Merge pull request #1998 from freqtrade/fix/pax_balance
...
Support all types of pairs for /balance
2019-07-08 16:31:57 +02:00
hroff-1902
15d2cbd6df
loggers: wording improved
2019-07-07 10:17:01 +03:00
hroff-1902
f7a2428deb
max_open_trades may be -1
2019-07-07 10:13:00 +03:00
Matthias
6c2415d32f
Rename parameters from pair to curr
2019-07-07 06:36:35 +02:00
hroff-1902
84d3868994
rename loglevel --> verbosity, because it's not logging level
2019-07-07 02:53:13 +03:00
hroff-1902
f89b2a18e0
fix loglevel in conftest -- it's actually the verbosity level
2019-07-07 02:42:03 +03:00
hroff-1902
8114d790a5
commit forgotten loggers.py
2019-07-07 01:40:52 +03:00
hroff-1902
082065cd50
minor cosmetics in arguments.py
2019-07-07 01:20:26 +03:00
hroff-1902
a65b5f8e02
make some more arguments positive integers
2019-07-07 01:10:41 +03:00
hroff-1902
d8f133aaf3
remove duplicated loglevel option
2019-07-07 00:51:01 +03:00
hroff-1902
8e272e5774
minor: cosmetics in arguments.py
2019-07-07 00:48:39 +03:00
hroff-1902
ce2a5b2838
move loggers setup out of configuration
2019-07-07 00:31:48 +03:00
Matthias
17800c8ca5
Remove folder references (it's directory!)
2019-07-04 19:57:38 +02:00
Matthias
5c6039fd8b
Fix #1997 - rename folder to dir
2019-07-04 19:53:50 +02:00
Matthias
40fe2d2c16
Test get_valid_pair_combination
2019-07-03 20:20:12 +02:00
Matthias
1bcf2737fe
Add tests for new behaviour
2019-07-03 20:07:26 +02:00
Matthias
fcdbe846e5
Fix #1981 - Detect reverted currency pairs
2019-07-03 20:06:50 +02:00
Matthias
d055dc0c6e
Merge pull request #1993 from freqtrade/refactor/arguments
...
Remove duplicate keyword from arguments
2019-07-03 12:01:41 +02:00
Matthias
e19c192570
Merge pull request #1994 from hroff-1902/fix-validate_timeframes
...
fix validate_timeframes()
2019-07-03 11:11:28 +02:00
hroff-1902
b80cef964e
fix validate_timeframes(); test added
2019-07-03 11:18:39 +03:00
Matthias
b43594e4eb
Merge pull request #1996 from hroff-1902/fix/1995
...
fix #1995
2019-07-03 06:44:23 +02:00
Matthias
0908863e07
Merge pull request #1987 from freqtrade/plot_script_changes
...
Plot script changes
2019-07-03 06:43:34 +02:00
Matthias
b3644f7fa0
Fix typo in docstring
2019-07-03 06:26:39 +02:00
hroff-1902
d41b8cc96e
catch ccxt.BaseError
2019-07-03 05:13:41 +03:00
hroff-1902
91fb9d0113
fix #1995
2019-07-03 05:02:44 +03:00
Matthias
85ac217abc
Remove duplicate keyword from arguments
2019-07-02 20:33:27 +02:00
Matthias
0d601fd111
Remove logger message
2019-07-01 06:18:28 +02:00
Matthias
01904d3c1e
Test not having timeframe available on exchange object
2019-06-30 20:30:57 +02:00
Matthias
0c7d14fe50
Check if timeframes is available and fail gracefully otherwise
2019-06-30 20:30:31 +02:00
Matthias
79ae3c2f2e
Merge pull request #1977 from hroff-1902/cleanup/freqtradebot
...
partial freqtradebot cleanup
2019-06-30 19:52:35 +02:00
Matthias
59818af69c
Remove common_datearray function
2019-06-30 13:18:22 +02:00
Matthias
44e0500958
Test init_plotscript
2019-06-30 13:01:12 +02:00
Matthias
db59d39e2c
Don't use class for plotting
...
This will allow easy usage of the methods from jupter notebooks
2019-06-30 11:08:02 +02:00
Matthias
587d71efb5
Test generate_profit_plot
2019-06-30 10:47:55 +02:00
Matthias
c7a4a16eec
Create generate_plot_graph
2019-06-30 10:31:36 +02:00
Matthias
0b517584aa
Use add_profit in script
2019-06-30 10:26:53 +02:00
Matthias
5a11ffcad8
Add test for add_profit
2019-06-30 10:24:10 +02:00
Matthias
0a184d380e
create add_profit function
2019-06-30 10:14:33 +02:00
Matthias
6b387d320e
extract combine_tickers to btanalysis
2019-06-30 10:04:43 +02:00
Matthias
348513c151
Improve formatting of plotting.py
2019-06-30 09:47:07 +02:00
Matthias
0d5e94b147
Rename generate_row to add_indicators
2019-06-30 09:44:50 +02:00
Matthias
42ea0a19d2
create FTPlots class to combine duplicate script code
2019-06-30 09:41:43 +02:00
Matthias
700bab7279
Rename generate_plot_file to store_plot_file
2019-06-30 09:28:34 +02:00
Matthias
8aa327cb8a
Add load_trades abstraction (to load trades from either DB or file)
2019-06-29 20:52:23 +02:00
Matthias
e50eee59cf
Seperate plot-name generation and plotting
2019-06-29 20:38:49 +02:00
Matthias
79b4e2dc85
Rename generate_graph to generate_candlestick_graph
2019-06-29 17:23:33 +02:00
Matthias
edd3fc8825
Add test for create_cum_profit
2019-06-29 17:22:47 +02:00
AlexV
e8796e009c
adding bitstamp to list of bad exchanges.
2019-06-29 17:20:10 +02:00
Matthias
044be3b93e
Add create_cum_profit column
2019-06-29 16:57:04 +02:00
hroff-1902
4f5e212f87
fix #1978
2019-06-28 01:01:51 +03:00
hroff-1902
21bf01a24c
partial freqtradebot cleanup
2019-06-27 22:29:17 +03:00
Matthias
700bc087d3
Merge pull request #1952 from hroff-1902/fix/1948
...
Fix #1948
2019-06-27 19:36:06 +02:00
Matthias
8b99348e98
Merge pull request #1975 from freqtrade/fix/dry_run_bal
...
Show different message for balance during dry-run
2019-06-27 19:34:51 +02:00
Matthias
045f34e851
Merge pull request #1974 from hroff-1902/fix/1963
...
fix #1963
2019-06-27 19:34:17 +02:00
hroff-1902
e5a8030dd7
comment added
2019-06-27 16:42:10 +03:00
Matthias
6643b83afe
Update tests to test both balance versions
2019-06-27 07:06:35 +02:00
Matthias
98681b78b4
Show ifferent message for balance in dry-run
2019-06-27 07:06:11 +02:00
Matthias
f8dd0b0cb3
Use parenteses instead of \ seperators
2019-06-27 06:32:26 +02:00
Matthias
f04d49886b
Add test to verify behaviour if currency in fee-dict is None
2019-06-27 06:29:18 +02:00
Matthias
4459fdf1b1
Merge pull request #1961 from freqtrade/feat/config_refactor
...
Argument handling refactor
2019-06-27 06:06:23 +02:00
Matthias
086d690df7
Merge pull request #1973 from hroff-1902/minor-typos-1
...
minor: couple of typos fixed
2019-06-27 05:49:58 +02:00
hroff-1902
05d93cda16
fix #1963
2019-06-27 01:03:38 +03:00
hroff-1902
6fc6eaf742
minor: couple of typos fixed
2019-06-26 22:23:16 +03:00
Matthias
596cee2dc1
Merge pull request #1972 from freqtrade/update_qtpylib
...
Update qtpylib from source
2019-06-26 20:34:28 +02:00
Matthias
1d5c3f34ae
Update qtpylib from source
2019-06-26 20:00:16 +02:00
Matthias
b92c6cdf35
Cleanup arguments and test_arguments
2019-06-24 20:10:50 +02:00
Matthias
ca5093901b
Use build_args for plot script
2019-06-24 20:08:17 +02:00
Matthias
ba7a0dde06
Use build_args for download script
2019-06-24 20:08:17 +02:00
Matthias
27798c1683
Remove main_options
2019-06-24 20:08:15 +02:00
Matthias
ee312ac230
Use build_args for plot_dataframe script
2019-06-24 20:07:04 +02:00
Matthias
7e82be53cd
Use build_args to build subcomand arguments
2019-06-24 20:05:17 +02:00
Matthias
7017e46ba1
Add dict with all possible cli arguments
2019-06-24 20:05:13 +02:00
Matthias
7166674d6c
Move check_int_positive out of arguments class
2019-06-24 19:55:16 +02:00
Matthias
e1daf02735
UPdate version for develop
2019-06-24 19:46:39 +02:00
Matthias
56e6294873
Version bump to 2019.6
2019-06-24 19:44:14 +02:00
Matthias
31a2aac627
Merge pull request #1959 from freqtrade/split_btanalysis_load_trades
...
Split btanalysis load trades
2019-06-24 19:41:56 +02:00
Matthias
a517779dd7
Merge pull request #1964 from hroff-1902/fix-help-strings-2
...
minor: fix help strings
2019-06-24 14:33:46 +02:00
Matthias
eba7327058
Merge branch 'develop' into split_btanalysis_load_trades
2019-06-24 07:15:14 +02:00
Matthias
a07653a6cc
Merge branch 'develop' into fix/validate_dataframe
2019-06-24 06:21:08 +02:00
Matthias
c9a76be532
Merge pull request #1943 from freqtrade/fix/tests_windows
...
Fix tests on windows
2019-06-24 06:18:17 +02:00
Matthias
9d2b6db97b
Merge pull request #1954 from freqtrade/fix/stoploss_cancel_error
...
Trailing stoploss cancel orders should be handled gracefully
2019-06-24 06:17:44 +02:00
Matthias
12d2db5e7b
Merge pull request #1966 from hroff-1902/fix-docstrings
...
minor: typos in docstrings fixed
2019-06-24 06:17:11 +02:00
Matthias
1add8ecd0c
Merge pull request #1960 from freqtrade/plot_df_stripping
...
Plot datafame simplification
2019-06-24 06:15:54 +02:00
hroff-1902
116d8e853e
typos in docstrings fixed
2019-06-23 23:10:37 +03:00
hroff-1902
7f018839f8
diverse cosmetics to options help strings
2019-06-23 21:42:46 +03:00
hroff-1902
3716c04ed4
fix help string for --db-url
2019-06-23 20:34:53 +03:00
hroff-1902
7fbdf36c64
avoid code duplication while selecting min_roi entries
2019-06-23 19:23:51 +03:00
hroff-1902
451d4a400e
fix help strings shown to the user
2019-06-22 23:51:29 +03:00
Matthias
4cbcb5f36f
Move .title to ExchangeResolver (it does not make sense to do this over
...
and over again)
2019-06-22 16:52:14 +02:00
Matthias
cc56d0e0fc
Remove unneeded initialization
2019-06-22 16:40:33 +02:00
Matthias
559d5ebd1d
Remove combined load-method since it's confusing
2019-06-22 16:20:41 +02:00
Matthias
3e61ada34a
Be explicit in what is used, db or trades
2019-06-22 16:18:49 +02:00
Matthias
de38aea164
Fix sequence of loading trades
2019-06-22 15:45:20 +02:00
Matthias
d8286d7a98
Merge pull request #1937 from xmatthias/feat/plot_module
...
move parts of scripts/plot_dataframe.py to main bot code
2019-06-22 13:06:30 +02:00
Matthias
db17b20e26
Don't require pairs but fall back to pair_whitelist instead
2019-06-21 20:21:03 +02:00
Matthias
a581ca66bf
Adapt test after merging develop
2019-06-21 19:31:18 +02:00
Matthias
5d6819bb28
Merge branch 'develop' into feat/plot_module
2019-06-21 19:28:38 +02:00
Matthias
7a0d86660e
Mypy type errors
2019-06-21 07:10:30 +02:00
Matthias
1a27ae8a81
Add tests to verify that ticker_interval is there
2019-06-21 07:07:39 +02:00
Matthias
f907a487c8
make ticker_interval available to hyperopt functions
2019-06-21 07:07:21 +02:00
Matthias
a75f08cf17
Merge pull request #1947 from hroff-1902/arguments-cleanup
...
arguments cleanup
2019-06-21 06:41:46 +02:00
Matthias
89ba649ddb
Test handling errors while trailing stop loss
2019-06-20 20:57:15 +02:00
Matthias
63640518da
Gracefully handle errosr when cancelling stoploss orders
...
fixes #1933
2019-06-20 20:56:58 +02:00
Matthias
a8dcfc05c5
Add test to verify InvalidOrder is handled correctly
2019-06-20 20:36:39 +02:00
Matthias
dd379c4192
Cancelling stoploss order should not kill the bot
2019-06-20 20:32:46 +02:00
Matthias
911e71cd9b
remove redundant test-functions
2019-06-20 20:30:05 +02:00
hroff-1902
144e053a4e
fix for #1948
2019-06-20 03:26:25 +03:00
hroff-1902
a8efb1e1c8
test for #1948 added
2019-06-20 03:26:02 +03:00
hroff-1902
0866b5f29f
allow reading config from stdin
2019-06-20 00:04:11 +03:00
hroff-1902
860e056366
--datadir is now handled in arguments.common_options()
2019-06-19 02:49:12 +03:00
hroff-1902
c6fed4e493
make flake happy
2019-06-19 02:42:29 +03:00
hroff-1902
8c40a406b6
arguments cleanup
2019-06-19 01:53:38 +03:00
hroff-1902
6f950bbd66
json validator cosmetics
2019-06-18 01:46:30 +03:00
Matthias
ba4890d303
Fix tests on windows
2019-06-17 14:36:58 +02:00
Matthias
06afb3f155
Don't use "limit" for sell-orders either
2019-06-17 07:01:17 +02:00
Matthias
557122921a
Add order_type to sell-notification
2019-06-17 06:56:52 +02:00
Matthias
475e76b272
Add order_type to buy_notification
2019-06-17 06:55:30 +02:00
Matthias
b0c5286e8a
Merge pull request #1938 from hroff-1902/cleanup-setup-configuration
...
minor: setup_configuration() cleanup
2019-06-17 06:41:19 +02:00
hroff-1902
d217f32bbc
minor: fix typo in freqtradebot.py
2019-06-17 04:35:39 +03:00
hroff-1902
195bf5a4cc
tests adjusted
2019-06-16 22:10:39 +03:00
hroff-1902
813c008af2
setup_configuration() cleanup
2019-06-16 21:37:43 +03:00
Matthias
765eff23f0
Fix typo
2019-06-16 20:14:31 +02:00
Matthias
0eb109f8f7
Improve some tests
2019-06-16 19:53:48 +02:00
Matthias
fc3e3c468c
File existence is checked in load_backtest_data
2019-06-16 19:35:21 +02:00
Matthias
4b7dfc64c6
Add test for generate_plot_file
2019-06-16 19:35:21 +02:00
Matthias
907c2f1e6b
Copy plot options to config
2019-06-16 19:35:21 +02:00
Matthias
3f04930f38
Require pairs argument
2019-06-16 19:35:21 +02:00
Matthias
0300128cb8
Move plot-options to arguments.py
2019-06-16 19:35:15 +02:00
Matthias
bf2c0390e7
Adjust some imports
2019-06-16 19:33:48 +02:00
Matthias
1cd8415723
Move extract_trades_of_period to btanlaysis
2019-06-16 19:33:48 +02:00
Matthias
1c53aa5687
Add tests for load_trades
2019-06-16 19:33:48 +02:00
Matthias
c7643e142b
Move load_trades to bt_anlaysis
2019-06-16 19:33:48 +02:00
Matthias
9f5ca82f48
Add more tests
2019-06-16 19:33:48 +02:00
Matthias
6db4e05aef
Improve plotting tests
2019-06-16 19:33:48 +02:00
Matthias
2891d7cccb
Add initial plotting test
2019-06-16 19:33:48 +02:00
Matthias
cae2185460
Move generate_plot to plotting.py
2019-06-16 19:33:48 +02:00
Matthias
b1a01345f9
Add better hover tip
2019-06-16 19:33:48 +02:00
Matthias
e0a1e5417f
sanity checks before plotting, cleanup
2019-06-16 19:33:48 +02:00
Matthias
68af6d4151
Move plot-functions to plotting module
2019-06-16 19:33:48 +02:00
xmatthias
583d70ec9c
add plot module proto
2019-06-16 19:33:48 +02:00
Matthias
9035e0b695
Update function due to merge of #1926
2019-06-16 10:39:43 +02:00
Matthias
4ef309bc6c
Merge branch 'develop' into pr/hroff-1902/1927
2019-06-16 10:37:28 +02:00
Matthias
114de8a025
Remove unused imports
2019-06-16 10:13:56 +02:00
Matthias
442339cd27
Add tests for utils.py
2019-06-16 10:13:24 +02:00
Matthias
e6cab6d710
Move get_args from multiple locations to conftest
2019-06-16 10:13:12 +02:00
Matthias
472e7f80a0
Fix Line too long error
2019-06-15 16:58:17 +02:00
Misagh
c43edf98d4
Merge pull request #1934 from freqtrade/edge_override_stake_amount
...
Edge cli should override stake_amount
2019-06-15 14:28:16 +02:00
Matthias
a0415aea83
Merge pull request #1926 from hroff-1902/check-exchange
...
Enhance check_exchange()
2019-06-15 13:52:30 +02:00
Matthias
4a916125a0
Tests need to pass pair to parse_ticker_dataframe
2019-06-15 13:48:08 +02:00
Matthias
89ff614e1d
Add pair as parameter, and warn when fillup was necessary
2019-06-15 13:46:19 +02:00
Matthias
55079831a1
Don't explicitly validate backtest data (it's done while loading now).
2019-06-15 13:45:50 +02:00
Matthias
d047a9d836
Adapt tests for new validate_backtest signature
2019-06-15 13:32:05 +02:00
Matthias
cd4cf215e1
Convert validate_backtest_data to take dataframe directly
2019-06-15 13:31:27 +02:00
Matthias
01b5ece642
Log missing data filllup if necessary
2019-06-15 13:31:14 +02:00
Matthias
a77d75eb43
Check log output since that's whats shown to users
2019-06-15 13:14:07 +02:00
Matthias
707118a636
Test stake changed to unlimited
2019-06-15 13:04:15 +02:00
Misagh
ad9dc349e4
edge cli should override stake_amount
2019-06-15 12:20:32 +02:00
hroff-1902
09cd7db9b1
make flake happy
2019-06-14 22:04:29 +03:00
hroff-1902
1af988711b
add --one-column as an alias option
2019-06-14 21:59:16 +03:00
hroff-1902
cedd38455f
remove configuration from list-exchanges
2019-06-14 21:54:38 +03:00
Matthias
2965931a78
Merge pull request #1893 from hroff-1902/refactor-download-script
...
refactoring download_backtest_data.py
2019-06-14 20:12:07 +02:00
Matthias
1afe6c1437
Don't run validation per strategy, it's only eneded once
2019-06-14 19:37:54 +02:00
Matthias
3240d4e70e
Merge pull request #1925 from hroff-1902/strategy-advise-logging
...
debug logging for IStrategy.advise_*()
2019-06-14 19:24:14 +02:00
hroff-1902
941fb4ebbb
tests added
2019-06-14 18:40:25 +03:00
hroff-1902
ee113ab8ed
log messages aligned
2019-06-14 18:40:02 +03:00
Misagh
24f86e9ff3
Merge pull request #1931 from freqtrade/fix/trailing_stoploss_offset
...
Fix/trailing stoploss offset
2019-06-14 14:32:32 +02:00
hroff-1902
04ea66c977
fix handling timeframes
2019-06-14 02:58:34 +03:00
Matthias
550fbad53e
Add test-cases with trailing_stop_offsets
2019-06-13 20:05:49 +02:00
Matthias
160894c031
Calculate profit_high to make sure stoploss_positive_offset is correct
2019-06-13 20:04:52 +02:00
Matthias
578180f45b
Add test for sell-signal sell
2019-06-13 20:00:56 +02:00
Matthias
b64b6a2583
Support trailing_stop_positive options in BTContainer
2019-06-13 20:00:00 +02:00
hroff-1902
a65c89f090
test adjusted
2019-06-12 23:37:02 +03:00
hroff-1902
0cc2210f22
wording fixed
2019-06-12 22:53:43 +03:00
hroff-1902
8df40a6ff9
make flake happy
2019-06-12 22:40:50 +03:00
hroff-1902
9c64965808
list-exchanges subcommand added
2019-06-12 12:33:20 +03:00
Misagh
0d8b572a17
Merge pull request #1921 from freqtrade/minor/backtest_optimize
...
[minor] Small cleanup to reduce dict lookups during backtesting/hyperopt
2019-06-12 10:31:44 +02:00
Misagh
1f3406b29b
Merge pull request #1868 from freqtrade/stoploss_restart
...
Stoploss restart
2019-06-12 10:29:17 +02:00
hroff-1902
dc7f883751
no need to duplicate this long error message
2019-06-11 13:47:04 +03:00
hroff-1902
db6ccef6bd
return back check in init_ccxt()
2019-06-11 13:43:29 +03:00
hroff-1902
676e730013
enhance check_exchange
2019-06-11 13:18:35 +03:00
Matthias
08105641d9
Merge pull request #1901 from yperfanov/bid_ask_strategy
...
Bid ask strategy
2019-06-11 11:14:39 +02:00
hroff-1902
7322a34fa4
fix metadata in tests
2019-06-11 10:58:19 +03:00
hroff-1902
4801af4c77
debug logging for IStrategy.advise_*() added
2019-06-11 10:42:14 +03:00
hroff-1902
cd60d6d99a
make --days positive int only
2019-06-11 10:10:21 +03:00
hroff-1902
dc0326db27
fix handling --exchange
2019-06-11 10:09:30 +03:00
Matthias
4dc3a0ca1d
Small cleanup to reduce dict lookups during backtesting/hyperopt
2019-06-10 16:20:19 +02:00
Matthias
99cceeea70
Merge pull request #1915 from freqtrade/feat/drop_incomplete_optional
...
Make dropping the last candle optional (configured per exchange)
2019-06-10 14:58:19 +02:00
hroff-1902
90b0f1daa8
minor optimize cleanup
2019-06-10 02:08:54 +03:00
Matthias
9f2e0b11d1
Parametrize ohlcv_candle_limit (per call)
2019-06-09 14:52:17 +02:00
Matthias
3380543878
Add test for drop_incomplete option
2019-06-09 14:51:58 +02:00
Matthias
ce317b62f9
Add docstrings to load_pair_history
2019-06-09 14:40:45 +02:00
Matthias
fdbbefdddd
Make drop_incomplete optional
2019-06-09 14:35:58 +02:00
Matthias
7108a2e57d
Add deep_merge for _ft_has and test
2019-06-09 14:06:29 +02:00
Matthias
9c497bf15c
Improve docstring for deep_merge_dicts
2019-06-09 14:04:19 +02:00
Matthias
d7c63347e1
Use kwarg for parse_ticker_dataframe
2019-06-09 13:19:01 +02:00
Matthias
adc12ed043
Fix new test after develop merge
2019-06-08 20:26:25 +02:00
Matthias
9ea887dbd0
Merge branch 'develop' into stoploss_restart
2019-06-08 20:23:13 +02:00
Matthias
9967df8f45
Merge pull request #1902 from freqtrade/fix_tsl_offset_on_reason
...
Trailing stoploss sell reason fixed.
2019-06-08 20:21:51 +02:00
Matthias
5273540a93
Fix test failure (double-trailing newlines are removed now)
2019-06-08 19:32:31 +02:00
Matthias
107c3beb20
Fix test-failure introduced in #1891
2019-06-02 15:28:29 +02:00
Matthias
4e45aa1564
Merge pull request #1863 from xmatthias/feat/flask_rest_retry
...
Add REST API to control the bot
2019-06-02 15:20:12 +02:00
Matthias
e0e5cfa266
Merge pull request #1891 from freqtrade/simplify/persistence_init
...
persistence.init does not need the config dict
2019-06-02 15:13:06 +02:00
Misagh
36dae7cc6c
trailing stoploss reason fixed
2019-06-02 13:27:31 +02:00
Yuliyan Perfanov
199426460a
implemented DataProvider.orderbook()
2019-06-02 13:25:09 +03:00
Matthias
f04089ef1e
Merge pull request #1892 from freqtrade/ref/live_data
...
refactor `--live` handling
2019-06-01 06:20:11 +02:00
hroff-1902
e4e22167bb
make mypy happy
2019-05-30 21:00:16 +03:00
hroff-1902
6b144150c7
fix handling of SystemExit
2019-05-30 20:38:04 +03:00
hroff-1902
f463817c88
change metavar for --pairs-file
2019-05-30 10:56:48 +03:00
Matthias
b6e8fecbf5
Change persistence.init parameter
...
It should describe what it does
2019-05-30 06:33:16 +02:00
Matthias
d6cf314481
Don't default to false for init()
2019-05-30 06:30:06 +02:00
hroff-1902
fb88953be3
refactoring download_backtest_data.py
2019-05-29 21:57:14 +03:00
Matthias
15984b5c43
Adjust some tests - implement new "live" method to plot_script
2019-05-29 20:25:07 +02:00
Matthias
c2f6897d8b
Move download of live data to load_data
...
Avoids code duplication in backtesting and plot_dataframe
2019-05-29 20:20:20 +02:00
Matthias
d7bebc4385
persistence.init does not need the config dict
2019-05-29 19:54:59 +02:00
Matthias
7b367818fc
Remove duplicate code
2019-05-29 19:46:46 +02:00
Matthias
22144d89fc
Fix mypy error
2019-05-29 19:46:26 +02:00
Matthias
17d614c66a
Remove binary script - allow None arguemnts
2019-05-29 19:46:26 +02:00
Matthias
7406edfd8f
Move set_loggers to main()
2019-05-29 19:46:26 +02:00
hroff-1902
912b06b34b
Merge branch 'develop' into python-version
2019-05-29 20:07:46 +03:00
Matthias
4fed263885
Merge pull request #1879 from freqtrade/refactor_optimize__init__
...
Speed up startup time
2019-05-29 06:18:57 +02:00
hroff-1902
db2e6f2d1c
tests adjusted
2019-05-28 23:25:53 +03:00
hroff-1902
58477dcd82
cleanup: return after cmd removed in main()
2019-05-28 23:25:19 +03:00
hroff-1902
536c8fa454
move python version check to the top
2019-05-28 23:04:39 +03:00
Matthias
55bdd26439
Edgecli -> Edge for Runmode and start_edge()
2019-05-28 19:25:01 +02:00
Matthias
dab4307e04
Add secure way to genreate password, warn if no password is defined
2019-05-26 14:40:03 +02:00
hroff-1902
0e228acbfb
minor: exchange debug logging humanized
2019-05-25 22:42:17 +03:00
Matthias
201e02e73f
Add test for Timeout - move tests to test_history
2019-05-25 20:31:21 +02:00
Matthias
8ad30e2625
Adapt tests
2019-05-25 20:06:18 +02:00
Matthias
104f1212e6
Move edge_cli_start to optimize
2019-05-25 20:06:15 +02:00
Matthias
65a4862d1f
Adapt tests to load start_* methods from optimize
2019-05-25 20:01:43 +02:00
Matthias
236c392d28
Don't load hyperopts / optimize dependency tree if that module is not
...
used
2019-05-25 20:00:31 +02:00
Matthias
b38c43141c
Adjust imports to new location
2019-05-25 16:53:35 +02:00
Matthias
9225cdea8a
Move validate_backtest_data and get_timeframe to histoyr
2019-05-25 16:51:52 +02:00
Matthias
90ece09ee9
require username/password for API server
2019-05-25 14:42:13 +02:00
Matthias
febcc3dddc
Adapt tests and rest_client to basic_auth
2019-05-25 14:25:36 +02:00
Matthias
2da7145132
Switch auth to real basic auth
2019-05-25 14:25:16 +02:00
Matthias
6adc8f7ea7
Merge branch 'develop' into feat/flask_rest_retry
2019-05-25 14:17:04 +02:00
Matthias
5bbd3c6158
Add documentation
2019-05-25 14:16:59 +02:00
Matthias
04c35b465e
Add authorization to tests
2019-05-25 14:13:59 +02:00
Matthias
7e952b028a
Add basic auth to rest-api
2019-05-25 14:11:30 +02:00
Matthias
b7686d06a7
Merge pull request #1873 from freqtrade/add_some_tests
...
Add some tests
2019-05-25 13:26:34 +02:00
Matthias
469c0b6a55
Adjust check_int_positive tests
2019-05-25 13:16:00 +02:00
hroff-1902
c3e93e7593
fix reduce() TypeError in hyperopts
2019-05-24 23:08:56 +03:00
Matthias
7bbe8b2483
Add a few more testcases for check_int_positive
2019-05-24 06:22:27 +02:00
hroff-1902
7b968a2401
logger.exception cleanup
2019-05-24 04:04:07 +03:00
Matthias
253025c0fe
Add tests for check_int_positive
2019-05-23 19:53:42 +02:00
Matthias
7b074765ab
Improve edge tests - cleanup test file
2019-05-23 19:48:22 +02:00
Matthias
1a5dbd29e0
Merge pull request #1871 from hroff-1902/edge-no-trades
...
edge: handle properly the 'No trades' case
2019-05-23 19:32:02 +02:00
hroff-1902
6e1da13920
Log message changed
2019-05-22 17:19:11 +03:00
hroff-1902
406e266bb4
typo in comment fixed
2019-05-22 14:34:35 +03:00
hroff-1902
2c9a519c5e
edge: handle properly the 'No trades' case
2019-05-22 14:21:36 +03:00
hroff-1902
98eeec3145
renaming of make_testdata_path reverted
2019-05-22 14:04:58 +03:00
hroff-1902
7cb753754b
tests adjusted
2019-05-21 20:49:19 +03:00
hroff-1902
11dce91281
data/history minor cleanup
2019-05-21 20:49:02 +03:00
Matthias
51aa469f67
Cleanups
2019-05-20 20:29:23 +02:00
Matthias
a39cdd3b2b
Exclude Edge from startup-stoploss calc
...
Edge would recalculate / reevaluate stoploss values on startup, so these
values are not reliable
2019-05-20 20:11:50 +02:00
Matthias
53af8f331d
Deep-copy default_conf for edge config
2019-05-20 20:11:50 +02:00
Matthias
9f54181494
Add test for stoploss_reinit
2019-05-20 20:11:50 +02:00
Matthias
6a5daab520
add logic for stoploss reinitialization after startup
2019-05-20 20:11:50 +02:00
Matthias
349c0619aa
Move startup to freqtradebot
2019-05-20 20:11:50 +02:00
Matthias
96a34f753b
Adapt test to new output from arrow
2019-05-20 19:48:12 +02:00
hroff-1902
e7b9bc6808
minor: remove noisy useless debug message
2019-05-20 12:27:30 +03:00
Matthias
2cf07e2185
rename exception handlers
2019-05-18 13:39:12 +02:00
Matthias
e6ae890def
small adjustments after first feedback
2019-05-18 13:36:51 +02:00
Matthias
9385a27ff0
Sort imports
2019-05-18 10:34:30 +02:00
Matthias
fd5012c04e
Add test for api cleanup
2019-05-18 10:00:07 +02:00
Matthias
bfc57a6f6d
Adapt tests to new method of starting flask
2019-05-18 10:00:07 +02:00
Matthias
540d4bef1e
gracefully shutdown flask
2019-05-18 10:00:07 +02:00
Matthias
5149ff7b12
Move api to /api/v1
2019-05-18 10:00:07 +02:00
Matthias
01cd68a5aa
Test forcesell
2019-05-18 10:00:07 +02:00
Matthias
b700c64dc2
Test forcebuy - cleanup some tests
2019-05-18 10:00:07 +02:00
Matthias
350c903793
Test falsk crash
2019-05-18 10:00:07 +02:00
Matthias
39afe4c7bd
Test flask app .run()
2019-05-18 10:00:07 +02:00
Matthias
b9435e3cea
Add more tests
2019-05-18 10:00:07 +02:00
Matthias
a7329e5cc9
Test api-server start from manager
2019-05-18 10:00:07 +02:00
Matthias
a146c5bf78
Improve jsonification
2019-05-18 10:00:07 +02:00
Matthias
557f849519
Improve 404 handling
2019-05-18 10:00:07 +02:00
Matthias
03dc6d92ae
Remove hello()
2019-05-18 10:00:07 +02:00
Matthias
3c46870109
Test /count for api-server
2019-05-18 10:00:07 +02:00
Matthias
88dd18e045
Move patch_signal to conftest
2019-05-18 10:00:07 +02:00
Matthias
6b426e78f6
Tests for balance
2019-05-18 10:00:07 +02:00
Matthias
70a3c2c648
Actions - Add tests
2019-05-18 09:57:10 +02:00
Matthias
6ea0895803
Fix docstrings
2019-05-18 09:57:10 +02:00
Matthias
b1a14401c2
Add some initial tests for apiserver
2019-05-18 09:57:10 +02:00
Matthias
e0486ea68e
Make app a instance object
2019-05-18 09:57:10 +02:00
Matthias
0ac434da78
Add forcebuy jsonification
2019-05-18 09:57:10 +02:00
Matthias
6e4b159611
Add forcebuy and forcesell
2019-05-18 09:57:10 +02:00
Matthias
bc4342b2d0
small cleanup
2019-05-18 09:57:10 +02:00
Matthias
ea8b8eec1c
Add edge handler
2019-05-18 09:57:10 +02:00
Matthias
b1964851c9
Add performance handlers
2019-05-18 09:57:10 +02:00
Matthias
393e4ac90e
Sort methods
2019-05-18 09:57:10 +02:00
Matthias
3efdd55fb8
Support blacklist adding
2019-05-18 09:57:10 +02:00
Matthias
122cf4c897
Default add to None for blacklist rpc calls
2019-05-18 09:57:10 +02:00
Matthias
ebebf94750
Change commands to post
2019-05-18 09:57:10 +02:00
Matthias
a1043121fc
Add blacklist handler
2019-05-18 09:57:10 +02:00
Matthias
d2c2811249
Move rest-client to scripts
2019-05-18 09:57:10 +02:00
Matthias
99875afcc0
Add default argument
2019-05-18 09:57:10 +02:00
Matthias
ae8660fe06
Extract exception handling to decorator
2019-05-18 09:57:10 +02:00
Matthias
01c93a2ee3
Load rest-client config from file
2019-05-18 09:57:10 +02:00
Matthias
d8549fe09a
add balance handler
2019-05-18 09:57:10 +02:00
Matthias
a12e093417
Api server - custom json encoder
2019-05-18 09:57:10 +02:00
Matthias
2f8088432c
All handlers should be private
2019-05-18 09:57:10 +02:00
Matthias
3cf6c6ee0c
Implement a few more methods
2019-05-18 09:57:10 +02:00
Matthias
8993882dcb
Sort imports
2019-05-18 09:57:10 +02:00
Matthias
c6c2893e2c
Improve rest-client interface
2019-05-18 09:57:10 +02:00
Matthias
96a260b027
rest_dump
2019-05-18 09:57:10 +02:00
Matthias
6bb2fad9b0
Reorder some things
2019-05-18 09:57:10 +02:00
Matthias
68743012e4
Patch api server for tests
2019-05-18 09:57:10 +02:00
Matthias
ef2950bca2
Load api-server in rpc_manager
2019-05-18 09:57:10 +02:00
Matthias
6f67ea44dc
Enable config-check for rest server
2019-05-18 09:57:10 +02:00
Matthias
26c42bd559
Add apiserver tests
2019-05-18 09:57:10 +02:00
Matthias
c3c745ca19
Get new files from old branch
2019-05-18 09:57:10 +02:00
hroff-1902
e2b83624a3
data/history cleanup
2019-05-17 19:05:36 +03:00
hroff-1902
2741c5c330
inherit freqtrade exceptions from Exception i.o. BaseException
2019-05-16 22:38:59 +03:00
Matthias
175fc8591e
Merge pull request #1845 from freqtrade/fix/1840
...
Fix #1840 - Support balances other than USDT
2019-05-15 19:39:46 +02:00
hroff-1902
8b95e12468
log message adjusted in backtesting and hyperopt
2019-05-15 12:05:35 +03:00
hroff-1902
90a52e4602
tests adjusted; new test_start_no_data() added for hyperopt
2019-05-14 09:23:09 +03:00
hroff-1902
5677c4882e
minor: add ticker data validation; log backtesting interval
2019-05-13 23:56:59 +03:00
hroff-1902
003461ec96
tests adjusted
2019-05-12 21:19:20 +03:00
hroff-1902
00b4501c59
avg profit and total profit corrected (to be %, not ratio); comments cleaned up a bit; typo in the log msg fixed
2019-05-12 21:14:00 +03:00
Matthias
46b1ecc77d
Fix #1840 - Support balances other than USDT
2019-05-11 15:27:09 +02:00
hroff-1902
75306b7a6e
tests adjusted
2019-05-11 10:17:46 +03:00
hroff-1902
0f43e0bb7d
minor hyperopt output improvements
2019-05-10 10:54:44 +03:00
Matthias
0dbe9cb586
Merge pull request #1823 from hroff-1902/update-qtpylib
...
Update qtpylib
2019-05-09 06:47:14 +02:00
hroff-1902
45e5867736
heikinashi loop optimized; reset_index moved to tests
2019-05-08 23:41:45 +03:00
Matthias
1ccc25b486
Fix test-data indexing
2019-05-08 20:33:22 +02:00
hroff-1902
2554ebf273
fixed: heikinashi worked in backtesting, but failed in tests with testing arrays
2019-05-08 00:00:44 +03:00
hroff-1902
d642e03cd0
heikinashi performance problem resolved
2019-05-07 23:39:42 +03:00
hroff-1902
6467d3b58e
check python version
2019-05-06 18:27:05 +03:00
Matthias
1a677c7441
Add explicit test for to_json
2019-05-06 06:58:17 +02:00
Matthias
2b78f73fe5
Adapt tests to to_json method
2019-05-06 06:56:07 +02:00
Matthias
31d271084f
Move json to persistence
2019-05-06 06:55:12 +02:00
hroff-1902
2200a0223b
fixed heikinashi
2019-05-06 00:30:21 +03:00
Matthias
1e056ee415
Move trade jsonification to trade class
2019-05-05 14:07:08 +02:00
hroff-1902
66c2bdd65a
flake happy
2019-05-03 16:58:51 +03:00
hroff-1902
1be4c59481
qtpylib/indicators.py updated
2019-05-03 16:48:07 +03:00
Matthias
7e96d57627
Merge pull request #1819 from hroff-1902/hyperopt-min-trades
...
hyperopt --min-trades parameter
2019-05-02 09:36:13 +02:00
Misagh
de6112adb7
Merge pull request #1814 from freqtrade/rpc/forcesell
...
immediately confirm forcesell
2019-05-01 16:47:22 +02:00
Matthias
46214ce7cd
Fix typo after feedback
2019-05-01 16:22:52 +02:00
hroff-1902
269699988b
test adjusted
2019-05-01 15:55:56 +03:00
hroff-1902
e7b81e4d46
hyperopt --min-trades parameter
2019-05-01 15:27:58 +03:00
Matthias
b9d7bb2d8e
Merge branch 'develop' into pr/hroff-1902/1804
2019-05-01 12:54:36 +02:00
Matthias
b24bbb2cb1
Improve test for reload_conf with a "realistic" workflow
2019-04-30 19:32:03 +02:00
Matthias
97f2c74dd8
Merge pull request #1815 from hroff-1902/fix-1810
...
Fix for #1810
2019-04-30 19:31:23 +02:00
hroff-1902
5665426e6b
better type hints in worker
2019-04-30 19:47:55 +03:00
Matthias
4804f45156
Merge pull request #1802 from freqtrade/refactor/config
...
Refactor config
2019-04-30 12:13:40 +02:00
hroff-1902
537c03504f
fix #1810
2019-04-30 10:29:49 +03:00
Matthias
91642b2bd9
Add tsts for forcesell-answers
2019-04-30 06:25:02 +02:00
Matthias
f71eda1c2f
Have forcesell return a result
2019-04-30 06:23:14 +02:00
Matthias
40c0207377
revert erroneous refactor
2019-04-26 19:59:05 +02:00
Matthias
99b08fbd13
Remove unused Hyperopt test lines
2019-04-26 19:51:57 +02:00
hroff-1902
ea44bbff9f
prevent hyperopt from running simultaneously
2019-04-25 11:11:04 +03:00
Matthias
45ecbc91e8
Use BaseError, not NetworkError in exception handler
2019-04-24 22:20:05 +02:00
Matthias
22eb6cb5fa
Fix typo in args_to_config
2019-04-24 22:08:56 +02:00
Matthias
65dcb6acea
Catch errors on reload_markets
2019-04-24 21:56:24 +02:00
Matthias
b4630c403d
Add typehints
2019-04-24 21:32:33 +02:00
Matthias
86313b337a
Combine optimize configurations, eliminate duplicates
2019-04-24 21:27:32 +02:00
Matthias
87329c689d
Change ticker_interval too
2019-04-24 21:24:00 +02:00
Matthias
ca3b8ef2e7
Remove duplicate argument
2019-04-24 21:13:57 +02:00
Matthias
a0413b5d91
Only log one message per call
2019-04-24 21:12:23 +02:00
Matthias
d6276a15d2
Convert all optimize to args_to_config
2019-04-24 21:12:08 +02:00
Matthias
39f60c4740
Add some more arguments to args_to_config
2019-04-24 21:02:05 +02:00
Matthias
17cf9d33cf
add _args_to_conig
2019-04-24 20:44:36 +02:00
Matthias
bf56e25404
Merge pull request #1746 from hroff-1902/json-defaults
...
Support for defaults in json schema
2019-04-24 12:20:39 +02:00
hroff-1902
a8e787fda8
test adjusted
2019-04-24 11:25:15 +03:00
Matthias
ad692c185e
Improve comment
2019-04-24 09:55:53 +02:00
Matthias
d16ccd7e37
Merge branch 'develop' into json-defaults
2019-04-24 09:51:04 +02:00
Matthias
a92d5f3569
Parametrize default-param tests
2019-04-24 09:48:25 +02:00
hroff-1902
95ebd07735
an attempt to fix mocking
2019-04-24 10:38:50 +03:00
hroff-1902
6a0f527e0e
merge --job-workers and commit printing debug log messages with the opt state
2019-04-24 10:35:04 +03:00
hroff-1902
2898067318
Merge branch 'develop' into hyperopt-jobs
2019-04-24 10:31:03 +03:00
Matthias
6d2a1cfb44
remove full-config in tests and load full_config file
2019-04-24 09:30:59 +02:00
hroff-1902
a429f83f5e
flake happy; check_positive() renamed
2019-04-23 22:16:24 +03:00
hroff-1902
2f0ad0d28c
test adjusted
2019-04-23 22:03:41 +03:00
hroff-1902
fc4ef2b430
Merge branch 'develop' into hyperopt-opt-params
2019-04-23 21:58:27 +03:00
hroff-1902
e3b0474901
Merge branch 'develop' into hyperopt-jobs
2019-04-23 21:34:38 +03:00
hroff-1902
cc9f899cd6
removed explicit dependency on multiprocessing module
2019-04-23 21:25:36 +03:00
hroff-1902
a022b1a6c1
--random-state for optimzer to get reproducible results added
2019-04-23 21:18:52 +03:00
Matthias
4971b9fc39
Merge pull request #1793 from hroff-1902/hyperopt-debug-state
...
hyperopt: print optimizer state in debug log messages
2019-04-23 20:11:04 +02:00
hroff-1902
3e3fce5f38
print optimizer state in debug log messages
2019-04-23 09:49:24 +03:00
hroff-1902
7c8e26c717
-j/--job-workers option added for controlling the number of joblib parallel worker processes used in hyperopt
...
docs refreshed
2019-04-23 00:52:07 +03:00
hroff-1902
ad85ac3dde
make --refresh-pairs-cached common option for optimization; added support for it into hyperopt
2019-04-22 21:24:45 +03:00
Matthias
45aa93e73d
Merge pull request #1787 from NatanNMB15/walletsync-fix-sell
...
Wallet Sync fix after any trade is closed
2019-04-22 13:44:40 +02:00
Matthias
676cd6ffee
Add assert to make sure trade was closed
2019-04-22 13:36:14 +02:00
Matthias
a9de2f80f2
Add tests to update wallets after closing a limit-sell
2019-04-22 13:31:07 +02:00
hroff-1902
6b87d94bb0
--print-all command line option added for hyperopt
2019-04-22 01:10:01 +03:00
NatanNMB15
706b30f4d2
Fix "if" condition with "if not" for check if trade is open.
2019-04-21 14:54:24 -03:00
NatanNMB15
3bcc60333d
Added command for Wallets Sync after a trade is closed in "update_trade" method in "freqtradebot" class, this will help the Wallets get updated after a trade is sold and closed, specifically LIMIT_SELL trades, then bot can work properly with new trades.
2019-04-21 13:49:07 -03:00
Misagh
8e8ec2fba6
version to 0.18.5-dev
2019-04-19 16:01:26 +02:00
Matthias
577ccd32f0
Merge pull request #1750 from hroff-1902/ccxt-to-exchange-only
...
minor: limit usage of ccxt to freqtrade/exchange only
2019-04-19 06:51:08 +02:00
Misagh
031a63d5c2
Merge pull request #1771 from freqtrade/enable_ratelimit
...
Enable ratelimit
2019-04-17 17:31:21 +02:00
Matthias
2cee716181
Gracefully handle pickle-errors when @staticmethod is used
...
pOinted out in https://github.com/freqtrade/freqtrade-strategies/issues/28
2019-04-16 20:25:48 +02:00
Matthias
43119efaf0
Remove ccxt_rate_limit completely (was deprecated)
2019-04-16 19:41:02 +02:00
Matthias
12265b245d
Merge pull request #1738 from konqueror1/develop
...
Added command line options to override max_open_trades and stake_amount
2019-04-14 10:34:27 +02:00
Matthias
37b1389f12
Fix flake8
2019-04-14 10:17:06 +02:00
Misagh
c6d19a4afb
Merge pull request #1758 from freqtrade/fix/rpcheader
...
Missing /daily header
2019-04-12 10:45:56 +02:00
Matthias
d87db70ed0
Fix missing column header
2019-04-12 07:05:15 +02:00
hroff-1902
c3a9db6488
change comments to docstrings
2019-04-11 22:22:33 +03:00
hroff-1902
8bdbfbf194
tests for options added
2019-04-11 18:07:51 +03:00
hroff-1902
f03acce84c
typing of return value corrected
2019-04-11 00:07:27 +03:00
Misagh
262113f9ee
Merge pull request #1749 from freqtrade/telegram_long_msg
...
Telegram long /balance message
2019-04-10 10:30:49 +02:00
Matthias
e75cdd4c27
Rename variable, add more tests
2019-04-10 06:59:10 +02:00
hroff-1902
9fbe573cca
limit usage of ccxt to freqtrade/exchange only
2019-04-09 12:27:35 +03:00
Matthias
6856848efc
Merge pull request #1744 from hroff-1902/ccxt-parse_timeframe
...
cosmetic: rename interval, tick_interval, etc --> ticker_interval
2019-04-08 20:26:36 +02:00
Matthias
ff6967de9e
Add test for too large balance
2019-04-08 19:59:54 +02:00
Matthias
5c4170951a
Don't send too large messages
2019-04-08 19:59:30 +02:00
hroff-1902
cb2f422e1c
make name
option required again
2019-04-08 11:19:45 +03:00
hroff-1902
4559a38172
PoC: use defaults in json schema for some exchange options
2019-04-08 04:42:28 +03:00
hroff-1902
91dc2b96fc
support for defaults in json.schema
2019-04-08 04:23:29 +03:00
hroff-1902
ebf1126351
cosmetic: rename interval, tick_interval, etc --> ticker_interval
2019-04-07 16:28:53 +03:00
Matthias
4a6c8f3cb2
Merge pull request #1735 from hroff-1902/ccxt-parse_timeframe
...
Resolution for #1137
2019-04-07 12:52:13 +02:00
hroff-1902
d6d16b4696
docstrings improved
2019-04-07 00:22:02 +03:00
hroff-1902
dc1968b968
docstrings added
2019-04-06 23:36:55 +03:00
Misagh
4fef9448bf
Merge pull request #1727 from mishaker/fix_cancel_order
...
Adding invalid order exception and fix #1726
2019-04-06 20:32:44 +02:00
Misagh
4bb5345e13
Merge pull request #1741 from freqtrade/abstract_count
...
rpc Count should be in rpc.py
2019-04-06 20:32:15 +02:00
Misagh
d294cab933
adding order id to invalidorder exception message
2019-04-06 20:27:03 +02:00
Matthias
f139178136
rpc_counts should be in .rpc
2019-04-06 20:11:41 +02:00
Matthias
7a598f32dc
Move rpc-count calculation to _rpc class
2019-04-06 19:58:45 +02:00
hroff-1902
8cb1024ff6
Merge branch 'develop' into ccxt-parse_timeframe
2019-04-05 23:16:27 +03:00
Misagh
41ff2a9276
TemporaryError removed
2019-04-05 20:40:44 +02:00
Misagh
4b2eb22989
conflict with develop resolved
2019-04-05 20:23:15 +02:00
Misagh
a505826ec9
flake8
2019-04-05 20:20:41 +02:00
Misagh
54d068de44
missing test added
2019-04-05 20:20:16 +02:00
Misagh
25d8e93a90
remove unnecessary comment
2019-04-05 19:53:15 +02:00
Misagh
9712fb2d57
removing unnecessary comment
2019-04-05 19:49:02 +02:00
Misagh
2b49a11b2a
returning InvalidOrder exception for get_order
2019-04-05 19:46:43 +02:00
Your Name
4c5432be6f
Added command line options in backtesting to override max_open_trades and stake_amount
2019-04-05 16:48:14 +03:00
Misagh
9dc2a30793
Merge pull request #1683 from gianlup/fix_bt_partial_data
...
Fix backtest problem with partial data
2019-04-05 07:28:57 +02:00
Matthias
7010c835d2
Improve commentign
2019-04-04 20:23:10 +02:00
hroff-1902
2aa1b43f01
get rid of TICKER_INTERVAL_MINUTES dict, use ccxt's parse_timeframe() instead
2019-04-04 20:56:40 +03:00
Matthias
32cbb714f9
Improve commenting on backtsting and backtest_multi_tst
2019-04-04 19:44:03 +02:00
Misagh
7f4fd6168a
test for canceled SL on exchange added
2019-04-04 17:23:21 +02:00
Misagh
647534a4f8
flake8
2019-04-04 17:17:21 +02:00
Misagh
31fa857319
typo
2019-04-04 17:15:51 +02:00
Misagh
a363d443bf
stoploss on exchange canceled handled
2019-04-04 17:13:54 +02:00
Misagh
0cdbe714d2
stake amount not amount
2019-04-04 12:06:45 +02:00
Misagh
9d6d60dcf0
Merge pull request #1689 from hroff-1902/main_refactoring
...
Main.py and freqtradebot refactoring
2019-04-04 11:19:15 +02:00
hroff-1902
65350ad552
final flake happy
2019-04-03 22:14:42 +03:00
Matthias
b437c3cf0c
Merge pull request #1729 from mishaker/telegram_sl
...
Removing % sign from telegram message as it is already a pct.
2019-04-03 21:09:36 +02:00
Misagh
5488c66f53
flake8
2019-04-03 20:35:37 +02:00
Misagh
ef48193fad
Merge pull request #1721 from hroff-1902/fix_1704
...
Fix #1704
2019-04-03 20:32:38 +02:00
Misagh
9ee1dd99eb
tests fixed
2019-04-03 20:28:03 +02:00
Matthias
0307ba7883
Remove one branch - python does lazy evaluation
2019-04-03 20:04:04 +02:00
Matthias
1a5b0969b9
Fix tests (both tests where testing the same thing)
2019-04-03 19:53:10 +02:00
Matthias
3c399fbe3f
Improve whitelist wordings
2019-04-03 19:51:46 +02:00
Matthias
a9a5c4a052
Merge pull request #1731 from mishaker/msg_stake
...
This adds stake amount in base currency to the RPC status message
2019-04-03 19:31:24 +02:00
Misagh
d5498c8712
adding %
2019-04-03 19:29:44 +02:00
Misagh
a3fe5f5757
adding stake amount to telegram message
2019-04-03 16:28:44 +02:00
Misagh
67eeb145e1
flake8
2019-04-03 14:31:00 +02:00
Misagh
a3835b1279
flake8
2019-04-03 14:14:47 +02:00
Misagh
5f38d5ee63
removing % sign as it is already a pct
2019-04-03 14:07:33 +02:00
Misagh
53eaf85969
filtering edge pairs for RPC
2019-04-03 14:03:28 +02:00
hroff-1902
d54acca53a
move tests back to original codebase to minimize changes
2019-04-03 00:55:59 +03:00
hroff-1902
2959156070
Merge branch 'develop' into main_refactoring
2019-04-03 00:50:33 +03:00
hroff-1902
b0ddb33acc
tests cleanup: Worker --> FreqtradeBot where the Worker object is not really needed
2019-04-02 22:36:30 +03:00
hroff-1902
62141d3d27
test cloned, separate tests for worker and freqtrade states
2019-04-02 21:57:52 +03:00
Matthias
478c149bbb
Merge pull request #1724 from mishaker/telegram_pct
...
Added percentage to telegram messages + documentation
2019-04-02 20:15:01 +02:00
Misagh
7b39a3084f
formatting and readability
2019-04-02 20:08:10 +02:00
Misagh
a6daf0d991
formatting pct
2019-04-02 20:00:58 +02:00
Misagh
54f11ad603
enriching TSL log
2019-04-02 18:57:06 +02:00
Misagh
40df0dcf3d
tests fixed
2019-04-02 18:45:18 +02:00
Misagh
99d256422e
adding InvalidOrder to exchange
2019-04-02 18:31:03 +02:00
Misagh
389feda65f
Invalid order exception added
2019-04-02 18:25:17 +02:00
Misagh
27917c2d89
Merge pull request #1720 from freqtrade/fix/fee_not_adjusted
...
Fix/fee not adjusted
2019-04-02 12:23:08 +02:00
Matthias
0cfdce0d5e
Update function name from update_open_order to update_trade_state
2019-04-02 07:12:48 +02:00
hroff-1902
ab0e657d77
Check for empty whitelist moved to _process()
2019-04-01 21:36:53 +03:00
hroff-1902
34b40500c3
Check whitelist fetched from config for emptiness
2019-04-01 20:45:59 +03:00
hroff-1902
8546db9dfd
wording in the log message
2019-04-01 20:23:13 +03:00
Misagh
ab579587f2
adding percentage to telegram status messages
2019-04-01 19:13:45 +02:00
hroff-1902
77d2479c75
tests adjusted
2019-04-01 14:08:41 +03:00
hroff-1902
f0b2798c37
fix #1704
2019-04-01 14:08:03 +03:00
Misagh
8002936fe3
Merge pull request #1712 from freqtrade/log/tofile
...
Allow logging to file
2019-04-01 12:55:19 +02:00
Misagh
f440bb193d
Merge pull request #1714 from freqtrade/cleanup_conftest
...
Cleanup tests a bit
2019-04-01 12:52:49 +02:00
hroff-1902
7251e5bd62
bot state moved back to freqtradebot from worker
2019-03-31 23:39:55 +03:00
Matthias
7be90f71d3
Add test as called from execute_buy
2019-03-31 19:56:01 +02:00
Matthias
19d3a0cbac
Update comment
2019-03-31 19:41:17 +02:00
Matthias
0ddafeeabf
Split test for open_orders from maybe_sell
2019-03-31 16:05:40 +02:00
Matthias
b2ad402df4
Split tests for update-open_order
2019-03-31 15:51:45 +02:00
Matthias
e46dac3fbd
Test stoploss does not raise dependencyexception
2019-03-31 15:45:22 +02:00
Matthias
5c8fbe2c6f
Handle exception for stoploss independently of sell order
2019-03-31 15:41:10 +02:00
Matthias
f11a1b0122
Call update_open_order inline with buy
...
captures FOK / market orders
2019-03-31 15:40:43 +02:00
Matthias
8f4cca47e9
Refactor update_open_order into it's own function
2019-03-31 15:39:41 +02:00
Matthias
4fa736114c
Don't set order_id to none here - it's used in "update_open_order".
...
should fix bugs observed in #1371 connected to stoploss
2019-03-31 15:38:25 +02:00
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
misagh
5de3f1d9dd
showing result in tabular
2018-11-14 13:25:44 +01:00
misagh
95cbbf1cb5
adding edge configuration to cli
2018-11-14 12:53:20 +01:00
misagh
cf974168e9
Edge cli drafted
2018-11-14 12:37:15 +01:00
misagh
51dfd2bf47
If max_open_trade=-1 means it should be ignored.
2018-11-14 11:37:53 +01:00
Matthias
060a1b3fbc
Add /whitelist to help message
2018-11-10 20:16:20 +01:00
Matthias
08ef2730a9
Add /whitelist call to telegram
2018-11-10 20:15:06 +01:00
Matthias
62402351b3
Clarify volume selection for dynamic whitelist
2018-11-10 20:14:46 +01:00
Matthias
02527eeea4
Add rpc_whitelist call
2018-11-10 20:07:09 +01:00
misagh
9bbaeb4e6f
mypy expression
2018-11-10 18:39:49 +01:00
misagh
aacc1d5004
removing total capital in favour of stake amount
2018-11-10 18:28:05 +01:00
misagh
d613553306
base position on stake amount instead of total capital
2018-11-10 18:22:34 +01:00
misagh
7dd74c374a
flake happiness provided
2018-11-10 18:09:32 +01:00
misagh
97fd33d752
adding test for process
2018-11-10 18:03:46 +01:00
misagh
523a9a603c
fix tests
2018-11-10 17:20:11 +01:00
misagh
617a58402f
putting edge adjust function in _process not in create_trade
2018-11-09 20:52:03 +01:00
misagh
12e735e831
1) extracting edge_conf to a fixture
...
2) test cased adjusted to Backtesting
3) Formatted backtesting_details a bit
2018-11-09 20:51:15 +01:00
Matthias
59cd4fe0ef
Remove boilerplate comments
2018-11-09 19:34:46 +01:00
Matthias
292962d64d
Fix tests
2018-11-09 19:34:18 +01:00
Matthias
5c5fe4c13a
Fix test
2018-11-09 07:14:43 +01:00
Matthias
272ff51d51
correctly patch exchange
2018-11-09 07:13:20 +01:00
Matthias
56dcf080a9
Add explicit test for parallel trades
2018-11-09 07:13:20 +01:00
Matthias
93429a58b2
remove TODO
2018-11-09 07:13:20 +01:00
Matthias
9cd2ed5a16
fix hyperopt get_timeframe mock
2018-11-09 07:13:20 +01:00
Matthias
fa4c199aa6
fix some mismatches after rebase
2018-11-09 07:13:20 +01:00
Matthias
2371d1e696
Fix backtest test (don't use 8m file if we use 1m tickers)
2018-11-09 07:13:20 +01:00
Matthias
66487f2a13
require start/end-date argument in backtest
2018-11-09 07:13:20 +01:00
Matthias
83a8d79115
Fix alternate buy/sell (this should respect the sell signal!)
2018-11-09 07:13:20 +01:00
Matthias
db17ccef2b
Adapt backtesting-tests to new backtest-logic
2018-11-09 07:13:20 +01:00
Matthias
03cda8e23e
remove meaningless backtesting test
2018-11-09 07:12:41 +01:00
Matthias
6729dfa6d3
Add get_timeframe mock for hyperopt
2018-11-09 07:12:41 +01:00
Matthias
96efd12a31
add new options to hyperopt
2018-11-09 07:12:41 +01:00
Matthias
e94da7ca41
inverse backtest logic to loop over time - not pairs (more realistic)
2018-11-09 07:12:41 +01:00
misagh
6d80c03877
removing raise KeyError in test
2018-11-08 00:28:20 +01:00
misagh
e5c6499706
assigning strategy to edge from FreqtradeBot
2018-11-08 00:22:46 +01:00
Matthias
7b62e71f23
Fix some tests and rebase issues
2018-11-07 20:45:52 +01:00
misagh
866da8aaa1
reinitializing Edge calculated data in case of inability to download
...
backtesting data
2018-11-07 19:24:53 +01:00
misagh
3330d327ed
removing reserve keyword “filter”: replaced by “adjust”
2018-11-07 19:03:08 +01:00
misagh
7b80985533
comments on recursive function + indentation of function declaration
2018-11-07 19:00:18 +01:00
misagh
934dd97eb2
adding init for edge test folder
2018-11-07 18:54:21 +01:00
misagh
96a43327ca
_pair_info moved to class header for reusibility
2018-11-07 18:52:15 +01:00
misagh
6d63de1932
removing unnecessary lib
2018-11-07 18:15:04 +01:00
misagh
553e5656ac
forcestoploss refactored
2018-11-07 18:12:46 +01:00
misagh
6838ae0591
conflict resolved => new backtest low and high params
2018-11-07 17:56:21 +01:00
Matthias
8044846d37
Fix some refactoring problems
2018-11-07 07:05:40 +01:00
Stephen Dade
477515c4b5
Now using resolver for custom hyperopts
2018-11-07 06:58:20 +01:00
Stephen Dade
e0f420983e
Updated logger in custom_hyperopt
2018-11-07 06:55:28 +01:00
Stephen Dade
469db0d434
Decoupled custom hyperopts from hyperopt.py
2018-11-07 06:26:16 +01:00
misagh
1b457e902c
config initializer refactored
2018-11-06 19:45:41 +01:00
misagh
bcecaa69d4
removing global variable modification
2018-11-06 19:41:46 +01:00
Matthias
e0489878d8
Merge pull request #1306 from xmatthias/feat/functional_tests
...
Funcional tests / backtest stoploss alignment
2018-11-06 19:25:31 +01:00
misagh
133ba5d6a1
moving stop loss range to init as it doesn’t need to be called on each
...
iteration
2018-11-06 19:16:20 +01:00
misagh
5c38b92a75
simplifying calculations to be more readable
2018-11-06 19:05:42 +01:00
misagh
ed24d96a79
some formatting for flake8
2018-11-04 18:57:57 +01:00
misagh
8ea9b3746b
passing pair to get_trade_stake_amount
2018-11-04 18:51:54 +01:00
misagh
714ac6dd08
Merge branch 'develop' into money_mgt
2018-11-04 18:49:21 +01:00
misagh
120655d262
fixing tests for namedtuple
2018-11-04 18:43:57 +01:00
misagh
14bfd4b7ee
using named tuples for keeping pairs data
2018-11-04 18:11:58 +01:00
Matthias
7e5fd82f25
Merge pull request #1269 from freqtrade/feat/force_buy
...
add /forcebuy to telgram handler
2018-11-04 09:25:13 +01:00
misagh
d7821acbf0
refreshing pairs on each iteration
2018-11-03 14:33:17 +01:00
misagh
b6d4e11e88
added minimum win rate to config
2018-11-03 14:31:34 +01:00
misagh
ece1c8a702
flake8 again and again and again and again
...
https://www.youtube.com/watch?v=MuSK3pDDYD4
2018-11-02 20:12:48 +01:00
misagh
d1ba994e54
expectancy test completed
2018-11-02 20:07:45 +01:00
misagh
237233c300
renaming tests
2018-11-02 19:59:06 +01:00
misagh
2ef2754ffd
flake8 happiness satisfied
2018-11-02 19:55:41 +01:00
misagh
3eeaa50fe5
stoploss and sell signal tests done
2018-11-02 19:54:32 +01:00
misagh
bb791eac7e
backtesting remove from import + whitespace removed
2018-11-02 19:19:28 +01:00
misagh
333d505b66
OHLC validation corrected
2018-11-02 19:01:37 +01:00
misagh
080ecae332
whitelist conflict resolved with develop branch
2018-11-02 18:59:31 +01:00
misagh
05b8010460
removing unnecessary test cases
2018-11-02 18:10:03 +01:00
misagh
2f6aafe66c
Edge calculation refactored: removing redundant calculations
2018-11-02 18:07:38 +01:00
Matthias
9cadb188d7
Merge pull request #1276 from freqtrade/fix/1272
...
solve /balance crashes
2018-11-02 16:05:42 +01:00
Matthias
8316acfa78
Add column description to test-cases
2018-11-01 13:16:10 +01:00
Matthias
95d271ca5d
Fix ROI close-rate calculation to work with fees - adjust tests
2018-11-01 13:14:59 +01:00
Matthias
c21b45647d
Fix smoe comments in persistence
2018-11-01 13:05:57 +01:00
Matthias
a321d0a820
Short descriptors
2018-10-30 20:49:12 +01:00
Matthias
daa9863d0b
Try adding headers
2018-10-30 20:45:32 +01:00
Matthias
79d1d63e6f
Align data (by halfing all data)
2018-10-30 20:42:34 +01:00
Matthias
8c93760a6d
simplify some code
2018-10-30 20:23:31 +01:00
Matthias
fe2c158e59
Adjust sell-rate to new backtesting (respects roi/stoploss)
2018-10-30 20:13:56 +01:00
Matthias
f96f0cdea7
Add additional comment
2018-10-30 20:02:31 +01:00
Matthias
9e921d4410
refactor General bt-utils out of detailed backtest file
2018-10-30 20:02:01 +01:00
Matthias
e442e22a20
refactorign
2018-10-30 19:58:06 +01:00
Matthias
9798e881cb
refactor sell_r to sell_reason
2018-10-30 19:44:31 +01:00
Matthias
3679b0948a
cleanup interface
2018-10-30 19:37:45 +01:00
Matthias
fc3f8b436d
some more cleanup
2018-10-30 19:36:19 +01:00
Matthias
b383113d6c
Test open / close time - small refactorings
2018-10-30 19:33:32 +01:00
Matthias
9065e79f53
Cleanup and add some comments on what's happening in the sample snippets
2018-10-29 20:33:27 +01:00
Matthias
6096f3ca47
Simplify functional tests
2018-10-29 20:17:15 +01:00
Matthias
98050ff594
use all min_roi entries
2018-10-29 19:27:23 +01:00
Matthias
233c442af9
Adjust backtest so sell uses stop-loss or roi value as closerate
2018-10-29 19:27:23 +01:00
Matthias
a0e8bfbd77
shift buy-signal to one earlier (backtest shifts it forward to avoid
...
lookahead)
2018-10-29 19:27:23 +01:00
Matthias
409465ac8e
adapt functional tests for new version after rebase
2018-10-29 19:27:23 +01:00
Matthias
30a6e684a6
update with new comments and new data for tc5
2018-10-29 19:27:23 +01:00
Matthias
b8f78cb187
Refactor tests, implement @creslinux's data
2018-10-29 19:27:23 +01:00
Matthias
e0fda7a5dd
Add tests validating backtest details
2018-10-29 19:27:23 +01:00
Matthias
2f55cbde35
fix #1298
2018-10-29 19:23:56 +01:00
Matthias
1121ec0724
don't have nb_assets as parameter - it's a config setting as any other
2018-10-28 14:43:35 +01:00
Matthias
551dc79cf7
Don't overwrite pair_whitelist in config dict
...
Doing that will result in an empty whitelist after a short Exchange
downtime
2018-10-28 13:15:49 +01:00
Matthias
db9a85f4a2
Merge pull request #1282 from freqtrade/feat/add_missingdata_warning
...
Show warning if part of backtest data is missing
2018-10-27 11:16:10 -04:00
Matthias
7e1a30f9bf
Merge pull request #1287 from freqtrade/backtest_data_validation
...
Backtest data validation
2018-10-26 07:21:24 -04:00
misagh
426db72126
removing test line
2018-10-25 17:24:33 +02:00
misagh
dfeabcf7e5
Edge tests template refactored to be more readable
2018-10-25 16:59:05 +02:00
misagh
c5474794d1
1) open_trade_index refactored 2) sell index is shifted by 1
2018-10-25 16:57:49 +02:00
misagh
25daf3a0f7
Merge branch 'develop' into money_mgt
2018-10-23 19:33:13 +02:00
misagh
67ace0a76c
trade open time bug resolved (was behind of the market)
2018-10-23 19:32:20 +02:00
Matthias
677a9e56af
remove skipped test (refresh_whitelist is tested in test_acl_pair)
2018-10-21 09:23:07 +02:00
Matthias
202b1d1f0b
fix #1289 - we should not modify decimal context
2018-10-21 09:21:32 +02:00
Matthias
3c6d10f03e
Print missing value count too
2018-10-18 20:05:57 +02:00
Matthias
bc356c4d65
Return true/false for validation function
2018-10-18 19:48:54 +02:00
Matthias
518dcf5209
Cleanup some tests 8m is not a valid ticker value
...
not in constants.TICKER_INTERVAL_MINUTES map
2018-10-18 19:43:04 +02:00
Matthias
fb52d32296
Add validate_backtest_data function
2018-10-18 19:42:54 +02:00
misagh
57bc4a866a
average trade duration added
2018-10-18 11:09:10 +02:00
Matthias
d7459bbbf3
refactor get_timeframe out of backtesting class
2018-10-17 19:59:33 +02:00
Matthias
8a3272e7c5
don't copy tickerdata_to_dataframe into backtesting
...
it's used only once, so this does not make sense and hides the origin of
the function
2018-10-17 19:47:19 +02:00
Samuel Husso
ca2ffaa201
Merge pull request #1275 from freqtrade/telegram_enable_stopped
...
Enable analytical telegram commands when stopped
2018-10-16 19:48:23 +03:00
Matthias
631ba464f3
Show warning if part of backtest data is missing
2018-10-14 14:40:03 +02:00
misagh
6aa9cd1060
removing outliers per pair and not across all pairs
2018-10-12 19:37:23 +02:00
Matthias
138c8152c2
remove unused import
2018-10-10 22:03:54 +02:00
Matthias
701978a4b1
Add test for dust hiding
2018-10-10 22:01:22 +02:00
Matthias
3628659810
Add tests to check if no failure occurs when pair is not available
2018-10-10 21:50:59 +02:00
Matthias
792d2dbe32
Hide "dust" from /balance
2018-10-10 21:29:40 +02:00
Matthias
a4d2bb6f29
Fix "No market symbol" exception in telegram calls
2018-10-10 21:28:48 +02:00
Matthias
3e8e8a55fa
Enable analytical telegram commands when stopped
2018-10-10 20:58:21 +02:00
Matthias
3de3c246b4
add warning-message when forcebuy_enable is true
2018-10-10 20:23:25 +02:00
Matthias
6ff4c9b888
Update docs for /forcesell
2018-10-10 20:08:29 +02:00
Samuel Husso
8cf435f0ba
Merge pull request #1267 from freqtrade/telegram_fix
...
flush session for /forcesell all
2018-10-10 08:44:44 +03:00
Samuel Husso
5b7279793c
Merge pull request #1268 from freqtrade/tests_as_packages
...
convert tests to packages
2018-10-10 08:43:48 +03:00
Matthias
a541d0a931
convert tests to packages
...
source: https://docs.pytest.org/en/latest/goodpractices.html
If you need to have test modules with the same name, you might add __init__.py files to your tests folder and subfolders, changing them to packages:
2018-10-09 21:13:43 +02:00
Matthias
44c275c801
flush session for /forcesell all
2018-10-09 21:08:56 +02:00
Matthias
8c6d7c48ad
Add tests for /forcebuy
2018-10-09 20:04:53 +02:00
Matthias
fbe69cee3f
Add /forcebuy to telegram
2018-10-09 19:25:43 +02:00
Matthias
5029003957
Allow passing price to buy function
2018-10-09 07:06:11 +02:00
Matthias
a20ceb9e31
Add reload_conf to telegram help
2018-10-08 19:43:37 +02:00
Matthias
1d38c35e6a
Fix typo / word repetition
2018-10-06 09:27:49 +02:00
misagh
6d4f68fcdb
unnecessary variables removed
2018-10-05 17:25:56 +02:00
misagh
9e44b260e2
BacktestResult removed as it is not used
2018-10-05 17:19:20 +02:00
misagh
bd25212bd6
test case added: edge calculate function
2018-10-05 17:07:20 +02:00
misagh
36d928d411
unnecessary if removed
2018-10-05 17:06:17 +02:00
Matthias
3973d3697c
deprecate ccxt_rate_limt
2018-10-04 20:35:28 +02:00
Matthias
37088cfb39
add to constants
2018-10-04 20:34:48 +02:00
Matthias
e7d5cf9d9d
Allow loading of any additional configuration to ccxt
...
seperated by async and non-async
2018-10-04 20:16:43 +02:00
misagh
d3078d7564
test case added: edge stop loss for pair
2018-10-04 18:51:59 +02:00
misagh
77cac9e562
autopep8 applied
2018-10-04 18:07:47 +02:00
misagh
06d75a8bad
test cases added: force_stoploss by Edge
2018-10-04 18:05:46 +02:00
misagh
b57d9edda8
Edge test expectancy function (round 1)
2018-10-03 14:23:10 +02:00
misagh
6f79b55845
- function renamed to be more readable
...
- expectancy bug resolved
2018-10-03 14:22:27 +02:00
misagh
a46b3ec9e7
first test completed
2018-10-03 10:37:36 +02:00
misagh
de20e142a0
added 9 use cased for testing Edge
2018-10-02 18:05:24 +02:00
misagh
a364a1e40d
Edge package test cases drafted
2018-10-02 16:32:57 +02:00
misagh
697493bd01
test cases for Edge package drafted
2018-10-02 16:07:33 +02:00
misagh
23f8980973
edge config added to CONF_SCHEMA and config_full.json.example
2018-10-02 12:42:59 +02:00
misagh
8741a63783
return type of stake_amount set to float
2018-10-02 12:20:48 +02:00
misagh
26b3c3f7a8
removing unnecessary typing
2018-10-02 12:20:30 +02:00
misagh
3b57aef168
config name refactored
2018-10-02 12:16:09 +02:00
misagh
9c4fdc1bc5
initializing Edge in Freqtradebot only if it is enabled
2018-10-02 12:15:54 +02:00
misagh
d634a03455
adding DataFrame type
2018-10-02 11:55:14 +02:00
misagh
e4fc298bd6
typo corrected
2018-10-02 11:53:59 +02:00
misagh
11c3b3fdb9
trade_df unnecessary type removed
2018-10-02 11:53:16 +02:00
misagh
a6c2e40bd4
moving time range to initializer as we have to calculate it once
2018-10-02 11:49:49 +02:00
Samuel Husso
d549fe351c
Prepare master for release 0.17.2
2018-10-02 09:24:22 +03:00
Samuel Husso
4a9ed02b9b
develop to version 0.17.3
2018-10-02 09:18:54 +03:00
misagh
f306abb3ee
No need for Exchange class in Edge
2018-10-01 17:52:07 +02:00
misagh
8b3631d1ac
make “if condition” more readable
2018-10-01 17:49:27 +02:00
misagh
2056b6f5f1
no need to initialize a variable with None
2018-10-01 17:35:27 +02:00
misagh
ad666ac65c
autopep8 corrected
2018-10-01 17:33:18 +02:00
misagh
f72fb0ad04
exchange “None” condition removed as Edge is after Exchange anyway
2018-10-01 17:29:33 +02:00
misagh
114fd7feef
declaring local variables. using get for configuration
2018-10-01 17:21:40 +02:00
misagh
aa1948750f
removing unnecessary constructor docstring
2018-10-01 17:11:48 +02:00
Matthias
3af3094a56
Merge pull request #1247 from freqtrade/fix_hyperopt_pickle
...
Fix hyperopt pickle
2018-09-30 16:51:33 +02:00
Matthias
84622dc84b
Move test for strategy out of constructor
2018-09-29 14:23:53 +02:00
Matthias
1b290ffb5d
Update hyperopt to show errors if non-supported variables are used
2018-09-29 13:49:38 +02:00
Matthias
334e7553e1
Fix hyperopt not working after update of scikit-learn to 0.20.0
2018-09-29 13:49:27 +02:00
Matthias
f4585a2745
Patch exchange to not cause network delays during tests
2018-09-29 13:35:48 +02:00
Matthias
448f3a7197
Merge pull request #1241 from freqtrade/fix/loadstrategyonce
...
Only load strategy once during backtesting
2018-09-29 09:12:41 +02:00
misagh
cff83d3e6f
bloody autopep8 again
2018-09-28 16:46:42 +02:00
misagh
c8d06e2b0e
filter pairs according to expectancy + bug at the end of array resolved
2018-09-28 16:40:34 +02:00
misagh
f15825e3a7
long line broken to two
2018-09-28 14:28:05 +02:00
misagh
96a0fc88cb
Moving Edge before refresh_pairs
...
see comments on edge (line 129)
2018-09-28 14:19:22 +02:00
Matthias
6e66763e5f
Only load strategy once during backtesting
2018-09-27 19:23:55 +02:00
misagh
d6415f3499
Merge branch 'develop' into money_mgt
2018-09-27 14:54:18 +02:00
Matthias
89b515be60
Merge pull request #1220 from freqtrade/fix/plot_dataframe
...
Fix plot dataframe
2018-09-27 12:40:34 +02:00
Matthias
4ad3e96a2f
Merge pull request #1225 from freqtrade/test_acl_improvement
...
Remove direct call to pytest fixture to elliminate pytest warning
2018-09-27 12:39:56 +02:00
Matthias
3893b638fe
Merge pull request #1213 from freqtrade/fix_mac_install
...
Fix mac install documentation
2018-09-27 12:39:42 +02:00
misagh
21f5a94eca
using autopep8 for formatting file
2018-09-27 12:23:46 +02:00
Matthias
5dac3b5664
Merge pull request #1238 from freqtrade/fix/buyexception
...
Fix exception when order cannot be found
2018-09-26 19:26:17 +02:00
misagh
25d6ed319a
whitespace removed
2018-09-26 17:09:20 +02:00
misagh
24364a56ea
keeping mypy happy
2018-09-26 17:03:10 +02:00
misagh
0594deafc6
removing whitespaces and long lines
2018-09-26 16:50:17 +02:00
misagh
75ba6578a3
unused library + trailing whitespaces removed.
2018-09-26 16:36:41 +02:00
misagh
abb398786e
Merge branch 'develop' into money_mgt
2018-09-26 16:06:38 +02:00
misagh
fcf837bfda
refactoring variable declaration
2018-09-26 16:03:51 +02:00
misagh
87df4e4556
refactoring backslap (round 2)
2018-09-26 15:20:53 +02:00
Matthias
766d32897d
Merge pull request #1204 from freqtrade/move_load_markets
...
refactor load_markets out of validate_pairs
2018-09-26 06:38:37 +02:00
Matthias
88ccdc0366
Fix exception when order cannot be found
2018-09-25 20:45:01 +02:00
misagh
40d73de357
refactoring backslap (round one)
2018-09-24 19:22:30 +02:00
misagh
e8716f16ad
calculating expectancy and sort pairs accordingly instead of delta
2018-09-24 17:47:50 +02:00
misagh
a806dd45f2
lost in branches ! typo for some magical unknown reasons
2018-09-24 16:02:29 +02:00
misagh
027ec4d98e
test_sell_profit_only_enable_loss and test_create_trade_limit_reached
...
fixed
2018-09-24 15:47:07 +02:00
misagh
308428644b
test_process_trade_creation log message changed: in reality the buy
...
signal is actually triggered
2018-09-24 15:27:26 +02:00
misagh
76dd754963
test_get_trade_stake_amount and
...
test_get_trade_stake_amount_no_stake_amount fixed: “pair” arg added to
_get_trade_stake_amount
2018-09-24 15:02:50 +02:00
misagh
303eefda76
test_get_trade_stake_amount_unlimited_amount fixed: “pair” argument
...
added to _get_trade_stake_amount
2018-09-24 14:55:49 +02:00
misagh
29459d7d30
import libraries organized.
2018-09-23 04:51:53 +02:00
misagh
f1b4e4b36c
stop loss range “start, end, step” configurable for Edge
2018-09-22 15:43:41 +02:00
misagh
cf37093e5a
empty dict default removed
2018-09-21 22:07:12 +02:00
misagh
d6d3dfdcc2
removing “if ujson_found is not None:” as “json” refers to “ujson” if
...
it exists
2018-09-21 22:06:09 +02:00
misagh
66b1eac1db
removing unnecessary ujson import
2018-09-21 21:59:35 +02:00
misagh
fbc77c1f28
moving stake_currency line back to its initial place
2018-09-21 21:55:36 +02:00
misagh
3b925e46be
removing default pair value of _get_trade_stake_amount
2018-09-21 21:48:27 +02:00
misagh
3e3ed947cc
added “max_trade_duration” config + using “remove_dumps” config
2018-09-21 21:46:18 +02:00
misagh
61095db071
edge config enriched
2018-09-21 21:36:26 +02:00
misagh
4fd037f83f
removing pdb
2018-09-21 18:00:37 +02:00
misagh
4bd956d5b1
test file removed
2018-09-21 17:58:20 +02:00
misagh
74979943ba
backslap removed from arguments
2018-09-21 17:57:29 +02:00
misagh
2d432bfa95
backtesting rollbacked to develop branch
2018-09-21 17:54:37 +02:00
misagh
4746aea05c
test file for edge (will be removed)
2018-09-21 17:42:04 +02:00
misagh
ef52c7b510
edge positioning put into package
2018-09-21 17:41:31 +02:00
Matthias
567211e9f9
don't print "NAN" lines in "left_open_trades"
2018-09-20 20:35:26 +02:00
misagh
decaf6c42e
Backslap bug on “stop loss triggered” indexes resolved
2018-09-20 16:15:53 +02:00
Matthias
4d5e368c2e
Remove direct call to pytest fixture to elliminate pytest warning
2018-09-19 19:40:32 +02:00
Matthias
176bae2d59
Set default-db url in configuration, not arguments
...
* Fixes a bug in plot_dataframe.py (#1217 )
* db_url is eventually overwritten here anyway.
2018-09-17 19:57:47 +02:00
Matthias
9685c09c1a
Add offset to "get_trades_for_order"
2018-09-15 20:28:36 +02:00
misagh
88854cba2d
removing only pumps from dataset
2018-09-15 15:53:42 +02:00
misagh
07ba14d1ea
backslap bug resolved
2018-09-15 15:52:10 +02:00
misagh
5f68834ccc
merging develop into money_mgt (updated to async)
2018-09-14 19:20:49 +02:00
misagh
e30d23cf23
[draft] First version of edge positioning
2018-09-14 19:04:54 +02:00
Matthias
c429eae6e4
Adjust remaining tests to _load_markets refactoring
2018-09-11 19:59:01 +02:00
Matthias
674bad2a4f
Add and fix tests for load_markets
2018-09-11 19:46:47 +02:00
Matthias
14b7fc42fa
Change returntype for _load_markets to dict
2018-09-11 19:46:31 +02:00
Matthias
f954efbd64
Adapt tests to not _load_markets
2018-09-10 20:19:28 +02:00
Matthias
0a29096794
Refactor load_market out of validate_pairs
2018-09-10 20:19:12 +02:00
misagh
13ffd88053
merging develop into async. requirement.txt conflict resolved
2018-09-06 20:28:07 +02:00
misagh
a74953cb4d
Draft of money management
2018-09-06 16:59:51 +02:00
Matthias
e9deb928f6
Fix bug when exchange result is empty
2018-09-02 19:15:23 +02:00
Matthias
3fd00c9a9c
Merge branch 'develop' into ta_on_candle
2018-09-01 20:01:18 +02:00
Matthias
2ec5a536aa
Fix comment location
2018-09-01 19:57:12 +02:00
Matthias
d35d3bb38c
rename ta_on_candle to process_only_new_candles
...
be more expressive
2018-09-01 19:52:40 +02:00
Matthias
cb46aeb73c
rename variable to be more expressive
2018-09-01 19:50:45 +02:00
Matthias
ffd4469c1d
fix typo, refresh_tickers does not need a return value
2018-08-29 19:56:38 +02:00
Matthias
54ddd908e6
Merge branch 'develop' into ccxt-async
2018-08-29 19:43:09 +02:00
Matthias
9f8e68ce02
Merge branch 'develop' into order-book
2018-08-29 19:32:44 +02:00
Nullart2
b6b89a464f
move order_book config out of experimental
2018-08-29 17:38:43 +08:00
Matthias
42587741dd
mock exchange to avoid random failures
2018-08-25 13:21:10 +02:00
Matthias
a489a044ad
Mock Exchange results to avoid random test-failures
2018-08-25 13:17:07 +02:00
misagh
bc6b80ff38
Edge functionality drafted
2018-08-24 11:59:10 +02:00
Samuel Husso
7376a0d538
Merge pull request #1131 from freqtrade/parametrize_outdated_ticker
...
parametrize outdated_offset to simplify sandbox usage
2018-08-22 07:02:38 +03:00
Samuel Husso
36e0e652f0
Merge pull request #1135 from freqtrade/fix/rpc_balance_vtho
...
Fix /balance rpc call if coin is not properly listed
2018-08-22 07:01:40 +03:00
Misagh
66d52c1236
Merge pull request #4 from xmatthias/ccxt_async_retrier
...
Add async retrier
2018-08-21 19:55:30 +02:00
Matthias
6e90d482ef
remove amount_to_lots (deprecated / removed)
...
was removed from ccxt in
527f082e59
2018-08-21 19:08:21 +02:00
Matthias
8f41e0e190
Use setting in 'exchange' dict
2018-08-20 20:01:57 +02:00
Matthias
a077955efa
update json.load to json_load - followup to #1142
2018-08-19 19:58:07 +02:00
Matthias
0674c3e8f0
Merge pull request #1142 from freqtrade/ujson-loader
...
backtesting: try to load data with ujson if it exists
2018-08-19 19:53:38 +02:00
Matthias
6d1c82a5fa
Remove last refreence to get_candle_history
2018-08-19 19:50:14 +02:00
Matthias
de0f3e43bf
remove unused mocks
2018-08-19 19:49:39 +02:00
Matthias
694b8be32f
Move variables from class to instance
2018-08-19 19:49:02 +02:00
Matthias
9403248e4d
have plot-script use async ticker-refresh
2018-08-19 19:48:24 +02:00
Matthias
088c54b88c
remove unnecessary function
2018-08-19 09:17:17 +02:00
Matthias
d722c12109
fix bug in async download script
2018-08-18 21:08:59 +02:00
Matthias
d556f669b0
Add async retrier
2018-08-18 21:05:38 +02:00
Matthias
d1c5eebff2
Add explicit test on handling min_roi_reached
2018-08-17 06:50:36 +02:00
Samuel Husso
98240e0e48
Merge pull request #1154 from freqtrade/min_roi_output
...
Output min-roi setting when overwriting from config
2018-08-16 20:18:49 +03:00
Samuel Husso
0750d356a1
Merge pull request #1141 from freqtrade/fix/python3.7
...
fix running freqtrade on python3.7
2018-08-16 20:17:24 +03:00
Matthias
16fa877b67
Remove verbosity of trying backup tables - properly log if
...
databasemigration happened
2018-08-16 13:15:46 +02:00
Matthias
ff8ed564f1
Refactor refresh_pairs to exchange and fix tests
2018-08-16 12:15:09 +02:00
misagh
e6e2799f03
Keeping cached Klines only in exchange and renaming _cached_klines to
...
klines.
2018-08-16 11:37:31 +02:00
Matthias
4a8c120926
Output min-roi setting when overwriting from config
2018-08-16 11:35:41 +02:00
Samuel Husso
aa10c6e6fe
master to RELEASE 0.17.1
2018-08-16 08:12:36 +03:00
misagh
a2d9126917
Merge branch 'develop' into ccxt-async
2018-08-15 15:09:35 +02:00
Matthias
baeffee80d
Replace time.time with arrow.utcnow().timestamp
...
arrow is imported already
2018-08-15 13:26:01 +02:00
Matthias
76914c2c07
remove todo comment as this is actually done
2018-08-15 12:57:27 +02:00
Matthias
ca6594cd24
remove comment, add docstring
2018-08-15 12:49:39 +02:00
Matthias
d007ac4b96
check version explicitly, use "python" in venv
2018-08-15 08:37:20 +02:00
Janne Sinivirta
6e2a2abe80
Merge pull request #1151 from freqtrade/version-bump
...
Push develop as 0.17.2
2018-08-15 08:26:43 +03:00
Samuel Husso
dd7f540e5a
Push develop as 0.17.2
2018-08-15 08:25:04 +03:00
Nullart2
1edbc494ee
refactor
2018-08-15 12:37:30 +08:00
Nullart2
b34aa46181
additional tests
2018-08-15 12:05:56 +08:00
Nullart2
48e218d6c0
test_talib fix
2018-08-15 11:01:59 +08:00
Nullart2
2bc7a668a3
informative startup
2018-08-15 10:39:32 +08:00
Matthias
3aa210cf93
Add test for get_history
2018-08-14 20:53:58 +02:00
Matthias
e37cb49dc2
Ad test for async_load_markets
2018-08-14 20:42:13 +02:00
Matthias
67cbbc86f2
Add test for exception
2018-08-14 20:35:12 +02:00
Matthias
37e504610a
refactor private method - improve some async tests
2018-08-14 20:33:03 +02:00
Matthias
8528143ffa
Properly close async exchange as requested by ccxt
2018-08-14 19:52:09 +02:00
Matthias
69cc6aa958
Add test to async
2018-08-14 16:02:03 +02:00
misagh
a6b69da391
Merge branch 'develop' into ccxt-async
2018-08-14 15:30:34 +02:00
Nullart2
78610bb47f
mock order_book and additional test
2018-08-14 18:12:44 +08:00
Matthias
721fb3e326
remove unused profile import
2018-08-14 10:12:57 +02:00
Matthias
2b37c1ff0e
Merge branch 'develop' into ujson-loader
2018-08-12 13:11:40 +02:00
Matthias
7d72e364aa
Remove broken ujson loading - replace with variable-based fix
2018-08-12 13:08:10 +02:00
Matthias
e3e79a55fa
Fix _abc_data pickle error in 3.7
2018-08-12 10:16:51 +02:00
Matthias
e73331b9b6
Merge pull request #1124 from berlinguyinca/database_tuning
...
Database tuning
2018-08-12 09:45:48 +02:00
Matthias
ffa47151ee
Flake8 fix
2018-08-12 09:30:12 +02:00
Matthias
88e85e8d33
fix tests - move load_async_markets call to validate_pairs
2018-08-10 13:11:04 +02:00
Matthias
fce071843d
Move async-load to seperate function
2018-08-10 13:04:43 +02:00
Matthias
a852d2ff32
default since_ms to 30 days if no timerange is given
2018-08-10 11:15:02 +02:00
Matthias
a107c4c7b4
Download using asyncio
2018-08-10 11:08:28 +02:00
Matthias
74d6816a1a
Fix some comments
2018-08-10 11:00:07 +02:00
Matthias
e34f2abc3a
Add some typehints
2018-08-10 09:58:04 +02:00
Matthias
8a0fc888d6
log if using cached data
2018-08-10 09:48:54 +02:00
Matthias
36f05af79a
sort fetch_olvhc result, refactor some
...
* add exception for since_ms - if this is set it should always download
2018-08-10 09:44:15 +02:00
Matthias
e654b76bc8
Fix async test
2018-08-10 09:44:03 +02:00
Matthias
56768f1a61
Flake8 in tests ...
2018-08-09 20:17:55 +02:00
Matthias
b008649d79
Remove unnecessary quote escaping
2018-08-09 20:13:07 +02:00
Matthias
3b2f161573
Add test for ta_on_candle override
2018-08-09 20:12:45 +02:00
Matthias
df960241bd
Add log-message for skipped candle and tests
2018-08-09 20:07:01 +02:00
Matthias
4ece5d6d7a
Add tests for ta_on_candle
2018-08-09 20:02:24 +02:00
Matthias
e36067afd3
refactor candle_seen to private
2018-08-09 19:58:47 +02:00
Matthias
c4e43039f2
Allow control from strategy
2018-08-09 19:24:00 +02:00
misagh
280ead7bdb
Merge branch 'develop' into ccxt-async
2018-08-09 13:04:01 +02:00
Matthias
98730939d4
Refactor to use a plain dict
...
* check config-setting first - avoids any call to "candle_seen"
eventually
2018-08-09 13:02:41 +02:00
Matthias
d1306a2177
Fix failing tests when metadata in analyze_ticker
is actually used
2018-08-09 13:01:57 +02:00
misagh
cb26085229
Moving should_not_update logic to async function per pair. if there is
...
no new candle, async function will just return the last cached candle
locally and doesn’t hit the API
2018-08-09 12:47:26 +02:00
misagh
cef09f49a6
wait for markets to be loaded before looping in symbols.
2018-08-09 11:51:38 +02:00
Matthias
e1921c8849
Fix bug causing /balance to fail
2018-08-08 22:00:39 +02:00
Matthias
3c451e0677
Add test for bugreport #1111
2018-08-08 21:54:52 +02:00
Nullart2
c9c0e108ab
refactor
2018-08-07 18:29:37 +08:00
Matthias
c9580b31d0
parametrize outdated_offset to simplify sandbox usage
2018-08-07 09:25:21 +02:00
Matthias
255f303850
Fix tests and flake8
2018-08-07 08:56:06 +02:00
Matthias
131d268721
Fix failing tests when metadata in analyze_ticker
is actually used
2018-08-06 19:15:30 +02:00
Samuel Husso
199bd7bc50
Merge pull request #1123 from freqtrade/fix-db_migration
...
Fix db migration
2018-08-06 12:00:22 +03:00
Axel Cherubin
65f7b75c34
fix flake8 issue
2018-08-05 17:52:06 -04:00
Axel Cherubin
0b825e96aa
fix talib bug on bollinger bands and other indicators when working on small assets, rise talib prescision and add test associated
2018-08-05 16:08:49 -04:00
Nullart2
1309c2b14f
tests update
2018-08-05 22:56:14 +08:00
Nullart2
7143b64fb7
tests for coverage
2018-08-05 22:41:58 +08:00
Nullart2
26d591ea43
mypy fix
2018-08-05 21:08:07 +08:00
Nullart2
4a9bf78770
Order Book with tests
2018-08-05 12:41:06 +08:00
Matthias
d73d0a5253
Fix database migration
2018-08-04 20:22:45 +02:00
Matthias
ea506b05c6
Add test for failing database migration
2018-08-04 20:22:16 +02:00
misagh
3ce4d20ab9
using constants instead of stripping the string
2018-08-04 13:04:16 +02:00
misagh
af93b18475
Do not refresh candles on "process_throttle_secs" but on intervals
2018-08-03 18:10:03 +02:00
misagh
3987a8aeb8
Merge branch 'ccxt-async' of https://github.com/misaghshakeri/freqtrade into ccxt-async
2018-08-03 14:50:11 +02:00
misagh
59b9a6d94d
Break the loop as soon as one buy signal is found.
2018-08-03 14:49:55 +02:00
creslin
10ab6c7ffa
Removed unneeded property code
2018-08-03 09:14:16 +00:00
creslin
1fef384bba
flake 8
2018-08-03 08:40:16 +00:00
creslin
d2a728cebd
flake 8
2018-08-03 08:38:13 +00:00
creslin
6b3e8dcc33
holds a dict of each pair last seen.
...
to correctly manage the last seen of a pair.
2018-08-03 08:33:37 +00:00
creslin
c38d94df2d
Resubmitting - because GIT.
...
This is the last cut that was in #1117 before i closed that PR
This PR allows a user to set the flag "ta_on_candle" in their config.json
This will change the behaviour of the the bot to only process indicators
when there is a new candle to be processed for that pair.
The test is made up of "last dataframe row date + pair" is different to
last_seen OR ta_on_candle is not True
2018-08-03 07:33:34 +00:00
Gert
85c73ea850
added index
2018-08-02 16:39:13 -07:00
Matthias
337d9174d9
Flake8 fixes
2018-08-02 20:11:27 +02:00
Matthias
80a1c6ea64
Merge pull request #1106 from creslinux/xbt
...
XBT missing as a market symbol for BTC in constants
2018-08-02 20:07:25 +02:00
misagh
05ca78d2a3
ticker_history changed to candle_history naming
2018-08-02 17:10:38 +02:00
misagh
2ec2f1abce
async branch updated to reflect develop branch changes
2018-08-02 16:48:21 +02:00
Janne Sinivirta
e282d57a91
fix broken test
2018-08-02 12:57:47 +03:00
Janne Sinivirta
3a5b435dfa
Merge pull request #1089 from freqtrade/feat/backtest_multi_strat
...
Allow multi strategy backtest without data reload
2018-08-02 12:35:47 +03:00
Janne Sinivirta
17d78b7807
Merge pull request #1115 from creslinux/candlesnottickers
...
renamed/refactored get_ticker_history to get_candle_history to stop confusion
2018-08-02 12:33:09 +03:00
creslin
1f97d0d78b
fix
2018-08-02 09:15:02 +00:00
creslin
a741f1144a
missing __init__.py
2018-08-02 08:58:04 +00:00
creslin
f619cd1d2a
renamed/refactored get_ticker_history to get_candle_history
...
as it does not fetch any ticker data only candles
and is causing confusion when developer are talking about candles /tickers
incorreclty.
OHLCV < candles and Tickers are two seperate datafeeds from the exchange
2018-08-02 08:45:28 +00:00
Matthias
4f5b530dcb
Merge pull request #1113 from berlinguyinca/backslap_develop
...
Backslap develop
2018-08-02 10:30:36 +02:00
Matthias
9c08cdc81d
Fix typehints
2018-08-01 21:58:32 +02:00
Matthias
915160f21f
Add tests for tickers-history
2018-08-01 21:44:02 +02:00
Matthias
c466a028e0
Add a first async test
2018-08-01 21:40:54 +02:00
creslin
36f91fcdf5
XBT missing as a market symbol for BTC in constants
2018-08-01 06:03:34 +00:00
Matthias
5b8ee214f9
Adapt to pair_to_strat methology
2018-08-01 07:28:12 +02:00
Matthias
038e97667f
Merge branch 'develop' into BASE64
2018-08-01 07:26:13 +02:00
Gert
04d5e857e2
added option to easily switch between backtesting and backslapping from the commandline option
2018-07-31 18:10:23 -07:00
Gert
3428b6666b
Merge branch 'develop_current' into backslap_develop
2018-07-31 17:07:30 -07:00
Matthias
40ee86b357
Adapt after rebase
2018-07-31 21:08:03 +02:00
Matthias
76fbb89a03
use print for backtest results to avoid odd newline-handling
2018-07-31 21:04:03 +02:00
Matthias
c648e2acfc
Adjust documentation to strategy table
2018-07-31 21:04:03 +02:00
Matthias
765d1c769c
Add test for stratgy summary table
2018-07-31 21:04:03 +02:00
Matthias
028589abd2
Add strategy summary table
2018-07-31 21:04:03 +02:00
Matthias
5125076f5d
Fix typo
2018-07-31 21:04:03 +02:00
Matthias
a8b55b8989
Add test for strategy-name injection
2018-07-31 21:04:03 +02:00
Matthias
a57a2f4a75
Store backtest-result in different vars
2018-07-31 21:04:03 +02:00
Matthias
bd3563df67
Add test for new functionality
2018-07-31 21:04:03 +02:00
Matthias
644f729aea
Refactor strategy loading to __init__
2018-07-31 21:04:03 +02:00
Matthias
5f2e92ec5c
Refactor backtesting
2018-07-31 21:04:03 +02:00
Matthias
65aaa3dffd
Extract backtest strategy setting
2018-07-31 21:04:03 +02:00
Matthias
9a42aac0f2
Add testcase for --strategylist
2018-07-31 21:04:03 +02:00
Matthias
56046b3cb3
Add strategylist option to backtesting
2018-07-31 21:04:03 +02:00
Matthias
e7d0439741
Add new arguments
2018-07-31 21:03:17 +02:00
Matthias
136442245c
Add todo's and dockstring
2018-07-31 21:02:04 +02:00
Matthias
12417cc303
fix tests
2018-07-31 20:54:51 +02:00
Matthias
52065178e1
use .get all the time
2018-07-31 20:53:32 +02:00
Matthias
b45d465ed8
init _klines properly
2018-07-31 20:50:59 +02:00
Matthias
31870abd25
Refactor async-refresh to it's own function
2018-07-31 20:43:32 +02:00
Matthias
a486b1d01c
Use Dict instead of tuplelist, run in _process
2018-07-31 20:25:10 +02:00
misagh
74fa4ddca4
CCXT rate limit config default to => true
...
+ adding config to config_full.json.example
2018-07-31 16:54:02 +02:00
misagh
be1298dbd2
Initializing CCXT with rate_limit parameter optional (default to false)
2018-07-31 14:19:16 +02:00
misagh
154e4569d7
Merge branch 'develop' into ccxt-async
2018-07-31 12:48:12 +02:00
misagh
c8f125dbb9
ccxt async POC
2018-07-31 12:47:32 +02:00
Janne Sinivirta
1044d15b17
Merge pull request #1096 from freqtrade/cleaner-tests
...
Cleaning unit tests, first set
2018-07-31 08:22:33 +03:00
Gert
bf0b1af878
merged latest development branch
2018-07-30 13:43:25 -07:00
Gert
b83487cc36
added required changes
2018-07-30 13:00:08 -07:00
Matthias
5a55cd25ff
Merge branch 'develop' into sandbox2
2018-07-30 20:18:48 +02:00
Janne Sinivirta
f85cc422a3
Merge branch 'develop' into cleaner-tests
2018-07-30 21:08:55 +03:00
Janne Sinivirta
155e134f50
Merge pull request #1097 from creslinux/gdax3
...
Enable GDAX support by rounding amount/rate (with unit tests)
2018-07-30 21:04:26 +03:00
creslin
fe27ca63b4
Update test_exchange.py
2018-07-30 17:08:33 +00:00
creslinux
012fe94333
Recommitted as new branch with unit tests - GIT screwd me on the last PR
2018-07-30 16:49:58 +00:00
Janne Sinivirta
8b8d3f3b75
default_conf is function-scoped fixture, no need to deepcopy it
2018-07-30 15:41:02 +03:00
Janne Sinivirta
67d1693901
avoid validating default_conf hundreds of times
2018-07-30 14:57:51 +03:00
Janne Sinivirta
3083e5d2be
use pytest fixture properly in test_hyperopt
2018-07-30 13:26:54 +03:00
Janne Sinivirta
affdeb8fd8
rename func to throttled_func
2018-07-30 12:58:29 +03:00
Janne Sinivirta
fb80964b69
freqtradebot tests don't need to mock coinmarketcap anymore
2018-07-30 12:58:29 +03:00
Janne Sinivirta
1c20ef873d
remove parens
2018-07-30 12:09:07 +03:00
Janne Sinivirta
df53e912f0
fix one more test that was missing mock and needed internet
2018-07-30 12:09:07 +03:00
Janne Sinivirta
e242842805
remove more useless docstrings from tests
2018-07-30 12:09:07 +03:00
Matthias
2401fa15d2
Change missed calls to advise_* functions
2018-07-29 21:07:21 +02:00
Matthias
787d6042de
Switch from pair(str) to metadata(dict)
2018-07-29 20:56:23 +02:00
Matthias
82680ac6aa
improve docstrings for strategy
2018-07-29 20:55:40 +02:00
Matthias
5fbce13830
update hyperopt to use new methods
2018-07-29 20:55:40 +02:00
Matthias
39cf0decce
don't use __annotate__
...
it is only present when typehints are used which cannot be guaranteed
for userdefined classes
2018-07-29 20:55:40 +02:00
Matthias
f286ba6b87
overload populate_indicators to work with and without pair argumen
...
all while not breaking users strategies
2018-07-29 20:55:40 +02:00
Matthias
98665dcef4
revert inadvertent wihtespace changes
2018-07-29 20:55:37 +02:00
Matthias
791c5ff071
update comments to explain what advise methods do
2018-07-29 20:55:37 +02:00
Matthias
8a9c54ed61
use new methods
2018-07-29 20:55:37 +02:00
Matthias
18b8f20f1c
fix small test bug
2018-07-29 20:55:37 +02:00
Matthias
f12167f0dc
Fix backtesting test
2018-07-29 20:55:37 +02:00
Matthias
df8700ead0
Adapt after merge from develop
2018-07-29 20:55:37 +02:00
Matthias
0eff6719c2
improve tests for legacy-strategy loading
2018-07-29 20:55:37 +02:00
Matthias
aa772c28ad
Add tests for advise_indicator methods
2018-07-29 20:55:37 +02:00
Matthias
c9a97bccb7
Add tests for deprecation
2018-07-29 20:55:32 +02:00
Matthias
7300c0a0fe
remove @abstractmethod as this method may not be present in new
...
strategies
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
921f645623
fixing tests...
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
0dcaa82c3b
fixed test?
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
3dd7d209e9
more test fixes
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
abc55a6e6b
fixing? hyperopt
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
5871488858
fixed errors and making flake pass
2018-07-29 20:55:06 +02:00
xmatthias
2e6e5029ba
fix mypy and tests
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
19b9966417
satisfied flake8 again
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
57f683697d
revised code
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
296d3d8bbe
working on refacturing of the strategy class
2018-07-29 20:55:06 +02:00
Janne Sinivirta
f832edf5bc
remove useless docstrings from tests
2018-07-29 17:09:44 +03:00
Janne Sinivirta
1bbb86c621
remove nonsense asserts
2018-07-29 16:23:17 +03:00
Matthias
7f27beff4b
Revert "backtesting: try to load data with ujson if it exists"
2018-07-29 13:23:11 +02:00
creslinux
dd71071740
Added logger.info when Sandbox is enabled.
2018-07-29 09:15:13 +00:00
creslinux
1e804c0df5
flake 8
2018-07-29 08:10:55 +00:00
creslinux
fc06d028b8
Unit tests for sandbox pass / fail scenarios
...
Big Wave of appreciation to xmatthias for the guidence on how
Mocker works
2018-07-29 08:02:04 +00:00
Matthias
618784d060
Merge pull request #1090 from freqtrade/ujson-loader
...
backtesting: try to load data with ujson if it exists
2018-07-29 08:54:02 +01:00
Samuel Husso
cfcc2e61e5
Merge pull request #1088 from freqtrade/fix/unpatched_mock
...
fix rpc test going to network
2018-07-29 09:53:52 +03:00
Samuel Husso
187e039a58
Merge pull request #1034 from freqtrade/feat/positive_sl_limit
...
add offset for positive trailing stop loss
2018-07-29 08:30:29 +03:00
Gert
ab66fe1b72
prepared for tracking signals
2018-07-28 19:45:33 -07:00
Gert
ed47240b6e
working on develop backslap
2018-07-28 18:30:12 -07:00
Gert
1a673c6ac9
working on moving backslap
2018-07-28 14:23:18 -07:00
creslinux
0a059662b3
Submitting with unit test for the working scenario.
...
Strongly recommend core team check the unit test is even targetting the
correct code in exchange/__init__.py
I have a real knowledge gap on mocker, in so far as how tests map to
what they're targeting.
2018-07-28 20:32:10 +00:00
Samuel Husso
cb2fff8909
mypy doesn't handle common idiomacy so disable the line (see the open issue more details)
2018-07-28 22:06:26 +03:00
Samuel Husso
cdd8cc551c
backtesting: try to load data with ujson if it exists
2018-07-28 21:56:11 +03:00
Samuel Husso
6ab8fa8c71
Merge pull request #1079 from creslinux/apiAuthPass
...
add Password option to API login, GDAX as example requires.
2018-07-28 13:53:39 +03:00
Matthias
243b63e39c
fix rpc test going to network (unsuitable for flights...)
2018-07-27 21:14:41 +01:00
creslin
40ae250193
Update constants.py
...
Adding UID also, as itll get ran into in future on an exchange that needs it.
2018-07-27 12:19:01 +00:00
creslinux
c47253133a
have to begin before we can stop
2018-07-27 12:07:07 +00:00
creslinux
7efa81073a
Removed ; at line end.
2018-07-27 09:10:09 +00:00
creslinux
d23b3ccc5e
odd cut and paste error fixed.
2018-07-27 08:55:36 +00:00
Matthias
48cd468b6c
Don't do all network calls at once without async
2018-07-27 07:40:27 +01:00
creslinux
0372485cf0
Some reason did not push this...
...
vector calcs redone.
2018-07-26 19:17:00 +00:00
creslinux
e39ae45d2f
Some reason did not push this...
...
vector calcs redone.
2018-07-26 18:40:45 +00:00
Matthias
df3e76a65d
Remove legacy code, fix missed call
2018-07-26 19:11:51 +01:00
Matthias
f2a9be3684
Adjust tests and remove legacy variable
2018-07-26 19:06:25 +01:00
Matthias
3324cdfcbe
add mock for get_history in patch_get_signal
2018-07-26 18:58:49 +01:00
Matthias
484103b957
extract get_history_data from get_signal
2018-07-26 18:23:42 +01:00
Janne Sinivirta
726b94b077
Merge pull request #1069 from freqtrade/feat/movefiatconverttorpc
...
Feat/movefiatconverttorpc
2018-07-26 14:25:58 +03:00
Matthias
452a1cad9d
don't default fiat_convert to None for outputs
2018-07-26 07:26:23 +01:00
Matthias
7b49f746d1
remove #FIX which was fixed
2018-07-25 22:47:20 +01:00
Janne Sinivirta
4b38c8b11d
use pandas own min and max for column sorting
2018-07-25 17:04:25 +03:00
Matthias
dc1ad3cbf6
whitespace issues
2018-07-24 23:08:40 +01:00
Matthias
ff6435948e
Fix random test failure
2018-07-24 22:53:10 +01:00
Matthias
4928686af9
Remove currency from daily table
2018-07-24 09:37:25 +01:00
Matthias
30b72ad98a
don't show fiat-currency if not set
2018-07-24 08:20:32 +01:00
Matthias
1a9ead45eb
fix missed fiat_display_currency config value
2018-07-24 08:00:56 +01:00
Janne Sinivirta
0b3190552e
Merge pull request #1018 from freqtrade/feat/sell_reason
...
Record sell reason
2018-07-24 09:09:45 +03:00
Matthias
456e49fe35
default fiat_currency to none
2018-07-24 00:01:51 +01:00
Matthias
10fc2c67c7
Fix bug causing a database-migration to fail from aspecific state
2018-07-23 09:10:37 +01:00
Matthias
643de58c4d
Add test to check for a mid-migrated database (not old but not new)
2018-07-23 09:09:56 +01:00
Janne Sinivirta
aba3c69765
Merge pull request #1061 from freqtrade/fix_networkcall
...
Add missing mock
2018-07-23 07:19:37 +03:00
Matthias
0775a371fe
rename sellreason to sell_Reason, fix typos
2018-07-23 00:54:20 +01:00
Matthias
23fe0db2df
Add missing mock
2018-07-22 17:06:42 +01:00
Matthias
f54ac5a8de
revert bugfix done in it's own branch
2018-07-22 17:05:22 +01:00
Matthias
4c8411537f
Don't require fiat-currency
2018-07-22 14:53:46 +02:00
Matthias
bd2771b8f9
use correct property
2018-07-22 14:52:58 +02:00
Matthias
4d864df59e
Add tests for no_fiat functionality
2018-07-22 14:49:07 +02:00
Matthias
fae4c3a4e3
only init if stake_currency is set
2018-07-22 14:48:06 +02:00
Matthias
2b297869a1
adjust checks to fit new functionality
2018-07-22 14:35:59 +02:00
Matthias
6cc0a72bca
ADd optional to class _fiat_convert
2018-07-22 14:35:37 +02:00
Matthias
f297d22edb
fix some tests in rpc_telegram
2018-07-21 20:49:57 +02:00
Matthias
0681a806cc
move cryptofiatconvert to rpc
2018-07-21 20:44:38 +02:00
Matthias
be3f04775a
remove unnecessary mocks - add mocks which went to exchange
2018-07-21 20:21:00 +02:00
Matthias
9467461160
only init FIATConvert when telegram is enabled
2018-07-21 20:13:32 +02:00