diff --git a/cira/strategy/backtest.py b/cira/strategy/backtest.py index bf340e2..62e60fd 100644 --- a/cira/strategy/backtest.py +++ b/cira/strategy/backtest.py @@ -1,7 +1,7 @@ import pandas as pd import numpy as np from typing import List -from . import Strategy, ByAndHold +from .strategy import Strategy, ByAndHold FEE_RATE = 0.004 # this is what alpaca takes diff --git a/examples/linear.ipynb b/examples/linear.ipynb index cf613d0..92b31d5 100644 --- a/examples/linear.ipynb +++ b/examples/linear.ipynb @@ -271,7 +271,7 @@ "from typing import List\n", "from pandas import DataFrame\n", "\n", - "from cira.strategy import Strategy\n", + "from cira.strategy.strategy import Strategy\n", "\n", "\n", "class MyStrat(Strategy):\n",