diff --git a/freqtrade/__main__.py b/freqtrade/__main__.py new file mode 100644 index 000000000..fe1318a35 --- /dev/null +++ b/freqtrade/__main__.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 +""" +__main__.py for Freqtrade +To launch Freqtrade as a module + +> python -m freqtrade (with Python >= 3.6) +""" + +import sys +from freqtrade import main + + +if __name__ == '__main__': + main.set_loggers() + main.main(sys.argv[1:])