Improve default strategy template
This commit is contained in:
parent
faf84295a5
commit
7a73adb955
@ -1,6 +1,6 @@
|
|||||||
# pragma pylint: disable=missing-docstring, invalid-name, pointless-string-statement
|
# pragma pylint: disable=missing-docstring, invalid-name, pointless-string-statement
|
||||||
# flake8: noqa: F401
|
# flake8: noqa: F401
|
||||||
|
# isort: skip_file
|
||||||
# --- Do not remove these libs ---
|
# --- Do not remove these libs ---
|
||||||
import numpy as np # noqa
|
import numpy as np # noqa
|
||||||
import pandas as pd # noqa
|
import pandas as pd # noqa
|
||||||
@ -9,13 +9,13 @@ from datetime import datetime # noqa
|
|||||||
from typing import Optional, Union # noqa
|
from typing import Optional, Union # noqa
|
||||||
|
|
||||||
from freqtrade.strategy import (BooleanParameter, CategoricalParameter, DecimalParameter,
|
from freqtrade.strategy import (BooleanParameter, CategoricalParameter, DecimalParameter,
|
||||||
IStrategy, IntParameter)
|
IntParameter, IStrategy, merge_informative_pair)
|
||||||
|
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
# Add your lib to import here
|
# Add your lib to import here
|
||||||
import talib.abstract as ta
|
import talib.abstract as ta
|
||||||
import pandas_ta as pta
|
import pandas_ta as pta
|
||||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
from technical import qtpylib
|
||||||
|
|
||||||
|
|
||||||
class {{ strategy }}(IStrategy):
|
class {{ strategy }}(IStrategy):
|
||||||
|
Loading…
Reference in New Issue
Block a user