Skip to content

Commit

Permalink
Merge pull request #15 from cvxgrp/main
Browse files Browse the repository at this point in the history
"rebase of 10-revisit-..."
  • Loading branch information
tschm authored Jan 1, 2024
2 parents 46dffa7 + 2befa91 commit 3ea2d7d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
import pandas as pd
import pytest

from cvx.simulator.portfolio import EquityPortfolio

# from cvx.simulator.portfolio import build_portfolio


@pytest.fixture(scope="session", name="resource_dir")
def resource_fixture():
Expand All @@ -22,9 +18,3 @@ def prices(resource_dir):
return pd.read_csv(
resource_dir / "price.csv", index_col=0, header=0, parse_dates=True
)


@pytest.fixture()
def portfolio(prices):
positions = pd.DataFrame(index=prices.index, columns=prices.columns, data=1.0)
return EquityPortfolio(prices=prices, stocks=positions)

0 comments on commit 3ea2d7d

Please sign in to comment.