Theagainmen
0642ab76bf
Added information to the new function
2020-06-27 18:40:44 +02:00
Theagainmen
e813573f27
Warning message for open trades when stopping bot
2020-06-27 18:35:46 +02:00
Matthias
865b73a456
Merge pull request #3520 from freqtrade/rpc/cors_setting
...
Fix RPC Cors
2020-06-27 15:38:40 +02:00
hroff-1902
cc24f44636
Merge pull request #3519 from freqtrade/fix/trades_download_older
...
dl-trades should also support increasing download span
2020-06-27 00:08:10 +03:00
Matthias
6734269bfc
Use >= to compare for winning trades
2020-06-25 19:22:50 +02:00
gambcl
ab7f5a2bcf
Added pairslist AgeFilter
2020-06-24 23:58:12 +01:00
Matthias
b77a105778
Add CORS_origins key to configuration
2020-06-24 20:32:19 +02:00
Matthias
676006b99c
--dl-trades should also support increasing download span
...
(by downloading the whole dataset again to avoid missing data in the
middle).
2020-06-24 17:40:23 +02:00
gambcl
3624aec059
Typos
2020-06-24 15:21:28 +01:00
Matthias
0509b9a8fc
Show winning vs. losing trades
2020-06-24 06:43:19 +02:00
Matthias
f976905728
Fix more exchange message typos
2020-06-18 20:00:18 +02:00
Matthias
45ffb26910
Merge branch 'develop' into pr/hroff-1902/3478
2020-06-18 19:54:46 +02:00
Matthias
eef3c01da7
Fix function header formatting
2020-06-18 19:49:05 +02:00
Matthias
f1993fb2f4
Pass analyzed dataframe to get_signal
2020-06-18 08:09:52 +02:00
Matthias
48225e0d80
Improve interface docstrings for analyze functions
2020-06-18 07:54:00 +02:00
Matthias
f2a778d294
Combine tests for empty dataframe
2020-06-18 07:03:30 +02:00
Matthias
ab9382434f
Add test for get_analyzed_dataframe
2020-06-18 06:50:06 +02:00
Matthias
8b186dbe0e
Add additional test scenarios
2020-06-18 06:50:06 +02:00
Matthias
84329ad2ca
Add confirm_trade* methods to abort buying or selling
2020-06-18 06:50:06 +02:00
Matthias
910100f1c8
Improve docstring comment
2020-06-18 06:50:06 +02:00
Matthias
dea7e3db01
Use supress_errors in strategy wrapper - ensure it's called once
2020-06-18 06:50:06 +02:00
Matthias
c047e48a47
Add errorsupression to safe wrapper
2020-06-18 06:50:06 +02:00
Matthias
bc821c7c20
Add documentation for bot_loop_start
2020-06-18 06:50:06 +02:00
Matthias
77056a3119
Add bot_loop_start callback
2020-06-18 06:50:06 +02:00
Matthias
8166b37253
Explicitly check if dp is available
2020-06-18 06:50:06 +02:00
Matthias
55fa514ec9
Adapt most tests
2020-06-18 06:50:05 +02:00
Matthias
273aaaff12
Introduce .analyze() function for Strategy
...
Fixing a few tests along the way
2020-06-18 06:50:05 +02:00
Matthias
95f3ac08d4
Update some comments
2020-06-18 06:50:05 +02:00
Matthias
9794914838
store dataframe updated as tuple
2020-06-18 06:50:05 +02:00
Matthias
fd97ad9b76
Cache analyzed dataframe
2020-06-18 06:50:05 +02:00
Matthias
d4fb5af456
Also reload async markets
...
fixes #2876 - Logs and Empty ticker history for new pair
2020-06-17 07:23:20 +02:00
Matthias
3517c86fa2
Fail if both ticker_interval and timeframe are present in a
...
configuration
Otherwise the wrong might be used, as it's unclear which one the intend
of the user is
2020-06-16 16:02:38 +02:00
Matthias
0b2982caed
Merge branch 'develop' into hyperopt_colorama_init
2020-06-16 10:16:41 +02:00
Matthias
761407f74d
Merge pull request #3430 from freqtrade/timeframe
...
ticker_interval -> timeframe
2020-06-15 13:47:26 +02:00
Matthias
dfc44e5b32
Merge pull request #3461 from felpasl/format_minimal_roi_opt
...
change hyperopt output to print ready to copy to strategy
2020-06-15 10:03:28 +02:00
Matthias
a3506f4d8e
Merge branch 'develop' into timeframe
2020-06-15 06:35:55 +02:00
Matthias
d337fb6c6a
Update some comments
2020-06-15 06:35:31 +02:00
Matthias
f80b5f9410
Merge pull request #3438 from freqtrade/ftx_stoploss
...
Ftx stoploss
2020-06-14 07:02:15 +02:00
Matthias
f6f7c99b9c
Adjust typography and add missing space
...
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-06-14 06:31:05 +02:00
hroff-1902
de36f3d850
Cosmetics in freqtradebot
2020-06-14 01:42:45 +03:00
hroff-1902
4660909e95
Validate stoploss_on_exchange_limit_ratio at startup time
2020-06-14 01:07:00 +03:00
hroff-1902
be03c22dba
Minor: Fix exception message
2020-06-14 00:35:58 +03:00
hroff-1902
ea77edce05
Make flake happy
2020-06-13 18:54:54 +03:00
Matthias
d52198d15e
Merge pull request #3468 from hroff-1902/cleanup_async_markets
...
Cleanup async markets
2020-06-13 17:28:11 +02:00
hroff-1902
3d9b107761
Changes after review
2020-06-13 17:12:37 +03:00
hroff-1902
37bc2d28ad
Revert "Remove _load_async_markets"
...
This reverts commit 6744f8f052
.
2020-06-13 13:34:29 +03:00
hroff-1902
12d3a234c1
Merge pull request #3471 from freqtrade/fix/3465
...
Fix exception with stacktrace in test-pairlist
2020-06-12 07:57:37 +03:00
Matthias
1e7826f392
Explicitly raise OperationalException if markets are not loaded
...
correctly
2020-06-10 19:57:59 +02:00
Felipe Lambert
69ac5c1ac7
change hyperopt return to better copy to strategy file
2020-06-10 14:35:31 -03:00
Theagainmen
8c9dea988c
Now supports both commands & fixed test
2020-06-10 19:28:02 +02:00
Theagainmen
043397c5d7
reload_conf & reload_config now both accepted, code is more consistent now
2020-06-10 19:28:02 +02:00
Theagainmen
04fa597695
Test with multiple commands in one line
2020-06-10 19:28:02 +02:00
Theagainmen
ac92834693
reload_conf & reload_config now both accepted, code is more consistent now
2020-06-10 19:28:02 +02:00
hroff-1902
0067a3ab7c
Change logging level
2020-06-10 06:30:29 +03:00
hroff-1902
7d451638a8
Make _reload_markets() public
2020-06-10 01:39:23 +03:00
hroff-1902
6744f8f052
Remove _load_async_markets
2020-06-10 01:22:55 +03:00
Matthias
ab0003f565
fix #3463 by explicitly failing if no stoploss is defined
2020-06-09 14:33:57 +02:00
Matthias
72ae4b1500
Load pairlist after strategy to use strategy-config
...
fail in certain conditions when using strategy-list
Fix #3363
2020-06-07 16:15:26 +02:00
Matthias
a75b94f143
use bracket notation for dataframe access
2020-06-07 15:40:00 +02:00
Matthias
68395d2745
Use bracket notation to query results in hyperopt
2020-06-07 15:39:59 +02:00
Matthias
3f9ab0846d
Rename profitperc to profit_percent
2020-06-07 15:39:59 +02:00
Matthias
04779411f5
Add docstring to backtest_stats
2020-06-07 15:39:59 +02:00
Matthias
070913f327
Rename text_table generation
2020-06-07 11:35:02 +02:00
Matthias
499c6772d1
Rename tabulate methods
...
they don't "generate" anything
2020-06-07 11:31:33 +02:00
Matthias
a6f6724752
Reorder functions in optimize_report
2020-06-07 11:29:14 +02:00
Matthias
db4576c50b
Use json for *strategy dump
2020-06-07 10:09:39 +02:00
Matthias
8d8cf5a2fd
Improve code formatting of telegram
2020-06-06 17:28:00 +02:00
Matthias
ed1268cf39
Merge branch 'develop' into ask_strategy_verbosity
2020-06-06 17:23:19 +02:00
Matthias
6aed16c146
Merge pull request #3448 from Theagainmen/Telegram_emojis_V2
...
Added emoji's to the Telegram RPC
2020-06-06 17:22:56 +02:00
Matthias
3bd38171f8
DOn't use json.dumps - it's not necessary
2020-06-06 17:19:44 +02:00
Theagainmen
172ca761f2
Fixed typo 'emoij'
2020-06-06 17:11:47 +02:00
Matthias
b2316cdd00
Extract sell_smoij logic into it's own function
2020-06-06 17:11:47 +02:00
hroff-1902
a86863c032
Merge pull request #3440 from freqtrade/rpc_status_fields
...
Rpc status fields
2020-06-05 23:59:01 +03:00
Matthias
8c32d691c7
Add information about bid and ask strategy to /showconfig
2020-06-05 20:31:40 +02:00
Matthias
5f9994c9ed
Reduce verbosity of sell-rate fetching
2020-06-05 20:24:21 +02:00
Theagainmen
f34bcc5fd3
Splitted a line that was too long, resulting in error for flake8
2020-06-05 20:15:22 +02:00
Theagainmen
4c6a7a354d
Removed '.encode' lines, unessecary
2020-06-05 20:04:11 +02:00
Theagainmen
080efd1102
Added unicoded emoji's to Telegram messages
2020-06-05 19:09:49 +02:00
Matthias
7bd55aa2f1
Use correct calcuation for "locked in profit"
2020-06-04 07:04:32 +02:00
Matthias
412b50dac5
Add current stoploss calculations
2020-06-04 06:59:48 +02:00
Matthias
0dc1a8e037
Add profit sum to api response
2020-06-03 19:40:30 +02:00
Matthias
f0eb0bc350
Support limit orders
2020-06-03 06:11:34 +02:00
Matthias
77a62b845a
Fix some comments
2020-06-03 06:11:34 +02:00
Matthias
1d9aeef792
Support stop order in persistence
2020-06-03 06:11:34 +02:00
Matthias
b58fd179f2
Don't hardcode pair ...
2020-06-03 06:11:34 +02:00
Matthias
11ebdefd09
Fix bug after rebase
2020-06-03 06:11:34 +02:00
Matthias
f83c1c5abf
Use get_stoploss_order and cancel_stoploss_order
...
This allows exchanges to use stoploss which don't have the same
endpoints
2020-06-03 06:11:34 +02:00
Matthias
68a59fd26d
Add Hint to suggest this is still broken
2020-06-03 06:11:34 +02:00
Matthias
78dea19ffb
Implement first version of FTX stop
2020-06-03 06:11:34 +02:00
hroff-1902
04a2fb16aa
Merge pull request #3433 from freqtrade/fix/cost_calc_crash
...
Free trades should not crash the bot
2020-06-02 22:20:29 +03:00
Matthias
a2551daf12
Fix ZeroDivision problem where cost is 0.0
2020-06-02 20:55:12 +02:00
Matthias
08049d23b4
Use "market_is_tradable" for whitelist validation
2020-06-02 20:41:29 +02:00
Matthias
b74a3addc6
Update tests
2020-06-02 20:30:31 +02:00
Matthias
b22e3a67d8
rename symbol_is_pair to market_is_tradable
...
Make it part of the exchange class, so subclasses can override this
2020-06-02 20:29:50 +02:00
Matthias
8550c3e43f
Merge pull request #3409 from hroff-1902/exchange_logging
...
Minor: Better exchange debug logging
2020-06-02 20:27:53 +02:00
hroff-1902
48117666fe
Update freqtrade/exchange/exchange.py
...
Co-authored-by: Matthias <xmatthias@outlook.com>
2020-06-02 21:09:23 +03:00
Matthias
02fca141a0
Readd ticker_interval to trade api response
2020-06-02 19:43:15 +02:00
Matthias
ca2352921f
Merge pull request #3432 from hroff-1902/fix/3404
...
Fix crash in #3404
2020-06-02 19:13:58 +02:00
hroff-1902
f4c2bb1346
Fix crash in #3404
2020-06-02 19:37:08 +03:00
hroff-1902
85fedf95e8
Make mypy happy
2020-06-02 18:43:37 +03:00
hroff-1902
9995a5899f
Fix merge
2020-06-02 16:25:22 +03:00
hroff-1902
64881a94e2
Merge branch 'develop' into timeframe
2020-06-02 15:56:34 +03:00
hroff-1902
4c82f127b3
Merge pull request #3419 from freqtrade/api_trade_response
...
Api trade response
2020-06-02 15:53:58 +03:00
hroff-1902
2cc47f651d
Merge pull request #3408 from freqtrade/apiserver_logging
...
Apiserver logging
2020-06-02 14:32:44 +03:00
Matthias
a8005819c9
Add class-level attributes to hyperopt and strategy
2020-06-02 10:19:27 +02:00
Matthias
33b7046260
Update more documentation
2020-06-02 10:06:42 +02:00
Matthias
f9bb1a7f22
Update more occurances of ticker_interval
2020-06-02 10:02:55 +02:00
Matthias
af0f29e6b7
Update persistence to use timeframe
2020-06-02 10:02:36 +02:00
Matthias
09fe3c6f5e
create compatibility code
2020-06-02 09:52:30 +02:00
Matthias
3e895ae74a
Some more replacements of ticker_interval
2020-06-02 09:41:42 +02:00
Matthias
947903a4ac
Use timeframe from within strategy
2020-06-02 09:36:04 +02:00
hroff-1902
aff80d7331
Merge pull request #3417 from freqtrade/bt_result_store_metrics
...
Refactor result store metrics
2020-06-02 04:31:37 +03:00
hroff-1902
5435df84bd
Merge pull request #3387 from freqtrade/rpc_blacklist
...
Improve RPC Blacklist by adding feedback
2020-06-02 04:10:33 +03:00
hroff-1902
4c2228a2da
Merge pull request #3399 from freqtrade/fix_sell_rate_caching
...
[minor] Fix sell rate caching
2020-06-02 04:04:16 +03:00
hroff-1902
7b9bb5ba3d
Merge pull request #3425 from freqtrade/sell_rate_raise_empty
...
Verify sell-rate returns a value.
2020-06-02 02:22:56 +03:00
Matthias
388573800c
Update configuration messages
2020-06-01 20:52:33 +02:00
Matthias
cadc50ce9b
Replace more occurances of ticker_interval with timeframe
2020-06-01 20:49:40 +02:00
Matthias
b2c241e607
Replace ticker_interval in all rpc files
2020-06-01 20:43:20 +02:00
Matthias
898def7f6c
Remove ticker_interval from exchange
2020-06-01 20:39:01 +02:00
Matthias
009ea0639f
Exchange some occurances of ticker_interval
2020-06-01 20:33:26 +02:00
Matthias
b2025597aa
Build-commands should write timeframe instead of ticker interval
2020-06-01 20:16:22 +02:00
Matthias
3139343946
Remove capital_available_percentage and raise instead
2020-06-01 19:58:28 +02:00
Matthias
c35f9f8d39
Verify sell-rate got a value - otherwise downstream code does not work.
...
Using PricingException here will cease operation for this pair for this
iteration - postponing handling to the next iteration - where hopefully
a price is again present.
2020-06-01 19:45:37 +02:00
Matthias
d2b7016dff
Add stop_loss_abs ...
2020-06-01 11:05:37 +02:00
Matthias
adde1cfee2
Add stoplosss_ratio and initial_stoploss_ratio
2020-06-01 10:53:02 +02:00
Matthias
d9afef8fe1
Move colorama_init to where it was
2020-06-01 09:37:10 +02:00
Matthias
ffa93377b4
Test colorama init again (after the fixes done to progressbar)
2020-06-01 09:34:03 +02:00
Matthias
091693308a
Correctly call show_backtest_results
2020-06-01 09:25:26 +02:00
Matthias
ceaf32d304
Extract backtesting report generation from show_backtest_Results
2020-06-01 09:24:05 +02:00
Matthias
f202e09b10
Extract conversion to trades list to it's own function
2020-06-01 08:57:31 +02:00
hroff-1902
123a556ec8
Better exchange logging
2020-05-31 13:05:58 +03:00
Matthias
dc7f0f1187
Add api-server to default config samples
2020-05-31 09:57:31 +02:00
Matthias
7ad1c7e817
Allow lower verbosity level for api server
...
Not logging all calls makes sense when running the UI
otherwise this is VERY verbose, clogging up the log.
2020-05-31 09:51:45 +02:00
hroff-1902
84c50bf16c
Merge pull request #3390 from freqtrade/rpc/profit
...
improve /profit to not raise an exception if no trade is closed
2020-05-30 22:06:22 +03:00
hroff-1902
96aab86e45
Merge pull request #3405 from freqtrade/remove_internals_ref
...
Disabledataframecheck is not in internals and does not belong there
2020-05-30 22:02:49 +03:00
hroff-1902
a162b911b6
Merge pull request #3398 from freqtrade/ccxt_config_combine
...
combine CCXT configurations ...
2020-05-30 21:49:44 +03:00
Matthias
cc90e7b413
Show "No trades yet." when no trade happened yet
2020-05-30 19:49:16 +02:00
Matthias
91f84f1a43
Fix typo in close trade message
2020-05-30 19:28:30 +02:00
Matthias
908449640a
Disabledataframecheck is not in internals and does not belong there
2020-05-30 19:17:17 +02:00
hroff-1902
36c7089a03
Merge pull request #3394 from freqtrade/disable_dataframechecks
...
Allow changing severity of strategy-validations to log only.
2020-05-30 19:28:38 +03:00
Matthias
376c536dd1
Revert "Add disable_dataframe_checks to strategy templates"
...
This reverts commit a9c57e5147
.
2020-05-30 16:23:33 +02:00
Matthias
a9c57e5147
Add disable_dataframe_checks to strategy templates
2020-05-30 11:47:09 +02:00
Matthias
97905f86be
Add missing fields to to_json output of trade
2020-05-30 11:34:39 +02:00
Matthias
57e951dbce
Add orderbook sell rate to sell_rate_cache
2020-05-30 11:08:56 +02:00
Matthias
f187753f8f
Add ccxt_sync_config to simplify ccxt configuration
2020-05-30 10:45:50 +02:00
Matthias
f3824d970b
Use dict for symbol_is_pair
2020-05-29 20:20:06 +02:00
Matthias
ea5daee505
Allow changing severity of strategy-validations to log only.
2020-05-29 19:37:18 +02:00
Matthias
9f8b21de4a
Merge pull request #3358 from hroff-1902/refactor_generate_pairlist
...
Split the pairlist generation logic and filtering
2020-05-29 14:16:15 +02:00
hroff-1902
a4cf9ba85b
Move check for position for StaticPairList to init
2020-05-29 12:40:05 +03:00
Matthias
46456516bb
Remove exception handler
2020-05-29 10:11:23 +02:00
Matthias
1d6e3fea85
Update /profit telegram message to support non-closed trades
2020-05-29 09:38:12 +02:00
Matthias
6261aef314
Return /profit even if no trade is closed
2020-05-29 09:03:48 +02:00
Matthias
7df786994d
Plotting should not fail if one pair didn't produce any trades
2020-05-28 19:36:10 +02:00
Matthias
7399c7e70c
Provide blacklist feedback to telegram
2020-05-28 07:04:06 +02:00
Matthias
0e8f95effd
Improve blacklist adding with proper feedback
2020-05-28 06:51:53 +02:00
hroff-1902
0234e4d293
Merge pull request #3369 from freqtrade/align_trade_outputs
...
Improve some api results
2020-05-27 22:56:15 +03:00
Matthias
04eb11bb5d
Merge pull request #3377 from freqtrade/btreport_refactor
...
Refactor BTReport
2020-05-27 19:33:08 +02:00
Matthias
18a5787a2c
Reorder typing imports
...
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-05-27 19:17:15 +02:00
Matthias
b2125bd6ee
check for None to allow 0.0 profit
2020-05-27 19:15:56 +02:00
Matthias
f4af4cc2b2
Small formatting improvement
2020-05-27 07:11:59 +02:00
Matthias
8c87fcdae3
Rename PricingException to PricingError
2020-05-26 20:35:11 +02:00
Matthias
16cd1f06b2
Rename get_order_book to fetch_l2_order_book (aligning to ccxt)
2020-05-26 20:27:35 +02:00
Matthias
7a7b26e840
Add exception handlers for orderbook logic
2020-05-26 20:14:05 +02:00
Matthias
76e4e5897f
Introduce pricing exception
2020-05-26 20:08:01 +02:00
Matthias
3e3cce4559
Use pct instead of _perc
2020-05-26 19:25:03 +02:00
Matthias
27e0c2604c
Add comment to ensure we're not accidentally removing this again
2020-05-26 16:58:29 +02:00
hroff-1902
9f573481a8
Fix #3378
2020-05-26 13:54:45 +03:00
Matthias
18d2587800
Address feedback
2020-05-26 06:12:25 +02:00
hroff-1902
a484124272
Raise exception if StaticPairList on a non-first position
2020-05-25 23:14:51 +03:00
hroff-1902
c3206d72cb
Adjust docstring for IPairList.gen_pairlist()
2020-05-25 22:49:57 +03:00
Matthias
abf79e4ab4
Use temporary variable to clean up code
2020-05-25 20:47:48 +02:00
Matthias
6a9a8f927e
Rename some methods, improve some testing
2020-05-25 20:46:31 +02:00
Matthias
462c35cf75
Move stats generation to the top
2020-05-25 20:22:22 +02:00
Matthias
027ea64d48
Fix docstrings, extract strategy-list results
2020-05-25 19:55:02 +02:00
Matthias
db257e9f7f
Rename method to be public
2020-05-25 19:50:23 +02:00
Matthias
18a2dad684
Extract data generation from generate_text_table
2020-05-25 19:35:32 +02:00
Matthias
0917b17efd
Refactor result_line to return dict
2020-05-25 19:21:01 +02:00
Matthias
876a9e4f44
finish refactor of sell_reason table
2020-05-25 07:08:15 +02:00
Matthias
d17300fd84
Refactor sell reason stats to return a dict
2020-05-25 07:02:24 +02:00
Matthias
9d1ad70bb7
Split optimize generation from printing
2020-05-25 06:44:51 +02:00
Matthias
811e23e3da
Have profit return time in timestamp
2020-05-24 08:58:26 +02:00
Matthias
110b5a2521
Add timestamp to trade output
2020-05-24 08:46:50 +02:00
Matthias
046202fdda
Fix typing circular dependency
2020-05-22 20:56:34 +02:00
hroff-1902
8e89802b2d
Split the generation logic and filtering
2020-05-22 15:03:49 +03:00
Matthias
98db1d52c6
Reorder new commands
2020-05-22 07:04:36 +02:00
Matthias
1663a67959
Reorder list-arguments
2020-05-22 07:00:09 +02:00
Matthias
33b270b81f
reorder more arguments
2020-05-22 06:57:20 +02:00
Matthias
fcae48d5a0
Some reordering of subcommands
2020-05-22 06:55:20 +02:00
Matthias
74056e768a
Merge pull request #3352 from hroff-1902/improve_pairlist_tests
...
Improve pairlist tests
2020-05-21 15:06:22 +02:00
hroff-1902
ea13071308
Merge pull request #3351 from freqtrade/fix/notradesplot
...
[minor] Fix crash when no trades are found in plot-profit
2020-05-21 13:14:41 +03:00
hroff-1902
cd0bf96c0e
Improve pairlist tests
2020-05-21 12:52:10 +03:00
Matthias
d31a091d12
Merge pull request #3346 from hroff-1902/refactor_pairlists2
...
Refactor filter_pairlists()
2020-05-21 07:25:43 +02:00
Matthias
1f386c570d
Don't start plotting profit without trades
...
plotting profit only makes sense when trades are available
2020-05-21 07:13:08 +02:00
Matthias
1a984ac677
Explicitly raise ValueError if trades are empty
2020-05-21 07:12:53 +02:00
hroff-1902
ff7bcb5aae
Merge pull request #3344 from freqtrade/fix_cors_policy
...
CORS - allow authenticated responses
2020-05-20 21:44:30 +03:00
Matthias
a11651ae67
Correctly test cors
2020-05-20 19:43:52 +02:00
hroff-1902
bfa55f31c0
Remove wrong comment
2020-05-20 17:45:27 +03:00
hroff-1902
8bf38443c2
Merge branch 'develop' into verify_date_on_new_candle_on_get_signal
2020-05-20 14:05:21 +03:00
hroff-1902
4f0d928145
Introduce self._enabled in pairlist handlers
2020-05-20 13:41:00 +03:00
hroff-1902
7e43574382
Refactor filter_pairlist()
2020-05-20 13:27:07 +03:00
Matthias
cd3900549c
Merge pull request #3341 from hroff-1902/cleanup_get_signal
...
Minor: cleanup in get_signal()
2020-05-20 07:07:39 +02:00
Matthias
2fbd31f5e0
CORS - allow authenticated responses
2020-05-20 07:04:48 +02:00
hroff-1902
696c7e87f2
Use proper logging (using the Filter's logger)
2020-05-19 23:51:39 +03:00
hroff-1902
e96e28df07
Refactor verify_blacklist()
2020-05-19 23:13:51 +03:00
hroff-1902
a8b1dcf3c8
Minor: cleanup in get_signal()
2020-05-19 22:20:53 +03:00
hroff-1902
7b2bb73a12
Merge branch 'develop' into verify_date_on_new_candle_on_get_signal
2020-05-19 21:34:58 +03:00
Matthias
d438af342c
Merge pull request #3339 from hroff-1902/cleanup-pairlistmanager
...
Cleanup in pairlistmanager
2020-05-19 14:04:39 +02:00
hroff-1902
4c4fb0c9be
Cleanup in pairlistmanager
2020-05-19 03:56:31 +03:00
hroff-1902
e1e8293a67
Merge remote-tracking branch 'upstream/develop' into pairlists-shuffle
2020-05-18 23:18:41 +03:00
Matthias
76bd97d510
Merge pull request #3317 from hroff-1902/refactor-informative
...
Refactor informative pairs
2020-05-18 21:57:16 +02:00
hroff-1902
115586a50f
Introduce freqtrade.typing
2020-05-18 21:59:50 +03:00
Matthias
839ca28604
Merge pull request #3334 from hroff-1902/retrier-dependency-exceptions
...
Do not throttle with DependencyException in Exchange retrier
2020-05-18 19:49:24 +02:00
hroff-1902
6951b20aa0
Do not throttle with DependencyException in retrier
2020-05-18 17:31:34 +03:00
hroff-1902
8bdd5e7121
Minor: correct import of retrier
2020-05-18 15:20:51 +03:00
hroff-1902
0c8aff98e0
Make flake happy
2020-05-18 15:03:36 +03:00
hroff-1902
6fa8750fea
Merge branch 'develop' into refactor-informative
2020-05-18 14:00:09 +03:00
hroff-1902
ba26f3a73a
Merge branch 'refactor-informative' of ssh://github.com/hroff-1902/freqtrade into refactor-informative
2020-05-18 13:55:09 +03:00
hroff-1902
627c5059f0
Move create_pair_list to pairlistmanager
2020-05-18 13:54:21 +03:00
Matthias
5a9a31351a
Adjust empty f-strings to be non-fstrings
2020-05-18 11:40:25 +02:00
Matthias
503a8a8243
Simplify sd_notify usage
2020-05-18 07:02:57 +02:00
hroff-1902
4bfab5e222
Add ShuffleFilter
2020-05-18 02:36:40 +03:00
hroff-1902
fd7fa3116a
Merge pull request #3321 from freqtrade/rpc/improve_daily
...
Improve daily API format
2020-05-18 01:29:28 +03:00
hroff-1902
889d07900a
Merge pull request #3320 from freqtrade/fix_sell_spamming
...
Fix sell spamming
2020-05-17 21:54:08 +03:00
Matthias
64b8d8c7bd
Use correct Return hint
2020-05-17 20:18:35 +02:00
Matthias
9d63fada24
Merge pull request #3313 from hroff-1902/refactor-pairlists
...
Cleanup in pairlists
2020-05-17 20:15:39 +02:00
Matthias
943a2a08f8
Improve daily API format
2020-05-17 20:12:01 +02:00
hroff-1902
16622bbfad
Cosmetics in pair lists
2020-05-17 14:44:32 +03:00
hroff-1902
ae69d31095
Cosmetics in IPairList
2020-05-17 14:13:26 +03:00
hroff-1902
97c50f86e9
Cleanup pairlistmanager
2020-05-17 14:10:11 +03:00
Matthias
2074d986a6
Update test to verify we're not spamming messages
2020-05-17 11:12:30 +02:00
Matthias
dd55d2eea3
Reduce spammyness of parcial cancel orders
2020-05-17 10:53:07 +02:00
Matthias
1e76bff1bd
Add sell_order_status to keep track of cancellations
2020-05-17 10:52:20 +02:00
hroff-1902
ce185a3b19
Remove pairs with no ticker available when it's needed
2020-05-17 11:39:18 +03:00
hroff-1902
d457542d96
Fix PrecisionFilter
2020-05-17 11:11:49 +03:00
hroff-1902
318e435a8f
Merge branch 'develop' into refactor-informative
2020-05-16 22:14:50 +03:00
hroff-1902
baf5f4f29c
Update freqtrade/constants.py
2020-05-16 21:28:54 +03:00
hroff-1902
5f2a871637
Add missing module
2020-05-16 17:15:58 +03:00
Matthias
fed75d8718
remove --cancel_open_orders cli switch
2020-05-16 13:23:40 +02:00
Matthias
7a11219b61
Reword some documentation strings
...
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-05-16 13:17:48 +02:00
Matthias
2a1fcc0f06
Merge branch 'develop' into pr/jpribyl/3210-1
2020-05-16 13:09:38 +02:00
hroff-1902
e7c11ed2cf
Fix fetching timeframe (failed in backtesting)
2020-05-16 12:27:56 +03:00
hroff-1902
facaaabc1e
Rename _refresh_whitelist()
2020-05-16 12:27:56 +03:00
hroff-1902
f8b01f5a43
Make flake happy
2020-05-16 12:27:56 +03:00
hroff-1902
035a12ce61
Move _create_pair_whitelist to dataprovider
2020-05-16 12:27:56 +03:00
hroff-1902
bf25746965
Introduce datatype for informative pairs
2020-05-16 12:27:56 +03:00
hroff-1902
1b3864ebf8
Make flake happy
2020-05-16 09:21:36 +03:00
hroff-1902
9d6a41aa7a
Merge pull request #3315 from freqtrade/flask_cors
...
Add cors support - needed for UI
2020-05-16 09:07:38 +03:00
Matthias
61f6acb5c9
Add cors support - needed for UI
2020-05-16 07:07:24 +02:00
hroff-1902
72165a1926
Merge pull request #3238 from hroff-1902/dataprovider-add-ticker
...
Add ticker to dataprovider
2020-05-15 22:03:01 +03:00
Matthias
ba68c42aae
Merge pull request #3297 from bmoulkaf/develop
...
Fix stoploss on binance bug
2020-05-15 08:23:18 +02:00
hroff-1902
143e6f52af
Simplify SpreadFilter
2020-05-15 05:14:06 +03:00
hroff-1902
cbb2ce3708
Simplify PriceFilter
2020-05-15 04:55:28 +03:00
hroff-1902
2aa80f915d
Cosmetics: improve readability
2020-05-15 04:24:18 +03:00
hroff-1902
794ed304b1
Make stoploss an attribute
2020-05-15 04:17:23 +03:00
hroff-1902
afa7a5846b
Simplify PriceFilter
2020-05-15 04:05:31 +03:00
hroff-1902
f0c3a0d2f8
Simplify VolumePairList
2020-05-15 03:59:13 +03:00
hroff-1902
481f9ba6d6
Use list comprehension instead of filter()
2020-05-15 03:00:55 +03:00
hroff-1902
8e4ffea52b
Merge pull request #3239 from freqtrade/feat/fee_handling
...
Improve fee handling
2020-05-14 18:48:48 +03:00
hroff-1902
aae096c6ae
Handle fetching ticker for non-existing pair safe way
2020-05-14 13:36:48 +03:00
hroff-1902
3079e18239
Merge branch 'develop' into dataprovider-add-ticker
2020-05-14 13:22:52 +03:00
Matthias
255ff6cd06
Should return False if it's not been cancelled empty
2020-05-13 20:52:40 +02:00
hroff-1902
b4d2433fc1
Merge pull request #3267 from GrilledChickenThighs/develop
...
Method for accessing current pairlist inside strategy.
2020-05-13 21:29:39 +03:00
Matthias
60f26ba501
use update_trade_state also for closed stoploss orders
2020-05-13 20:25:32 +02:00
Matthias
d86855f2f3
Merge pull request #3129 from freqtrade/trades_to_list
...
convert dl-trades datadownload to list
2020-05-13 09:41:26 +02:00
bmoulkaf
fe3ea8e7ec
Fix stoploss on binance bug
2020-05-13 05:15:18 +00:00
Paul D. Mendes
87d9388a9c
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into develop
2020-05-13 00:32:46 +04:00
Matthias
77c9334c50
Use available config object
...
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-05-12 13:39:24 +02:00
Matthias
aa25461e88
Show forcebuy status so it's visible before calling forcebuy.
2020-05-12 07:20:59 +02:00
hroff-1902
caac562b6b
Merge pull request #3246 from flomerz/develop
...
hyperopt csv export - add params
2020-05-12 00:50:25 +03:00
Paul D. Mendes
9fbe135790
attached pairlist manager onto dataprovider init for unified access to dynamic whitelist
2020-05-11 20:17:03 +04:00
Paul D. Mendes
bc9efc31ad
Added Method for accessing current pair list on initialization for dynamic informative pairs
...
moved import into function to avoid circular import with hyperopt
2020-05-11 19:45:15 +04:00
hroff-1902
bbb609c927
Merge pull request #3278 from freqtrade/api/jwt
...
API server - support JWT
2020-05-10 21:33:41 +03:00
Matthias
d291ca0071
Simplify code section
2020-05-10 19:43:16 +02:00
Matthias
21c2af2b92
Load jwt_key from config
2020-05-10 19:42:06 +02:00
Matthias
c3f0b5d4eb
Rename methods to match endpoints
2020-05-10 19:37:41 +02:00
Matthias
73a1496318
Catch exception on cancel_order
2020-05-10 17:44:45 +02:00
Mohamad Tarbin
570c51b0b0
Fix Typo in telegram Plugin
2020-05-10 05:07:49 -04:00
Matthias
f246336943
Merge pull request #3277 from hroff-1902/edge-fix-fee
...
Fix fee usage in Edge
2020-05-10 10:58:57 +02:00
hroff-1902
51d2b817ae
Use self.fee
2020-05-10 11:51:33 +03:00
Matthias
8139058fcc
Implement token/login and token/refresh endpoints
2020-05-10 10:35:38 +02:00
hroff-1902
7e08fa2631
Fix usage of fee value in Edge
2020-05-10 02:22:16 +03:00
hroff-1902
d4362ed357
Minor: improve exception handling in exchange
2020-05-09 09:29:40 +03:00
Matthias
c560de4111
Improve exception handling on critical errors
2020-05-08 11:44:24 +02:00
hroff-1902
5b92387732
Merge pull request #3259 from freqtrade/fix/filled
...
Fix handling of partially or non-filled timedout orders
2020-05-07 09:58:26 +03:00
Matthias
1ba2df79c6
Ause isclose for comparison, assign filled to variable
...
add some comments
2020-05-07 06:51:02 +02:00
hroff-1902
06313cdddf
Merge pull request #3264 from freqtrade/api_improvements
...
Api improvements
2020-05-07 00:05:36 +03:00
Matthias
a62d7495ca
FIx typo in telegram method
2020-05-05 21:28:59 +02:00
Matthias
593d13ebdd
Show new values also in Telegram
2020-05-05 21:21:20 +02:00
Matthias
e4023a6567
Add some minor things to show_config
2020-05-05 21:19:35 +02:00
Matthias
ffef4bc474
Humanize show-trades error when no database is specified
2020-05-05 19:48:28 +02:00
hroff-1902
1b448f57b9
Merge pull request #3242 from freqtrade/feat/trade_show
...
New subcommand show-trades
2020-05-05 19:26:59 +03:00
hroff-1902
0340d7bf37
Merge pull request #3249 from freqtrade/increase_rate_cache
...
[minor] Increase cache for rate limit to avoid delays
2020-05-05 19:08:31 +03:00
Matthias
981976681a
Use filled, it's the safer choice when determining the filled amount.
2020-05-05 07:09:12 +02:00
Matthias
648723fb83
Use 30min rate cache
2020-05-05 06:32:03 +02:00
Matthias
b38f9ed5e7
Increase cache for rate limit to avoid delays
...
Helps when calling /status or /status table frequently on slowish
exchanges
2020-05-03 20:44:18 +02:00
Matthias
2a4c9bf3d3
Improve logmessage when falling back to wallet amount
2020-05-03 20:32:45 +02:00
Florian Merz
889a153731
fix PEP8
2020-05-03 17:29:56 +02:00
Florian Merz
690bb7646a
hyperopt csv export - add params
2020-05-03 17:00:12 +02:00
Matthias
1c9c72937e
Adjust trade-ids param
2020-05-03 15:32:09 +02:00
Matthias
58168336e1
Add test for apply_fee_conditional
2020-05-03 11:13:59 +02:00
Matthias
38c4949360
Align applying of fee when comming from orders or trades
2020-05-03 10:50:59 +02:00
Matthias
1066a4504b
Add test for show_trades
2020-05-02 11:44:18 +02:00
Matthias
56bb5f7a11
Add show-trades command
2020-05-02 11:26:12 +02:00
Matthias
78b3d8487f
Add typehint
2020-05-01 20:34:58 +02:00
Matthias
021e2b58ca
Support partially cancelled orders for fee calculation
2020-05-01 20:24:26 +02:00
Matthias
737fc6d198
Fix bug when querying side
2020-05-01 20:05:13 +02:00
Matthias
71c90422ba
Add explicit test for fee_updated
2020-05-01 20:02:38 +02:00
Matthias
6d620ba1f6
Verify if fee for this side has been updated
2020-05-01 19:54:16 +02:00
Matthias
6b33d5af1e
Fix fee-calculation for dry-run orders
2020-05-01 19:51:35 +02:00
jpribyl
bd51cd332b
Cancel all open orders after receiving /stop or ctrl+c
2020-05-01 10:36:11 -06:00
Matthias
509f38d3aa
Use non-deprectated parameter for progressbar
2020-05-01 17:59:24 +02:00
Matthias
40d4949f06
Don't handle trades if they've just been closed.
2020-05-01 17:46:01 +02:00
Matthias
7558e4bffe
Split fee detection from trades from general logic
2020-05-01 16:13:07 +02:00
Matthias
371100a97c
Update fee handling
2020-05-01 16:01:33 +02:00
Matthias
a2ff632647
Add update_fee method to persistence
2020-05-01 16:01:12 +02:00
Matthias
db8fb39a38
don't use trade.update directly!
2020-05-01 15:50:02 +02:00
Matthias
59bafc8d02
Implement fee rate calculation
2020-05-01 15:50:02 +02:00
Matthias
45c97fde2d
Use correct typehint for extract_cost_curr_rate
2020-05-01 15:50:02 +02:00
hroff-1902
63b55658ac
Add ticker to dataprovider
2020-05-01 05:11:30 +03:00
Matthias
e74ed0ba7b
Add tests for fee extraction methods
2020-04-30 20:05:27 +02:00
Matthias
2e4dc6c253
Exchange should return fee dict for dry-run orders
2020-04-30 19:56:48 +02:00
Matthias
a867d40eac
Move fee_methods to exchange
2020-04-30 19:33:27 +02:00
Matthias
d3b9f4d393
Add extract_cost_curr_rate
2020-04-30 19:28:36 +02:00
Matthias
6d7a3a0cc9
Extract more logic into order-has_fee
2020-04-30 07:12:08 +02:00
Matthias
b125dd3728
Extract order_has_fee method
2020-04-30 07:06:06 +02:00
Matthias
dec1b10743
Add fee_cost and currency columns
2020-04-30 06:57:39 +02:00
hroff-1902
726e52aaa7
Use skopt model_queue_size instead of custom hack
2020-04-29 10:49:25 +03:00
hroff-1902
c6787d7e9f
Do not use 'trials' in commands
2020-04-28 23:14:02 +03:00
hroff-1902
c26835048c
Hyperopt cleanup, do not use 'trials'
2020-04-28 22:56:19 +03:00
hroff-1902
a01ed170f5
Improve hyperopt-list logging
2020-04-28 17:33:07 +03:00
hroff-1902
fedcf1db52
Merge pull request #3217 from freqtrade/remove_deprecation
...
Remove deprecated pairlist and binary
2020-04-27 19:41:54 +03:00
hroff-1902
9ebc997e9d
Merge pull request #3215 from freqtrade/backtest_use_pairlists
...
Backtest use pairlists
2020-04-27 13:34:06 +03:00
Matthias
fb8a85da01
Disallow VolumePairList from backtesting for now
2020-04-27 07:56:17 +02:00
hroff-1902
485e324d36
Merge pull request #2872 from freqtrade/interface_ordertimeoutcallback
...
Buy order timeout callback
2020-04-25 19:02:15 +03:00
Matthias
9fa21628d7
Deprecate keys other than quoteVolume
...
fixes #2981
2020-04-25 16:29:17 +02:00
Matthias
d1a24db6b7
Remove deprecated pairlist and binary
2020-04-25 16:04:10 +02:00
Matthias
e8530c36d3
Remove pairlists from hyperopt too (it holds a reference to exchange)
2020-04-25 15:46:20 +02:00
Matthias
8987859044
Enable pairlist parsing for backtesting and hyperopt
2020-04-25 15:37:13 +02:00
hroff-1902
d9f255a6c0
Fix asterisk printing for csv output
2020-04-25 12:49:14 +03:00
Yazeed Al Oyoun
c9711678fd
fixed indent
2020-04-25 11:31:51 +02:00
Yazeed Al Oyoun
181b12b3a8
added wins/draws/losses
2020-04-25 11:31:51 +02:00
Yazeed Al Oyoun
6147498fd4
fixed indent
2020-04-25 11:31:51 +02:00
Yazeed Al Oyoun
2fb3d94938
added wins/draws/losses
2020-04-25 11:31:51 +02:00
hroff-1902
2d994f6feb
Better printing of asterisk
2020-04-24 21:57:29 +03:00
hroff-1902
6e5f0869b3
Remove another unused method
2020-04-24 18:39:08 +03:00
hroff-1902
5c012d79eb
Remove unused method
2020-04-24 18:14:07 +03:00
Matthias
9627604ec3
change wording of log message
2020-04-24 07:58:18 +02:00
Matthias
f4995780e5
Verify last is not None - to avoid crashing
...
fix #3117
2020-04-23 20:04:36 +02:00
Matthias
87f1060abc
Default docker to log into log-dir
2020-04-21 19:47:49 +02:00
Matthias
431b244f43
Merge branch 'develop' into interface_ordertimeoutcallback
2020-04-19 06:58:44 +02:00
hroff-1902
4bbade245c
Merge pull request #3181 from freqtrade/fix/cancel_problems
...
Fix several cancel order problems
2020-04-18 11:16:59 +03:00
hroff-1902
def8635b6d
Merge pull request #3184 from freqtrade/fix/hyperopt_randfailure
...
Fix random test failure in hyperopt
2020-04-18 09:49:09 +03:00
Matthias
c775d65126
Update typehint for cancel_order
2020-04-18 06:55:25 +02:00
Matthias
0273539f06
Remove exceptionhandler, this exception is handled in
...
cancel_with_response
2020-04-17 19:55:53 +02:00
Matthias
1069cb3616
Use cancel_order_with_result when cancelling orders after timeout
2020-04-17 17:53:56 +02:00
Matthias
5e3e0e819f
Add tests for cancel_order_with_result
2020-04-17 17:53:18 +02:00
Matthias
800891a475
Add tests for cancel_order_with_result
2020-04-17 07:18:46 +02:00
Matthias
fc684b0091
Ensure deleting filled is not raising an error if filled does not exist
2020-04-17 06:59:52 +02:00
Matthias
7aba9bc62a
Update freqtrade/data/converter.py
...
Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-04-17 06:22:25 +02:00
hroff-1902
68be239a0e
Merge pull request #3146 from freqtrade/buy_order_timeout_logging
...
Improve handling for buy order cancels
2020-04-16 23:41:45 +03:00
Matthias
1f70fcfa2d
Update logmessage
2020-04-16 20:19:34 +02:00
hroff-1902
9364a9c4c4
Merge pull request #3168 from freqtrade/fix_pairlist_caching
...
Fix pairlist caching
2020-04-16 18:39:00 +03:00
hroff-1902
df79011aba
Merge pull request #3112 from freqtrade/trade_state_updates
...
Trade state updates
2020-04-16 12:05:19 +03:00
Matthias
d36e2cf6ab
Fix random test failure in hyperopt
2020-04-16 07:06:47 +02:00
hroff-1902
b07d61f3d9
Merge pull request #3169 from freqtrade/fix_pricefilter
...
Fix pricefilter
2020-04-15 20:53:59 +03:00
hroff-1902
8b6a7e685e
Merge pull request #3133 from freqtrade/backtesting_filenameexpanding
...
[minor] Fix filename handling with --strategy-list
2020-04-15 12:02:19 +03:00
Matthias
99f3e9ed77
Remove wrong comment
2020-04-15 07:55:15 +02:00
Matthias
33b6c7de5b
Add tests for price_one_pip
2020-04-15 07:53:31 +02:00
Matthias
36e714a7b2
Add price_get_one_pip filter
2020-04-15 07:19:27 +02:00
Matthias
2b7376f6f3
Implement log-filtering for all pairlists
2020-04-14 20:45:30 +02:00
Matthias
ceca0a659c
Simplify cached stuff to only what's needed
2020-04-14 20:25:58 +02:00
Matthias
13ee7a55c4
Fix #3166
...
Always call _gen_pair_whitelist if volumepairlist is not the first in
the list.
2020-04-14 20:21:30 +02:00
Matthias
5d876ca0a3
Use log-spamprevention methods
2020-04-14 20:21:10 +02:00
Matthias
7c15375f5d
Add log_on_refresh - using TTL caching to avoid spamming logs
2020-04-14 20:20:36 +02:00
Matthias
cfe1e4876a
Improve testcase for cancel_order_empty
2020-04-14 19:20:47 +02:00
Matthias
c8ccdbcb9a
Merge pull request #3150 from freqtrade/version_docker
...
[minor] have version-detection fall back to freqtrade_commit
2020-04-14 15:53:05 +02:00
hroff-1902
f2b1802666
Merge pull request #3137 from freqtrade/fix_maxdrawdown
...
[minor] Fix maxdrawdown
2020-04-14 16:03:25 +03:00
Matthias
55a052bcf6
fix typo in comment
...
Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-04-14 08:05:46 +02:00
Matthias
ddf37ef059
Add test to demonstrate that the dataframe is not changed
2020-04-14 08:02:42 +02:00
hroff-1902
4d80f52db4
Merge pull request #3134 from freqtrade/backtesting_memory
...
Backtesting memory and dataframe
2020-04-13 23:08:45 +03:00
Matthias
4ee0cbb575
Reset index to correctly gather index
2020-04-12 10:40:02 +02:00
Matthias
952d2f7513
have version-detection fall back to freqtrade_commit
...
this allows freqtrade --version to work in docker too.
sample command:
`docker-compose run --rm freqtrade -version`
2020-04-12 09:55:21 +02:00
Matthias
18a6c98a82
Merge pull request #3054 from Fredrik81/progress-bar
...
Hyperopt: Progressbar during hyperopt
2020-04-12 09:32:52 +02:00
Fredrik81
2c1c1c7f16
Update freqtrade/optimize/hyperopt.py
...
nice find
Co-Authored-By: Matthias <xmatthias@outlook.com>
2020-04-11 17:42:32 +02:00
Fredrik81
d9e54ab7a4
Update freqtrade/optimize/hyperopt.py
...
nice find
Co-Authored-By: Matthias <xmatthias@outlook.com>
2020-04-11 17:42:19 +02:00
Matthias
f39706cabd
Fix #3130 - when corder['remaining'] contains none-type
2020-04-09 19:35:27 +02:00
Matthias
cbf5bf6735
Add safe_value_fallback function
2020-04-09 19:34:48 +02:00
Fredrik81
4707484a4c
Fix issue with colring enabled + styling
2020-04-09 11:42:13 +02:00
Matthias
5cff72a42e
Improve logging to ensure which branch is used for buy order cancels
2020-04-09 09:22:38 +02:00
Matthias
68a5e0c51b
Merge pull request #3138 from orkblutt/develop
...
trades history RPC
2020-04-08 08:23:13 +02:00
Matthias
02192f28cd
Small stylistic updates
2020-04-08 07:56:21 +02:00
Fredrik81
cdc774549e
Merge branch 'develop' into progress-bar
2020-04-08 01:56:43 +02:00
Fredrik81
132f5f73f5
Update hyperopt.py
2020-04-07 10:44:18 +02:00
Fredrik81
c95906cfcf
Update hyperopt.py
2020-04-07 10:42:15 +02:00
Matthias
9387585756
Merge pull request #3127 from orehunt/max_drawdown_fix_db_plot
...
use equality instead of index for row lookups
2020-04-06 20:10:23 +02:00
Ork Blutt
200111fef6
fix method return value
2020-04-06 16:07:43 +02:00
orehunt
20abb379aa
trim trades to the available ohlcv data before plotting profits
2020-04-06 15:54:17 +02:00
Fredrik81
d5609d4997
Changed back to progressbar2 for better handling of logger.
...
Coloring still needs some work (bug + what colors to use)
2020-04-06 13:12:32 +02:00
Ork Blutt
6256025c73
various adjustement from PR discussion
2020-04-06 11:00:31 +02:00
Ork Blutt
8555c5b211
fix return value
2020-04-05 17:03:51 +02:00
Ork Blutt
15c45b984d
removing whitespace
2020-04-05 16:47:46 +02:00
Ork Blutt
0a14d5ec46
trades history RPC
2020-04-05 16:14:02 +02:00
Matthias
41d5c40f10
Correctly test drawdown plot
2020-04-05 14:44:44 +02:00
Matthias
4e907e2304
Use timeframe_to_prev_date to move trade-date to candle
2020-04-05 14:35:53 +02:00
Matthias
e204170eb6
Fix max_drawdown bug finding low before high!
2020-04-05 14:29:40 +02:00
Matthias
c465552df4
Update comment to mention .copy() usage
2020-04-02 20:17:54 +02:00
Matthias
de47186263
Use .loc for assignments
2020-04-02 19:31:48 +02:00
Matthias
3fcd531eac
Copy dataframe in interfac.py (reduces memory consumption)
2020-04-02 19:30:59 +02:00
Matthias
cf6e6488c7
Fix filename handling with --strategy-list
2020-04-02 17:29:18 +02:00
Matthias
9d7ad23d42
Fix test leakage
2020-04-02 08:20:50 +02:00
Matthias
eab6c9c5f2
Fix message
2020-04-01 20:50:00 +02:00
Matthias
0d51383b57
Format logmessages correctly
2020-04-01 20:31:21 +02:00
Matthias
ba03d96961
Test 5s offset on since
2020-04-01 20:04:36 +02:00
Matthias
ff9caf790b
remove trade duplicates in datahandler
2020-04-01 19:45:46 +02:00
Matthias
0506caf986
Implement trades_remove_dulicates
2020-04-01 19:45:38 +02:00
Matthias
bac0eaab03
fix convert to ohlcv
2020-04-01 19:45:35 +02:00
Matthias
d76bb1ccf4
Use List of Lists instead of list of Dicts for trades data
2020-04-01 19:45:21 +02:00
Matthias
1659ddcc5d
Add conversion function from fetch_trades to list
2020-04-01 19:45:21 +02:00
Matthias
8bfbbac748
Add default trades columns
2020-04-01 19:45:00 +02:00
hroff-1902
2915917680
Merge pull request #3107 from orehunt/check_dataframe_after_signals
...
check that the strategy dataframe matches the one given by the bot
2020-03-31 20:08:03 +03:00
orehunt
45fb4d25ab
use equality instead of index for row lookups
2020-03-31 18:47:53 +02:00
Matthias
54d20cb81c
Plot percent correctly
2020-03-30 20:08:07 +02:00
Matthias
cd2e738e35
Add test for assert error
2020-03-29 11:40:13 +02:00
Yazeed Al Oyoun
ef4426a65c
added comma
2020-03-27 03:01:51 +01:00
orehunt
3ef568029f
different exception messages
2020-03-26 07:05:30 +01:00
Matthias
95011919d3
Remove questionable handling of orders
2020-03-25 11:18:33 +01:00
Matthias
3c1b155e9f
Remove filled if amount is modified to suit fee structure
2020-03-25 09:43:04 +01:00
Matthias
f04f606b70
Updateing order amount should use filled - not amount if possible
2020-03-25 09:43:04 +01:00
Matthias
f3103be15c
Fix test
2020-03-25 09:43:04 +01:00
Matthias
700cedc573
Unify handling of open orders to update_trade_state
2020-03-25 09:43:04 +01:00
Matthias
7c47c6e3bd
check for timeouts before exiting positions
2020-03-25 09:43:04 +01:00
Matthias
270ac2e8c1
Add check_order_cancelled_empty method to exchange
2020-03-25 09:43:04 +01:00
Matthias
9c351007f5
Provide reason for cancelled sell order
2020-03-25 09:43:04 +01:00
Matthias
1817e6fbdf
Combine real_amount updating into one method
2020-03-25 09:43:04 +01:00
hroff-1902
be5b68627c
Merge pull request #3093 from freqtrade/trades_abs_profit
...
Add close_profit_abs column
2020-03-25 11:13:56 +03:00
orehunt
0f53e646fd
check that the strategy dataframe matches the one given by the bot
2020-03-24 14:08:34 +01:00
Yazeed Al Oyoun
0a87fe76a3
unified language
2020-03-23 11:17:56 +01:00
Yazeed Al Oyoun
7143cac64f
fixed wording of all in cli_options
2020-03-23 09:41:01 +01:00
Matthias
d581b7e2d7
Add fallback if no error could be determined
2020-03-23 07:57:30 +01:00
Matthias
8f7e113d79
Add additional test
2020-03-23 07:54:27 +01:00
Matthias
45aaa8c09d
Parse and show relevant configuration section
2020-03-22 20:09:01 +01:00
Matthias
f14c496ce9
Remove calc_close_profit from RPC
...
This is now possible - but only for closed trades, so certain occurances
need to remain.
2020-03-22 11:28:18 +01:00
Matthias
2c434e9b11
Add close_proit_abs column
2020-03-22 11:16:23 +01:00
Yazeed Al Oyoun
bf96ef08e0
added # flake8: noqa C901
2020-03-22 09:39:38 +01:00
Yazeed Al Oyoun
1976aaf13e
initial push
2020-03-22 02:22:06 +01:00
hroff-1902
fb4e9b3938
Merge pull request #3025 from yazeed/minor_create_trade_optimization
...
minor create_trade() optimization
2020-03-21 10:36:39 +03:00
Matthias
f320c0a410
Merge pull request #3087 from hroff-1902/edge-cosmetics-1
...
minor: Edge cosmetics
2020-03-20 08:12:21 +01:00
Yazeed Al Oyoun
942792f123
updated as suggested
2020-03-20 05:48:53 +01:00
hroff-1902
5f9479b39f
Edge import cosmetics
2020-03-20 02:10:44 +03:00
Matthias
5e702f6891
Verify cancel_order returnvalue is a dictionary
2020-03-19 19:44:14 +01:00
Matthias
ac6eef6922
Merge pull request #3062 from Fredrik81/plot-trades
...
Plotting: Fix if no file exists and new skip option
2020-03-18 20:00:50 +01:00
Matthias
3e1bef888a
Fix flake8 error
2020-03-18 19:40:13 +01:00
Fredrik81
0920d6fce4
Update freqtrade/data/btanalysis.py
...
Co-Authored-By: Matthias <xmatthias@outlook.com>
2020-03-18 11:01:09 +01:00
Fredrik81
06198c0028
Missed configuration.py
2020-03-15 21:27:45 +01:00
Fredrik81
8c33e07dc6
Update based on comments
2020-03-15 21:20:32 +01:00
Matthias
3d4664c2a6
Remove unnecessary import
2020-03-15 15:40:12 +01:00
Matthias
e1b08ad76c
Add docstring to store_backtest_result
2020-03-15 15:38:26 +01:00
Matthias
e95665ceca
Make backtestresult storing independent from printing
2020-03-15 15:36:23 +01:00
Matthias
a13d581658
Move backtest-result visualization out of backtesting class
2020-03-15 15:17:53 +01:00
Matthias
6106d59e1a
Move store_backtest_results to optimize_reports
2020-03-15 15:17:35 +01:00
Matthias
328dbd3930
Remove unnecessary parameter to generate_text_table_sell_reason
2020-03-15 15:04:48 +01:00
Matthias
a1bbeaa668
Merge branch 'develop' into interface_ordertimeoutcallback
2020-03-15 14:56:14 +01:00
hroff-1902
57ff3ff450
Merge branch 'develop' into plot-trades
2020-03-15 13:31:00 +03:00
Matthias
0f1640bed4
convert exportfilename to Path when config parsing
2020-03-15 09:39:45 +01:00
Fredrik81
cf7e80f45d
Docs and logging
2020-03-14 23:55:13 +01:00
Fredrik81
27faf12fde
Fix if no file exists
2020-03-14 22:15:03 +01:00
Matthias
c56cbc21b1
Remove indexing warning in edge
2020-03-14 10:42:01 +01:00
hroff-1902
59fadabb5b
Fix merging
2020-03-13 20:26:14 +03:00
hroff-1902
51f52c8609
Merge branch 'develop' into no-ticker-2
2020-03-13 16:43:52 +03:00
hroff-1902
a7ed51c642
return back the name of the hyperopt data file
2020-03-13 04:04:23 +03:00
hroff-1902
ddfe5b5f1c
dataframe -> df_analyzed in plotting
2020-03-13 04:00:24 +03:00
hroff-1902
b2952cd42a
remove redundant dict
2020-03-13 03:58:16 +03:00
hroff-1902
ebb0187f40
dataframe -> df_analyzed in backtesting and edge
2020-03-13 03:54:56 +03:00
hroff-1902
c6bb32d419
Merge pull request #3045 from orehunt/jsondatahandler-ohlc-respect-timerange
...
check again for emptiness after trimming dataframe
2020-03-12 22:46:31 +03:00
Matthias
6f67b8d9b9
iCheck after clean_dataframe, too
2020-03-12 19:50:46 +01:00
Fredrik81
5737139979
Small fix
2020-03-12 16:47:09 +01:00
Fredrik81
1a59fc11be
doh
2020-03-12 02:36:18 +01:00
Fredrik81
df1ae565dc
clean-up
2020-03-12 02:26:41 +01:00
Fredrik81
9387ed923c
fix for empty lines
2020-03-12 02:07:50 +01:00
Fredrik81
40a413c524
More remove of progressbar2
2020-03-11 22:50:23 +01:00
Fredrik81
81cbb92556
Switch to TQDM
2020-03-11 22:30:36 +01:00
Matthias
129a88d5da
Extract emptyness check to it's own method
2020-03-11 19:53:28 +01:00
Yazeed Al Oyoun
1395f65872
meh
2020-03-11 17:29:22 +01:00
Yazeed Al Oyoun
c442913feb
final
2020-03-11 17:28:03 +01:00
Yazeed Al Oyoun
ba596af636
final?
2020-03-11 17:26:57 +01:00
Yazeed Al Oyoun
d25cf1395b
fixed log message
2020-03-11 17:23:22 +01:00
Yazeed Al Oyoun
7754742459
fix tests
2020-03-11 17:13:39 +01:00
Yazeed Al Oyoun
a82cdf0add
fixed test
2020-03-11 17:04:51 +01:00
Yazeed Al Oyoun
a85d17327b
fix
2020-03-11 16:54:27 +01:00
Yazeed Al Oyoun
d239e99904
removed old code from create_trade
2020-03-11 16:49:37 +01:00
Yazeed Al Oyoun
4e45abbf13
added return false, false
2020-03-11 16:44:45 +01:00
Yazeed Al Oyoun
54bde6ac11
verify date on new candle before producing signal
2020-03-11 16:34:23 +01:00
Fredrik81
3a8b68c0fd
Initial work on progressbar
2020-03-10 20:30:36 +01:00
Matthias
2b1c146940
Add default volume > 0 filter
2020-03-10 16:05:33 +01:00
Matthias
84f0bb9a5d
Merge pull request #3051 from hroff-1902/fix-sortino
...
Adjust handling of zero stdev in loss functions
2020-03-10 13:10:39 +01:00
Matthias
14e7f0bb13
Merge pull request #3049 from hroff-1902/hyperopt-no-unlimited
...
Do not allow unlimited stake_amount for hyperopt
2020-03-10 11:46:22 +01:00
hroff-1902
73c19da4b9
Adjust handling of zero stdev in loss functions
2020-03-10 13:44:16 +03:00
hroff-1902
f7ad6c20c7
Do not allow unlimited stake_amount for hyperopt
2020-03-10 12:41:23 +03:00
hroff-1902
c49fefc94d
Merge pull request #3044 from freqtrade/default_max_order_book
...
order_book_max - change example setting
2020-03-10 11:17:27 +03:00
hroff-1902
52d89eadde
Merge pull request #3021 from Fredrik81/print-csv
...
Hyperopt: Add export CSV-file option
2020-03-10 10:46:58 +03:00
hroff-1902
f148b5f734
cosmetics in lambdas
2020-03-10 10:38:37 +03:00
hroff-1902
19a9782a40
Merge pull request #3040 from freqtrade/pairlist_message
...
reduce Pairlist message warning level
2020-03-10 10:26:19 +03:00
Fredrik81
bd158eefd2
Fixed loggin
2020-03-10 03:02:52 +01:00
Fredrik81
2f5fc731bb
Removed overwrite option
2020-03-09 18:53:30 +01:00
orehunt
3eaae4661d
check again for emptiness after trimming dataframe
2020-03-09 17:51:21 +01:00
Matthias
5da63d399b
Reduce default order_book_max to 1
2020-03-09 17:38:25 +01:00
Matthias
856ba203d9
Update hyperopt samples docstring
2020-03-09 15:46:46 +01:00
Matthias
c049651784
whitelist_for_active_markets should not remove blacklisted items
2020-03-09 11:30:28 +01:00
Matthias
5cbf325fda
Allow different loglevels for message
2020-03-09 11:30:13 +01:00
Fredrik81
cb419614cd
Spelling miss
2020-03-08 23:00:21 +01:00
Fredrik81
4ad93ed6bb
Changed output for null columns
2020-03-08 22:41:05 +01:00
hroff-1902
3208faf7ed
Do not use ticker where it's not a ticker
2020-03-08 20:47:02 +03:00
Matthias
281cf577d1
Remove unsupported FIAT
2020-03-07 17:03:31 +01:00
Matthias
1b3038390a
Update comment
2020-03-07 13:05:46 +01:00
Matthias
df5adb6ca5
Exchange coingekko for coinmarketcap
2020-03-07 11:53:08 +01:00
Matthias
847df7b70c
Merge pull request #3026 from yazeed/add_default_to_ignore_roi_if_buy_signal
...
default for ignore_roi_if_buy_signal in freqtradebot.py
2020-03-06 19:35:41 +01:00
Yazeed Al Oyoun
b8d05d8751
found instance of config get without default
2020-03-05 22:14:05 +01:00
Yazeed Al Oyoun
0587256733
minor create_trade() optimization
2020-03-05 21:57:01 +01:00
Yazeed Al Oyoun
4474482307
unifying get_sell_rate with get_buy_rate
2020-03-05 20:44:29 +01:00
Fredrik81
91db75a707
Added tests and updated doc
2020-03-05 19:43:43 +01:00
hroff-1902
34093d1208
Merge branch 'develop' into no-percent-1
2020-03-05 14:27:12 +03:00
Fredrik81
7606d814fa
Initial work on csv-file export. Missing docs and tests
2020-03-05 01:58:33 +01:00
hroff-1902
57523d58df
Merge pull request #2994 from Fredrik81/hyperopt-table
...
Added dynamic print table function to hyperopt
2020-03-04 23:44:53 +03:00
Fredrik81
090d1e8a70
Alignment and cleanups
2020-03-04 20:51:09 +01:00
hroff-1902
33c1c8f726
Merge pull request #3018 from freqtrade/max_drawdown
...
Max drawdown in plot-profit
2020-03-04 20:42:57 +03:00
hroff-1902
dea4ef957e
Merge pull request #2982 from freqtrade/rate_side_optional
...
Rate side configurable
2020-03-04 16:07:08 +03:00
Fredrik81
7652a2bb95
Updated table layout and aligning better for hyperopt
2020-03-04 00:10:47 +01:00
Matthias
9d8970a76b
Add test and formatting to drawdown
2020-03-03 20:23:44 +01:00
Matthias
53dcb5d5ed
Fix logging expression
2020-03-03 19:36:03 +01:00
Matthias
33a63562cb
make drawdown function less restrictive
2020-03-03 07:23:38 +01:00
Matthias
88e7cab5b9
Add max_drawdown to profit plot
2020-03-03 07:21:14 +01:00
Matthias
e050511ddc
Add test for max_drawdown calculation
2020-03-03 07:20:41 +01:00
Matthias
3479f7d986
Add max_drawdown function
2020-03-03 07:15:03 +01:00
Fredrik81
399c419163
Changed table formating. Adding some code to align hyperopt table generation. WIP
2020-03-03 01:14:56 +01:00
hroff-1902
82bdd01843
Merge pull request #3003 from Fredrik81/cores-and-arguments
...
Hyperopt: fix number of CPU cores, jobs and total epochs
2020-03-03 02:12:21 +03:00
hroff-1902
52cd5f9127
Better use enumerate: more correct and more pythonic
2020-03-03 01:42:25 +03:00
hroff-1902
45c9496792
Do not run optimizer for 'jobs' epochs for the last iteration
2020-03-03 01:33:11 +03:00
hroff-1902
a7d4755859
optimize calculation of current_jobs
2020-03-03 01:20:14 +03:00
hroff-1902
92425642da
Fix config_jobs
2020-03-03 01:00:24 +03:00
Fredrik81
0e4862b0c8
Added logging if argument is miss-configured
2020-03-02 22:58:54 +01:00
Fredrik81
7713cfeb79
Corrected logic for -j + and - argument
2020-03-02 21:02:32 +01:00
Matthias
6e2290c4f0
Allow last to be empty -
...
closes #3005
2020-03-02 20:05:54 +01:00
Yazeed Al Oyoun
77b7f95efb
simple code styling fixes
2020-03-02 00:14:01 +01:00
hroff-1902
8475baba4e
Merge pull request #2995 from freqtrade/stake_curr_empty
...
Allow Stake currency empty when using download-data
2020-03-02 00:53:09 +03:00
hroff-1902
e20b06408c
Merge pull request #3000 from freqtrade/fix/jupyter_example
...
[minor] Fix jupyter notebook example
2020-03-02 00:49:21 +03:00
Fredrik81
f08c7eedf1
Changed jobs to be dynamic for last loop
2020-03-01 14:35:13 +01:00
Fredrik81
75b4f1a442
Fix alignment of higher values
2020-03-01 14:12:27 +01:00
Matthias
4d8430c687
Use string typehints to avoid import errors
2020-03-01 09:43:20 +01:00
Matthias
cd54875f03
Add documentation link to advanced functions
2020-03-01 09:40:07 +01:00
Matthias
791148176c
Add callback functions to new-strategy --template advanced
2020-03-01 09:35:53 +01:00
Matthias
eda77aeec8
Add render_template fallback
2020-03-01 09:30:30 +01:00
Fredrik81
e89fd33229
Fix for more arguments
2020-02-29 23:57:15 +01:00
Fredrik81
7a4edb1cd8
Fix: When total epochs is less than cpu cores
2020-02-29 23:41:59 +01:00
Fredrik81
23ae0653bd
Changed table output to match hyperopt-list command
2020-02-29 23:24:08 +01:00
Matthias
60f04cff4d
Simplify expression
2020-02-29 20:41:03 +01:00
Matthias
d7373be553
Add official support for Kraken
2020-02-29 16:58:22 +01:00
Matthias
848054d140
Fix jupyter notebook example -
...
generate_candlestick_graph() needs a filtered pairlist, not a list
containing all pairs
2020-02-29 15:53:54 +01:00
Matthias
60579485e5
fix empty stake currency problem
2020-02-29 14:56:36 +01:00
hroff-1902
0528af1700
Merge pull request #2879 from freqtrade/sortino_hyperopt_loss
...
Sortino hyperopt loss
2020-02-29 11:36:27 +03:00
Fredrik81
349aa2f957
Added dynamic print table function to hyperopt
2020-02-28 21:54:04 +01:00
hroff-1902
bee8e92f02
Final changes, use sqrt i.o. statistics.pstdev
2020-02-28 23:50:25 +03:00
hroff-1902
e411717de9
No percent where ratio is to be used
2020-02-28 12:36:39 +03:00
Matthias
ac7fa8252b
Merge pull request #2985 from Fredrik81/pretty-backtesting
...
Changed table style of backtesting and alignment of headers
2020-02-28 06:20:34 +01:00
Matthias
a55964a622
we Must parse --dry-run before setting run-mode
2020-02-27 19:36:54 +01:00
hroff-1902
c0001fcb8c
Merge pull request #2987 from Fredrik81/table-style
...
Minor change to standardize table style.
2020-02-27 18:30:14 +03:00
Fredrik81
15e59654d9
Minor change to standardize table style.
...
This PR will target commands.
2020-02-27 16:10:45 +01:00
Fredrik81
55d471190a
Changed table style of backtesting and alignment of headers
2020-02-27 13:28:28 +01:00
Matthias
e5ec97495d
Logging should be initialized first
2020-02-27 07:01:00 +01:00
hroff-1902
893d9cde8d
Merge pull request #2943 from Fredrik81/add-print-table
...
Added function to print hyperopt-list as table using tabulate
2020-02-27 05:22:41 +03:00
Matthias
b6839289ec
Add price_side to sample config files
2020-02-26 20:03:13 +01:00
Matthias
0fea3a7ea7
Some final polish to configurable_side
2020-02-26 19:50:17 +01:00
Matthias
8edc3eb5fb
Use generator to generate sell price scaffold testing
2020-02-26 19:39:12 +01:00
Matthias
e4b2949188
Change buy_rate calculation to use price_side
2020-02-26 19:39:12 +01:00
Matthias
5f71232038
Refactor get_buy_rate to use rate variable
2020-02-26 19:39:12 +01:00
Matthias
de48a697b0
Use price_side for get_sell_rate
2020-02-26 19:39:12 +01:00
Matthias
f91d7beaa1
Fix constants wrong parenteses
2020-02-26 19:39:12 +01:00
hroff-1902
e6d003f8f2
Merge pull request #2973 from freqtrade/support_non_pairs
...
Support non pairs
2020-02-26 12:20:45 +03:00
Matthias
f38accb77b
Return empty string if no quote / base currency can be found
2020-02-26 07:09:54 +01:00
Matthias
4e218be51d
Don't use markets[pair]['quote']
2020-02-26 07:08:09 +01:00
Matthias
1021ffa1c3
Apply suggestions from code review
...
Add suggested changes to comments
Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-02-26 07:00:08 +01:00
hroff-1902
5a900858d8
Merge branch 'develop' into rate_caching
2020-02-26 04:04:20 +03:00
Matthias
a030ce9348
Reformat if condition
2020-02-25 20:22:59 +01:00
Matthias
d44f6651c4
Fix small parenteses bug
2020-02-25 19:55:23 +01:00
Matthias
31ac4598ba
Fix last occurances of pair splitting
2020-02-25 07:16:37 +01:00
Matthias
d34515a5de
Remove constraint to have pairs in base/quote format
2020-02-25 07:04:20 +01:00
Matthias
e8eaa8920e
Use get_base_currency instead of splitting by /
2020-02-25 07:01:31 +01:00
Fredrik81
cd7efde6c0
Fixed coloring so it's only targeting the values not the table borders
2020-02-24 22:06:21 +01:00
Matthias
61037ab7b8
Implement get_pair_base_curr and get_pair_quote_curr
2020-02-24 21:50:27 +01:00
Matthias
3e4f663418
Move pairlist validation to exchange (we need to use .quote) from
...
markets
2020-02-24 21:33:42 +01:00
Matthias
6581ba56ca
Use markets.quote to validate
2020-02-24 20:41:45 +01:00
Fredrik81
23bf135b8a
Alignment of table content, changed coloring, changed 'Best' column to show if it's initial_point or best
2020-02-24 11:01:14 +01:00
Matthias
83959f0e56
Merge pull request #2959 from hroff-1902/throttling
...
Better throttling
2020-02-24 06:54:52 +01:00
Fredrik81
7eb62ed32e
Remove old print option for hyperopt-list and made table as default
2020-02-24 00:33:01 +01:00
hroff-1902
e545ef563c
Wording adjusted in helpstring
2020-02-23 22:50:58 +03:00
Yazeed Al Oyoun
0eeafcd157
matched commenting on previous sample_strategy.py
2020-02-23 16:56:55 +01:00
Yazeed Al Oyoun
f25d6224dd
modified sample_strategy
2020-02-23 16:22:19 +01:00
Yazeed Al Oyoun
e04c2dda2c
fixed typo
2020-02-22 23:58:31 +01:00
Yazeed Al Oyoun
5ac6244465
added keltner channel and uo
2020-02-22 23:50:26 +01:00
Yazeed Al Oyoun
2957756275
final touches plus
2020-02-22 23:39:01 +01:00
Yazeed Al Oyoun
b49b9b515e
final touches
2020-02-22 23:37:15 +01:00
Yazeed Al Oyoun
259dc75a30
some order and added weighted BB indicator to list
2020-02-22 23:10:46 +01:00
hroff-1902
ca8e52dc2c
Show heartbeat message earlier after changing the state
2020-02-23 00:21:19 +03:00
hroff-1902
e2e6b940a3
copy=False does not make the changes inline anyway, so not needed
2020-02-22 19:54:19 +03:00
hroff-1902
c651e0ac82
Fix #2948
2020-02-22 19:46:40 +03:00
Matthias
3186add87b
Use explicit column list for float parsing
2020-02-22 14:46:54 +01:00
Matthias
7ecc56fa44
Load ohlcv data as float
2020-02-22 13:10:41 +01:00
Matthias
8cd77b2e27
Add some tests for strategy_wrapper
2020-02-22 11:55:40 +01:00
Matthias
365fdf4c37
Add docstring to strategy wrapper
2020-02-22 11:41:22 +01:00
Matthias
77ef3240cd
Implement log messages
2020-02-22 11:20:19 +01:00
Matthias
97e6e5e976
Implement caching in the correct place
2020-02-22 11:12:33 +01:00
Matthias
f5b4a6d3d7
Remove fetch_ticker caching
2020-02-22 11:10:05 +01:00
Matthias
bf556c8678
Merge branch 'develop' into interface_ordertimeoutcallback
2020-02-21 20:35:07 +01:00
Matthias
6c01542fed
Ad check_sell_timeout
2020-02-21 20:27:13 +01:00
Matthias
8c1a933221
cancel_order should return a dict
2020-02-21 20:23:43 +01:00
hroff-1902
d9ecf3e4bf
Add version and state to heartbeat message
2020-02-21 12:26:32 +03:00
hroff-1902
d2e20d86bb
Align heartbeat to throttling logging
2020-02-21 05:31:21 +03:00
hroff-1902
269a669af8
Move heartbeat to worker
2020-02-21 05:07:31 +03:00
hroff-1902
881f602f91
Adjust methods params
2020-02-21 04:17:17 +03:00
hroff-1902
e0800b7c29
Make throttle start time an worker object attribute
2020-02-21 03:52:14 +03:00
hroff-1902
04aa74e5ad
Better throttling
2020-02-21 03:37:38 +03:00
hroff-1902
78ee36a8c6
Use _throttle() in stopped state instead of sleep()
2020-02-20 15:18:26 +03:00
hroff-1902
bee28a1061
Merge pull request #2944 from freqtrade/move_defaultstrategy
...
Move defaultstrategy
2020-02-20 08:52:24 +03:00
hroff-1902
56a06cbd33
Update strings to f-strings
2020-02-20 08:19:22 +03:00
hroff-1902
bca5f804a8
Move divider log message
2020-02-20 08:17:24 +03:00
Matthias
5adbe3c2d3
initial search path is optional ...
2020-02-19 19:50:01 +01:00
Matthias
751e2b2359
Merge pull request #2945 from freqtrade/fix/kraken_stoplosshit
...
Kraken stoploss bugfix
2020-02-19 19:43:29 +01:00
hroff-1902
f2f2c281c0
Merge pull request #2719 from xmatthias/data_handler
...
Introduce Data handler
2020-02-19 21:22:08 +03:00
Matthias
d22384c7fb
Full support for kraken stoploss
2020-02-19 19:21:48 +01:00
Matthias
29b369c65e
Rename cli argument
2020-02-19 14:53:54 +01:00
Yazeed Al Oyoun
3fb6818bd8
Merge branch 'develop' into sortino_hyperopt_loss
2020-02-19 02:37:25 +01:00
Yazeed Al Oyoun
df26c357d2
doc updates
2020-02-19 01:31:25 +01:00
Fredrik Rydin
2058b492eb
Added function to print hyperopt-list as table using tabulate
2020-02-18 22:46:53 +01:00
Matthias
d91b9d1253
Fix some tests, don't default to freqtrade/strategy for imports
2020-02-18 20:26:20 +01:00
Matthias
1634297685
Move strategies to test subfolder
2020-02-18 20:12:10 +01:00
Matthias
e6dd463ca3
Revert versioning
2020-02-17 20:17:36 +01:00
Matthias
1172c95817
Use different versioning scheme
2020-02-17 20:17:08 +01:00
Matthias
0b33b798e4
Add pypi build step
2020-02-17 20:16:24 +01:00
Matthias
6335d81ceb
Merge branch 'develop' into data_handler
2020-02-16 15:12:14 +01:00
hroff-1902
674898bd32
Fix usage of vars in the commented out line
2020-02-16 15:26:40 +03:00
Matthias
3787ac7b98
increment limit to adjust to FTX defaults (1500 candles)
2020-02-16 13:20:11 +01:00
hroff-1902
42dfda9231
Adjust docstring
2020-02-16 13:46:07 +03:00
hroff-1902
fbe5cc44da
Use statistics.pstdev
2020-02-16 13:43:23 +03:00
hroff-1902
1e84b2770c
Fix values of downside_returns
2020-02-16 04:10:53 +03:00
hroff-1902
161dd1a3e6
Rename risk_free_return to minumum_accepted_return
2020-02-16 03:55:16 +03:00
Yazeed Al Oyoun
180939a962
winner, readability, with brackets as fix
2020-02-15 21:01:45 +01:00
Yazeed Al Oyoun
6e71f2f166
my fix
2020-02-15 20:55:12 +01:00
Matthias
44ac2409ff
Merge pull request #2923 from hroff-1902/status-strategies
...
Add printing statuses for enlisted strategies and hyperopts
2020-02-15 19:43:02 +01:00
hroff-1902
6139239b86
Address points stated in comments
2020-02-15 20:43:11 +03:00
hroff-1902
c453969235
Merge pull request #2922 from freqtrade/config_userdir
...
default to loading config.json from userdir if it exists
2020-02-15 08:00:04 +03:00
hroff-1902
42a5d78e60
Wording (duplicate, not duplicated)
2020-02-15 07:19:24 +03:00
hroff-1902
e8c0a0bcd3
Make mypy happy
2020-02-15 06:18:00 +03:00
hroff-1902
06b84b4086
Remove redundant code
2020-02-14 23:13:49 +03:00
hroff-1902
bba7a38144
Merge pull request #2906 from freqtrade/fix/jupyterexample
...
Update data-analysis documentation to properly initialize configuration
2020-02-14 22:36:35 +03:00
hroff-1902
47a91c9d8e
Remove green color
2020-02-14 22:32:46 +03:00
hroff-1902
e598c769d4
Add colorization
2020-02-14 22:28:49 +03:00
Matthias
d5a298bbb7
Add sentence from suggestion
2020-02-14 20:12:26 +01:00
Matthias
5efbdd25a7
Properly default to user_data/config.json if it exists
2020-02-14 20:04:05 +01:00
Matthias
ab27d2c720
Merge pull request #2921 from hroff-1902/adjust-buy-notification
...
Move rpc send to be after db session add/flash
2020-02-14 20:02:56 +01:00
hroff-1902
c92e1d97d6
Attempt to make mypy happy
2020-02-14 21:52:02 +03:00
hroff-1902
1bc26fd07a
Add printing statuses for list-hyperopts
2020-02-14 21:46:22 +03:00
Matthias
be4a9b5f4b
Lowercase freqtrade
2020-02-14 19:37:20 +01:00
Matthias
9dafc2f3c8
Load config.json from user_data first
2020-02-14 19:33:10 +01:00
hroff-1902
a2d7f8a70d
Split tabular printing into sep. helper function
2020-02-14 21:24:30 +03:00
hroff-1902
9cbf8c5f00
Add status for listed strategies
2020-02-14 21:15:36 +03:00
Matthias
3312fd34f3
Merge pull request #2920 from hroff-1902/remove-delete-trades
...
Get rid of delete_trade method in Freqtradebot
2020-02-14 07:27:52 +01:00
Matthias
ee92e8dbf4
Merge pull request #2919 from hroff-1902/adjust-main
...
Minor: Adjust message in main.py
2020-02-14 07:27:19 +01:00
Matthias
ec5d2d78dd
Merge pull request #2918 from hroff-1902/bittrex-config
...
Add order_types into Bittrex config subtemplate
2020-02-14 07:26:49 +01:00
hroff-1902
20c21b42d5
Move rpc send to be after db session add/flash
2020-02-14 06:23:03 +03:00
hroff-1902
36ef5c6bdf
Get rid of delete_trades method in Freqtradebot
2020-02-14 04:05:17 +03:00
hroff-1902
749463e4b7
Adjust message in main.py
2020-02-14 03:05:07 +03:00
hroff-1902
a0a14a1078
freqtrade/templates/subtemplates/exchange_bittrex.j2
2020-02-14 01:08:17 +03:00
hroff-1902
4cdcf00ddc
Merge branch 'develop' into rpc_notification_fixes
2020-02-14 00:10:50 +03:00
Matthias
ccc9239751
Reduce indentation of help
2020-02-13 07:02:12 +01:00
Matthias
86592c3ba1
Fix /help from telegram
2020-02-13 06:51:52 +01:00
Matthias
81f849811f
Initcap Freqtrade
2020-02-13 06:30:59 +01:00
hroff-1902
b2328cdf4f
Do not subtract risk_free_ratio twice
2020-02-13 07:07:35 +03:00
Yazeed Al Oyoun
f09af888b1
modified get_buy/sell_rate refresh to true on notify_sell_cancel and notify_buy_cancel
2020-02-12 21:55:38 +01:00
Yazeed Al Oyoun
2e3b8cdba7
fixed flake8 issues on /help output
2020-02-12 21:51:58 +01:00
Yazeed Al Oyoun
f6db784a85
removed default to refresh argument in get_buy_rate and get_sell_rate
2020-02-12 21:50:33 +01:00
Yazeed Al Oyoun
47874a4527
added logic to differentiate sell orders with double asterisk
2020-02-12 21:45:55 +01:00
Matthias
2efa1c164f
Revert data-location section
2020-02-12 21:43:43 +01:00
Matthias
483cba453a
Fix last occurence of data_location
2020-02-12 19:58:23 +01:00
Matthias
d6b9397579
Fix typo in datadir key
2020-02-12 06:40:13 +01:00
Fredrik Rydin
539343b20d
Adding 2 more filter options for completeness
2020-02-11 21:29:55 +01:00
Matthias
7be9f0067e
Update data-analysis documentation to properly initialize configuration
2020-02-11 20:51:39 +01:00
Fredrik Rydin
d1c3eabb87
Changed commands to use "check_int_positive"
2020-02-11 18:08:30 +01:00
Yazeed Al Oyoun
cde1b2b56c
readded rpc status message for partial buys
2020-02-11 16:28:48 +01:00
Yazeed Al Oyoun
5f4c209fca
fixed one more occurence of executed buy, and test
2020-02-11 16:14:49 +01:00
Yazeed Al Oyoun
4fedf1e564
default refresh TRUE on get_buy_rate and get_sell_Rate
2020-02-11 16:05:44 +01:00
Fredrik Rydin
5b4d8d69ef
Adding --min-trades and --max-trades for hyperopt-list
2020-02-11 16:02:08 +01:00
Yazeed Al Oyoun
fc29564974
Fixed messages and readability
2020-02-11 15:58:40 +01:00
Yazeed Al Oyoun
867b736b84
Fixed to Executing Buys & Sells
2020-02-11 15:50:21 +01:00
Yazeed Al Oyoun
7f4b90c68f
fixed actual open_rate in notify_buy_cancel
2020-02-11 15:45:35 +01:00
Yazeed Al Oyoun
f99d1c3829
fixed open_rate instead of open_rate_requested
2020-02-11 15:44:47 +01:00
hroff-1902
2bcce33f23
Merge pull request #2888 from Fredrik81/hyperopt-filters
...
Added filter options to "hyperopt-list" in order to easier find epochs.
2020-02-10 23:59:40 +03:00
Fredrik Rydin
c924e4d519
Updated based on feedback:
...
- Profit commands now use float
- Compatible with --best
- Corrected wrong information in docs
2020-02-10 20:54:31 +01:00
hroff-1902
0ba8d13de9
Merge pull request #2831 from xmatthias/feat/new_config
...
introduce new-config subcommand
2020-02-09 22:11:37 +03:00
Fredrik81
5bf4c5869b
Update hyperopt_commands.py
...
Missed a debug print
2020-02-09 19:32:09 +01:00
hroff-1902
9ec9a7b124
Fix t_index to be normalized
2020-02-09 21:20:15 +03:00
hroff-1902
c89a32224c
Fix SharpeHyperOptLossDaily
2020-02-09 18:40:19 +03:00
Matthias
d65a06947d
Merge branch 'develop' into data_handler
2020-02-09 15:16:43 +01:00
Fredrik Rydin
c648ec7c0c
Added test cases and fixed a minor bug
2020-02-09 14:18:56 +01:00
Matthias
b536d50194
Address PR Review
2020-02-09 11:41:29 +01:00
Fredrik Rydin
c96acd6ca0
Fixed to pass PEP8
2020-02-09 00:16:11 +01:00
Fredrik Rydin
636bd5acb5
Added filter options to "hyperopt-list" in order to easier find epochs.
...
--profitable
Select only profitable epochs.
--min-avg-time INT
Select epochs on above average time.
--max-avg-time INT
Select epochs on under average time.
--min-avg-profit FLOAT
Select epochs on above average profit.
--min-total-profit FLOAT
Select epochs on above total profit.
2020-02-08 23:21:42 +01:00
Matthias
1a9787ac76
Add validation for data-download relevant settings
2020-02-08 21:53:34 +01:00
Yazeed Al Oyoun
879b513822
enhanced method description
2020-02-08 21:31:36 +01:00
Yazeed Al Oyoun
f3b1161640
wide notifications fixes
2020-02-08 21:02:52 +01:00
Matthias
c4031761fe
Don't validate exchange for data-download subcommand
2020-02-08 19:29:58 +01:00
Matthias
34f04668c1
Add template for bittrex
2020-02-08 14:02:51 +01:00
Matthias
52f4187129
Allow exchange templates to configure outside-options too
2020-02-08 13:51:55 +01:00
Matthias
fff8ced3b0
Merge pull request #2843 from hroff-1902/allow-derived-strategies
...
Allow derived strategies
2020-02-08 09:15:35 +01:00
hroff-1902
61ced5e926
Fix typo
2020-02-08 02:49:06 +03:00
hroff-1902
28184201e4
Align sample_hyperopt_advanced.py to hyperopt_interface.py
2020-02-08 02:47:50 +03:00
Matthias
abf10aec98
Merge branch 'develop' into feat/new_config
2020-02-07 17:02:14 +01:00
Yazeed Al Oyoun
e8b9d88eb6
moved line for total_downside
2020-02-07 16:44:55 +03:00
Yazeed Al Oyoun
a46b7bcd6d
more fixes...
2020-02-07 16:44:43 +03:00
Yazeed Al Oyoun
9bcc5d2eed
fixed downside_returns to read from profit_percent_after_slippage
2020-02-07 16:36:12 +03:00
Yazeed Al Oyoun
728ab0ff21
Added both SortinoHyperOptLoss and SortinoHyperOptLossDaily
2020-02-07 16:35:28 +03:00
Yazeed Al Oyoun
b56a1f0603
initial push of sortino, work not done, still need own tests
2020-02-07 16:34:20 +03:00
Yazeed Al Oyoun
deb0b7ad67
Added both SortinoHyperOptLoss and SortinoHyperOptLossDaily
2020-02-07 16:30:37 +03:00
Yazeed Al Oyoun
44d67389d2
initial push of sortino, work not done, still need own tests
2020-02-07 16:29:27 +03:00
Yazeed Al Oyoun
ff819386e1
added draws to backtesting tables, reduced len of some labels to help fit this without increasing total width
2020-02-07 03:51:50 +01:00
Matthias
49dcc561b7
POC for check_buy_timeout
2020-02-06 20:30:17 +01:00
Matthias
2816b96650
Create strategy_wrapper to call user-defined code with
2020-02-06 20:26:04 +01:00
Matthias
97e48080e8
Merge pull request #2839 from hroff-1902/list-hyperopts-2
...
Add list-hyperopts subcommand
2020-02-06 07:06:36 +01:00
Yazeed Al Oyoun
5b00eaa42d
Updated Strategy Summary table to match other backtesting tables ( #2864 )
2020-02-06 06:58:58 +01:00
Yazeed Al Oyoun
9639ffb140
added daily sharpe ratio hyperopt loss method, ty @djacky ( #2826 )
...
* more consistent backtesting tables and labels
* added rounding to Tot Profit % on Sell Reasosn table to be consistent with other percentiles on table.
* added daily sharpe ratio hyperopt loss method, ty @djacky
* removed commented code
* removed unused profit_abs
* added proper slippage to each trade
* replaced use of old value total_profit
* Align quotes in same area
* added daily sharpe ratio test and modified hyperopt_loss_sharpe_daily
* fixed some more line alignments
* updated docs to include SharpeHyperOptLossDaily
* Update dockerfile to 3.8.1
* Run tests against 3.8
* added daily sharpe ratio hyperopt loss method, ty @djacky
* removed commented code
* removed unused profit_abs
* added proper slippage to each trade
* replaced use of old value total_profit
* added daily sharpe ratio test and modified hyperopt_loss_sharpe_daily
* updated docs to include SharpeHyperOptLossDaily
* docs fixes
* missed one fix
* fixed standard deviation line
* fixed to bracket notation
* fixed to bracket notation
* fixed syntax error
* better readability, kept np.sqrt(365) which results in annualized sharpe ratio
* fixed method arguments indentation
* updated commented out debug print line
* renamed after slippage profit_percent so it wont affect _calculate_results_metrics()
* Reworked to fill leading and trailing days
* No need for np; make flake happy
* Fix risk free rate
Co-authored-by: Matthias <xmatthias@outlook.com>
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-02-06 06:49:08 +01:00
Matthias
6866f6389d
Fix merge-error
2020-02-04 20:41:13 +01:00
hroff-1902
d2cac1d8fd
Merge branch 'develop' into spreadfilter
2020-02-04 16:54:46 +03:00
untoreh
aa54fd2251
- added spread filter
...
- minimum value to volume pairlist
2020-02-04 14:49:59 +01:00
hroff-1902
f5fb129483
Merge pull request #2858 from freqtrade/fix/rolling_max
...
Fix implementation of rolling_max
2020-02-04 14:05:05 +03:00
Matthias
a707aeb3d0
Fix implementation of rolling_max
2020-02-04 07:00:53 +01:00
Yazeed Al Oyoun
91b4c9668c
More consistency changes...
2020-02-04 01:57:24 +01:00
hroff-1902
d457d43999
Merge pull request #2833 from hroff-1902/type-hints
...
Add some type hints
2020-02-03 23:24:26 +03:00
hroff-1902
ffb53a6df5
get rid of typing.cast()
2020-02-03 23:08:35 +03:00
hroff-1902
684cb54992
Add pair to exception msg
2020-02-03 17:17:46 +03:00
hroff-1902
df249c7c03
Remove unclear comment
2020-02-03 09:37:50 +03:00
hroff-1902
537596001e
Allow derived strategies
2020-02-03 06:20:01 +03:00
Matthias
e3cb5d26c0
Merge pull request #2835 from yazeed/reduce_noise_if_use_order_book_true
...
reduced noise without verbose mode if use_order_book is true
2020-02-02 19:42:50 +01:00
hroff-1902
84156879f6
Fix NO_CONF_REQUIRED for list-hyperopts
2020-02-02 20:11:42 +03:00
hroff-1902
857eb5ff69
Add list-hyperopts command
2020-02-02 19:41:22 +03:00
hroff-1902
3fe39a3e1b
Rename constant
2020-02-02 19:41:22 +03:00
hroff-1902
a5e670b402
Add USERPATH_NOTEBOOKS
2020-02-02 19:41:22 +03:00
hroff-1902
e8c1abc509
Merge pull request #2799 from freqtrade/fix_stoploss_recreated
...
Fix stoploss recreated
2020-02-02 16:59:45 +03:00
hroff-1902
6594679e52
Merge pull request #2779 from freqtrade/stoploss_market
...
Stoploss on exchange for Kraken
2020-02-02 14:48:45 +03:00
Yazeed Al Oyoun
aeabe1800b
modified two lines from logger.info to logger.debug cause they're too spammy
2020-02-02 10:49:00 +01:00
Matthias
d64751687b
Fix link and lowercase variable
2020-02-02 10:47:44 +01:00
Yazeed Al Oyoun
3499f1b85c
better readability and more consistent with daily sharpe loss method
2020-02-02 08:47:33 +01:00
hroff-1902
f3d500085c
Add some type hints
2020-02-02 07:00:40 +03:00
Matthias
cbd2b265bb
Fix small error
2020-02-01 15:16:44 +01:00
Matthias
d1a3a2d000
Add tests for build_config
2020-02-01 14:22:40 +01:00
Matthias
cfa6a3e3d3
Don't overwrite files
2020-02-01 14:12:21 +01:00
Matthias
c40a4d77f8
Use exchange_mapping to determine correct exchange-template
2020-02-01 13:46:58 +01:00
Matthias
19d4e1435c
Merge pull request #2828 from yazeed/line_alignment_fixes
...
fixed some more line alignments
2020-02-01 11:19:28 +01:00
Yazeed Al Oyoun
d038bcedb0
fixed some more line alignments
2020-01-31 22:37:05 +01:00
Matthias
c396ad4daa
Align quotes in same area
2020-01-31 20:41:51 +01:00
Yazeed Al Oyoun
907a61152c
added rounding to Tot Profit % on Sell Reasosn table to be consistent with other percentiles on table.
2020-01-31 04:53:37 +01:00
Yazeed Al Oyoun
e2b3907df5
more consistent backtesting tables and labels
2020-01-31 04:39:18 +01:00
Matthias
4be3f053ca
Exclude trading against BNB bases on binance
2020-01-30 21:42:48 +01:00
Matthias
cebf99b5d8
Implement validation
2020-01-29 22:46:47 +01:00
Matthias
acbf13e648
Fail gracefully if user interrupted question session
2020-01-29 21:47:05 +01:00
Matthias
940bfbee96
Move start_config out of build_commands file
2020-01-29 21:28:01 +01:00
Matthias
e250c56829
Add Questionaire workflow
2020-01-29 21:21:38 +01:00
Matthias
dd83cb1b95
Extract selection generation to a seperate method
2020-01-29 20:27:38 +01:00
hroff-1902
68771a7861
Remove state attr from Worker
2020-01-29 17:08:36 +03:00
hroff-1902
e1356fb80e
Merge pull request #2800 from yazeed/enhanced_check_depth_of_market_logging
...
better logging on check_depth_of_market_buy()
2020-01-29 10:56:14 +03:00
Matthias
c80d8f432a
Add exchange templates
2020-01-29 07:13:38 +01:00
Matthias
122c916356
Add first version of config_deploy
2020-01-29 07:03:22 +01:00
Matthias
b384ca8fd2
Create new-config command
2020-01-29 06:47:01 +01:00
Yazeed Al Oyoun
a0b92fe0b1
removed typo
2020-01-28 19:29:47 +01:00
Yazeed Al Oyoun
328a9ffafd
fixed typo in false statement
2020-01-28 19:27:49 +01:00
Matthias
5d7317ef77
Merge pull request #2807 from hroff-1902/refactor-freqtrade-2
...
Add notify_status() to FreqtradeBot
2020-01-27 06:44:20 +01:00
hroff-1902
30e3e434ab
Add notify_status() to FreqtradeBot
2020-01-27 03:34:53 +03:00
hroff-1902
33645e45fd
Minor cosmetics in start_trading
2020-01-27 02:49:25 +03:00
Matthias
1ef148317d
Merge branch 'develop' into stoploss_market
2020-01-26 20:33:41 +01:00
Matthias
1b9af9d2d8
Merge branch 'develop' into data_handler
2020-01-26 20:31:13 +01:00
Matthias
02563019fc
move setup_utils_config to configuration module
2020-01-26 14:15:53 +01:00
Matthias
8c9119b471
Add docustring to commands module
2020-01-26 13:46:01 +01:00
Matthias
2d02c3f2a4
Split out pairlist_commands
2020-01-26 13:46:01 +01:00
Matthias
a3e9d04383
Adjust imports to new place for arguments
2020-01-26 13:46:01 +01:00
Matthias
7f851ad8d9
Move arguments and cli_options to commands module
2020-01-26 13:46:01 +01:00
Matthias
a1c684f67c
Simplify noqa setup for module imports
2020-01-26 13:46:01 +01:00
Matthias
f347e5934a
Small adjustments for moved commands
2020-01-26 13:46:01 +01:00
Matthias
e033df6a2f
Move optimize_commands to commands module
2020-01-26 13:46:01 +01:00
Matthias
b254bdfea3
Move plot_utils to plot_commands
2020-01-26 13:46:01 +01:00
Matthias
70a0346b0a
Move data-stuff to data-commands
2020-01-26 13:46:01 +01:00
Matthias
926bf07df1
Seperate a few commands into specific files
2020-01-26 13:46:01 +01:00
Matthias
6e85280467
Adjust imports
2020-01-26 13:46:01 +01:00
Matthias
80ed1c3e14
Move utils to commands
2020-01-26 13:46:01 +01:00
Matthias
3f2542fcbc
Move edge-module out of __init__.py
2020-01-26 10:44:42 +01:00
Matthias
bd4dd8403b
Fix type-errors with stake_amount
2020-01-25 12:49:37 +01:00
hroff-1902
f4c7edf551
No args for backtest(), use arguments
2020-01-25 12:49:37 +01:00
Yazeed Al Oyoun
f8db7f1709
added ask price, bid price, immediate ask quantity, and immediate bid quantity to check_depth_of_market_buy. also added a line that mentions if delta condition was satisfied or not.
2020-01-25 04:17:41 +01:00
Matthias
70b9bd9c0e
Verify if trade is closed before acting on Stoploss_on_exchange
2020-01-23 20:36:48 +01:00
Matthias
ea5ac1efb5
Don't handle stoploss if there is an open regular order
2020-01-23 20:24:23 +01:00
Matthias
a83de241e4
Check for closed stoploss-orders first
2020-01-23 19:40:31 +01:00
Matthias
1d141cd406
Merge branch 'develop' into stoploss_market
2020-01-23 19:35:05 +01:00
Matthias
bc4c469797
Merge branch 'develop' into stoploss_market
2020-01-22 20:51:52 +01:00
Matthias
aad10ceee3
Add threading lock object for /forcesell
...
Protects against stoploss_on_exchange order recreation
in case of /forcesell (it's a timing issue, so may or may not happen).
2020-01-22 20:50:09 +01:00
Matthias
58ceda4b90
update wallets after forcesell
2020-01-22 19:54:55 +01:00
Matthias
8a940eb0c1
Align price finding function name on buy side with get_sell_rate
2020-01-22 14:46:28 +01:00
Matthias
9c2f21b07e
Merge pull request #2788 from drdux/develop
...
added missing word in hyperopt loss example
2020-01-22 12:47:08 +01:00
Matthias
7d2d0235a0
Fix typo in sell-reason table generation
2020-01-22 06:08:34 +01:00
Daniel Goller
bff0a09537
line was too long
2020-01-21 16:14:19 +00:00
Daniel Goller
c1c2717bc9
added missing word in hyperopt loss example
2020-01-21 15:49:24 +00:00
Matthias
fc2970f41b
Merge branch 'develop' into data_handler
2020-01-21 06:58:48 +01:00
hroff-1902
66415d48d4
Merge pull request #2787 from freqtrade/dry_run_optional
...
remove default value calls for dry_run
2020-01-20 23:08:17 +03:00
Matthias
1bf475fa1a
Remove .get calls for dry_run - it's a mandatory property
2020-01-20 20:24:40 +01:00
Matthias
099bbc5c7f
Fix bug when stoploss_on_exchange in combination with dry-run
...
does not sell orders
2020-01-20 20:14:40 +01:00
Matthias
cf9331919f
move exchange-specific order-parsing to exchange class
...
Related to stoploss_on_exchange in combination with trailing stoploss.
Binance contains stopPrice in the info, while kraken returns the same
value as "price".
2020-01-19 19:54:30 +01:00
Matthias
f1629c907a
Implement stoploss for kraken
2020-01-19 14:40:09 +01:00
Matthias
e6f1912443
Use named arguments for stoploss create_order call
2020-01-19 14:40:09 +01:00
Matthias
16b34e11ca
Complete rename of stoploss_limit to stoploss
2020-01-19 14:40:09 +01:00
Matthias
256fc2e78c
Rename stoploss_limit to stoploss
2020-01-19 13:30:56 +01:00
Matthias
8d2e0bfd62
Move rate-calcuation for stoploss-limit order to exchange
2020-01-19 13:13:09 +01:00
hroff-1902
2f82122fc4
Merge pull request #2763 from freqtrade/fix/precision_rounding
...
Fix/precision rounding
2020-01-17 01:25:30 +03:00
Matthias
29a5e4fba1
Update wallets before getting amount
2020-01-15 21:52:54 +01:00
Matthias
8bcfe4a6aa
Up log level of safe_sell_amount message
2020-01-15 21:01:36 +01:00
Matthias
d1bf388b0e
Wallet amount must be compared with >=
2020-01-15 19:56:14 +01:00
Tejesh
f73f0b1653
Update comments on backtesting
2020-01-15 19:29:00 +05:30
Matthias
c8806a16a1
Allow wallet update from /balance
2020-01-15 06:43:41 +01:00
Matthias
4013701bdb
allow wallet update to be skipped if the value is fresh enough.
...
Value is NOT configurable, having this wrong can result in bans on the
exchange.
2020-01-15 06:42:53 +01:00
Matthias
4c823f12e3
Sort imports
2020-01-14 20:25:58 +01:00
Matthias
bea4ad8eff
Revert price_to_precision to rounding up
2020-01-14 20:16:20 +01:00
Matthias
d12a2a5888
Merge pull request #2752 from freqtrade/plotting/indicator_strategy
...
Allow enhanced plot-dataframe configuration
2020-01-13 19:53:15 +01:00
Matthias
5fcab1eee8
Align method names to internal ccxt names
...
These methods are reimplemented from ccxt so we can test their behaviour.
2020-01-12 14:55:05 +01:00
Matthias
b60d7ad42f
Use ccxt.decimal_to_precision instead of our own calculation
2020-01-12 14:41:09 +01:00
Matthias
fa1f9bcdbd
expose precisionMode from exchange class
2020-01-12 14:37:45 +01:00
Matthias
53abfdbcbf
Use sorted on set instead of explicit list conversion
2020-01-12 12:48:29 +01:00
Matthias
3519cebf66
Add test for failing stake_validation
2020-01-11 13:14:19 +01:00
Matthias
a7246ba1ec
No need to "fix" stake_currency enum anymore
2020-01-11 12:51:42 +01:00
Matthias
60b47b6eec
Add tests for get_quote_currencies
2020-01-11 12:01:34 +01:00
Matthias
13274964a9
Implement validation for valid stake currency
2020-01-11 11:54:00 +01:00
Matthias
235a10ab86
Don't suppport <1m timeframes
2020-01-11 11:36:28 +01:00
Matthias
5faebad863
Don't hardcode TimeFrames - they can differ by exchange.
2020-01-11 11:16:05 +01:00
Matthias
90a9052377
Merge pull request #2734 from freqtrade/relative_stake
...
Relative stake maximum tradable amount
2020-01-11 08:18:35 +01:00
Matthias
fab19ae3a7
Implement last_stake_amount_min_ratio
2020-01-10 06:36:28 +01:00
Matthias
9713dc8d94
Ensure wallets.update is called before buy
...
closes #2756
2020-01-09 20:09:21 +01:00
Matthias
785cd2a640
Rename test module
2020-01-09 06:53:51 +01:00
Matthias
c475729c13
Extract edge reporting to optimize_reports
2020-01-09 06:52:34 +01:00
Matthias
989ab646a9
Add profit % to sell_reason table
2020-01-09 06:46:39 +01:00
Matthias
b25f28d1ad
Merge pull request #2730 from freqtrade/extract_bt_reporting
...
Extract backtest reporting
2020-01-09 06:09:05 +01:00
Matthias
c9b0b4c7a4
Add plot_config to optional plot
2020-01-08 19:35:00 +01:00
Matthias
c3fd894a6c
Regenerate plots with new settings
2020-01-07 07:16:31 +01:00
Matthias
d0ccfa1925
Explicitly given indicators should override plot_config
2020-01-05 19:50:21 +01:00
Matthias
41945138ac
Converting pairs from filename to pair corrected
2020-01-05 13:35:36 +01:00
Matthias
b37f34ff5b
Implement amend_last_stake_amount
2020-01-05 13:25:11 +01:00
Matthias
a75420f75f
Merge branch 'develop' into relative_stake
2020-01-05 12:55:55 +01:00
Matthias
7daa5bc338
Don't return None from unlimited_stake - 0 handles this just as well
2020-01-05 12:50:44 +01:00
Matthias
4eaaec9d1a
Implement pair_to_filename to datahandler
...
includes tests - taken from #2744 and modified to adapt to new structure
2020-01-05 10:36:08 +01:00
hroff-1902
bc6a10353b
Introduce pair_to_filename()
2020-01-05 10:22:07 +01:00
Matthias
f82c4346b6
data conversion, not data conversation
...
* we're not talking to the data yet ...
2020-01-05 09:55:02 +01:00
Matthias
53499e01de
Clearly differentiate trade buys sells (positive and negative)
...
* Swap trade buys to cyan circles
* Show sell-reason description on buy too
* Green positive sells - red negative / 0 sells
2020-01-04 20:27:27 +01:00
Matthias
bdda620397
add plot_config to startegy interface properly
2020-01-04 12:56:46 +01:00
Matthias
2409261cb7
Merge branch 'develop' into data_handler
2020-01-04 11:36:27 +01:00
Matthias
b5a806dec7
Fix typo and add tests for create_plotconfig
2020-01-04 11:30:21 +01:00
Matthias
4628024de6
Adapt tests to new add_indicator methodology
2020-01-04 11:18:51 +01:00
Matthias
f04873b0b0
Add plot_config to interface
2020-01-04 11:14:00 +01:00
Matthias
5853b9904c
make Plot_config the default approach
2020-01-04 11:13:45 +01:00
Matthias
5d5074ac9c
Implement first working version of plot_config
2020-01-04 10:13:42 +01:00
Matthias
84ef588163
support dicts as indicators
2020-01-04 10:13:42 +01:00
hroff-1902
3798f94d4c
Merge pull request #2732 from freqtrade/config_validation_split
...
Config validation split
2020-01-03 23:41:44 +03:00
Matthias
7e7c82cf4a
Small adjustments to relative_stake PR
2020-01-03 11:34:17 +01:00
Matthias
f3beaa3374
Deprecate capital_available_percentage
2020-01-03 10:58:31 +01:00
Matthias
455838648d
Apply get_available_balance logic to regular trades, too
2020-01-03 10:41:10 +01:00
Matthias
3c7981160c
Extract get_available_stake_amount
2020-01-03 10:14:23 +01:00
Matthias
a8d56b2850
IMplement check for unlimited settings
...
verifying that either max_open_trades or stake_amount is set for
operations without edge
2020-01-03 07:07:59 +01:00
hroff-1902
3315f994b6
Merge pull request #2733 from hroff-1902/minor-freqtrade-4
...
Cleanup buy/sell notification in freqtradebot
2020-01-02 22:46:06 +03:00
Matthias
560aea876e
Remove fiat_currency temporary variable
2020-01-02 20:20:29 +01:00
hroff-1902
b24d359a27
Merge pull request #2737 from freqtrade/plotting_percent
...
show percent in sell hover message.
2020-01-02 22:04:34 +03:00
Matthias
90744ff5ab
show percent instead of ratio (!)
2020-01-02 19:36:31 +01:00
Matthias
c13c11cfa1
Type does not need to be a list
2020-01-02 14:41:28 +01:00
Matthias
cba156dfff
Add offset calculation for relative stake maximum limit
2020-01-02 13:20:57 +01:00
hroff-1902
a47a25ca88
Refine passing msg params
2020-01-02 14:38:25 +03:00
hroff-1902
88efa4065b
Align the name of a variable to be same for buy and sell parts
2020-01-02 13:56:16 +03:00
hroff-1902
f15e5e9d57
Add _notify_buy()
2020-01-02 13:51:25 +03:00
hroff-1902
2ccdb67e4d
Merge pull request #2731 from freqtrade/btanalysis_align_columns
...
Btanalysis align columns
2020-01-02 13:03:51 +03:00
Matthias
1b8943ac54
Add documentation for tradable_balance_ratio
2020-01-02 10:59:41 +01:00
Matthias
9382b38c41
Fix mypy error
2020-01-02 10:56:00 +01:00
Matthias
22fcf7b4dc
Allow empty stake currency in certain cases
2020-01-02 10:47:37 +01:00
Matthias
20fc3b7978
validate config for utils too
2020-01-02 10:41:10 +01:00
Matthias
9325880fe5
Split config-validation requires
2020-01-02 10:39:32 +01:00
Matthias
2c8e8d8ef6
Align columns for btanalysis loading
2020-01-02 09:51:47 +01:00
hroff-1902
e89fa44680
Arrange common section for update trade state methods
2020-01-02 11:50:54 +03:00
Matthias
a9fbad0741
Improve docstrings
2020-01-02 09:37:54 +01:00
Matthias
904e1647e1
Extract generate_text_table_strategy to seperate module
2020-01-02 09:31:53 +01:00
Matthias
caec345c0b
Extract generate_text_table_sell_reason from backtesting class
2020-01-02 09:31:53 +01:00
Matthias
18a53f4467
Extract generate_text_table from backtesting class
2020-01-02 09:31:47 +01:00
hroff-1902
21418e2988
Minor: fix comment
2020-01-02 03:16:18 +03:00
hroff-1902
4475110df8
Cosmetics in freqtradebot
2020-01-02 03:07:24 +03:00
Matthias
3327ebf2b1
Merge pull request #2720 from hroff-1902/refactor-create-trades
...
Refactor create trades
2019-12-31 15:34:12 +01:00
Matthias
26a2395aeb
Include Pair name in exception log message
2019-12-31 07:11:09 +01:00
hroff-1902
fd7af587da
Rename process_maybe_execute_buys() --> enter_positions()
2019-12-30 22:50:56 +03:00
hroff-1902
84918ad424
Rename process_maybe_execute_sells() --> exit_positions()
2019-12-30 22:08:36 +03:00
Matthias
699c0d6bc3
Merge branch 'develop' into data_handler
2019-12-30 19:40:43 +01:00
Matthias
2537b8cb0c
Merge pull request #2725 from freqtrade/minor_fix
...
[Minor] Edge-cli should use exchangeresolver
2019-12-30 19:27:40 +01:00
hroff-1902
b00406a7eb
Make process_maybe_execute_*() returning integers
2019-12-30 21:09:35 +03:00
hroff-1902
4d56e3b36e
Address some comments made in the review
2019-12-30 20:54:32 +03:00
Matthias
8e9a3e8fc8
Capture FtBaseException at the outermost level
2019-12-30 15:11:07 +01:00
Matthias
1ffda29fd2
Adjust improts to new exception location
2019-12-30 15:02:17 +01:00
Matthias
024aa3ab6b
Move exceptions to seperate module
2019-12-30 14:57:26 +01:00
Matthias
fb3a53b8af
Use ExchangeResolver for edge_cli too
2019-12-30 14:28:34 +01:00
Matthias
4c9295fe2d
Rename Bid-strategy helpervariable to something shorter
...
avoids unnecessary wrapping...
2019-12-30 14:00:34 +01:00
Matthias
de23f3928d
Add trailing_only_offset to template and sample
2019-12-30 09:58:20 +01:00
Matthias
df7ceb4ccb
Fix misinformation in /status table
2019-12-29 19:53:02 +01:00
hroff-1902
04f28ed9bc
Refactor try/except: handle DependencyException for each pair separately
2019-12-29 05:03:10 +03:00
hroff-1902
762604300f
Refactor create_trades()
2019-12-29 04:37:44 +03:00
hroff-1902
433fd2a7c3
Merge pull request #2652 from freqtrade/safe_sell_amount
...
Safe sell amount
2019-12-29 00:09:21 +03:00
Matthias
814cc20c6b
Remove potential circular import
2019-12-28 19:58:41 +01:00
Matthias
f4a532ef6d
Pass format to load_data
2019-12-28 14:57:39 +01:00
Matthias
6b5983339d
Require dataformat entries in configuration
2019-12-28 14:47:30 +01:00
Matthias
ae1b28aab7
Remove get_datahandlerclass from package exposes
2019-12-28 14:32:11 +01:00
hroff-1902
09b77d9f14
Merge pull request #2718 from hroff-1902/minor-freqtrade-2
...
Minor: code cleanup in freqtradebot
2019-12-28 14:55:42 +03:00
hroff-1902
5c39ebd0a0
Adjust logging
2019-12-28 13:59:40 +03:00
Matthias
66d18575a7
Implement abstract interface
2019-12-28 11:10:31 +01:00
Matthias
9e4fc00a0f
Add test for convert_ohlcv
2019-12-28 11:03:06 +01:00
Matthias
28787a001c
Move convert functions to convert module
2019-12-28 11:02:34 +01:00
Matthias
525550e4c7
Fix typo in parameter transition
2019-12-28 11:01:42 +01:00
Matthias
6860491189
Rename datahandler module to history module
...
Also move previous history.py into this module - so everything is
bundled
2019-12-28 11:01:42 +01:00
Matthias
b37b5c3d90
Remove Explicit datadir conversation
2019-12-28 11:01:42 +01:00
Matthias
9c5b94adf5
Pass data_format to methods
2019-12-28 11:01:42 +01:00
Matthias
d65c1eea7a
Add some tests for datahandler
2019-12-28 11:01:42 +01:00
Matthias
8a030e7fc0
Use exists instead of is_file
2019-12-28 11:01:42 +01:00
Matthias
a3144cb2f0
remove trim_tickerlist
2019-12-28 11:01:42 +01:00
Matthias
d1b52809ac
Cleanup history
2019-12-28 11:01:41 +01:00
Matthias
d06777b8ce
Remove old "load_cached_data" method
2019-12-28 11:01:41 +01:00
Matthias
7a6476c9ba
Update tests
2019-12-28 11:01:41 +01:00
Matthias
df085a6f15
Fix small bug and test
2019-12-28 11:01:41 +01:00
Matthias
c648d973c1
Implement new "load_data_for_updating" method based on dataframes
2019-12-28 11:01:41 +01:00
Matthias
ec8fb5f308
Make no-data warning optional
2019-12-28 11:01:41 +01:00
Matthias
b83487a70d
Extract default dataframe columns to constant
2019-12-28 11:01:41 +01:00
Matthias
dbe8f727cb
Fix typehint
2019-12-28 11:01:41 +01:00
Matthias
91c70a0e9c
Change to use ohlcv_purge
2019-12-28 11:01:41 +01:00
Matthias
37c5b68987
Move dataframe validation to abstract class
2019-12-28 11:01:41 +01:00
Matthias
e861f05b75
Move dataframe trim to within jsondatahandler
2019-12-28 11:01:41 +01:00
Matthias
552c93abf0
Improve some docstrings
2019-12-28 11:01:41 +01:00
Matthias
b7c1d55491
Modify tests to point to datahandlers
2019-12-28 11:01:41 +01:00
Matthias
9876d126ca
Use handler for trades
2019-12-28 11:01:41 +01:00
Matthias
9547d47ae2
Initialize datahandlers
2019-12-28 11:01:41 +01:00
Matthias
5fca17d7e1
Allow initializing handler-class just once
2019-12-28 11:01:41 +01:00
Matthias
416517b0c9
Move trim_dataframe from history to converter
2019-12-28 11:01:41 +01:00
Matthias
9d8ea2f13b
Replace calls to load_tickerdata_file with DataHandler calls
2019-12-28 11:01:41 +01:00
Matthias
88fa7fc24c
Simplify validate dataframe method
2019-12-28 11:01:41 +01:00
Matthias
53ee636fa0
Check if file exists before loading
2019-12-28 11:01:41 +01:00
Matthias
873f5dbe6b
Revrite validate_pairdata to work with pandas
2019-12-28 11:01:41 +01:00
Matthias
db520a09ee
Trim dataframe, not tickerlist
2019-12-28 11:01:41 +01:00
Matthias
866908d2ca
Load and save using pandas internal function
2019-12-28 11:01:41 +01:00
Matthias
377d59abe7
Be selective how to load ohclv data for conversation
2019-12-28 11:01:41 +01:00
Matthias
d9e7d64f33
Split parse_ticker_dataframe some logic to clean_ohlcv_dataframe.
2019-12-28 11:01:41 +01:00
Matthias
1b90ec58b9
Use changed pair-handling for providers
2019-12-28 11:01:41 +01:00
Matthias
d923bab828
Remove abstract interface for now
2019-12-28 11:01:41 +01:00
Matthias
48728e2d66
Change DataProvider interface to accept pair per method
2019-12-28 11:01:41 +01:00
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
Matthias
66af41192a
Catch all exceptions from fiat-convert api calls
2018-07-21 19:50:38 +02:00
Matthias
dd1290e38e
Add multiple verbosity levels
2018-07-19 21:12:27 +02:00
Matthias
90915b6b2f
Revert "Add more verbosity levels"
2018-07-19 20:43:41 +02:00
Matthias
1b2bfad348
Fix wrong test
2018-07-19 20:36:49 +02:00
Matthias
060469fefc
Add stuff after rebase
2018-07-19 20:12:20 +02:00
Matthias
4fb9823cfb
fix rebase problem
2018-07-19 19:50:06 +02:00
Matthias
760c79c5e9
Use .center()
to output trades header line
2018-07-19 19:39:08 +02:00
Matthias
a452864b41
Use namedtuple for sell_return
2018-07-19 19:39:08 +02:00
Matthias
506aa0e3d3
Add print_sales table and test
2018-07-19 19:34:14 +02:00
Matthias
426c25f631
record ticker_interval and strategyname
2018-07-19 19:34:14 +02:00
Matthias
4059871c28
Add get_strategy_name
2018-07-19 19:34:14 +02:00
Matthias
2a61629014
Export sell_reason from backtest
2018-07-19 19:29:31 +02:00
Matthias
8c0b19f80c
Check sell-reason for sell-reason-specific tests
2018-07-19 19:29:31 +02:00
Matthias
838b0e7b76
Remove unused import
2018-07-19 19:29:31 +02:00
Matthias
cbffd3650b
add sell_reason to backtesting
2018-07-19 19:29:31 +02:00
Matthias
0147b1631a
remove optional from selltype
2018-07-19 19:27:33 +02:00
Matthias
49a7c7f08e
fix tests
2018-07-19 19:27:33 +02:00
Janne Sinivirta
0cc1b66ae7
Merge pull request #1037 from freqtrade/fix/backtest-comment
...
replace --realistic with 2 separate flags
2018-07-19 17:33:19 +03:00
Janne Sinivirta
6070d819b8
Merge pull request #1040 from freqtrade/xmatthias_backtest_duration
...
Fix backtest duration calculation
2018-07-19 17:32:11 +03:00
Matthias
f991109b0a
Add sell-reason to sell-tree
2018-07-19 13:29:42 +02:00
Matthias
6bb7167b56
Add sellType enum
2018-07-19 13:25:48 +02:00
Matthias
c0a7725c1f
Add stoploss offset
2018-07-19 13:22:44 +02:00
Matthias
8f254031c6
Add short form for parameters, change default for hyperopt
2018-07-19 13:19:36 +02:00
Matthias
aa69177436
Properly check emptyness and adjust floatfmt
2018-07-19 13:14:21 +02:00
Matthias
64f933477d
Merge pull request #1007 from freqtrade/remove-analyze
...
Remove Analyze
2018-07-19 10:12:36 +02:00
Matthias
75c0a476f8
Test setting verbosity in commandline
2018-07-18 23:40:04 +02:00
Matthias
1ab7f5fb6d
add tests for more debug levels
2018-07-18 22:53:44 +02:00
Matthias
789b98015f
Allow different loglevels
2018-07-18 22:52:57 +02:00
Matthias
7134c15e86
Merge pull request #1024 from freqtrade/feature/webhook
...
Feature/webhook
2018-07-18 20:39:57 +02:00
Matthias
79b1030435
output duration in a more readable way
2018-07-18 20:08:55 +02:00
Matthias
f9f6a3bd04
cast to int to keep exports constant
2018-07-18 09:29:51 +02:00
Matthias
8e4d2abd4e
Fix typo
2018-07-18 09:10:17 +02:00
Matthias
08237abe20
Fix wrong backtest duration
...
identified in #1038
2018-07-18 09:06:12 +02:00
Luis Felipe Diaz Chica
ee8e890f50
Add docs to get_trade_stake_amount function
2018-07-18 01:36:39 -05:00
creslinux
3184c85dca
default settings to trigger low, take stop
2018-07-17 21:33:11 +00:00
Matthias
3df79b8542
fix hanging intend
2018-07-17 21:12:05 +02:00
Matthias
c82276ecbe
add --disable-max-market-positions
2018-07-17 21:05:03 +02:00
Matthias
e17618407b
Rename --realistic-simulation to --enable-position-stacking
2018-07-17 20:26:59 +02:00
Janne Sinivirta
85fd4dd3ff
rename analyze.py to exchange_helpers.py
2018-07-17 21:26:52 +03:00
creslinux
8cea0517eb
Added stop_stops
...
stop_stops is an int value
when number of stops in a pair reached the int the pair is stopped
trading.
This allows backtest to align with my pre_trade_mgt that does the same
in dry and live operations
2018-07-17 11:22:38 +00:00
creslinux
ed4bf32f2a
Fixed Stop closing in Index 0
...
when buy opening on Index 1
2018-07-17 10:59:17 +00:00
Janne Sinivirta
e11ec28962
remove leftover commented-out code
2018-07-17 11:13:35 +03:00
creslinux
baaf0a5b21
Handle when 0 trades are found in any pairs being tested.
2018-07-17 08:12:21 +00:00
Janne Sinivirta
084264669f
fix the last failing unit test
2018-07-17 11:02:07 +03:00
Janne Sinivirta
dbc3874b4f
__init__ must return None to please mypy
2018-07-17 10:47:15 +03:00
Janne Sinivirta
78af4bc785
move and fix tests from Analyze to interface of strategy
2018-07-17 10:23:04 +03:00
creslinux
a313917347
Handle a buy on the last candle
...
We will never see this, as buy is on close which is the end of backtest
e.g there is no next candle OPEN to buy at, or on
2018-07-16 18:59:48 +00:00
creslinux
357c8c0ba0
sensible defaults
2018-07-16 18:32:41 +00:00
creslinux
8d5da4e6ad
changed defaults
...
Seperated save trades and print trades options.
2018-07-16 17:48:11 +00:00
creslinux
ec1960530b
Added Show trades option
...
If true, prints trades ordered by date after summary.
Useful for spotting trends.
2018-07-16 17:06:06 +00:00
creslinux
99d16e82c0
disable time calcs output on vector displaying in debug. Excessive.
2018-07-16 16:30:11 +00:00
creslinux
885a653439
Disabled full debug on in last commit
...
Switched Stops to trigger on Low
Switched Stops to pay stop-rate not close.
2018-07-16 16:18:54 +00:00
creslinux
059aceb582
Disabled full debug on in last commit
...
Switched Stops to trigger on Low
Switched Stops to pay stop-rate not close.
2018-07-16 16:12:33 +00:00
creslinux
0f3339f74f
use ujson to load ticker files 30% faster from disk.
2018-07-16 16:09:42 +00:00
creslinux
4a39a754f4
Fixed: self.use_backslap = Bool on line97
...
If self.use_backslap = True Backslap executes
If self.use_backslap = False Original Backtest Code executes
2018-07-16 15:57:15 +00:00
creslinux
5aaf454f12
GAS trades verified from candle data to excel by hand
...
All pass
3 sells 1 stop loss
2018-07-16 15:48:06 +00:00
creslinux
fb0edd71ff
in tech test
2018-07-16 14:16:35 +00:00
creslinux
eed29a6b8a
update
2018-07-16 13:16:18 +00:00
creslinux
7174f27eb8
Rewrite to used algned numpy/dataframes
...
updated logic
added vector fill for abs/profit/duration in single hit on results.
2018-07-16 12:01:02 +00:00
Samuel Husso
a3466f4b42
Merge pull request #1031 from freqtrade/feat/update_configdict
...
Update config dict with attributes loaded from strategy
2018-07-16 10:00:46 +03:00
Samuel Husso
050afe2bc0
Merge pull request #979 from creslinux/Check_timeframes
...
Handle if ticker_interval in config.json is not supported on exchange.
2018-07-16 09:57:46 +03:00
Janne Sinivirta
5c87c420c7
restore one analyze test
2018-07-16 08:59:14 +03:00
Janne Sinivirta
aeb4102bcb
refactor Analyze class methods to base Strategy class
2018-07-16 08:23:39 +03:00
Janne Sinivirta
f6b8c2b40f
move parse_ticker_dataframe outside Analyze class
2018-07-16 08:23:39 +03:00
Janne Sinivirta
85e6c9585a
remove pass-through methods from Analyze
2018-07-16 08:23:39 +03:00
Janne Sinivirta
a74147c472
move strategy initialization outside Analyze
2018-07-16 08:23:39 +03:00
creslinux
a8b62a21cc
hmm
2018-07-15 17:03:47 +00:00
creslinux
4e68362d46
Works with reporting output
...
Bugs
Calculating % prof ok, but abs wrong
BAT/BTC DF is very broken all OHLC are the same - but exposes a
buy after stop on last row "oddness" to be investigated / handled
2018-07-15 10:33:00 +00:00
creslinux
71c3106f8f
Added ABS and Fees
...
Fixed Index Alignment that was off moving from scratch to FT
Fixed Stoploss,
its a negative in FT, had been using positve stop -1 in scratch
2018-07-15 09:30:01 +00:00
Matthias
158226012a
consistent use of the config dict within the test
2018-07-15 09:08:14 +02:00
Matthias
b4ba641131
Update config dict with attributes loaded from strategy
2018-07-15 09:01:08 +02:00
creslinux
07175ebc5a
up
2018-07-14 23:45:06 +00:00
creslinux
90e3c38757
First cut, Bslap
...
science project replacement for freqtrade backtest analysis
- appprox 300-500x quicker to execute
- fixes stop on close take close price bug in FT
Bslap is configurable but by default stops are triggerd on
low and pay stop price
Not implimented dynamic stops or roi
2018-07-14 22:54:23 +00:00
Matthias
278e7159bc
adjust webhook tests
2018-07-14 13:32:35 +02:00
Matthias
1284627219
move url to private class level
2018-07-14 13:32:35 +02:00
Matthias
120fc29643
use dict comprehension
2018-07-14 13:32:35 +02:00
Matthias
6336d8a0e2
remove copy leftover
2018-07-14 13:32:35 +02:00
Matthias
ee2f6ccbe9
Add test for enable_webhook
2018-07-14 13:32:35 +02:00
Matthias
144d308e5e
Allow enabling of webhook
2018-07-14 13:32:35 +02:00
Matthias
a4643066a8
allow more flexibility in webhook
2018-07-14 13:32:35 +02:00
Matthias
25250f7c10
don't hardcode post parameters
2018-07-14 13:32:35 +02:00
Matthias
fa8512789f
add tests for webhook
2018-07-14 13:32:35 +02:00
Matthias
ae22af1ea3
fix typo
2018-07-14 13:32:35 +02:00
Matthias
6e16c1d80d
add webhook test file
2018-07-14 13:32:35 +02:00
Samuel Husso
fa8b349200
rpc: dont re-use variables with different types
2018-07-14 08:02:39 +03:00
gcarq
cb8cd21e22
add tests for telegram.send_msg
2018-07-12 17:50:11 +02:00
gcarq
a559e22f16
remove duplicate send_msg invocation
2018-07-12 17:29:02 +02:00
gcarq
7eaeb8d146
status: return arrow object instead humanized str
2018-07-12 17:27:40 +02:00
gcarq
0920fb6120
use more granular msg dict for buy/sell notifications
2018-07-12 17:16:31 +02:00
gcarq
4cb1aa1d97
use dict as argument for rpc.send_msg
2018-07-12 17:12:42 +02:00
gcarq
96a405feb7
implement name property in abstract class
2018-07-12 17:11:31 +02:00
gcarq
112998c205
refactor _rpc_balance
2018-07-12 17:11:31 +02:00
gcarq
f1a370b3b9
return dict from _rpc_status and handle rendering in module impl
2018-07-12 17:10:04 +02:00
gcarq
29670b9814
remove markdown formatting from exception string
2018-07-12 17:07:19 +02:00
gcarq
df8ba28ce5
convert start, stop and reload_conf to return a dict
2018-07-12 17:07:19 +02:00
Matthias
06c9494a46
add missing s to Backtest cum results
2018-07-11 14:50:04 +02:00
Janne Sinivirta
1f16ff268f
Merge pull request #1010 from jblestang/refactoring_create_trade_function
...
Refactoring Create Trade
2018-07-11 07:23:03 +03:00
Janne Sinivirta
aa2366346a
Merge pull request #1001 from xmatthias/feat/backtest_cum_profit
...
Add cumulative profit to backtest result table
2018-07-11 07:21:28 +03:00
Jean-Baptiste LE STANG
773fb5953b
Reafcotring Create Trade
2018-07-10 15:10:56 +02:00
Matthias
85c60519b0
Fix test crash
2018-07-09 22:11:12 +02:00
Matthias
750d737b7d
Add tests for change to open_rate
2018-07-08 20:18:34 +02:00
Matthias
8b06000f0f
Use open-rates for backtesting
2018-07-08 20:03:11 +02:00
Matthias
efaa8f16e7
Improve formattiong of table
2018-07-08 20:01:33 +02:00
Matthias
38487644f0
fix tests for backtest-result output table
2018-07-08 19:55:16 +02:00
Matthias
1a24afef77
add cumsum to backtest-results
2018-07-08 19:55:04 +02:00
Janne Sinivirta
8fb146ba6a
Merge pull request #992 from freqtrade/backtest_optimize
...
reduce calculation effort by removing a call to calc_profit_percent
2018-07-08 17:41:50 +03:00
Janne Sinivirta
6926e468a4
Merge pull request #984 from freqtrade/test_backtest_results
...
Test backtest results
2018-07-08 17:40:12 +03:00
Matthias
8dd6e29426
don't flag data as outdated which isn't
2018-07-08 13:34:47 +02:00
Matthias
3e03a208f1
reduce calculation effort (slightly!)
2018-07-07 20:17:53 +02:00
Matthias
570d27a0c4
Add testcase where ticker_interval is not in the configuration
2018-07-07 15:30:29 +02:00
Matthias
3f6e9cd28f
Add tests for validate_timeframes
2018-07-07 14:42:53 +02:00
Matthias
af17cef002
fix existing tests to work with validate_timeframes
2018-07-07 14:41:42 +02:00
Matthias
9906da46f6
move comment to correct place
2018-07-06 20:00:54 +02:00
Matthias
54976fa103
Add more tests to validate buy/sell rows
2018-07-06 19:56:16 +02:00
Gert Wohlgemuth
1897a1cb6a
fixed mypy issues, seriosuly...
2018-07-05 16:10:38 -07:00
Gert Wohlgemuth
58879ff012
fixed braket
2018-07-05 15:01:53 -07:00
Gert Wohlgemuth
e1f5745f59
Update resolver.py
2018-07-05 14:50:23 -07:00
Gert Wohlgemuth
1c48902e64
Merge branch 'develop' into BASE64
2018-07-05 14:40:04 -07:00
Gert Wohlgemuth
8bbee4038b
integrated BASE64 encoded strategy loading
2018-07-05 14:30:24 -07:00
Matthias
c35d1b9c9d
Add test which checks the backtest result
2018-07-05 23:22:35 +02:00
Samuel Husso
e808b3a2a1
rpc: get rid of extra else and fix mypy warning
2018-07-05 10:47:08 -05:00
Samuel Husso
df68b0990f
rpc: fstrings
2018-07-05 10:11:29 -05:00
Samuel Husso
adbffc69e1
telegram: fstrings in use
2018-07-05 10:11:29 -05:00
Samuel Husso
a2063ede55
persistence: fstrings in use
2018-07-05 10:11:29 -05:00
Samuel Husso
7dca3c6d03
freqtradebot,main,hyperopt: fstrings in use
2018-07-05 10:11:29 -05:00
Samuel Husso
03c112a601
config, optimize: fstrings in use
2018-07-05 10:11:29 -05:00
creslinux
5ab644dea6
flake 8 fix
2018-07-05 12:05:31 +00:00
creslinux
966668f48a
Handle if ticker_interval in config.json is not supported on exchange.
...
Returns.
Tested positive and negative data.
The ticker list in constants.py may be obsolete now, im not sure.
raise OperationalException(f'Invalid ticker {timeframe}, this Exchange supports {timeframes}')
freqtrade.OperationalException: Invalid ticker 14m, this Exchange supports {'1m': '1m', '3m': '3m', '5m': '5m', '15m': '15m', '30m': '30m', '1h': '1h', '2h': '2h', '4h': '4h', '6h': '6h', '8h': '8h', '12h': '12h', '1d': '1d', '3d': '3d', '1w': '1w', '1M': '1M'}
2018-07-05 11:57:59 +00:00
Samuel Husso
d8d0579c5a
Merge pull request #930 from freqtrade/skopt
...
Replace Hyperopt with scikit-optimize
2018-07-04 13:51:14 -05:00
Janne Sinivirta
bf4d0a9b70
sort imports
2018-07-04 10:31:35 +03:00
Janne Sinivirta
96bb2efe69
use joblib.dump and load for trials
2018-07-03 23:08:29 +03:00
Janne Sinivirta
c4a8435e00
change pickle file name to better suit it's current purpose
2018-07-03 22:17:43 +03:00
Janne Sinivirta
9dbe0f50a3
fix tests after changing the dumping and pickling dataframe in hyperopt
2018-07-03 22:09:59 +03:00
Janne Sinivirta
3a7056ea1b
run at least one epoch
2018-07-03 21:55:22 +03:00
Janne Sinivirta
2cde540645
remove dead code
2018-07-03 21:50:45 +03:00
Janne Sinivirta
ef59f9ad24
sort imports in hyperopt.py
2018-07-03 21:50:24 +03:00
Janne Sinivirta
ee4754cfb9
avoid re-serialization of whole dataframe
2018-07-03 14:49:58 +03:00
Janne Sinivirta
2713fdb860
use cpu count explicitly in job count
2018-07-03 11:46:56 +03:00
Janne Sinivirta
79aab4cce2
use fstring
2018-07-03 11:44:54 +03:00
Janne Sinivirta
fa8fc3e4ce
handle the case where we have zero buys
2018-07-02 11:46:55 +03:00
Janne Sinivirta
aec3f582e1
Merge branch 'develop' into skopt
2018-07-02 11:27:27 +03:00
xmatthias
3c5be55eb9
remove unnecessary variable
2018-07-01 20:17:30 +02:00
xmatthias
782570e71e
Address PR comment
2018-07-01 20:03:07 +02:00
Matthias
ed2a1becef
Merge branch 'develop' into feat/stop_loss
2018-07-01 20:01:02 +02:00
xmatthias
937644a04b
change while-loop to enumerate - add intensified test for this scenario
2018-07-01 19:55:51 +02:00
xmatthias
e39d88ef65
Address some PR comments
2018-07-01 19:54:26 +02:00
Michael Egger
f91263c8ef
Merge pull request #966 from freqtrade/feat/revamp_exchangetest
...
Rewrite standard ccxt exception handling
2018-07-01 19:47:57 +02:00
Michael Egger
e2127f5af1
Merge pull request #969 from xmatthias/split_unfilled
...
separating unfulfilled timeouts for buy and sell
2018-07-01 19:47:24 +02:00
xmatthias
2dc881558d
address PR comments
2018-07-01 19:41:19 +02:00
xmatthias
c66f858b98
rename innerfun to mock_ccxt_fun
2018-07-01 19:37:55 +02:00
Michael Egger
8023fdf923
Merge pull request #971 from freqtrade/fix/nonmocked_markets
...
Add get_markets mock to new tests
2018-07-01 15:11:22 +02:00
Michael Egger
2cee8e52c1
Merge pull request #965 from freqtrade/fix/fix_959
...
catch crash with cobinhood
2018-07-01 14:28:01 +02:00
xmatthias
9e3e900f78
Add get_markets mock to new tests
2018-06-30 17:49:46 +02:00
Nullart
98108a78f1
separating unfulfilled timeouts for buy and sell
2018-06-30 13:44:42 +02:00
Janne Sinivirta
0ce08932ed
mypy fixes
2018-06-30 09:54:31 +03:00
Michael Egger
6dd5f85fb6
Merge pull request #954 from freqtrade/feat/allow_backtest_plot
...
allow backtest ploting
2018-06-29 19:44:06 +02:00
xmatthias
cf6b1a637a
increase exchange code coverage
2018-06-28 22:32:28 +02:00
xmatthias
dcdc18a338
rename test-function
2018-06-28 22:18:38 +02:00
xmatthias
15c7854e7f
add test for exchange_has
2018-06-28 22:11:45 +02:00
xmatthias
fe8a21681e
add test for Not supported
2018-06-28 21:56:37 +02:00
xmatthias
ebbfc720b2
increase test coverage
2018-06-28 21:51:59 +02:00
xmatthias
8ec9a09749
Standardize retrier exception testing
2018-06-28 21:22:43 +02:00
xmatthias
2d4ce593b5
catch crash with cobinhood
...
fixes #959
2018-06-28 19:53:51 +02:00
xmatthias
d5ad066f8d
support multiple db transitions by keeping the backup-table dynamic
2018-06-27 20:15:25 +02:00
xmatthias
860b270e30
update db migrate script to work for more changes
2018-06-27 19:49:08 +02:00
xmatthias
8ecdae67e1
add mypy ignore (and comment as to why)
2018-06-27 06:57:41 +02:00
xmatthias
78e6c9fdf6
add tests for trailing stoploss
2018-06-27 06:52:31 +02:00
xmatthias
c997aa9864
move initial logic to persistence
2018-06-27 06:38:49 +02:00
xmatthias
a91d75b3b2
Add test for adjust_stop-loss
2018-06-27 06:23:49 +02:00
xmatthias
e9d5bceeb9
cleanly check if stop_loss is initialized
2018-06-27 00:18:50 +02:00
xmatthias
88b898cce4
add test for moving stoploss
2018-06-27 00:18:30 +02:00
xmatthias
8bec505bbe
add test for trailing_stoploss
2018-06-26 23:40:36 +02:00
xmatthias
a3708bc56e
add missing test
2018-06-26 23:40:20 +02:00
xmatthias
da5be9fbd0
add stop_loss based on work from @berlinguyinca
2018-06-26 23:06:27 +02:00
xmatthias
5015bc9bb0
slight update to persistence
2018-06-26 22:41:28 +02:00
xmatthias
243c36b39b
get persistence.py for stop_loss
2018-06-26 20:49:07 +02:00
Janne Sinivirta
2b6407e598
remove unused tests from hyperopt
2018-06-25 11:38:42 +03:00
Janne Sinivirta
0bddc58ec4
extract loading previous results to a method
2018-06-25 11:38:14 +03:00
xmatthias
43f1a1d264
rework download_backtest script
2018-06-24 19:52:12 +02:00
xmatthias
e70cb963f7
document what to do with exported backtest results
2018-06-24 17:00:00 +02:00
Janne Sinivirta
118a43cbb8
fixing tests for hyperopt
2018-06-24 15:27:53 +03:00
Samuel Husso
3384679bad
bump develop to 0.17.1
2018-06-23 09:38:20 -05:00
Michael Egger
beb15532f7
Merge pull request #950 from freqtrade/fix-filenotfounderror
...
StrategyResolver: Don't fail if user_data isn't present
2018-06-23 16:07:52 +02:00
Anton
f82b809fcf
Merge with develop
2018-06-23 16:50:27 +03:00
Janne Sinivirta
642ad02316
remove unused import
2018-06-23 15:56:38 +03:00
Janne Sinivirta
ab9e2fcea0
fix guard names to match search space
2018-06-23 15:47:19 +03:00
Janne Sinivirta
136456afc0
add three triggers to hyperopting
2018-06-23 15:44:51 +03:00
gcarq
4ea5fcc661
resolver: don't fail if user_data can't be found
2018-06-23 14:42:22 +02:00
gcarq
9c66c25890
resolver: use current folder instead of script folder to find user_data
2018-06-23 14:34:36 +02:00
xmatthias
0440a19171
export open/close rate for backtesting too
...
preparation to allow plotting of backtest results
2018-06-23 14:19:50 +02:00
gcarq
0b3e4f6bcd
remove dead code
2018-06-23 13:50:49 +02:00
gcarq
295dfe2652
persistence: remove obsolete global _CONF variable
2018-06-23 13:50:22 +02:00
Michael Egger
df9015a7f1
Merge pull request #942 from xmatthias/feat/buy_on_sell_first
...
Introduce ignore_roi_if_buy_signal parameter to avoid sell/buy scenarios
2018-06-23 13:42:03 +02:00
Janne Sinivirta
e8f2e6956d
to avoid pickle problems, get rid of reference to exchange after initialization
2018-06-23 14:37:36 +03:00
Janne Sinivirta
a525cba8e9
switch signal handler to try catch. fix pickling and formatting output
2018-06-23 14:37:36 +03:00
Janne Sinivirta
8272120c3a
convert stoploss and ROI search spaces to skopt format
2018-06-23 14:37:36 +03:00
Janne Sinivirta
8fee2e2409
move result logging out from optimizer
2018-06-23 14:37:36 +03:00
Janne Sinivirta
c415014153
use multiple jobs in acq
2018-06-23 14:37:36 +03:00
Janne Sinivirta
964cbdc262
increase initial sampling points
2018-06-23 14:37:36 +03:00
Janne Sinivirta
a46badd5c0
reuse pool workers
2018-06-23 14:37:36 +03:00
Janne Sinivirta
0cb1aedf5b
problem with pickling
2018-06-23 14:37:36 +03:00
Janne Sinivirta
b485e6e0ba
start small
2018-06-23 14:37:36 +03:00
gcarq
810d7de869
tests: add dir() assertion
2018-06-23 14:37:36 +03:00
gcarq
398b21a11d
implement test for import_strategy
2018-06-23 14:37:36 +03:00
gcarq
78f50a1471
move logic from hyperopt to freqtrade.strategy
2018-06-23 14:37:36 +03:00
gcarq
5aae215c94
wrap strategies with HyperoptStrategy for module lookups with pickle
2018-06-23 14:37:36 +03:00
Janne Sinivirta
01d45bee76
fix flake8
2018-06-23 14:37:36 +03:00
Janne Sinivirta
c1691f21f3
check that we set fee on backtesting init
2018-06-23 14:37:36 +03:00
Janne Sinivirta
a68c90c512
avoid calling exchange.get_fee inside loop
2018-06-23 14:37:36 +03:00
xmatthias
fc219b4e94
move experimental eval below stop_loss_reached to improve performance
2018-06-23 13:10:08 +02:00
gcarq
818a6b12ed
tests: add dir() assertion
2018-06-23 11:57:26 +02:00
gcarq
4bd61df3a7
implement test for import_strategy
2018-06-23 11:14:31 +02:00
gcarq
c40e6a12d1
move logic from hyperopt to freqtrade.strategy
2018-06-23 11:13:49 +02:00
gcarq
3360bf4001
wrap strategies with HyperoptStrategy for module lookups with pickle
2018-06-23 10:42:33 +02:00
Janne Sinivirta
9a07d57ed7
fix flake8
2018-06-23 07:58:25 +03:00
xmatthias
2be7b3d9eb
fix mocked bid-value to match limt_buy_order config
2018-06-22 21:24:21 +02:00
xmatthias
e2a2a0be9b
extract stop_loss_reached to allow check before ignore_roi_if_buy_signal
2018-06-22 21:21:34 +02:00
Janne Sinivirta
f7e5d2c3a5
check that we set fee on backtesting init
2018-06-22 21:55:09 +03:00
xmatthias
cbfee51f32
introduce experimental variable and fix test naming
2018-06-22 20:51:21 +02:00
xmatthias
8a44dff595
don't sell if buy is still active
2018-06-22 20:23:23 +02:00
Janne Sinivirta
c73b9f5c77
avoid calling exchange.get_fee inside loop
2018-06-22 21:04:07 +03:00
Janne Sinivirta
5fcdd3831c
Merge pull request #928 from freqtrade/feat/objectify_exchange
...
Objectify exchange
2018-06-22 06:36:14 +03:00
xmatthias
7f927b4d7a
Squashed commit of the following:
...
commit 435f299bcf
Author: Gert Wohlgemuth <berlinguyinca@gmail.com>
Date: Wed Jun 20 01:57:28 2018 -0700
improve readability of outdated history code
2018-06-21 20:47:53 +02:00
xmatthias
f7b46d5404
update docstring
2018-06-18 22:34:28 +02:00
xmatthias
896afe7118
convert get_name and get_id to properties
2018-06-18 22:20:50 +02:00
xmatthias
ef53134499
lowercase variables
2018-06-18 22:09:46 +02:00
xmatthias
c31519fdb2
lowercase _api object
2018-06-18 22:07:15 +02:00
xmatthias
162f948729
add test for non-configured exchange
2018-06-18 19:56:23 +02:00
xmatthias
ae4c4e77bf
standardize exception tests - add one more
2018-06-18 19:46:42 +02:00
xmatthias
695beecf14
add test for get_markets
2018-06-18 19:36:36 +02:00
xmatthias
520c7feeab
Add test for fetch_tickers
2018-06-17 23:38:07 +02:00
xmatthias
1e3d722bc2
add test for get_trades
2018-06-17 23:38:07 +02:00
xmatthias
c9f8dfc6c5
increase get_fee coverage
2018-06-17 23:38:07 +02:00
xmatthias
d156de39f1
Increase test-coverage
2018-06-17 23:38:07 +02:00
xmatthias
2b099a89e4
fix styling issues
2018-06-17 23:38:07 +02:00
xmatthias
6e6ec969eb
cleanup mockings
2018-06-17 23:38:07 +02:00
xmatthias
e194af8d25
Streamline validate_pair patching
2018-06-17 23:38:07 +02:00
xmatthias
ace5198475
fix optimize tests
2018-06-17 23:38:07 +02:00
xmatthias
52d36c33cf
fix optimie test
2018-06-17 23:38:07 +02:00
xmatthias
251f7db3ca
require exchange object to delete pairs
2018-06-17 23:38:07 +02:00
xmatthias
c83e8b7cb5
fix rpc_test
2018-06-17 23:38:07 +02:00
xmatthias
64e09f74a1
fix rpc tests
2018-06-17 23:38:07 +02:00
xmatthias
63b568989a
Fix rpc for exchange objectify
2018-06-17 23:38:07 +02:00
xmatthias
975b42caa3
fix tests for exchange objectify
2018-06-17 23:38:07 +02:00
xmatthias
75d02df60d
add exchange to call get_singal
2018-06-17 23:38:07 +02:00
xmatthias
082b6077e9
Fix tests analyze
2018-06-17 23:38:07 +02:00
xmatthias
e8ab76f55b
fix small in tests
2018-06-17 23:38:07 +02:00
xmatthias
495f15f13c
fix exchange tests
2018-06-17 23:38:07 +02:00
xmatthias
68f6423d39
fix most tests
2018-06-17 23:38:07 +02:00
xmatthias
67d345bc08
fix tests for objectify exchange
2018-06-17 23:38:07 +02:00
xmatthias
a159db6863
get_exchange
2018-06-17 23:38:07 +02:00
xmatthias
dea26fadfe
move init_ccxt to class
2018-06-17 23:38:07 +02:00
xmatthias
21edcbdc27
Refactor exchange to class
2018-06-17 23:38:07 +02:00
Janne Sinivirta
c608f1e21e
Merge pull request #923 from freqtrade/fix_test_hyperopt
...
fix hyperopt test when no config.json exists
2018-06-17 16:07:57 +03:00
Michael Egger
5ce2071279
Merge pull request #925 from freqtrade/increase_test_cov_configuration
...
increase test-coverate for configuration
2018-06-17 13:19:16 +02:00
Anton
ae94ab17f4
Merge branch 'develop' into feature-unlimited-stake_amount
2018-06-17 02:23:40 +03:00
Anton
eb909068c5
Add minimal pair stake amount check
2018-06-17 02:23:12 +03:00
xmatthias
972736f0ab
increase test-coverate for configureation
2018-06-16 20:55:35 +02:00
xmatthias
7564f7e526
fix hyperopt test when no config.json exists
2018-06-16 13:49:03 +02:00
xmatthias
fa00157d12
Fix fiat_convert missing mockups
2018-06-16 13:42:25 +02:00
Matthias
a5511e2e30
Merge pull request #894 from freqtrade/feature/force_close_backtest
...
Display open trades after backtest period
2018-06-16 12:49:08 +02:00
Janne Sinivirta
0c85febe76
remove all mongodb related code
2018-06-16 09:09:28 +03:00
Janne Sinivirta
c1f8f641e6
remove use of hyperopt_conf.py
2018-06-16 09:09:28 +03:00
xmatthias
c0289ad844
use list comprehension to build list
2018-06-13 19:53:12 +02:00
xmatthias
e600be4f56
Reduce force-sell verbosity
2018-06-13 19:44:00 +02:00
gcarq
d684ff5715
drop zlma implementation
2018-06-13 16:20:13 +02:00
ran
6edb25f5c2
fixed heikenashi calculation
2018-06-13 16:17:42 +02:00
ran
e6e5c5daf0
added zlma
2018-06-13 16:16:02 +02:00
ran
61f92b7460
bugfix
2018-06-13 16:13:36 +02:00
gcarq
46080f5168
define _rpc_reload_conf as private method
2018-06-13 15:29:27 +02:00
gcarq
e14c9e2090
fix potential cleanup issue
2018-06-13 12:21:54 +02:00
gcarq
83eb7a0a9d
adjust logging a bit and add some comments
2018-06-13 12:21:54 +02:00
gcarq
6c1bb7983b
rpc: make freqtrade a private variable
2018-06-13 12:21:54 +02:00
gcarq
34e10a145c
remove Telegram.is_enabled() because RPCManager manages lifecycles
2018-06-13 12:21:54 +02:00
gcarq
3787dad212
don't import python-telegram-bot at runtime if disabled in config
2018-06-13 12:21:54 +02:00
gcarq
4048859912
rpc: remove tuple return madness
2018-06-13 12:21:54 +02:00
gcarq
cddb062db5
save rpc instances only in registered_modules, add some abstract methods
2018-06-13 12:21:54 +02:00
xmatthias
6357812743
fix backtest report able
2018-06-13 06:57:49 +02:00
xmatthias
0f117d480e
improve backtesting-tests
...
* assert length of result specifically
* add assert for "open_at_end"
2018-06-13 06:42:24 +02:00
xmatthias
8d8e6dcffc
Add test for extracted backtest_results test
2018-06-13 06:31:42 +02:00
xmatthias
e3ced7c15e
extract export from backtest function
2018-06-12 22:29:30 +02:00
xmatthias
bfde33c945
Use timestamp() instead of strftime
...
this will avoid a bug shifting epoch time by 1 hour:
https://stackoverflow.com/questions/11743019/convert-python-datetime-to-epoch-with-strftime
2018-06-12 21:12:55 +02:00
Michael Egger
59a4dffc56
Merge pull request #901 from freqtrade/fix/backtest_abort_no_data
...
Check if no backtest data is found and fail gracefully
2018-06-12 02:54:58 +02:00
Anton
708320318c
Check minimal amount
2018-06-12 01:05:43 +03:00
xmatthias
a0f735d4f2
reduce test-noise
2018-06-11 21:02:24 +02:00
xmatthias
335d1fbbbc
Check if no backtest data is found and fail gracefully
2018-06-11 19:50:43 +02:00
Anton
90025d0ac4
Fix check
2018-06-11 16:38:10 +03:00
Anton
ce663f6af5
Merge with develop
2018-06-11 16:25:05 +03:00
Anton
3676015184
Fix check
2018-06-11 16:21:57 +03:00
Janne Sinivirta
c46e50864b
Merge pull request #886 from freqtrade/feature/reload-conf
...
Reload bot config without restarting
2018-06-11 10:47:00 +03:00
xmatthias
12e455cbf5
add buy/sell index to backtest result
2018-06-10 20:52:42 +02:00
xmatthias
a9f3744f1b
fix backtest test
2018-06-10 19:46:52 +02:00
xmatthias
9cc087c788
update hyperopt tests to support new structure
2018-06-10 13:56:23 +02:00
xmatthias
4710210cff
fix hyperopt to use new backtesting result tuple
2018-06-10 13:56:10 +02:00
xmatthias
27ee8f7360
make flake happy
2018-06-10 13:55:48 +02:00
xmatthias
1cd7ac55a8
Added "left open trades" report
2018-06-10 13:45:16 +02:00
xmatthias
b81588307f
Add "open_at_end" parameter
2018-06-10 13:37:53 +02:00
xmatthias
31025216f9
fix type of open/close timestmap
2018-06-10 13:32:07 +02:00
xmatthias
aff1ede46b
Fix last backtesting test
2018-06-10 13:25:52 +02:00
xmatthias
322a528c12
fix bug with backtestResult
2018-06-10 13:25:16 +02:00
xmatthias
17c0ceec04
adjust tests for backtestresult type
2018-06-10 13:22:24 +02:00
xmatthias
c9476fade8
adjust tests for forcesell
2018-06-10 13:20:41 +02:00
xmatthias
7b5a2946e5
adjust for forcesell backtesting
2018-06-10 13:19:32 +02:00
xmatthias
9c57d3aa8b
add BacktestresultTuple
2018-06-10 13:15:46 +02:00
xmatthias
c1b2e06eda
simplify return from _get_sell_trade_entry
2018-06-10 09:07:04 +02:00
xmatthias
3094acc7fb
update comment
2018-06-10 08:58:28 +02:00
xmatthias
24a875ed46
remove experimental parameters - they are read by analyze.py anyway
2018-06-09 21:44:57 +02:00
xmatthias
5623ea3ac6
Add forcesell at end of backtest period
2018-06-09 21:44:20 +02:00
Janne Sinivirta
8db3dfa8c6
Merge pull request #880 from freqtrade/fix/636
...
Fixes issue 636
2018-06-09 08:59:12 +03:00
Samuel Husso
38c32f0e10
flake8 fix
2018-06-09 08:40:32 +03:00
Samuel Husso
62b4efb881
freqtradebot: fstrings in use
2018-06-09 08:27:39 +03:00
Samuel Husso
b5c200f6c4
Fiat_converter: fstrings into use
2018-06-09 08:27:39 +03:00
Samuel Husso
18e3090379
Exchange: f-strings into use
2018-06-09 08:27:39 +03:00
Samuel Husso
1e1be6bc3f
arguments,configuration: fstring in use
2018-06-09 08:24:45 +03:00
gcarq
61da7f63b2
Merge branch 'develop' of freqtrade into feature/reload-conf
2018-06-09 04:30:23 +02:00
gcarq
0b5d21f32a
implement bot reconfiguration and expose it to telegram
2018-06-09 04:29:48 +02:00
gcarq
74db82d759
main: don't touch freqbot state in cleanup()
...
cleanup() should be only called after the main loop has been exited.
At that point the state shouldn't be modified.
2018-06-09 01:19:42 +02:00
gcarq
5851cc70a7
Merge branch 'develop' of freqtrade into fix/636
2018-06-09 00:37:46 +02:00
Michael Egger
faeda0e70c
Merge pull request #878 from freqtrade/fix_timeframe_issue
...
fix windows-specific init issue with named tuple
2018-06-08 22:44:06 +02:00
Michael Egger
73c5f0ec90
Merge pull request #872 from freqtrade/feature/improve-error-handling
...
improve error handling
2018-06-08 22:43:37 +02:00
Michael Egger
66f6e71e7e
Merge pull request #827 from freqtrade/fix/pylint_and_coverage
...
Increase code coverage and improve Pylint
2018-06-08 22:32:04 +02:00
xmatthias
8effc5f929
fix windows-specific init issue with named tuple
2018-06-08 19:46:07 +02:00
Samuel Husso
980172a55a
Merge pull request #865 from freqtrade/partial_candle_removal
...
Partial candle removal
2018-06-08 18:10:21 +03:00
Gerald Lonlas
5ca84acb6d
Fix Flake8
2018-06-07 23:12:03 -07:00
Gerald Lonlas
50852136ef
Increase FreqtradeBot.get_real_amount() coverage
2018-06-07 22:13:50 -07:00
Gerald Lonlas
20082f52a2
Increase code coverage for FreqtradeBot.process_maybe_execute_sell()
2018-06-07 22:13:50 -07:00
Gerald Lonlas
5ec3eb76eb
Cover a edge case of CryptoToFiatConverter::_find_price()
2018-06-07 22:13:50 -07:00
Gerald Lonlas
dfbc94c05b
Add missing test for CryptoToFiatConverter::convert_amount()
2018-06-07 22:13:50 -07:00
Gerald Lonlas
81ce7d720d
Add missing unit test for Arguments::testdata_dl_options()
2018-06-07 22:13:50 -07:00
Gerald Lonlas
1db0f2bd55
Increase pylint to 10 for freqtrade/arguments.py
2018-06-07 22:13:50 -07:00
gcarq
10e12ec1b9
fix flake8 warning
2018-06-08 02:37:12 +02:00
gcarq
61b2373dd1
flush db connection after forcesell
2018-06-08 02:35:10 +02:00
gcarq
7f881cce85
add additional None check for trade.open_order_id
2018-06-08 02:34:44 +02:00
gcarq
95d6c9c678
adapt tests
2018-06-08 02:01:38 +02:00
gcarq
a2a1a517da
fix flake8 warning
2018-06-08 02:01:18 +02:00
gcarq
27f83b511f
raise OperationalException if config is missing
2018-06-08 02:00:42 +02:00
Anton
b1b87731b1
Support case when _get_trade_stake_amount returns None
2018-06-08 00:54:46 +03:00
Anton
b4138f29c8
Merge with develop
2018-06-08 00:29:44 +03:00
gcarq
dd3a53fb5f
fix tests for main.py
2018-06-07 22:28:21 +02:00
Matthias
d23bcc435a
Merge pull request #864 from freqtrade/feature/overhaul-db-handling
...
Allow custom sqlite database path
2018-06-07 22:18:10 +02:00
gcarq
d41f71bc34
handle sqlalchemy NoSuchModuleError
2018-06-07 21:35:57 +02:00
xmatthias
f5fe9a4b1c
fix rpc tests (add a test with multiple trades
...
without this, sum/percentage cannot be properly tested.
2018-06-07 20:52:03 +02:00
xmatthias
0e699b87af
don't sum percentage, but use mean instead (aligned to backtesting)
2018-06-07 20:43:28 +02:00
gcarq
3f5efef6e5
tests: add proper asserts
2018-06-07 20:41:52 +02:00
gcarq
d4f8704a4c
arguments: implement tests for db_url
2018-06-07 20:30:13 +02:00
gcarq
526cb1ea20
fix db-url handling if passed via CLI args
2018-06-07 20:15:31 +02:00
Janne Sinivirta
f5b47fbd86
flake8 fixes
2018-06-07 20:23:09 +03:00
Janne Sinivirta
3cee04fb8c
bot should not repaint: do not include last partial candle in analysis
2018-06-07 20:23:09 +03:00
gcarq
ac602ed5a9
persistence: adapt checks to detect in-memory db
2018-06-07 19:10:26 +02:00
Samuel Husso
ad510b8b5f
Merge pull request #855 from freqtrade/fix-look-ahead
...
Avoid look-ahead in backtesting
2018-06-07 20:00:46 +03:00
gcarq
17742df591
Merge branch 'develop' of freqtrade into feature/overhaul-db-handling
2018-06-07 17:33:37 +02:00
gcarq
5b1ff6675f
define constants.DEFAULT_DB_DRYRUN_URL and fix StaticPool conditions
2018-06-07 17:29:43 +02:00
Michael Egger
867145cd09
Merge pull request #859 from freqtrade/readd_ticker_caching
...
Re-add ticker caching for rpc operations
2018-06-07 17:15:59 +02:00
Janne Sinivirta
b4ae5a36a8
use .copy() to avoid Pandas mistake. drop first row because of shifting
2018-06-07 17:29:40 +03:00
Janne Sinivirta
7f8e0ba25f
use buy/sell signal from previous candle, not current to avoid seeing to the future
2018-06-07 17:28:40 +03:00
gcarq
c3d0980763
test_persistence: fix reference before assignment
2018-06-07 06:06:21 +02:00
gcarq
4ee5271de7
fix failing dynamic-whitelist test
2018-06-07 05:50:07 +02:00
gcarq
a29ac44d64
adapt tests
2018-06-07 05:27:55 +02:00
gcarq
e2aa78c11b
remove obsolete param
2018-06-07 05:27:27 +02:00
gcarq
58a6f21705
remove dry_run_db and replace it with db_url in config
2018-06-07 05:26:39 +02:00
gcarq
8583e89550
persistence: simplify init and pass db_url via config dict
2018-06-07 05:25:53 +02:00
xmatthias
7714490530
Test keyerror exception
2018-06-06 21:24:57 +02:00
xmatthias
4a17671f45
improve log message
2018-06-06 20:30:42 +02:00
xmatthias
a901f21bcd
test ticker caching
2018-06-06 20:24:47 +02:00
xmatthias
e690003621
reinstate caching for get_ticker
2018-06-06 20:18:16 +02:00
xmatthias
cac6e0d715
Add docstring to TimeRange class
2018-06-06 00:10:18 +02:00
xmatthias
f37c5b70ba
Fix tests - read optional argument
2018-06-05 23:53:49 +02:00
xmatthias
270ccbb0da
fix args test
2018-06-05 23:41:50 +02:00
xmatthias
7a34578b4d
refactor timerange to named tuple
2018-06-05 23:34:26 +02:00
Anton
12d8a8b1a3
Fix review comments
2018-06-06 00:14:28 +03:00
Gerald Lonlas
c29c13dfd7
Fix a typo in Arguments() comment
2018-06-04 22:42:24 -07:00
Gerald Lonlas
947462e134
Add back 'import os' in Arguments()
2018-06-04 21:29:53 -07:00
Gerald Lonlas
3778bcda24
Ok! you won Flake8
2018-06-04 21:18:03 -07:00
Gerald Lonlas
662436acd2
Fix typo in Argument()
2018-06-04 21:18:03 -07:00
Gerald Lonlas
5683f9e10e
Remove hardcoded backtest-result.json in Plot scripts
2018-06-04 21:17:20 -07:00
Matthias
15fb81da92
Merge pull request #844 from creslinux/Constants_usdt
...
To be able to start with USDT in fiat_display_currency in config.json
2018-06-04 21:56:34 +02:00
creslinux
a44978a068
Per steer from project core member, add other valid coinmarketcap
...
listed crypto base currencies that are valid during conversion lookup
Here is the test of USDT working:
https://api.coinmarketcap.com/v2/ticker/1027/?convert=USDT&limit=10
CMK page lists: "BTC", "ETH" "XRP", "LTC", and "BCH" as valid.
2018-06-04 21:48:15 +03:00
creslinux
7c8bf95f8f
To be able to start bot with USDT in fiat_display_currency in config.json
...
There are use case that build the base pair to consider price of whitelist pairs.
On Binance this is USDT not USD.
2018-06-04 16:45:47 +03:00
Janne Sinivirta
7df77b1b28
match timeframes to arguments
2018-06-04 16:35:34 +03:00
Janne Sinivirta
0f3dc821f2
add missing timeframes to allowed values
2018-06-04 15:08:45 +03:00
Janne Sinivirta
5ff405b0b0
allow defining of timeframes to download
2018-06-04 15:08:45 +03:00
Janne Sinivirta
639b6bc4f6
set and create default datadir based on used exchange
2018-06-04 14:27:42 +03:00
Janne Sinivirta
6891054b84
use folder user_data/data/exchangename by default and pick pairs.json from that folder by default
2018-06-04 12:37:06 +03:00
Janne Sinivirta
e10279b7b4
show default exchange in download_backtest_data.py
2018-06-04 11:50:33 +03:00
Janne Sinivirta
a0c79bd727
make --pairs-file required
2018-06-04 11:47:27 +03:00
Anton
3030bf9778
Fix types
2018-06-04 01:52:54 +03:00
Anton
87f750da35
Merge with develop
2018-06-04 01:50:10 +03:00
Anton
daa9c0c026
Fix review comments
2018-06-04 01:48:26 +03:00
xmatthias
e3227a741c
add --export-filename for backtesting
2018-06-03 19:36:53 +02:00
Gerald Lonlas
43696eff5c
Add __main__.py to improve how to launch the bot
2018-06-03 08:57:13 -07:00
Janne Sinivirta
20815771ab
Merge pull request #817 from gcarq/feature/gdax
...
Enable Backtesting with GDAX and allow trading with EUR/USD
2018-06-03 17:49:20 +03:00
xmatthias
3a158faa30
Refactor fiat-list to constants
2018-06-03 13:47:36 +02:00
xmatthias
50fc5f91ca
Merge branch 'develop' into mypy_typecheck
2018-06-03 10:35:56 +02:00
Gerald Lonlas
e8a59f4c20
Add a test to check the behavior when converting two FIAT
2018-06-03 00:13:48 -07:00
Gerald Lonlas
638d98735f
Allow fiat_convert to use same symbol for Crypto and FIAT
2018-06-03 00:13:48 -07:00
Gerald Lonlas
c9e49ed7b4
Sort ticker_history
...
CCXT does not sort the ticker history from exchanges.
Bittrex and Binance are sorted ASC (oldest first, newest last) when
GDAX is sorted DESC (newest first, oldest last).
Because of that the get_ticker_history() fall in a very long loop
when the tickers are sorted DESC. Means it downloads more than
needed.
This commit enable exhanges like GDAX and unify the ticker_history
list across all exchanges.
2018-06-03 00:13:48 -07:00
Gerald Lonlas
acbfe91f13
Allow EUR / USD as stake_currency
...
It will enable to trade with FIAT on exhanges like GDAX or Kraken.
2018-06-03 00:13:48 -07:00
Janne Sinivirta
7edafbb772
Merge pull request #823 from creslinux/timerange_unixtime_argument
...
Timerange unixtime argument
2018-06-03 07:22:41 +03:00
Janne Sinivirta
a657e3d24a
Merge pull request #826 from gcarq/fix/hyperopt-stake_currency
...
Fix stake_currency returned by Hyperopt …
2018-06-03 07:19:24 +03:00
Janne Sinivirta
2cd8782a88
Merge pull request #825 from gcarq/fix/hyperopt-in-progress
...
Fix the in-progress dot that does not show up during a Hyperopt run
2018-06-03 07:16:39 +03:00
Gerald Lonlas
fe8ff1b929
Fix stake_currency return by Hyperopt
...
Hyperopt had BTC hard coded in the result. This commit will display
the real stake_currency used.
If you used `"stake_currency": "USDT",` in your config file.
Before this commit you saw a message like:
"2 trades. Avg profit 0.13%. Total profit 0.00002651 BTC (0.0027Σ%). Avg duration 142.5 mins."
Now with the commit, we fix the wrong BTC currency:
"2 trades. Avg profit 0.13%. Total profit 0.00002651 USDT (0.0027Σ%). Avg duration 142.5 mins."
2018-06-02 14:07:31 -07:00
Gerald Lonlas
127cf5d619
Backtesting: Add the Interval required when data is missing
...
Change the message:
"No data for pair ETH/BTC, use --refresh-pairs-cached to download the data"
for:
"No data for pair: "ETH/BTC", Interval: 5m. Use --refresh-pairs-cached to download the data"
The message structure is unified with the download message:
"Download the pair: "ETH/BTC", Interval: 5m"
2018-06-02 13:55:05 -07:00
creslinux
94e586c049
Added unit test to check posix time arguments passed to timerange
...
Here is the pass report:
freqtrade_new creslin$ pytest freqtrade/tests/test_arguments.py
==================================================================== test session starts =====================================================================
platform darwin -- Python 3.6.5, pytest-3.6.0, py-1.5.3, pluggy-0.6.0
rootdir: /Users/creslin/PycharmProjects/freqtrade_new, inifile:
plugins: mock-1.10.0, cov-2.5.1
collected 19 items
freqtrade/tests/test_arguments.py ................... [100%]
================================================================= 19 passed in 2.37 seconds ==================================================================
2018-06-02 22:46:54 +03:00
Gerald Lonlas
dc65753a64
Fix the in-progress dot that does not show up during a Hyperopt run
2018-06-02 12:35:07 -07:00
creslin
43ba02afc6
Per feed back, kept the stype as date.
...
Use a tuple to keep as epoch int or process via arrow to timestamp.
I'll look at the test file also.
2018-06-02 21:59:18 +03:00
xmatthias
9537f17dd4
Fix test
2018-06-02 20:06:29 +02:00
Raymond Luo
2791d543ea
Make backtesting report markdown shareable
...
Small tweak to make the backtesting report markdown ready and much easier to share reports on many markdown publishing tools and editors that already support Markdown Extra with just a copy and paste
Example:
![Example](https://i.imgur.com/HXlNkfm.png )
2018-06-02 19:52:16 +02:00
creslin
6ca375a397
Extend timerange to accept unix timestamps.
...
This gives greater granularity over backtest, parsing tickerfiles.
Example runs using date and unix time below.
/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/bin/python3.6 /Users/creslin/PycharmProjects/freqtrade/scripts/report_correlation.py --timerange=20180528-20180529
2018-06-02 18:44:58,829 - freqtrade.configuration - INFO - Log level set to INFO
2018-06-02 18:44:58,830 - freqtrade.configuration - INFO - Using max_open_trades: 200 ...
2018-06-02 18:44:58,831 - freqtrade.configuration - INFO - Parameter --timerange detected: 20180528-20180529 ...
2018-06-02 18:44:58,831 - freqtrade.configuration - INFO - Parameter --datadir detected: freqtrade/tests/testdata ...
BasePair Pair Correlation BTC % Change Pair % USD Ch Pair % BTC Ch Gain % on BTC Start Stop BTC Volume
1 BTC_USDT ETC_USD 0.965 -2.942 -4.070 -1.163 -1.128585 05-28 00:00 05-29 00:00 335.19
0 BTC_USDT SNT_USD 0.943 -2.942 -5.857 -3.004 -2.915585 05-28 00:00 05-29 00:00 496.01
3 BTC_USDT DASH_USD 0.902 -2.942 -9.034 -6.277 -6.092432 05-28 00:00 05-29 00:00 751.41
2 BTC_USDT MTH_USD 0.954 -2.942 -9.290 -6.541 -6.348708 05-28 00:00 05-29 00:00 23.00
4 BTC_USDT TRX_USD 0.951 -2.942 -13.647 -11.029 -10.704957 05-28 00:00 05-29 00:00 14544.57
Process finished with exit code 0
/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/bin/python3.6 /Users/creslin/PycharmProjects/freqtrade/scripts/report_correlation.py --timerange=1527595200-1527618600
2018-06-02 18:47:40,382 - freqtrade.configuration - INFO - Log level set to INFO
2018-06-02 18:47:40,382 - freqtrade.configuration - INFO - Using max_open_trades: 200 ...
2018-06-02 18:47:40,383 - freqtrade.configuration - INFO - Parameter --timerange detected: 1527595200-1527618600 ...
2018-06-02 18:47:40,383 - freqtrade.configuration - INFO - Parameter --datadir detected: freqtrade/tests/testdata ...
BasePair Pair Correlation BTC % Change Pair % USD Ch Pair % BTC Ch Gain % on BTC Start Stop BTC Volume
0 BTC_USDT SNT_USD 0.680 NaN NaN NaN NaN 05-29 12:00 05-29 18:30 68866.30
1 BTC_USDT ETC_USD 0.857 NaN NaN NaN NaN 05-29 12:00 05-29 18:30 227514.17
2 BTC_USDT MTH_USD 0.790 NaN NaN NaN NaN 05-29 12:00 05-29 18:30 12103.96
3 BTC_USDT DASH_USD 0.862 NaN NaN NaN NaN 05-29 12:00 05-29 18:30 72982.78
4 BTC_USDT TRX_USD 0.178 NaN NaN NaN NaN 05-29 12:00 05-29 18:30 1258316.95
Process finished with exit code 0
2018-06-02 19:45:08 +03:00
Matthias
81bb128cf7
Merge pull request #822 from gcarq/fix/misleading_log
...
change misleading logging for datadir
2018-06-02 14:50:27 +02:00
xmatthias
a8bf5092e8
add ignore explanation
2018-06-02 14:18:57 +02:00
xmatthias
f88729f0e8
add ignore comment
2018-06-02 14:14:28 +02:00
xmatthias
3447e4bb97
comment on ignore hint
2018-06-02 14:13:17 +02:00
xmatthias
884395415f
remove type:ignore
2018-06-02 14:10:15 +02:00
xmatthias
0007002c80
fix test failure
2018-06-02 14:07:54 +02:00
xmatthias
0a595190a3
fix last typechecks
2018-06-02 13:59:35 +02:00
xmatthias
32300f6d5f
don't initialize with None where it's not necessary
2018-06-02 13:55:06 +02:00
xmatthias
d9e951447f
remove _init function in backtesting (and according test)
2018-06-02 13:54:22 +02:00
xmatthias
6fc21e30e5
remove unused import
2018-06-02 13:52:55 +02:00
xmatthias
6106822d10
typing
2018-06-02 13:44:41 +02:00
xmatthias
4a322abd4d
Typecheck improvements
2018-06-02 13:44:05 +02:00
Janne Sinivirta
b5c41ca0fc
Merge pull request #820 from gcarq/fix/backtesting_hint
...
Fix wrong hint '--update-pairs-cached' from Backtesting/Hyperopt
2018-06-02 11:39:09 +03:00
Janne Sinivirta
a82a31341b
change misleading logging for datadir
2018-06-02 11:32:05 +03:00
Gérald LONLAS
0980e7e82d
Merge pull request #766 from pan-long/forcesell-amount
...
Sell filled amount or an open limit buy order in forcesell.
2018-06-01 19:51:38 -07:00
Gerald Lonlas
792dd556a1
Fix wrong hint '--update-pairs-cached' from Backtesting/Hyperopt
2018-06-01 19:46:53 -07:00
xmatthias
e28973c50a
fix flake8
2018-05-31 22:17:46 +02:00
xmatthias
3fb1dd02f1
add typehints and type: ignores
2018-05-31 22:00:46 +02:00
xmatthias
cf34b84cf1
add attributes with typehints
2018-05-31 21:59:22 +02:00
xmatthias
f4f821e88e
add typehints
2018-05-31 21:44:18 +02:00
xmatthias
c0cef7250d
typing - avoid variable reuse with differen ttype
2018-05-31 21:22:46 +02:00
xmatthias
2976a50c58
fix typing
2018-05-31 21:10:15 +02:00
xmatthias
69006b8fe8
flake8
2018-05-31 21:08:26 +02:00
xmatthias
4eb55acdbc
fix typing
2018-05-31 21:04:10 +02:00
xmatthias
1352f135d0
typing
2018-05-31 20:55:45 +02:00
xmatthias
0d251cbfdd
rpc type hints
2018-05-31 20:55:26 +02:00
xmatthias
4733aad7ff
mypy_typing
2018-05-31 20:54:37 +02:00
xmatthias
48516e6e1e
Add typehint
2018-05-31 20:41:05 +02:00
xmatthias
45909af7e0
type anotation fixes
2018-05-30 22:38:09 +02:00
xmatthias
88755fcded
fix typing
2018-05-30 22:09:20 +02:00
xmatthias
0d6dffdc7e
fix typehinting
2018-05-30 22:09:03 +02:00
xmatthias
9aa468adda
fix for typehint
2018-05-30 22:01:29 +02:00
Samuel Husso
c471ccb2db
Merge pull request #734 from arudov/fix/pair-downloads
...
Do not download pairs if --refresh-pairs-cached isn't set
2018-05-29 08:05:10 +03:00
Pan Long
a98fcee4f9
Sell filled amount or an open limit buy order in forcesell.
...
Currently forcesell only cancels an open limit buy order and doesn't sell the filled amount.
After this change, forcesell will also update trade's amount to filled amount and sell the filled amount.
2018-05-26 09:55:31 +08:00
xmatthias
1ba5c5d9c6
set ccxt loglevel to info
2018-05-25 21:23:15 +02:00
Anton
3427c7eb54
Use constants
2018-05-25 17:04:08 +03:00
Anton
cf5d691950
Clean the tests
2018-05-25 00:46:08 +03:00
Anton
9be98cd8f7
Add ability to set unlimited stake_amount
2018-05-23 13:15:03 +03:00
Anton
8c22cfce37
Fix tests; fix codestyle
2018-05-21 23:15:01 +03:00
Anton
e1cb0dbf28
Do not try to redownload pair data if --refresh-pairs-cached is not set
2018-05-21 22:31:08 +03:00
xmatthias
e2efd7c6ec
add test to verify network exception is cought on init of coinmarketcap
2018-05-21 20:03:25 +02:00
xmatthias
56e697acf5
Fix error initializing coinmarketcap
2018-05-21 20:01:41 +02:00
peterkorodi
0c051b1b7a
Make plot_dataframe able to show trades stored in database. ( #692 )
...
* Show trades stored in db on the graph
2018-05-19 09:14:42 +03:00
Matthias Voppichler
ef78f2f03a
Add test for invalid order_fee dict
2018-05-15 20:13:43 +02:00
Matthias Voppichler
a1fa688da0
Add tests for the new scenario
2018-05-15 19:49:47 +02:00
Matthias Voppichler
263bf918b1
Fix bug pointed out in #679
2018-05-15 19:49:28 +02:00
Anton
d112d90e8e
Make telegram message beautiful
2018-05-15 13:37:34 +03:00
Anton
f175f48418
Fix get balance functionality
2018-05-15 00:31:56 +03:00
Matthias Voppichler
8549201502
add test for new fiat_convert logic
2018-05-13 20:46:02 +02:00
Matthias Voppichler
b1c53ec656
refactor "patch_coinmarketcap" to conftest"
...
add patch_coinmarketcap to get_patched_freqtradebot
2018-05-13 20:04:40 +02:00
Matthias Voppichler
790f35a5c8
fix test which resets singleton without reinstating it
2018-05-13 20:03:54 +02:00
Matthias Voppichler
3246c60472
Fix coinmarketcap ticker
2018-05-13 20:00:38 +02:00
Matthias Voppichler
57fc9df5f3
Fix typo
2018-05-13 19:54:19 +02:00
Matthias Voppichler
144be37a9a
Convert ID to string
2018-05-13 19:53:23 +02:00
Matthias Voppichler
9b8f90dc9f
log error in find_price
2018-05-13 19:50:04 +02:00
Matthias Voppichler
d07491ceb2
Dynamically load cryptomap
2018-05-13 19:46:08 +02:00
Matthias Voppichler
8f17b11610
Fix testfluke in hyperopt
2018-05-13 13:38:29 +02:00
Matthias Voppichler
8b098859f4
Reduce verbosity of get_ticker_history
2018-05-12 20:15:59 +02:00
Michael Egger
5b25ed99ac
Merge pull request #652 from gcarq/feat/objectify-ccxt
...
CCXT into use
2018-05-12 14:04:06 +02:00
Michael Egger
edd840ac35
Merge pull request #640 from xmatthias/ccxt-obj-slippage
...
[cxxt][2/2] Add columns for slippage detection
2018-05-12 13:56:15 +02:00
Matthias Voppichler
58425993da
Adapt tests to verify pair-conversion and exchange conversion
2018-05-12 13:39:29 +02:00
Matthias Voppichler
e3ae1c6c2f
Convert exchange-name to new format
2018-05-12 13:39:16 +02:00
Matthias Voppichler
40c581e5a8
Convert pair-format to new format
2018-05-12 13:37:42 +02:00
Matthias Voppichler
631081a2b2
Add additional tests
2018-05-12 10:37:17 +02:00
Matthias Voppichler
8e3ff8235f
add explaining comments
2018-05-12 10:31:24 +02:00
Matthias Voppichler
ada98abfee
fix flake
2018-05-12 10:30:30 +02:00
Matthias Voppichler
49266fc4b8
Add migration test
2018-05-12 10:29:26 +02:00
Matthias Voppichler
f5ff6ceead
Rename instead of drop/create
2018-05-12 10:29:10 +02:00
Matthias Voppichler
ab4e2bd5a9
Fix migrate script
2018-05-12 10:04:41 +02:00
Samuel Husso
01b6a0eb53
Freqtrade: ccxt release shall be called 0.17.0
2018-05-12 09:57:10 +03:00
Michael Egger
1dbdb880e6
Merge pull request #637 from arudov/fix/dl-testdata-period2
...
Time-range download of backtesting data
2018-05-07 17:19:54 +02:00
Matthias Voppichler
ccf1c894b4
Inital try mirate
2018-05-06 09:09:53 +02:00
Matthias Voppichler
d3fb2e4516
Add open_rate_requested and close_rate_requested for slippage detection
2018-05-05 12:57:07 +02:00
Anton
932b65da27
Fix test_optimize.py
2018-05-04 13:59:50 +03:00
Anton
2bfce64e6a
Fix conflicts
2018-05-04 13:38:51 +03:00
Gert Wohlgemuth
6d2afdb146
added support for showing the exposed real value on the count table ( #634 )
2018-05-03 11:18:35 +02:00
gcarq
43fd9b37df
fix 'max_open_trades must be greater than 0' regression
2018-05-03 10:48:25 +02:00
Anton
ceeb98dda9
Fix conflicts
2018-05-03 11:16:29 +03:00
gcarq
306885e174
Merge branch 'develop' into feat/objectify-ccxt
2018-05-02 22:49:55 +02:00
Michael Egger
90a107393a
Merge pull request #622 from gcarq/fix/dl-testdata
...
fix download testdata
2018-05-02 22:06:43 +02:00
gcarq
a76ed88496
Merge branch 'feat/objectify-ccxt' into feature/catch-exchange-errors
2018-05-02 20:03:13 +02:00
Anton
24ab1b5be5
Fix review comments, documenation update
2018-05-01 00:27:05 +03:00
Samuel Husso
842b0c2270
Exchange: fix missing comma and typehinting per PR comments
2018-04-29 18:55:43 +03:00
Anton
a127e1db07
Fix case with empty dict
2018-04-28 01:40:48 +03:00
Anton
2267a420a4
Fix codestyle
2018-04-28 00:30:42 +03:00
Anton
82ea56c8fd
Fix review comments. Add support of datetime timeganges
2018-04-28 00:16:34 +03:00
Michael Egger
ecaf6b763c
Merge pull request #623 from xmatthias/cxxt_obj_sellfix
...
[cxxt][1/2] fix fee calculation in binance
2018-04-26 19:58:24 +02:00
Matthias Voppichler
0987af910e
remove indicator name from comment
2018-04-25 20:03:32 +02:00
Matthias Voppichler
2e1124af1a
remove unnecessary .keys()
2018-04-25 14:00:25 +02:00
Anton
2fe7812e20
Fix codestyle
2018-04-25 10:32:58 +03:00
Matthias Voppichler
8bd9ed1543
fix flake8
2018-04-25 09:13:56 +02:00
Matthias Voppichler
72c17e29c0
Add test for "no trades found" case
2018-04-25 09:08:02 +02:00
Matthias Voppichler
483415cd65
Add fee entry to DRY_ORDER dict as defined by ccxt
2018-04-25 09:03:32 +02:00
Matthias Voppichler
98669a3d62
remove duplicate log entry, fix key-error
2018-04-25 09:01:21 +02:00
Matthias Voppichler
9c2115c917
refactor get_real_amount
2018-04-25 08:52:08 +02:00
Matthias Voppichler
f6ecd8e514
Add pytest fixture for real_amount test
2018-04-25 08:51:31 +02:00
Anton
6675120324
Add time range support to download_backtest_data
2018-04-25 02:11:07 +03:00
Matthias Voppichler
ab6589d573
Fix comment and improve log message
2018-04-24 19:43:08 +02:00
Matthias Voppichler
9e94778fd7
simplify check for presence of list
2018-04-24 19:42:41 +02:00
Matthias Voppichler
2968347062
fix flake8
2018-04-23 20:32:46 +02:00
Matthias Voppichler
9450b76414
improve style of import in test
2018-04-23 20:08:58 +02:00
Matthias Voppichler
d2608cbf13
improve check when not to run
2018-04-23 20:06:00 +02:00
Matthias Voppichler
f580fbb91d
remove maybe_update_amount and tests
2018-04-23 20:03:10 +02:00
gcarq
9b0fbbdc14
cancel_order: pass all positional arguments
2018-04-23 16:58:52 +02:00
gcarq
aa213a3640
cancel_order: handle InvalidOrder exception
2018-04-23 16:58:32 +02:00
gcarq
baeeaa777d
get_balance: handle case if currency is not in response
2018-04-23 16:57:18 +02:00
gcarq
20af4bae7c
retrier: raise initial exception instead of OperationalException
2018-04-23 16:56:35 +02:00
gcarq
5baab91bb5
catch TemporaryError for buy/sell in _process()
2018-04-22 20:28:39 +02:00
gcarq
4c49229b77
catch DependencyExceptions while selling
2018-04-22 20:27:34 +02:00
Matthias Voppichler
93a7c46977
optimize to only do network calls if necessary
2018-04-22 19:37:24 +02:00
gcarq
bc2bd7fe1e
add retrier decorator to all exchange functions except buy/sell
2018-04-22 17:28:49 +02:00
Matthias Voppichler
a70958da41
test modify-logic
2018-04-22 11:05:23 +02:00
Samuel Husso
9f1544978d
tests: use only coins that most likely are going to be in bittrex
2018-04-22 11:29:21 +03:00
Matthias Voppichler
f838ba2a9b
remove fee column from bot
2018-04-22 10:04:30 +02:00
Samuel Husso
de8db9293c
exchange: extract ccxt init to its own function (so that we can init ccxt from the scripts)
2018-04-22 10:57:48 +03:00
Samuel Husso
fded8e5117
move download_backtest_data to scripts
2018-04-22 10:56:49 +03:00
Matthias Voppichler
be95d699d2
only update if open_fee is set
2018-04-22 09:13:02 +02:00
gcarq
9ab4953472
fix backtesting testsuite
2018-04-22 00:21:03 +02:00
gcarq
bbe3bc4423
catch ccxt.ExchangeError and retry
2018-04-22 00:20:15 +02:00
Matthias
acb1b50924
[ccxt] fix unsupported fiat failures ( #620 )
...
* prepare to support FIAT/Crypto trading
* Don't fail fiat-convert for unsupported stake currencies
* remove commented code
* Add BNB to cryptomap
* Fix test-failure
* related to random execution as fee was not properly mocked if this is
one of the first tests
2018-04-21 23:20:12 +02:00
Matthias Voppichler
a140748b5a
Merge branch 'feat/objectify-ccxt' into cxxt_obj_sellfix
2018-04-21 22:39:22 +02:00
Matthias Voppichler
573b6b8e15
Remove unused line
2018-04-21 22:35:17 +02:00
Matthias
23e989d31f
Fix tests run in random order ( #599 )
...
* allow tests to run in random mode
* Fix random test mode for fiat-convert
* allow random test execution in persistence
* fix pep8 styling
* use "usefixtures" to prevent pylint "unused parameter" message
* add pytest-random-order to travis
2018-04-21 21:21:50 +02:00
Matthias Voppichler
990f8a996b
log in case of error
2018-04-21 21:01:53 +02:00
gcarq
f4077a51c1
log hyperopt progress to stdout instead to the logger
2018-04-21 20:52:01 +02:00
gcarq
403f59ef45
use native python logger
2018-04-21 20:47:06 +02:00
Samuel Husso
001d7443da
Merge pull request #618 from gcarq/feature/add-get_fee-mocks
...
add mocks for exchange.get_fee
2018-04-21 21:26:22 +03:00
Matthias Voppichler
ce90ee4ac2
have backtesting use fee_open and fee_close
2018-04-21 20:05:49 +02:00
Matthias Voppichler
06d230279c
Fix tests
2018-04-21 20:05:39 +02:00
Matthias Voppichler
47748bc6f7
adjust tests for fee_open and fee_close
2018-04-21 19:55:48 +02:00
Matthias Voppichler
a620aa8352
add columns fee_open and fee_close, update value
2018-04-21 19:47:08 +02:00
gcarq
09fb4ea584
add mocks for exchange.get_fee
2018-04-21 19:39:18 +02:00
gcarq
3997b6038d
let cctx handle rate limits
2018-04-21 19:11:29 +02:00
Luis Felipe Díaz Chica
954c6e8c15
Write log when trying to sell opened trades ( #608 )
2018-04-21 18:44:57 +02:00
Matthias Voppichler
7f4c70827a
Test get_amount_lots
2018-04-21 13:33:29 +02:00
Matthias Voppichler
f69e8458f4
Add tests for update_real_amount
2018-04-21 13:33:29 +02:00
Matthias Voppichler
02f0f22621
fix comment
2018-04-21 13:33:29 +02:00
Matthias Voppichler
1d43dc229b
refactor tests of get_real_amount
2018-04-21 13:33:29 +02:00
Matthias Voppichler
c7d1a767f7
add get_trades_for_order
2018-04-21 13:33:29 +02:00
Matthias Voppichler
11d8f7d522
add get_real_amount and tests
2018-04-21 13:33:29 +02:00
gcarq
1332ab397f
fix reference before assignment
2018-04-21 10:19:12 +03:00
Samuel Husso
78bafee39d
download_backtest: fix imports and travis
2018-04-19 09:44:45 +03:00
Samuel Husso
66866ff260
fix travis
2018-04-19 09:06:56 +03:00
Samuel Husso
1dcd7e747e
partial fix for download testdate
2018-04-19 09:01:34 +03:00
Samuel Husso
42c0d7c7c3
Merge pull request #603 from enenn/ccxt-objectify-pr3_1
...
[3/3] Add support for multiple exchanges with ccxt (objectified version)
2018-04-18 15:23:33 +03:00
enenn
488210915a
Flak8 fixes...
2018-04-15 13:11:17 +02:00
enenn
f1d406b1e6
Fix possible race condition during testing
...
Order would sometimes fail to sell during tests,
probably because time between current time and creation was 0
2018-04-15 12:50:47 +02:00
enenn
89ed2e0127
Get mocked exhange buy return value from existing fixture
2018-04-15 12:48:02 +02:00
enenn
53b1f8d3a4
Add a 4th pair to testing dynamic whitelist generation
2018-04-15 12:20:49 +02:00
enenn
cc5991d269
Fixturize fee MagicMock object in tests
2018-04-15 12:09:12 +02:00
Michael Egger
b8184e4fdd
Merge pull request #602 from xmatthias/obj_ccxt_test_formatms
...
Add test for format_ms_time
2018-04-13 00:44:25 +02:00
Matthias Voppichler
37dee02e1c
Add comment and extract magic number to variable
2018-04-12 19:32:14 +02:00
enenn
2765a065a7
Use UNITTEST/BTC pair instead of ETH/BTC pair for load_data tests
2018-04-12 19:21:40 +02:00
Matthias Voppichler
bb7b2cdfd5
Disable dynamic whitelist
...
Revert regression introduced in refactoring for objectify
(cherry picked from commit 5bd7954
)
2018-04-12 18:35:35 +02:00
enenn
94287d66a8
Flake8 fixes
2018-04-12 18:16:27 +02:00
enenn
1678518cd4
Add dry_run=True to config during backtesting
2018-04-12 18:16:26 +02:00
enenn
838bd5824e
Mock validate_pairs
2018-04-12 18:16:26 +02:00
enenn
a650072fe0
Edit signal handler tests to work on windows as well
2018-04-12 18:16:26 +02:00
enenn
6115fb08c0
Remove get_fee_maker/taker and add argument to get_fee instead
2018-04-12 18:16:25 +02:00
enenn
91b2092d55
Remove ticker_history_api and ticker_history_without_bv from conftest.py
2018-04-12 18:16:25 +02:00
enenn
cba8745164
Update exchange validate_pairs and related tests
2018-04-12 18:16:19 +02:00
enenn
c3d00a8825
Change ticker format to ccxt in backtesting and optimize tests
2018-04-12 18:14:33 +02:00
enenn
261522446e
Change to ccxt ticker format in test_analyze.py
2018-04-12 18:07:45 +02:00
enenn
a86104d0fe
Update backtesting and hyperopt tests to use default_config and mock validate_pairs
...
Use default_config from conftest.py instead of user supplied config in user_data/hyperopt_conf
Mock validate pairs so tests don't fail if pairs don't exist/are removed from exchanges
2018-04-12 18:07:45 +02:00
enenn
4ac2afacfa
Use global backtest instance for backtesting tests
2018-04-12 18:07:45 +02:00
enenn
07c655cf41
Use os.path.join for file paths
2018-04-12 18:07:45 +02:00
enenn
a9ba0981c7
Use exchange id for Trade and exchange name for RPC
2018-04-12 18:07:44 +02:00
enenn
7a074f21bd
Remove duplicate result pytest fixture
2018-04-12 18:07:44 +02:00
enenn
fef8a4c978
Update tests related to whitelist
2018-04-12 18:07:44 +02:00
enenn
0c8ecf2b1f
Add 'get_tickers' function to exchange and use it for dynamic whitelists
2018-04-12 18:07:44 +02:00
enenn
5fc8250ee4
Add 'exchange_has' function to check if exchange supports specific API call
...
Catch ccxt.NotSupported exception instead of checking beforehand
2018-04-12 18:07:44 +02:00
enenn
e42403fecc
Change date to timestamp conversion method in backtesting
2018-04-12 18:07:44 +02:00
enenn
12a84cc30b
Mock fee during testing as 0.0025
...
Ensures profit calculations does not vary if exchange fees change, which can cause tests to fail
2018-04-12 18:07:44 +02:00
enenn
0ae5b75f33
Update order structure to ccxt generic structure instead of bittrex specific
2018-04-12 18:07:43 +02:00
enenn
4810d87044
Change buy/sell return value in tests
2018-04-12 18:07:43 +02:00
enenn
0b71f7186c
Replace 'get_wallet_health' and 'get_markets_summaries'
...
Both are now covered by 'get_markets'
2018-04-12 18:07:43 +02:00
Matthias Voppichler
d03f58417b
Fix timezone dependency in test
2018-04-11 20:19:13 +02:00
Matthias Voppichler
7123985325
Add test for format_ms_time
2018-04-10 20:10:20 +02:00
enenn
7eb5138276
Update 8m historical unittest data.
...
8m.json.gz should be a copy of 1m.json, 8m.json should be empty
2018-04-09 20:25:26 +02:00
enenn
d50445108e
Fix issue where datetime string was converted to timestamp with timezone dependent offset
2018-04-08 13:12:55 +02:00
enenn
65c5a0b308
Remove comment from donwload_backtest_data.py
2018-04-08 13:11:36 +02:00
enenn
ce3603f84f
Change ticker_interval from 5 to 5m in default strategy
2018-04-07 21:31:52 +02:00
Matthias
a26cdceb4b
Fix tests run in random order ( #599 )
...
* allow tests to run in random mode
* Fix random test mode for fiat-convert
* allow random test execution in persistence
* fix pep8 styling
* use "usefixtures" to prevent pylint "unused parameter" message
* add pytest-random-order to travis
2018-04-07 20:06:53 +02:00
enenn
21468d72d3
Fix pair order in test_rpc.py
2018-04-07 20:01:06 +02:00
enenn
4f4cb3698e
Revert editing health in conftest.py
2018-04-07 17:05:44 +02:00
enenn
21c5282eb1
Change backtest data from bittrex format to ccxt format
2018-04-07 16:58:26 +02:00
enenn
db46ad6502
Change ticker interval from minutes as integer to string (1m, 5m, 1h,...)
2018-04-07 16:57:47 +02:00
enenn
616006caf8
Replace 'ETH/BTC' with 'UNITTEST/BTC' to fix adx not generating if ETH/BTC ticker history is too short
2018-04-07 16:55:18 +02:00
enenn
cbc0b81d2e
Rename ticker history files from "BTC_XXX-1.json" to "XXX_BTC-1m.json"
2018-04-07 16:52:09 +02:00
enenn
c1c6ed6ed7
Replace 'BTC_XXX' with 'XXX/BTC' for pairs and 'XXX_BTC' for files
2018-04-07 16:51:50 +02:00
enenn
1f75636e56
[1/3] Add support for multiple exchanges with ccxt (objectified version) ( #585 )
...
* remove obsolete helper functions and make _state a public member.
* remove function assertions
* revert worker() changes
* Update pytest from 3.4.2 to 3.5.0
* Adapt exchange functions to ccxt API
Remove get_market_summaries and get_wallet_health, add exception handling
* Add NetworkException
* Change pair format in constants.py
* Add tests for exchange functions that comply with ccxt
* Remove bittrex tests
* Remove Bittrex and Interface classes
* Add retrier decorator
* Remove cache from get_ticker
* Remove unused and duplicate imports
* Add keyword arguments for get_fee
* Implement 'get_pair_detail_url'
* Change get_ticker_history format to ccxt format
* Fix exchange urls dict, don't need to initialize exchanges
* Add "Using Exchange ..." logging line
2018-04-06 10:57:08 +03:00
Matthias Voppichler
0203a48f3e
use local config-object for check_exchange
...
fix AttributeError: 'NoneType' object has no attribute 'get' when
starting the bot.
2018-04-04 22:05:17 +02:00
Michael Egger
9019f6492f
define constants on module level ( #596 )
2018-04-02 16:42:53 +02:00
Michael Egger
5420bb9f6d
Merge pull request #594 from xmatthias/obj_ccxt_conv
...
Conversion script for Ticker history data
2018-03-31 17:58:00 +02:00
Matthias Voppichler
2f40e23dcc
don't check negated if both trees are handled
2018-03-31 17:28:54 +02:00
Matthias Voppichler
a4906c477e
Add handling for gzip files
2018-03-30 23:30:23 +02:00
Gerald Lonlas
7cafd1f17e
Update exchange unit tests
2018-03-30 13:52:25 -07:00
Matthias Voppichler
5bd79546ab
Disable dynamic whitelist
...
Revert regression introduced in refactoring for objectify
2018-03-30 22:38:09 +02:00
Gerald Lonlas
3d2c6a22a3
Fix test_validate_pairs()
2018-03-30 13:31:13 -07:00
Gerald Lonlas
052404ffbd
Check if the exchange is supported
2018-03-30 13:14:35 -07:00
Gerald Lonlas
96b2210c0f
Change deprecated logger.warn by warning
2018-03-30 12:11:06 -07:00
gcarq
24aa6a1679
adapt test_download_backtesting_testdata
2018-03-29 20:17:11 +02:00
gcarq
3775fdf9c7
change column order assertions
2018-03-29 20:16:46 +02:00
gcarq
fee8d0a2e1
refactor get_timeframe
2018-03-29 20:16:25 +02:00
gcarq
702402e1fe
simplify download_backtesting_testdata
2018-03-29 20:15:32 +02:00
gcarq
4f2d3dbb41
parse_ticker_dataframe: use as_index=False to keep date column
2018-03-29 20:14:43 +02:00
gcarq
02aacdd0c8
parse_ticker_dataframe: group dataframe by date
2018-03-29 17:12:49 +02:00
gcarq
872bbadded
add test_load_custom_strategy()
2018-03-27 18:29:51 +02:00
gcarq
6a12591248
change strategy override condition
2018-03-27 18:20:15 +02:00
gcarq
df57c32076
only override strategy if other than DEFAULT
2018-03-27 18:15:49 +02:00
gcarq
f78044da6d
fix method docs
2018-03-27 16:32:58 +02:00
gcarq
157f7da8ce
remove obsolete assertions
2018-03-27 16:32:58 +02:00
gcarq
a356edb117
implement '--strategy-path' argument
2018-03-27 16:32:58 +02:00
gcarq
5fb6fa38aa
apply __slots__ to resolver and reintroduce type conversations
2018-03-27 16:32:58 +02:00
gcarq
99e890bc99
simplify resolver constructor
2018-03-27 16:32:58 +02:00
gcarq
280886104c
strategy: remove unneeded population methods in resolver
2018-03-27 16:32:58 +02:00
Janne Sinivirta
1cec06f808
Merge pull request #578 from gcarq/feature/enhance-strategy-resolving
...
enhance strategy resolving
2018-03-27 12:44:33 +03:00
Janne Sinivirta
85a81b18a3
Merge pull request #586 from xmatthias/obj_backtest_pr2
...
fix backtest --export format
2018-03-27 12:43:52 +03:00
Matthias Voppichler
a182cab27f
fix backtest --export format
...
reverts regression introduced in c623564
2018-03-26 20:28:51 +02:00
gcarq
b254ff9b41
Merge 'develop' into feature/enhance-strategy-resolving
2018-03-26 16:23:25 +02:00
Samuel Husso
0a32d38ad9
exchange: fix get_ticker_history test
2018-03-26 09:24:50 +03:00
Samuel Husso
3069a422e9
Conftest: use coins that we know are in bittrex, added a new conf for ccxt unittest
2018-03-26 09:24:22 +03:00
Samuel Husso
1b4c1980c2
exchange: capitalize class name
2018-03-26 09:23:42 +03:00
gcarq
611bb52d1f
log hyperopt progress to stdout instead to the logger
2018-03-25 22:57:40 +02:00
gcarq
f374a062e1
remove freqtrade/logger.py
2018-03-25 21:43:00 +02:00
gcarq
fa7f74b4bc
use native python logger
2018-03-25 21:43:00 +02:00
gcarq
3f8d7dae39
make name a required argument and add fallback to getEffectiveLevel
2018-03-25 21:42:03 +02:00
gcarq
6b47c39103
remove invalid mock
2018-03-25 15:12:39 +02:00
gcarq
bd2a6467fe
adapt argument description and metavar
2018-03-25 15:12:39 +02:00
gcarq
3cee94226f
fix flake8 warnings
2018-03-25 15:12:39 +02:00
gcarq
a38c2121cc
adapt tests
2018-03-25 15:12:39 +02:00
gcarq
b4d2a3f495
refactor StrategyResolver to work with class names
2018-03-25 15:12:39 +02:00
gcarq
6e5c14a95b
fix mutable default argument
2018-03-25 15:12:39 +02:00
gcarq
ca9c5edd39
rename Strategy into StrategyResolver
2018-03-25 15:12:39 +02:00
Matthias Voppichler
f51ef1a791
refactor format_ms_time to misc.py
2018-03-25 13:38:50 +02:00
Matthias Voppichler
016232a8e9
Revert OHLVC dataformat to ccxt format
...
* Also fixes backtesting - but data must be refreshed for now as no
conversation is happening yet
2018-03-25 13:32:46 +02:00
Matthias Voppichler
dbb0a6261f
don't raise exceptions from get_ticker_history
2018-03-25 13:03:21 +02:00
Matthias Voppichler
b07ee26e08
Revert testing exchange to bittrex
2018-03-25 12:57:59 +02:00
Matthias Voppichler
ae803474f9
switch rpc_telgram to new style and make it pass
2018-03-24 20:59:25 +01:00
Matthias Voppichler
0a068db285
Switch rpc_test to new currency style
2018-03-24 20:59:09 +01:00
gcarq
3f4261ad1e
use correct return_code if an error occured
2018-03-24 20:56:27 +01:00
gcarq
4c97ee45dd
return None if subcommand has been executed
2018-03-24 20:55:10 +01:00
gcarq
9d443b8bd8
fix reference before assignment
2018-03-24 20:54:46 +01:00
Matthias Voppichler
32222ae6ef
Fix tests in acl_pair
2018-03-24 20:42:51 +01:00
Matthias Voppichler
82a2144296
change format of health fixture and get_market_summaries fixture
2018-03-24 20:36:33 +01:00
Matthias Voppichler
22ef860312
Change freqbottest currencies
2018-03-24 20:32:15 +01:00
Matthias Voppichler
a6587b209f
freqtradebot_tests - change currency to new format
2018-03-24 20:11:42 +01:00
Matthias Voppichler
609c1eee55
fix persistance tests
2018-03-24 20:03:31 +01:00
Matthias Voppichler
ab6e32f6bb
have backtest and dry-mode working
...
partially revert d20e3f79be
- Changing the
OHLVC format should not be done at this time
2018-03-24 19:51:40 +01:00
Matthias Voppichler
85af68d807
ccxt - make backtesting work
2018-03-24 19:45:23 +01:00
Samuel Husso
eb4ac73b78
remove last bittrex references so that bot is runnable
2018-03-22 08:29:52 +02:00
gcarq
b8f322d8f6
revert worker() changes
2018-03-21 19:27:30 +01:00
Samuel Husso
d20e3f79be
analyze to use the ccxt OHLCV format
...
setup: remove bittrex and add requirement to ccxt
freqtradebot: update market summaries to ccxt format
2018-03-21 19:57:58 +02:00
gcarq
9df5e09a82
remove function assertions
2018-03-21 18:50:18 +01:00
gcarq
9559f50eec
remove obsolete helper functions and make _state a public member.
2018-03-21 18:50:18 +01:00
Samuel Husso
40a0689183
exhcange now uses ccxt in dry_run, update config
2018-03-21 19:40:16 +02:00
Samuel Husso
14d16d573c
Remove bittrex related interface code and tests
2018-03-21 19:31:15 +02:00
gcarq
a5c62b5c10
rpc/rpc.py: fix indentation
2018-03-20 19:50:04 +01:00
gcarq
f6df7df9bf
modify args typehints
2018-03-20 19:50:04 +01:00
gcarq
33ddc540cf
don't shadow built-in name tuple
2018-03-20 19:50:04 +01:00
gcarq
7078bc00bd
rpc: apply correct typehints; remove redundant parentheses
2018-03-20 19:50:04 +01:00
gcarq
d2aea7bdc1
optimize imports
2018-03-20 19:50:04 +01:00
gcarq
d8689e5045
set correct typehint; remove unused argument
2018-03-20 19:48:03 +01:00
gcarq
5327533188
optimize: set correct typehints
2018-03-20 19:48:03 +01:00
gcarq
5532cedcdd
get_signal: remove redundant parentheses
2018-03-20 19:48:03 +01:00
gcarq
ed71340a90
arguments: apply missing typehints
2018-03-20 19:48:03 +01:00
gcarq
1074415d30
remove invalid typehint from ctor
2018-03-20 19:48:03 +01:00
gcarq
90be78b283
CryptoFiat: inherit from object explicitly
2018-03-20 19:48:03 +01:00
gcarq
2de63133ae
indicator_helpers: apply correct typehints
2018-03-20 19:48:03 +01:00
gcarq
31e2aa0f38
misc: apply missing typehints
2018-03-20 19:48:03 +01:00
gcarq
cae7be4447
add fee param to function doc
2018-03-20 19:48:03 +01:00
gcarq
a6a38735b1
backtesting: only respect max_open_trades with realistic_simulation
2018-03-20 19:38:33 +01:00
gcarq
93931eb32b
fix typo in _generate_text_table
2018-03-19 23:05:12 +01:00
gcarq
967bf417df
Merge branch 'develop' into feature/objectify
2018-03-19 19:10:19 +01:00
Matthias
b67257db35
replace pymarketcap with coinmarketcap ( #562 )
...
* replace pymarketcap with coinmarketcap
* fix tests to use coinmarketcap instead of pymarketcap
* use arraypos 0
* update setup.py from pymarketcap to coinmarketcap
* Add test to check for unsupported Crypto currency
2018-03-19 18:40:40 +01:00
Matthias
94caf82ab2
Fix test_dataframe when ran standalone ( #546 )
...
* Fix dataframe test when ran standalone
* Fix standalone tests in hyperopt and optimize tests
2018-03-19 18:30:14 +01:00
Matthias
a99c8c4046
replace pymarketcap with coinmarketcap ( #562 )
...
* replace pymarketcap with coinmarketcap
* fix tests to use coinmarketcap instead of pymarketcap
* use arraypos 0
* update setup.py from pymarketcap to coinmarketcap
* Add test to check for unsupported Crypto currency
2018-03-18 00:42:24 +01:00
Michael Egger
fd44c0e59e
allow max_open_trades to be zero ( #561 )
2018-03-17 10:40:50 +01:00
Gérald LONLAS
e6732e01e1
Use ticker_interval defined in Strategy() instead of a mix between strategy and config file ( #540 )
2018-03-15 23:48:22 +01:00
Matthias
e907c48438
Fix test_dataframe when ran standalone ( #546 )
...
* Fix dataframe test when ran standalone
* Fix standalone tests in hyperopt and optimize tests
2018-03-15 23:37:34 +01:00
Gerald Lonlas
173b640b34
Increase Hyperopt() code coverage
2018-03-05 22:36:15 -08:00
Gerald Lonlas
0bb7cc8ab5
Hyperopt: fix 'Ran out of input' error
2018-03-05 20:49:45 -08:00
Gerald Lonlas
a8fd7a69ab
Increase Configuration._load_config_file() code coverage
2018-03-05 19:57:45 -08:00
Gerald Lonlas
ea7b25766b
Increase Hyperopt() code coverage
2018-03-05 00:35:42 -08:00
Gerald Lonlas
1d43e04725
Increase FreqtradeBot() code coverage
2018-03-05 00:11:13 -08:00
Gerald Lonlas
ba664c4341
Increase Configuration._load_hyperopt_config() code coverage
2018-03-04 23:12:34 -08:00
Gerald Lonlas
aa22585d40
Add unit test for misc.common_datearray()
2018-03-04 23:05:44 -08:00
Gerald Lonlas
152c4483c8
Configuration() sends a msg to user when config file not found
2018-03-04 20:22:40 -08:00
Gerald Lonlas
d685646446
Arguments(): Change private methods to public
2018-03-04 17:51:57 -08:00
Gerald Lonlas
de468c6fc8
Fix wrong realistic_simulation implementation in Hyperopt
2018-03-04 02:31:25 -08:00
Gerald Lonlas
25d0e5f942
Merge commit '4dca84817eb1b62047a9e4d282254392ea978e44' into feature/objectify
2018-03-04 02:06:40 -08:00
Gerald Lonlas
6fcc173489
Merge commit '35c51c73f713bfdb81bd84721f3dceab0c19e819' into feature/objectify
2018-03-04 01:33:39 -08:00
Gerald Lonlas
bb1e38f584
Merge commit '8eed9c08a6cffdd7c6b43fa3db2c3e08d1657f43' into feature/objectify
2018-03-04 01:01:19 -08:00
Gerald Lonlas
c52e688979
Fix unit tests in test_arguments.py and test_configuration.py
2018-03-04 00:58:20 -08:00
Gerald Lonlas
2001c20426
Merge commit '028700d86f130d5c3cbfef4e422dc701340f58c9' into feature/objectify
2018-03-04 00:53:27 -08:00
Gerald Lonlas
5a6f6c7138
Merge commit 'd13d6736b92ebfed1e172b60c77029e6c10b29a6' into feature/objectify
2018-03-04 00:51:49 -08:00
Gerald Lonlas
722ed48d9d
Merge commit 'e3d222912dfd775b7456a44d6d6055430711f251' into feature/objectify
2018-03-04 00:51:22 -08:00
Gerald Lonlas
38510d4b03
Merge commit '1134c81aad049d4357c8f299ffc801218f3d9574' into feature/objectify
2018-03-03 17:26:06 -08:00
Gerald Lonlas
84759073d9
Refactor Configuration() to apply common configurations all the time and to remove show_info
2018-03-03 13:43:14 -08:00
Gerald Lonlas
0632cf0f44
Merge commit 'aa7aeb046ef72412cadd094666efc8e4c503ef2d' into feature/objectify
2018-03-02 23:28:36 -08:00
Gerald Lonlas
bbb1a31fda
Merge commit 'c5400b6c37c7de64a86c9db39a4d0fa9169b35f6' into feature/objectify
2018-03-03 10:01:06 +08:00
Gerald Lonlas
3ba365ceb2
Merge commit 'fecd9f830ec4e8e9d5d1f3a70310d42bbe3f274a' into feature/objectify
2018-03-03 09:39:27 +08:00
Gerald Lonlas
390501bac0
Make Pylint Happy chapter 1
2018-03-03 09:33:54 +08:00
Gerald Lonlas
d274f13480
Remove Memory profiler in Backtesting
2018-03-03 09:33:54 +08:00
Gerald Lonlas
6148f98980
Fix Telegram unit test when using an internet connection
2018-03-03 09:33:54 +08:00
Gerald Lonlas
8bd0f4d0d7
Remove ugly pprints
2018-03-03 09:33:54 +08:00
Gerald Lonlas
bc8ca491cd
Minor updates
2018-03-03 09:33:54 +08:00
Gerald Lonlas
6ef7b7d93d
Complete Backtesting and Hyperopt unit tests
2018-03-03 09:33:54 +08:00
Gerald Lonlas
f4ec073099
Move RPC and Telegram to classes
2018-03-03 09:33:54 +08:00
Gerald Lonlas
766ec5ad0f
Update unit tests to be compatible with this refactoring
...
Updated:
- test_acl_pair to be compatible with FreqtradeBot() class
- test_default_strategy.py to be compatible with Analyze() class
2018-03-03 09:33:54 +08:00
Gerald Lonlas
383fb6d20e
Add a class Arguments to manage cli arguments passed to the bot
2018-03-03 09:33:54 +08:00
Gerald Lonlas
1d251d6151
Move Backtesting to a class and add unit tests
2018-03-03 09:33:54 +08:00
Gerald Lonlas
db67b10605
Remove Singleton from Strategy()
2018-03-03 09:33:54 +08:00
Gerald Lonlas
4da033c7a2
Refactor main.py
...
- Update, clean, and improve code coverage on main.py
- Move bot trading logic into Freqtradebot() class
- Move unit tests to test_freqtradebot, add more coverage tests
2018-03-03 09:33:54 +08:00
Gerald Lonlas
a8b8ab20b7
Move Analyze to a class
2018-03-03 09:33:54 +08:00
Gerald Lonlas
e025dc0dba
Keep in misc file only tool functions
2018-03-03 09:33:54 +08:00
Gerald Lonlas
89e3729955
Add a Configuration class that generate the Bot config from Arguments
2018-03-03 09:33:54 +08:00
Gerald Lonlas
3b9e828fa4
Add a class Logger to manage the logging messages
...
This class will evolve later to support color logging. For now
it is used to not repeat the logging configuration everywhere.
2018-03-03 09:33:54 +08:00
Gerald Lonlas
cf753d5c40
Add a Enum class State that contains Bot running states
2018-03-03 09:33:54 +08:00
Gerald Lonlas
314ab0a84f
Add a Constants class that contains Bot constants
2018-03-03 09:33:54 +08:00
Janne Sinivirta
bf54692efb
use log_has helper in tests
2018-02-24 22:18:19 +02:00
Janne Sinivirta
76c5cdc6e3
more minor tweaks to log messages
2018-02-24 20:30:16 +02:00
Janne Sinivirta
3e89b9685d
remove unnecessary detail from log message
2018-02-24 19:28:51 +02:00
Janne Sinivirta
646d1f7316
better log message for outdated history
2018-02-24 19:25:08 +02:00
Janne Sinivirta
67ad9e9351
simplify some error message statements
2018-02-24 19:19:43 +02:00
Janne Sinivirta
160af91f9a
improving log messages
2018-02-24 18:58:57 +02:00
Janne Sinivirta
5e73f3431c
log how old the last received tick is
2018-02-24 16:59:20 +02:00
Samuel Husso
35c51c73f7
Merge pull request #518 from gcarq/cleaning_up_backtesting
...
Cleaning up backtesting/hyperopt
2018-02-18 10:18:00 +02:00
Janne Sinivirta
fac122891f
remove stoploss parameter from backtest, it is loaded from strategy
2018-02-17 11:14:03 +02:00
Janne Sinivirta
d1bdbcd273
Fix wrong duration calculation in hyperopting
2018-02-16 22:08:20 +02:00
Janne Sinivirta
bf72b5bc37
make args available for optimizer and use them instead of guessing from params
2018-02-16 14:00:12 +02:00
Janne Sinivirta
ec8bf82695
combine shared backtest/hyperopt flags
2018-02-15 15:23:49 +02:00
Janne Sinivirta
f64c8cc9ce
realistic should be False by default and enabled with a --realistic-simulation flag
2018-02-15 13:11:17 +02:00
Samuel Husso
028700d86f
Merge pull request #517 from gcarq/fix-backslash-again
...
Correctly join paths in ticker loading
2018-02-15 10:38:37 +02:00
Janne Sinivirta
a1ba57186b
correctly join paths and debug log the found results
2018-02-15 08:59:02 +02:00
Janne Sinivirta
459611516c
enable stochastic and fisherRSI in default strategy
2018-02-14 13:02:31 +02:00
Janne Sinivirta
340ab0214b
add generic fishers inverse transformation with smoothing
2018-02-14 10:17:43 +02:00
Janne Sinivirta
178d1ed423
add ehlers super smoother
2018-02-14 10:16:53 +02:00
Janne Sinivirta
cf013140a6
add went_up and went_down helpers
2018-02-13 11:37:59 +02:00
Samuel Husso
e3d222912d
Merge pull request #511 from gcarq/hyperopt_selectable_spaces
...
Allow selecting Hyperopt search space
2018-02-12 08:28:24 +02:00
Janne Sinivirta
3e07d41fa9
remove mention of sell space
2018-02-12 07:01:51 +02:00
Janne Sinivirta
b1230b27b7
adjust unit test to match new --spaces format
2018-02-11 19:22:13 +02:00
Janne Sinivirta
fe28addb51
specify allowed values for --spaces flag
2018-02-11 19:17:04 +02:00
Janne Sinivirta
9bcdc8e14b
remove unnecessary condition
2018-02-11 15:25:30 +02:00
Janne Sinivirta
2ce03ab1b5
make Strategy store roi and stoploss values as numbers to avoid later casting
2018-02-11 15:25:30 +02:00
Janne Sinivirta
5190cd507e
start with simpler condition
2018-02-11 14:37:12 +02:00
Janne Sinivirta
2dd2f31431
remove repeated condition
2018-02-11 14:31:37 +02:00
Janne Sinivirta
dc105d5eae
better names for row variables
2018-02-11 14:24:19 +02:00
Janne Sinivirta
c62356438a
loop over arrays instead of dataframes
2018-02-11 14:18:57 +02:00
Janne Sinivirta
f14d6249e0
allow selecting hyperopt searchspace
2018-02-09 20:59:06 +02:00
kryofly
12a19e400f
tests: more backtesting testing ( #496 )
...
* tests: more backtesting testing
* tests: hyperopt
* tests: document kludge
* tests: improve test_dataframe_correct_length
* tests: remove remarks
2018-02-08 21:49:43 +02:00
Janne Sinivirta
bf46f2e50d
short circuit check for roi threshold
2018-02-06 21:37:11 +02:00
Janne Sinivirta
4760dd699d
remove surprisingly slow logging line
2018-02-06 21:37:11 +02:00
Janne Sinivirta
22c48d5cef
use faster time diff
2018-02-06 21:37:11 +02:00
Janne Sinivirta
0454b4c8d5
remove unnecessary Decimal construction
2018-02-06 21:37:11 +02:00
Janne Sinivirta
5c02f0983d
let Strategy hold a sorted roi map
2018-02-06 21:37:11 +02:00
Janne Sinivirta
a28ffcbcf7
remove slow unnecessary table scan
2018-02-06 21:21:47 +02:00
Janne Sinivirta
a071571eac
switch to faster short circuiting condition
2018-02-06 12:13:12 +02:00
Janne Sinivirta
5cf2dd79f2
don't reset index if not needed
2018-02-06 11:34:01 +02:00
Janne Sinivirta
cf7c6d2e9c
switch to properly using dates as indexes, makes date based searching and slicing a lot faster
2018-02-06 11:34:00 +02:00
Janne Sinivirta
8c7b29734e
use date info to calculate trade durations
2018-02-06 11:34:00 +02:00
Janne Sinivirta
fecd9f830e
use substitution in argparse
2018-02-04 15:48:41 +02:00
Gérald LONLAS
d24cd89304
Remove Strategy fallback to default strategy ( #490 )
...
* Remove Strategy fallback to default strategy
2018-02-02 11:01:09 +02:00
Samuel Husso
d5435a9962
Merge pull request #487 from gcarq/pyup-update-pytest-3.3.2-to-3.4.0
...
Update pytest to 3.4.0
2018-02-01 08:21:45 +02:00
kryofly
9f6aedea47
telegram refactor 1/ ( #389 )
...
* telegram refactor 1/
move out freqcode from telegram
* telegram refactor 2/
move out rpc_trade_status
* telegram refactor 3/
move out rpc_daily_profit
* telegram refactor /4
move out rpc_trade_statistics
* 5/
* rpc refactor 6/
* rpc refactor 7/
* rpc refactor 8/
* rpc refactor 9/
* rpc refactor 10/
cleanups
two tests are broken
* fiat
* rpc: Add back fiat singleton usage
* test: rpc_trade_statistics
Test that rpc_trade_statistics can handle trades that lacks
trade.open_rate (it is set to None)
* test: rpc_forcesell
Also some cleanups
* test: telegram.py::init
* test: telegram test_cleanup and test_status
* test rcp cleanup
2018-02-01 08:05:23 +02:00
Janne Sinivirta
45975c9677
set capturing level
2018-01-31 19:37:38 +02:00
Janne Sinivirta
0a42a0e814
Merge pull request #479 from gcarq/fix/issue-478
...
Fix Backtesting / Hyperopt ticker_interval download
2018-01-31 17:15:47 +02:00
Janne Sinivirta
5b71d5f3a1
Merge pull request #488 from jblestang/fixing_bug_in_backtesting_causing_to_much_sells
...
Fixing bug in backtesting preventing sell events to be executed
2018-01-31 16:42:02 +02:00
Jean-Baptiste LE STANG
07b7828f39
Fixing bug in backtesting causing to much sells
2018-01-31 07:59:45 +01:00
Jean-Baptiste LE STANG
d53d4b808b
Fixing buy and sell order
2018-01-30 09:38:24 +01:00
Gerald Lonlas
d313eb812d
Forgot one args.ticker_interval
2018-01-29 23:07:54 -08:00
Gerald Lonlas
cac2f2b58b
Wrong assert condition
2018-01-29 23:04:28 -08:00
Gerald Lonlas
321e3ede30
Fix hyperopt ticker interval download
2018-01-29 22:53:28 -08:00
Gerald Lonlas
524290d678
Fix backtesting ticker interval download
2018-01-29 22:51:29 -08:00
Samuel Husso
990a609afd
test_analyze: update dataframe magic len check so that test pass
2018-01-30 07:26:00 +02:00
Samuel Husso
271e11e065
update backtesting data for the latest market craze
2018-01-30 07:01:44 +02:00
Jean-Baptiste LE STANG
0d04da3158
Removing unecessary buy condition when sell_profit_only
2018-01-29 13:33:49 +01:00
Jean-Baptiste LE STANG
94172091ae
Refactoring the sell conditions evaluation to share the function with backtesting
2018-01-29 10:10:19 +01:00
Janne Sinivirta
21b142df40
Merge pull request #453 from ermakus/fix_usdt_balance
...
Fix usdt balance
2018-01-29 08:48:38 +02:00
Janne Sinivirta
a5155b3b20
Merge pull request #465 from gcarq/fix/increase_test_coverage
...
Fix/increase test coverage
2018-01-29 08:47:26 +02:00
Anton Ermak
807c067701
More test coverage
2018-01-29 10:55:42 +07:00
Gérald LONLAS
b8af493b56
Merge pull request #459 from rybolov/develop
...
Read .gzip files in testdata/
2018-01-28 19:27:36 -08:00
Michael Smith
e438422a22
test_optimize.py:
...
Added spaces for flake8 compliance.
2018-01-29 11:21:01 +08:00
Michael Smith
b8f2341998
BTC_UNITEST-8.json:
...
Added to test gzip loading before .json file.
2018-01-29 10:25:24 +08:00
Michael Smith
4799e1ed44
tests/optimize/test_optimize.py:
...
Added test for gzip ticker file.
BTC_UNITEST-8.json.gz:
Added to test gzip loading.
2018-01-29 10:22:55 +08:00
Michael Smith
e3b295cecc
tests/optimize/test_optimize.py:
...
Added test for gzip ticker file.
BTC_UNITEST-8.json.gz:
Added to test gzip loading.
2018-01-29 10:22:34 +08:00
Gerald Lonlas
20af5049af
Thanks Flake8
2018-01-28 16:34:38 -08:00
Gerald Lonlas
3e777a9d87
Add unit test in misc.py to cover datesarray_to_datetimearray()
2018-01-28 16:25:15 -08:00
Gerald Lonlas
36fa5b827d
Add unit test on rpc_telegram.py
2018-01-28 16:18:10 -08:00
Gerald Lonlas
7ab2498544
Increase test coverage on optimize.py
2018-01-28 15:33:57 -08:00
Gerald Lonlas
df453803ce
Increase test coverage on rpc_telegram.py
2018-01-28 15:29:26 -08:00
Gerald Lonlas
fd9c62d1c4
Increase test coverage on strategy.py
2018-01-28 15:16:22 -08:00
Gerald Lonlas
25ab08f422
Fix Flake8 warning
2018-01-28 15:03:54 -08:00
Gerald Lonlas
d85b56a2bd
Add unit test for test_file_dump_json()
2018-01-28 14:38:30 -08:00
Gerald Lonlas
2bccaa31c9
Increase pylint score on misc.py
2018-01-28 14:28:28 -08:00
Gerald Lonlas
45a34be2ac
Add more unittest for trim_tickerlist() method
2018-01-28 14:20:20 -08:00
Gerald Lonlas
9f8539f13e
Remove unused code on Strategy interface
2018-01-28 13:21:25 -08:00
Michael Smith
f66958c34f
optimize/__init__.py:
...
Added support for gzip ticker data files if they exist.
2018-01-28 21:57:25 +08:00
Michael Smith
b44adaa5ab
Added support in /optimize for gzip ticker data files if they exist.
2018-01-28 21:52:27 +08:00
Jean-Baptiste LE STANG
cf4d25d547
Fixing wrong 'old dataframe detection mechanism' for long tickers( > 30 minutes)
2018-01-28 14:40:02 +01:00
Anton Ermak
45239724c6
Skip convert if balance is zero
2018-01-28 16:15:23 +07:00
Janne Sinivirta
bb470d0aea
Merge pull request #451 from gcarq/pyup-update-python-bittrex-0.2.2-to-0.3.0
...
Update python-bittrex to 0.3.0
2018-01-28 11:14:57 +02:00
Samuel Husso
40a78970e1
flake: remove requests as we dont use it
2018-01-28 11:09:03 +02:00
Anton Ermak
81ed7627bf
Unit test
2018-01-28 16:08:43 +07:00
Samuel Husso
8be94c4af4
remove custom timeout as the latest bittrex package version implemented it
2018-01-28 11:03:19 +02:00
Janne Sinivirta
9090715ae5
Merge branch 'develop' of github.com:gcarq/freqtrade into develop
2018-01-28 10:46:33 +02:00
Janne Sinivirta
a6a479f7aa
balances to min roi hyperopt settings
2018-01-28 10:46:22 +02:00
Gerald Lonlas
d824816880
Increase pylint score on test files
2018-01-28 00:28:41 -08:00
Gerald Lonlas
776dd4a0d5
Increase pylint score on strategy
2018-01-27 21:26:57 -08:00
Gerald Lonlas
67c6c380e1
Increase pylint score for fiat_convert
2018-01-27 18:23:08 -08:00
Janne Sinivirta
022fedb5d2
Merge pull request #416 from kryofly/plot_profit
...
Plot profit
2018-01-27 14:02:48 +02:00
Janne Sinivirta
67ddb2e7f8
lower precision for most search space variables
2018-01-27 09:51:06 +02:00
Janne Sinivirta
67995a2f49
remove unnecessary else statements
2018-01-26 19:02:26 +02:00
Janne Sinivirta
1eebbebed1
fix assert order
2018-01-26 19:02:25 +02:00
Janne Sinivirta
a5690e707d
remove unused parameters
2018-01-26 19:02:25 +02:00
Janne Sinivirta
0ff56c6e8d
use uppercase constant
2018-01-26 18:54:15 +02:00
Janne Sinivirta
e14007ced4
sort imports
2018-01-26 18:52:39 +02:00
Janne Sinivirta
42919e8864
give type hint for _CONF
2018-01-26 18:49:14 +02:00
Janne Sinivirta
5505845c6f
remove unused method parameter
2018-01-26 18:48:53 +02:00
Janne Sinivirta
95ab7c84bc
remove unnecessary else
2018-01-26 18:41:41 +02:00
Janne Sinivirta
f33923c784
fix typings for hyperopt code
2018-01-26 18:32:45 +02:00
Janne Sinivirta
a7a7c37121
add day counter to timeframe
2018-01-26 18:32:45 +02:00
Janne Sinivirta
b7e297ebda
remove unused loop variable
2018-01-26 11:50:00 +02:00
kryofly
fe2f779c47
Merge branch 'develop' into plot_profit
2018-01-26 10:07:48 +01:00
Gerald Lonlas
0baffd94a4
Fix test_clean_dry_run_db failing test
2018-01-25 21:05:10 -08:00
Janne Sinivirta
4fe6ae0bae
fix search space for min ROI
2018-01-25 22:32:46 +02:00
Janne Sinivirta
42087c9bfe
let hyperopt optimize ROI table
2018-01-25 11:12:00 +02:00
Janne Sinivirta
5007165908
add search space for ROI table
2018-01-25 09:34:26 +02:00
Janne Sinivirta
7dc63c06e7
Merge pull request #356 from kryofly/test_coverage
...
Test coverage
2018-01-25 09:31:06 +02:00
kryofly
30ca078cec
test: use pytest fixture
2018-01-24 11:05:27 +01:00
kryofly
a14d9d35c7
tests: run backtest single
2018-01-24 10:32:52 +01:00
Samuel Husso
c968b904de
Merge pull request #429 from gcarq/fix/issue-385
...
Fix dry_run db issue when open_order_id already exist
2018-01-24 07:25:26 +02:00
Janne Sinivirta
c400d15ed1
rip out hyperopt things from strategy, add indicator populating to hyperopt
2018-01-23 16:56:12 +02:00
Janne Sinivirta
a6cbc1ba16
Merge pull request #400 from gcarq/feature/custom_strategy
...
Allow custom strategy files
2018-01-23 15:25:18 +02:00
Samuel Husso
b11fe2f814
Merge pull request #424 from gcarq/feat/telegram-sell-msg
...
Feat/telegram sell msg
2018-01-23 10:59:05 +02:00
Gerald Lonlas
f4298a7323
Fix dry_run db issue when open_order_id exist
2018-01-22 23:23:29 -08:00
Samuel Husso
93bd63cfbe
get rid of / replacements, minor edit to outgoing msg
2018-01-23 08:55:22 +02:00
Gerald Lonlas
e220ad5389
Remove useless USDT_BTC filename conversion
2018-01-22 21:40:07 -08:00
Gerald Lonlas
41aa8f18fb
Add ticker_interval support in strategy class
2018-01-22 20:51:39 -08:00
Gerald Lonlas
5eb7aa07a1
Update bot version to 0.16.0
...
This commit is major core upgrade and introduce breaking change.
2018-01-22 20:51:39 -08:00
Gerald Lonlas
eac6e05392
Fix error when config does not have stoploss
2018-01-22 20:51:39 -08:00
Gerald Lonlas
3e8088d99c
Avoid hyperopt to fail if a guard was removed from SPACE but still defined in populate_buy_trend()
2018-01-22 20:51:39 -08:00
Gerald Lonlas
1c7da95fed
Move hyperopt_trials.pickle to user_data/
2018-01-22 20:51:39 -08:00
Gerald Lonlas
baae374899
Move hyperopt_conf.py into user_data/
2018-01-22 20:51:39 -08:00
Gerald Lonlas
be75522507
Fix flake8
2018-01-22 20:51:39 -08:00
Gerald Lonlas
dfd61bbf1d
Implement More triggers and guards from PR#394
2018-01-22 20:51:39 -08:00
Gerald Lonlas
c46d78b4b9
Decouple strategy from analyse.py
2018-01-22 20:51:39 -08:00
Janne Sinivirta
f7e979f3ba
Merge pull request #423 from gcarq/feature/Crypto2Fiat_Singleton
...
Convert CryptoToFiatConverter into a Singleton
2018-01-22 16:24:19 +02:00
Samuel Husso
757a46ab12
ticker_interval as int (instead of string)
2018-01-22 10:39:26 +02:00
Samuel Husso
bce6a7be61
rebase develop and update tests
2018-01-22 09:39:11 +02:00
Samuel Husso
6abbf45042
Update tests to reflect new selling msg
2018-01-22 09:36:56 +02:00
Samuel Husso
ddd62277c2
add total amount of trades to /status
2018-01-22 09:36:56 +02:00
Samuel Husso
bd356f3eb4
when selling, show more information about the trade in the message
2018-01-22 09:36:56 +02:00
kryofly
aec481b6b3
tests: 100% cov bittrex.py
2018-01-22 08:30:00 +01:00
Gerald Lonlas
28b1ecb109
Convert CryptoToFiatConverter into a Singleton
...
Result in a speed up of the unittest from 60s to 4s
Because it cost time to load Pymarketcap() every time we create
a CryptoToFiatConverter, it worth it to change it into a
Singleton.
2018-01-21 16:41:59 -08:00
Jean-Baptiste LE STANG
c0d3ac5534
With a better unit test thanks @glonlas
2018-01-21 15:02:41 +01:00
Jean-Baptiste LE STANG
960d088deb
Fixing the 'BV' key being missing for USDT
2018-01-21 15:02:41 +01:00
kryofly
19ef682250
Merge branch 'develop' into plot_profit
2018-01-21 14:13:08 +01:00
kryofly
6171be4f46
Use dates on plot profit/dataframe
...
* plot_dataframe also support --timerange
* Both default to tkinter as matplotlib plotting backend
2018-01-21 13:44:30 +01:00
Gerald Lonlas
ad2a5f1717
Remove optimize.load_data() that is called twice
2018-01-20 15:35:13 -08:00
Gerald Lonlas
998081785e
Fix the issue get_signal() missing 1 required positional argument: Interval
2018-01-20 15:05:01 -08:00
kryofly
e94e6292e9
Merge branch 'develop' into test_coverage
2018-01-20 22:01:03 +01:00
Gérald LONLAS
d2371b5bac
Merge pull request #391 from jblestang/support_multiple_ticker
...
Support multiple tickers
2018-01-20 11:02:42 -08:00
Jean-Baptiste LE STANG
f1efaffe81
with fXXXXX8
2018-01-20 19:30:47 +01:00
Jean-Baptiste LE STANG
36797cda30
Merge branch 'develop' into support_multiple_ticker
2018-01-20 19:25:47 +01:00
Jean-Baptiste LE STANG
081d3932b6
Fixing bug report #406 + unit test
2018-01-20 14:44:13 +01:00
kryofly
cf266a67ad
Merge branch 'develop' into test_coverage
2018-01-20 10:06:53 +01:00
kryofly
8bbe8a7f95
Merge branch 'develop' into plot_profit
2018-01-20 08:33:28 +01:00
Janne Sinivirta
a3f84d9f21
Merge pull request #409 from gcarq/feature/add_num_trade_daily
...
Add number of trades in /daily command
2018-01-20 08:23:50 +02:00
Gerald Lonlas
fb110ccfd2
Add number of trades in /daily command
2018-01-19 22:14:31 -08:00
kryofly
e3088647fc
Merge branch 'develop' into test_coverage
2018-01-19 08:40:40 +01:00
kryofly
9d75b63a6e
Merge branch 'develop' into plot_profit
2018-01-19 07:26:04 +01:00
kryofly
4a9e1cb345
Merge branch 'develop' into backtest-export
2018-01-19 07:02:38 +01:00
Gérald LONLAS
14d16f2574
Merge pull request #357 from kryofly/timeperiod
...
Timeperiod
2018-01-18 20:26:44 -08:00
Gérald LONLAS
98f808326f
Merge pull request #395 from jblestang/fix_signal_overlaps
...
Fix signal overlaps
2018-01-18 19:47:55 -08:00
Janne Sinivirta
6cafa9120c
Merge pull request #392 from stephendade/timeoutfix3
...
Order timeouts - added exception catching and rpc messaging
2018-01-18 10:18:48 +02:00
Jean-Baptiste LE STANG
c9e1fd3fc4
Merge branch 'develop' into support_multiple_ticker
2018-01-17 21:29:36 +01:00
kryofly
423b251467
tests: speed up backtests
2018-01-17 18:19:39 +01:00
toto
b34621fadf
fixing default ticker_interval
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
42a135fbd9
fix typo in API Bittrex
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
8e5de365a5
Ticker in the conf is now an enum string
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
658d16c2cd
really fixing this stuff ...
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
3a4ff4c76c
fixing a duplicated unit test without config
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
7b292d5ca3
backtesting takes its ticker_interval from the config file, else from the command line options
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
2509ce030d
Refreshing pair of only selected ticker_interval
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
15189c28ed
fixing pep8 compliance
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
a0df566b2b
fix unitest file for 30 minutes ticker
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
e2e2005567
Adding 30 minutes, 1 hour, 1 day tickers
2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
0d709847ee
Fixing the doc and and the default value of sell_profit_only to False
2018-01-17 11:31:26 +01:00
Stephen Dade
04be438b35
Better exception handling for check_handle_timedout
2018-01-17 19:51:27 +11:00
toto
5723039637
fXXXXXXk8
2018-01-16 21:21:43 +01:00
toto
6dd48fb820
Adding unitest
2018-01-16 21:18:43 +01:00
toto
12ffbf5047
- get_signal to return both SELL and BUY signal
...
- _process modified so that we do not sell if we would buy afterwards
- execute_sell modified so that that min_roi_reached is not executed if we would buy afterwards
Veuillez saisir le message de validation pour vos modifications. Les lignes
2018-01-16 20:22:15 +01:00
Janne Sinivirta
c670ccfd37
add trigger +DI crossed above -DI
2018-01-16 18:52:06 +02:00
Janne Sinivirta
8896b39231
add heikenashi reversal bullish trigger to hyperopt
2018-01-16 18:52:06 +02:00
Janne Sinivirta
ce963aae58
add macd < 0 guard to hyperopt
2018-01-16 18:52:06 +02:00
Janne Sinivirta
dc01807b3c
switch ema5 trigger to ema3 cross trigger
2018-01-16 18:52:06 +02:00
Janne Sinivirta
fadac5fe4a
remove too aggressive trigger
2018-01-16 18:52:06 +02:00
Janne Sinivirta
99260735ae
remove broken bbands trigger from hyperopt. add two working bbands triggers
2018-01-16 18:52:06 +02:00
Janne Sinivirta
3e1a70bbb2
enable correct bollinger bands
2018-01-16 18:52:06 +02:00
Janne Sinivirta
fd3568d48f
Merge pull request #393 from gcarq/balancing_hyperopt_2
...
Balancing hyperopt objective
2018-01-16 18:21:50 +02:00
Janne Sinivirta
501be8a3bc
adjust the hyperopt objective function to emphasize profit and allow more variation in trade counts
2018-01-16 16:36:50 +02:00
Janne Sinivirta
38fe7ec7cd
adjust default target values for hyperopt
2018-01-16 16:35:48 +02:00
Stephen Dade
01e10014bb
Order timeouts - added exception catching and rpc messaging
2018-01-16 22:21:05 +11:00
kryofly
0e58ab7e01
more advanced use of --timerange
2018-01-16 00:15:49 +01:00
kryofly
71bb348698
rename --timeperiod to --timerange
2018-01-15 21:49:06 +01:00
Anton Ermak
5db04b15e7
Balance Estimated BTC - fix test
2018-01-15 12:08:56 +07:00
Anton Ermak
dd9ab5264d
Estimated BTC and fiat value for balance
2018-01-15 12:08:42 +07:00
Janne Sinivirta
ec7bfba8df
add comment about checking the new total profit logging
2018-01-14 13:11:19 +02:00
Janne Sinivirta
f1e176d35c
log total profit in percentages also
2018-01-14 13:10:25 +02:00
Janne Sinivirta
92241baade
log the loss value
2018-01-14 13:09:39 +02:00
kryofly
f61012097c
Merge branch 'develop' into timeperiod
2018-01-14 10:23:54 +01:00
kryofly
3277e491f1
support download for multiple testdata sets
2018-01-13 17:40:59 +01:00
kryofly
fc2e8b321f
test for bittrex to reach 100% cov again
2018-01-13 14:29:16 +01:00
kryofly
a62a5f814a
main returns integer instead of sys.exit
2018-01-13 13:16:40 +01:00
kryofly
53447e7ef5
test cleanup
2018-01-13 12:52:02 +01:00
Jean-Baptiste LE STANG
f7a44d1cec
Fixing the ticker analysis with null value
2018-01-13 09:50:02 +01:00
Gerald Lonlas
3087ca0823
Update freqtrade version
2018-01-12 22:56:39 -08:00
kryofly
d4008374f6
backtest export: include enter,exit dates
2018-01-12 22:12:00 +01:00
kryofly
48432abff1
remove two-letter options
2018-01-12 19:48:52 +01:00
kryofly
167483f777
plot profit: filter multiple pairs, misc fixes
2018-01-12 19:18:31 +01:00
kryofly
98cf986934
misc options parsing split up
2018-01-12 11:55:58 +01:00
kryofly
05f5a1b0ee
Merge branch 'develop' into test_coverage
2018-01-11 19:49:33 +01:00
kryofly
153e11f045
Merge branch 'develop' into timeperiod
2018-01-11 19:45:47 +01:00
kryofly
4781a23809
Merge branch 'develop' into backtest-export
2018-01-11 19:40:42 +01:00
kryofly
ed47ee4e29
backtest export json2
2018-01-11 19:14:11 +01:00
kryofly
27769f0301
uncomplex backtest
2018-01-11 17:45:41 +01:00
kryofly
feb5da0c35
file_dump_json
2018-01-11 15:49:04 +01:00
Samuel Husso
3a902289f1
testdata path to use os.path.join ( #360 )
2018-01-11 12:58:06 +01:00
Anton Ermak
0d0737d1f6
Resolve conflict
2018-01-11 13:36:56 +07:00
Anton Ermak
bb91fdbaf9
oops, print removed
2018-01-11 13:26:49 +07:00
Anton Ermak
11cbb9188b
Set timeout for bittrex only
2018-01-11 12:24:05 +07:00
Janne Sinivirta
c11102cf4a
another run of autopep8
2018-01-11 07:08:56 +02:00
Janne Sinivirta
02fcbbb6d2
few flake8 fixes
2018-01-11 07:08:56 +02:00
Janne Sinivirta
0d6051e6f9
formatting
2018-01-11 07:08:56 +02:00
Janne Sinivirta
6a433282dc
fix literal comparison
2018-01-11 07:08:56 +02:00
Janne Sinivirta
64530c6196
remove unused variables
2018-01-11 07:08:56 +02:00
Janne Sinivirta
86db6c9084
sort imports
2018-01-11 07:08:56 +02:00
Janne Sinivirta
0abc30401c
linter fixes and cleanups
2018-01-11 06:50:36 +02:00
Janne Sinivirta
1b6b0ad9d2
autopep8
2018-01-11 06:50:36 +02:00
Janne Sinivirta
7cdbd550c8
Merge pull request #351 from gcarq/feat/hyperopt-resume
...
resume hyperopt run
2018-01-11 06:47:05 +02:00
kryofly
b0f3fd7ffb
timeperiod argument to backtesting and hyperopt
2018-01-10 23:48:59 +01:00
kryofly
feca87345f
refactor
2018-01-10 23:00:40 +01:00
kryofly
f848a5c87d
tests optimize load_data
2018-01-10 13:43:03 +01:00
kryofly
0cb57bee0e
small refactor of check_handle_timedout
2018-01-10 13:43:00 +01:00
kryofly
f8cc08e2a1
small refactor splitting the _process()
2018-01-10 13:42:59 +01:00
kryofly
ad2328bbd8
tests for exchange
2018-01-10 13:42:58 +01:00
kryofly
d5ca77da97
tests for analyze
2018-01-10 13:42:55 +01:00
Anton Ermak
abcdbcfd39
Set requests default timeout
2018-01-10 17:37:49 +07:00
Samuel Husso
e67c652988
use os.path.join, fix docstrings
2018-01-10 11:50:00 +02:00
kryofly
b9bf5c1118
test: increase coverage of exchange.bittrex
2018-01-09 14:07:50 +01:00
Samuel Husso
ffae0b2cd5
hyperopt: prettyfie best values when receiving SIGINT, use the global TRIALS
2018-01-09 12:37:56 +02:00
Samuel Husso
fe2b0c2862
add unittest to save and read trials file
2018-01-09 12:26:52 +02:00
Samuel Husso
1647e7a0c1
update fix failing tests, unitest that resume hyperopt functionality works
2018-01-09 12:26:52 +02:00
Samuel Husso
b35fa4c9f6
hyperopt: show the best results so far
2018-01-09 12:25:58 +02:00
Samuel Husso
a48840509b
Hyperopt: use results from previous runs
2018-01-09 12:25:58 +02:00
Samuel Husso
ca8cab0ce9
Hyperopt to handle SIGINT by saving/reading the trials file
2018-01-09 12:25:58 +02:00
Janne Sinivirta
f7dd5e6396
use sensible value for stoploss in test
2018-01-08 22:00:10 +02:00
Janne Sinivirta
dd2ccea6e5
fix wrong range in stoploss search space
2018-01-08 21:59:46 +02:00
Stephen Dade
26b8661325
Added missing fiat currencies to config
2018-01-08 18:51:04 +11:00
Janne Sinivirta
1ae73d7da2
Merge branch 'develop' into hyperopt_stoploss
2018-01-08 07:49:44 +02:00
Samuel Husso
d8e692c9a3
Merge pull request #339 from gcarq/upgrade_flake8
...
Upgrade flake8
2018-01-08 07:34:45 +02:00
Gerald Lonlas
ca05d1f79e
Fix for flake8
2018-01-07 21:08:12 -08:00
Janne Sinivirta
9dd38aebe0
add stoploss to the hyperopt parameters
2018-01-07 21:08:12 -08:00
Gerald Lonlas
9c21077dc1
Fix hypeopt issue when no result found
2018-01-07 17:53:21 -08:00
Jean-Baptiste LE STANG
bba711c89a
with flake8 ...
2018-01-07 23:35:16 +01:00
Jean-Baptiste LE STANG
5fbaa6d4cf
rebasing for ta-lib dependency
2018-01-07 23:30:37 +01:00
Jean-Baptiste LE STANG
5b1f84f816
without debug print
2018-01-07 23:29:19 +01:00
Jean-Baptiste LE STANG
65127533ef
fixing unittest
2018-01-07 23:29:19 +01:00
Jean-Baptiste LE STANG
05ca00b623
Add a unitest and fix pep8
2018-01-07 23:26:45 +01:00
Jean-Baptiste LE STANG
4b6d855e63
fix a typo in the description of get_ticker
2018-01-07 23:26:45 +01:00
Jean-Baptiste LE STANG
7d7752efbf
really fixing
2018-01-07 23:26:45 +01:00
Jean-Baptiste LE STANG
ce6f6ab9fe
fixing refresh argument ...
2018-01-07 23:26:45 +01:00
Jean-Baptiste LE STANG
3a0569cfd3
force refresh is the value has never been set
2018-01-07 23:26:45 +01:00
Jean-Baptiste LE STANG
7d21015b52
get_ticker can return a cached value
2018-01-07 23:26:45 +01:00
Jean-Baptiste LE STANG
4c8ae3a7af
without debug print
2018-01-07 23:15:33 +01:00
Jean-Baptiste LE STANG
2773ce7ebf
rebasing against develop
2018-01-07 21:34:42 +01:00
Jean-Baptiste LE STANG
f4e4104d14
Fixing unitest
2018-01-07 21:26:43 +01:00
Jean-Baptiste LE STANG
b722a89276
fixing unittest
2018-01-07 21:24:17 +01:00
Janne Sinivirta
5be733a174
fix flake8 warnings
2018-01-07 14:37:09 +02:00
Jean-Baptiste LE STANG
975a785e68
Add a unitest and fix pep8
2018-01-07 10:14:11 +01:00
Jean-Baptiste LE STANG
6be607e528
fix a typo in the description of get_ticker
2018-01-07 10:14:11 +01:00
Jean-Baptiste LE STANG
80c4dea875
really fixing
2018-01-07 10:14:11 +01:00
Jean-Baptiste LE STANG
9e7a4c3717
fixing refresh argument ...
2018-01-07 10:14:11 +01:00
Jean-Baptiste LE STANG
c72e9c3cef
force refresh is the value has never been set
2018-01-07 10:14:11 +01:00
Jean-Baptiste LE STANG
8175eaa48a
get_ticker can return a cached value
2018-01-07 10:14:11 +01:00
kryofly
890083ce7f
Merge branch 'develop' into datadir
2018-01-07 10:00:35 +01:00
Gérald LONLAS
454cd16df4
Merge pull request #331 from gcarq/fix/work_without_network
...
Fix _coinmarketcap that fails backtesting and Hyperopt when no network
2018-01-06 21:33:24 -08:00
Gérald LONLAS
7e233b536c
Merge pull request #323 from gcarq/add_indicators
...
Add 28 optional indicators populate_indicators()
2018-01-06 21:30:27 -08:00
Gerald Lonlas
bf4b2dc05e
Fix _coinmarketcap that fails backtesting and Hyperopt when no network
2018-01-06 21:21:28 -08:00
Gerald Lonlas
b3ea0f4ec5
Make readable hyperopt best parameters result
2018-01-06 17:19:48 -08:00
Gérald LONLAS
2432c9f290
Merge pull request #324 from kryofly/parse-common
...
Parsing: common options, reduce function scope
2018-01-06 15:11:30 -08:00
kryofly
60ed4b9d1e
--datadir <path> argument
...
This argument enables usage of different backtesting directories.
Useful if one wants compare backtesting performance over time.
2018-01-06 23:24:35 +01:00
Gerald Lonlas
83a999d16e
Change Bollinger bands for qtpylib.bollinger_bands
2018-01-06 13:19:45 -08:00
Janne Sinivirta
a29f3de025
fix variable names to pythonic
2018-01-06 21:21:56 +02:00
Janne Sinivirta
6ab0ec6aac
only apply profit guarantee to sell_signal
2018-01-06 21:18:57 +02:00
kryofly
984204e380
let parse_args only parse, no continuation
...
This removes parse_args() from the call stack
It pushes down the test-mocking one level [from parse_args() to main()].
Moves parse_args into a more generic 'modules' parsing direction.
2018-01-06 11:21:09 +01:00
Gerald Lonlas
297166fcb9
Add 29 optional indicators populate_indicators()
2018-01-06 01:11:01 -08:00
Janne Sinivirta
bcde377019
Merge pull request #321 from gcarq/log-exceptions
...
Log exceptions
2018-01-06 10:14:57 +02:00
Samuel Husso
2d39759d34
pep8 fix
2018-01-06 10:08:25 +02:00
kryofly
e4500af736
test case for common CLI parsing
...
Rearrange current tests.
2018-01-06 08:27:44 +01:00
Janne Sinivirta
41933c31ca
Merge pull request #315 from kryofly/tests_jan05
...
tests cover more backtesting
2018-01-06 09:26:20 +02:00
kryofly
47675943ee
split common command line args parsing
...
A new function parse_args_common() that only parses
common command line options. The returned object can
be composed to parse more arguments.
As is done by parse_args().
2018-01-06 07:39:05 +01:00
Gérald LONLAS
74a708b794
Merge pull request #312 from gcarq/fix_backtesting_header
...
Fix Backtesting header alignment
2018-01-05 19:30:04 -08:00
Janne Sinivirta
833c7f21af
Merge pull request #306 from stephendade/timeoutfix
...
Unfilled order timeouts - now using timestamps from exchange
2018-01-05 18:04:27 +02:00
Samuel Husso
ae967a4f40
add test to handle analyze_ticker raising exception
2018-01-05 13:43:56 +02:00
Samuel Husso
be8506b45e
log exceptions, catch *all* exceptions when analysing ticker
2018-01-05 12:18:44 +02:00
kryofly
79fcd0b06c
tests cover more backtesting
2018-01-05 10:44:10 +01:00
kryofly
421ccb23d3
split load tickerdata function
2018-01-05 10:20:48 +01:00
seansan
f1969175cd
Add CCI
2018-01-05 08:40:03 +01:00
Gerald Lonlas
7fd6d089c0
Fix Backtesting header alignment
2018-01-04 23:14:10 -08:00
Gerald Lonlas
90017998fc
Use named argument for backtest()
2018-01-04 22:27:55 -08:00
Stephen Dade
ebe95ba1e1
Open order times should be strings, not datetime objectsy
2018-01-05 15:12:13 +11:00
Stephen Dade
d4fcc38a57
Unfilled order timeouts - now using timestamps from exchange
2018-01-05 01:39:01 +11:00
Janne Sinivirta
c60ef181dc
Merge pull request #297 from jblestang/add_stoploss_and_use_sell_profit_only_to_hyperopt
...
Add stoploss, sell_only_profit and use_sell_signal conf parameters to backtest function
2018-01-04 13:33:01 +02:00
Stephen Dade
b5d2cfecc7
Unfilled Order timeout - better documentation and variable naming
2018-01-04 10:35:57 +11:00
Jean-Baptiste LE STANG
75955fcc04
Add a unitest and fix pep8
2018-01-03 17:58:08 +01:00
Jean-Baptiste LE STANG
050e73d960
fix a typo in the description of get_ticker
2018-01-03 17:51:01 +01:00
Jean-Baptiste LE STANG
0f2d3adbbc
applying pep8
2018-01-03 17:36:40 +01:00
Jean-Baptiste LE STANG
ea6a1c629d
fixing pep8 compliance
2018-01-03 11:50:30 +01:00
Jean-Baptiste LE STANG
eb53a796e2
pep8 compliance
2018-01-03 11:35:54 +01:00
Jean-Baptiste LE STANG
2d273a8509
Update unittests
2018-01-03 11:30:24 +01:00
Stephen Dade
b4d6250d55
Added order timeout handling
2018-01-03 21:22:35 +11:00
Jean-Baptiste LE STANG
45f2d01895
- add a profit/loss counter
...
- the use of the sell_signal is conditional now (taken from the config)
2018-01-03 11:19:46 +01:00
Jean-Baptiste LE STANG
c176ace889
Adding sell_profit_only and stoploss in hyperopt
2018-01-03 10:56:18 +01:00
Gérald LONLAS
9b09b5aa29
Merge pull request #291 from gcarq/backtesting_speed_opt
...
Backtesting speed optimizations
2018-01-02 23:35:47 -08:00
Gérald LONLAS
4a717f3df8
Merge pull request #294 from jblestang/add_trades_count_in_performance
...
Add trades count foreach pair in performance command
2018-01-02 23:03:30 -08:00
Samuel Husso
fd5497cfc7
Merge pull request #265 from gcarq/feature/experimental/force_profit_sell
...
Add experimental feature to sell only if we make a profit
2018-01-03 08:14:54 +02:00
Jean-Baptiste LE STANG
01b49dc502
Merge branch 'develop' into add_trades_count_in_performance
2018-01-03 00:06:56 +01:00
Jean-Baptiste LE STANG
fbb19e451d
Adding the number of trades for each traded pair in the performance command
2018-01-03 00:06:50 +01:00
Jean-Baptiste LE STANG
a1ffa4497d
Merge branch 'develop' into fix_issue_278
2018-01-02 23:12:21 +01:00
Jean-Baptiste LE STANG
e69f9dd029
Bad unittest detected reading coverage report, rewritten and bug found
2018-01-02 23:00:03 +01:00
Janne Sinivirta
fed3024302
rewrite get_timeframe in backtesting
2018-01-02 21:54:31 +02:00
Janne Sinivirta
dc2f048c98
make tuples smaller in backtesting loops
2018-01-02 21:52:47 +02:00
Samuel Husso
f4ccd4609b
Merge pull request #284 from jblestang/fix_issue_283
...
fixing the sorting issue in MarketSummary when using --dynamic-whitelist (issue #283 )
2018-01-02 21:00:20 +02:00
Janne Sinivirta
82e9ed2ac2
shorten table title to match table length
2018-01-02 17:53:47 +02:00
Janne Sinivirta
ae52880f81
improve backtesting result formatting
2018-01-02 17:39:02 +02:00
Jean-Baptiste LE STANG
90236fb537
Fixing error log on inactive wallet
2018-01-02 15:17:23 +01:00
Jean-Baptiste LE STANG
55d0d27756
message too long, removing URL for now
2018-01-02 14:55:31 +01:00
Jean-Baptiste LE STANG
d849694a70
Adding URL to market graph and number of trades/pair in /performance commande
2018-01-02 14:43:38 +01:00
Jean-Baptiste LE STANG
29987c3ff6
Adding the number of trades in the performance display
2018-01-02 14:32:13 +01:00
Jean-Baptiste LE STANG
5f696a0cce
really fixing
2018-01-02 14:13:55 +01:00
Jean-Baptiste LE STANG
90d3c09536
fixing refresh argument ...
2018-01-02 14:13:40 +01:00
Jean-Baptiste LE STANG
3f65fc014e
flake8 on tests
2018-01-02 13:46:16 +01:00
Jean-Baptiste LE STANG
5344b711ea
Add two more unit tests for covering pair that are in a blacklist, and unknown pairs in the conf
2018-01-02 13:42:10 +01:00
Jean-Baptiste LE STANG
a3e827c144
with flake8 code review
2018-01-02 12:18:26 +01:00
Jean-Baptiste LE STANG
52e267e864
fix for issue #283
2018-01-02 12:04:47 +01:00
Jean-Baptiste LE STANG
165781a545
force refresh is the value has never been set
2018-01-02 11:00:22 +01:00
Jean-Baptiste LE STANG
e10a3d1f9d
get_ticker can return a cached value
2018-01-02 10:56:42 +01:00
jblestang
7a2e9ef535
Add fiat display in sell msg ( #271 )
...
* Display amount (fiat currency) in the sell message
* Display also base currency
* Adding more info in Buy Message, the stake amount, and the amount using FIAT Converter
* fix display style and width
* Fixing flake8
2018-01-01 14:21:43 -08:00
Jean-Baptiste LE STANG
0e0d613191
Removing tilde and change profit to loss when negative profit is made
2018-01-01 20:18:38 +01:00
Samuel Husso
de68209f3b
Revert "Make get_signals async. This should speed up create_trade calls by at least 10x. ( #223 )" ( #275 )
...
This reverts commit 6768658300
.
See details in #PR266
2018-01-01 19:32:58 +01:00
Gerald Lonlas
714d77dbd8
Add expiremental feature to sell only if we make a profit
2017-12-30 18:14:10 -08:00
Gérald LONLAS
9803130848
Merge pull request #259 from gcarq/fix/issue-248
...
Fix issue #248 : missing configuration when executing /forcesell
2017-12-30 17:28:16 -08:00
Jean-Baptiste LE STANG
68f81b2abb
autopep8 is going to be my new friend
2017-12-30 15:55:49 +01:00
Jean-Baptiste LE STANG
4945331093
Fixing the positional parameter naming + unit tests updated
2017-12-30 15:43:22 +01:00
jblestang
8411844d7e
Implement pair_blacklist functionality ( #257 )
...
* Adding an optional black_list of pairs not to be traded
* applying the blacklist also when not using --dynamic-whitelist
* fix error retrieving pair in conf
* Refactoring the handling of whitelist among the various functions
* unit test to verify that black listed pairs are being removed from the pair_whitelist
* Fixing newly added unit tests in develop
* fixing flake8 code review
* fix code review from @garcq
2017-12-30 14:15:07 +01:00
Janne Sinivirta
00415d66a2
Merge pull request #260 from gcarq/increase_code_coverage
...
Increase code coverage
2017-12-30 14:02:33 +02:00
kryofly
f7398e615a
Improve backtesting tests ( #256 )
...
* test bugfix dataframe trimming
* flake8 (as usual)
* tests backtesting cleanup and bugfix
* flake8
* test backtesting::start()
* tests cleanup set() usage
* tests: add missing assert
2017-12-30 11:55:23 +01:00
Gerald Lonlas
e81a9cbb17
Increase code coverage
...
Change log:
* Increase code coverage for test_exchange.py
* Move Exchange Unit tests files tests/exchange/
* Move RPC Unit tests files tests/rpc/
2017-12-29 23:37:02 -08:00
Gerald Lonlas
c8c8c626b0
Fix issue #248 : missing configuration when executing /forcesell
...
This is not a beautiful workaround, I am not proud of it,
but a redesigning of main.py and telegram.py will be
necessary for a better integration. Any better solution
is welcome.
2017-12-29 20:03:12 -08:00
kryofly
37613fc056
flake8
2017-12-29 17:53:58 +01:00
Janne Sinivirta
133c467cf4
Merge branch 'develop' into tests_dec28
2017-12-29 16:33:12 +02:00
Janne Sinivirta
f2ce367cec
Merge branch 'develop' into sell_signal
2017-12-29 16:26:23 +02:00
kryofly
3e0458da7d
flake8
2017-12-29 09:40:24 +01:00
Gerald Lonlas
0d605d2396
Refactor Optimize tests, and add more unit tests
2017-12-28 22:32:48 -08:00
Janne Sinivirta
145583f0b7
Merge pull request #244 from jblestang/fix_daily_profit
...
Fixing daily profit,
2017-12-29 06:05:25 +02:00
kryofly
847dde0d65
execute sell if get_signal OR ROI reached
2017-12-29 00:07:54 +01:00
kryofly
ab112581a7
tests: anal stretching to accomodate flake8
2017-12-28 20:05:33 +01:00
kryofly
f48f5d0f31
tests for dataframe, whitelist and backtesting
2017-12-28 15:58:19 +01:00
Janne Sinivirta
0abf0b0e39
Merge pull request #242 from gcarq/backtesting-unittests
...
Backtesting and hyperopt unit tests
2017-12-28 12:45:28 +02:00
Janne Sinivirta
a36fd00f6a
also print dot when hyperopt eval result is fail
2017-12-28 06:40:11 +02:00
Janne Sinivirta
7f44ba6df4
unit tests for optimize.hyperopt
2017-12-28 06:39:56 +02:00
Janne Sinivirta
7b0beb0afa
cleanups
2017-12-28 06:36:18 +02:00
Janne Sinivirta
ae0a1436e2
match test files to prod files for backtesting/hyperopt
2017-12-28 06:35:09 +02:00
Jean-Baptiste LE STANG
8537e9f40f
CI flake8 error
2017-12-27 21:33:42 +01:00
Jean Baptiste LE STANG
d61d88559c
Fixing daily profit, taking into account the time part of the date (removing it in fact)
2017-12-27 21:06:05 +01:00
Janne Sinivirta
9b4c0f01f2
more unit tests for backtesting
2017-12-27 17:39:54 +02:00
Gérald LONLAS
6c8253a4f5
Add more unittest ( #241 )
2017-12-27 11:41:11 +01:00
Janne Sinivirta
dcd0a0ec61
Merge pull request #239 from glonlas/feature/value_in_fiat
...
Display profits in fiat
2017-12-27 11:19:38 +02:00
Gerald Lonlas
ff6b0fc1c9
Display profits in fiat
2017-12-26 19:44:19 -08:00
Michael Egger
a514b92dcf
catch MIN_TRADE_REQUIREMENT_NOT_MET as non-critical exception ( #237 )
...
* add MIN_TRADE_REQUIREMENT_NOT_MET to response validation
* implement test
2017-12-26 09:39:29 +01:00
Janne Sinivirta
de33d69eed
Lint fixes ( #236 )
...
* correct docstring
* add type annotation to trade_count_lock
* fix indentations
* allow globals in hyperopt.py
* fix import order
* simplify asserts
* use proper variable name
* simplify condition
* fix path operation that fails on windows
2017-12-25 12:07:50 +01:00
Janne Sinivirta
9959d53f5e
Logging improvements to Hyperopt ( #235 )
...
* make log texts go on new line
* remove unnecessary fields from hyperopt log messages
* shorten log text in hyperopt
* consider making zero trades a failed hyperopt eval
* only log from hyperopt when result improves
* remove unnecessary temp variables
* remove unused result data variables
* remove unused import
* fix an outdated comment
2017-12-25 08:18:34 +01:00
Pan Long
6768658300
Make get_signals async. This should speed up create_trade calls by at least 10x. ( #223 )
2017-12-25 07:01:01 +01:00
Janne Sinivirta
353b0d2d34
balance hyperopt objective to adjusted profit calculations
2017-12-23 19:18:28 +02:00
Janne Sinivirta
e644d57dbe
log should state profit is in BTC to avoid confusion
2017-12-23 19:00:49 +02:00
Janne Sinivirta
50e7cef5f3
remove commented-out code
2017-12-23 19:00:49 +02:00
Janne Sinivirta
1058820e1b
just pass stake_amount instead of the whole config
2017-12-23 19:00:49 +02:00