Commit Graph

1195 Commits

Author SHA1 Message Date
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
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
Samuel Husso
0f041b424d
Merge pull request #491 from gcarq/pyup-update-pymarketcap-3.3.153-to-3.3.154
Update pymarketcap to 3.3.154
2018-02-01 20:35:40 +02:00
pyup-bot
7688f18a25 Update pymarketcap from 3.3.153 to 3.3.154 2018-02-01 18:08:57 +01: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
5855f0cdfc
Merge pull request #486 from jbweb/develop
Fix typos
2018-01-31 16:48:12 +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
Janne Sinivirta
613ad4c5d6
Merge pull request #481 from jblestang/fix_buy_sell_order
Fixing buy and sell order
2018-01-31 16:37:55 +02:00
Jordy Bulten
e6d6918ed8 Fixed typos in setup script 2018-01-31 09:46:20 +01:00
Jean-Baptiste LE STANG
07b7828f39 Fixing bug in backtesting causing to much sells 2018-01-31 07:59:45 +01:00
pyup-bot
8ba08af539 Update pytest from 3.3.2 to 3.4.0 2018-01-31 03:42:52 +01:00
Jordy
3aa77360f0
Update config_full.json.example
Typo fix
2018-01-30 21:46:40 +01:00
Jordy
c9f97149e1
Update config.json.example
Typo fix
2018-01-30 21:46:07 +01:00
Gérald LONLAS
529e4d0131
Merge pull request #484 from baudbox/develop
Adding 1.6 comment into telegram pre-requirements
2018-01-30 08:17:01 -08:00
baudbox
dc322f0423 Fixed typo 2018-01-30 15:29:18 +01:00
baudbox
6adeb97b19 Adding 1.6 comment 2018-01-30 15:00:05 +01:00
Jean-Baptiste LE STANG
d53d4b808b Fixing buy and sell order 2018-01-30 09:38:24 +01:00