Commit Graph

1213 Commits

Author SHA1 Message Date
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
6158de3729 Merge commit '192521523f3894d40a8d1d77308504912618e375' into feature/objectify 2018-03-03 09:41:08 +08:00
Gerald Lonlas
3ba365ceb2 Merge commit 'fecd9f830ec4e8e9d5d1f3a70310d42bbe3f274a' into feature/objectify 2018-03-03 09:39:27 +08:00
Gerald Lonlas
5b314e2f7a Port commit "Remove Strategy fallback to default strategy (#490)"
Hash: d24cd89304
2018-03-03 09:33:54 +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
Gérald LONLAS
aa7aeb046e
Merge pull request #508 from gcarq/faster_backtesting
Faster backtesting
2018-02-06 22:59:45 -08: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
Samuel Husso
c5400b6c37
Merge pull request #507 from gcarq/date_indexing_for_backtesting
Date indexing for backtesting
2018-02-06 12:20:33 +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
macd2
192521523f add an option to control vertical spacing (#506) 2018-02-05 08:05:12 +02:00
Gérald LONLAS
2765ee5a85
Merge pull request #504 from gcarq/improve_argparse
Use substitution in argparse help texts
2018-02-04 13:36:01 -08:00
Samuel Husso
585c2e31c6
Merge pull request #502 from gcarq/marker_for_buy
Change buy and sell markers in plot_dataframe
2018-02-04 16:31:41 +02:00
Janne Sinivirta
fecd9f830e use substitution in argparse 2018-02-04 15:48:41 +02:00
Janne Sinivirta
6efd744497 change buy and sell markers in plot_dataframe 2018-02-04 14:09:36 +02:00
Samuel Husso
2b6a62faa1
Merge pull request #501 from gcarq/pyup-update-pymarketcap-3.3.155-to-3.3.158
Update pymarketcap to 3.3.158
2018-02-04 12:10:01 +02:00
Gérald LONLAS
4b62f84cc7
Merge pull request #500 from gcarq/fix/setup.sh
Fix config generation on setup.sh
2018-02-03 19:04:07 -08:00
pyup-bot
3fb3d30365 Update pymarketcap from 3.3.155 to 3.3.158 2018-02-03 23:38:59 +01:00
Gerald Lonlas
2c16ba18a4 Fix config generation on setup.sh 2018-02-03 12:55:15 -08:00
pyup.io bot
f45c64d61b Update pymarketcap from 3.3.154 to 3.3.155 (#498) 2018-02-03 21:32:16 +02:00
mijgame
7bf88333dd Fix typos (#497)
* Update config_full.json.example

Typo

* Update config.json.example
2018-02-03 21:31:55 +02:00
Gérald LONLAS
e1a033672f
Merge pull request #493 from macd2/patch-3
typo fix
2018-02-02 09:34:45 -08:00
macd2
4dbc4cb652
typo fix 2018-02-02 11:23:10 +01: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