code block instructions. removed extra packages
This commit is contained in:
parent
dd35ba5e81
commit
8eb39178ea
@ -42,6 +42,9 @@ import os
|
|||||||
from freqtrade.data.history import load_pair_history
|
from freqtrade.data.history import load_pair_history
|
||||||
from freqtrade.resolvers import StrategyResolver
|
from freqtrade.resolvers import StrategyResolver
|
||||||
|
|
||||||
|
# You can override strategy settings as demonstrated below.
|
||||||
|
# Customize these according to your needs.
|
||||||
|
|
||||||
# Define some constants
|
# Define some constants
|
||||||
ticker_interval = "5m"
|
ticker_interval = "5m"
|
||||||
# Name of the strategy class
|
# Name of the strategy class
|
||||||
@ -66,7 +69,7 @@ bt_data = load_pair_history(datadir=Path(data_location),
|
|||||||
pair=pair)
|
pair=pair)
|
||||||
|
|
||||||
# Confirm success
|
# Confirm success
|
||||||
print("Loaded " + str(len(bt_data)) + f" rows of data for {pair} from {data_location}")
|
print(f"Loaded {len(bt_data)} rows of data for {pair} from {data_location}")
|
||||||
```
|
```
|
||||||
|
|
||||||
### Load and run strategy
|
### Load and run strategy
|
||||||
|
Loading…
Reference in New Issue
Block a user