Skip to content

Commit b2bbea1

Browse files
committed
fixed more with imports
1 parent bf4cebf commit b2bbea1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cira/strategy/backtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pandas as pd
22
import numpy as np
33
from typing import List
4-
from . import Strategy, ByAndHold
4+
from .strategy import Strategy, ByAndHold
55

66

77
FEE_RATE = 0.004 # this is what alpaca takes

examples/linear.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
"from typing import List\n",
272272
"from pandas import DataFrame\n",
273273
"\n",
274-
"from cira.strategy import Strategy\n",
274+
"from cira.strategy.strategy import Strategy\n",
275275
"\n",
276276
"\n",
277277
"class MyStrat(Strategy):\n",

0 commit comments

Comments
 (0)