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
This commit is contained in:
Gerald Lonlas
2018-02-04 01:21:16 -08:00
parent a8b8ab20b7
commit 4da033c7a2
7 changed files with 1997 additions and 1350 deletions

View File

@@ -39,7 +39,7 @@ def test_datesarray_to_datetimearray(ticker_history):
assert date_len == 3
def test_file_dump_json(mocker):
def test_file_dump_json(mocker) -> None:
"""
Test file_dump_json()
:return: None