Commit Graph

1519 Commits

Author SHA1 Message Date
Matthias cb46aeb73c rename variable to be more expressive 2018-09-01 19:50:45 +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
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
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
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 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
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
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
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 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