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