Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"rebase of 10-revisit-..." #15

Merged
merged 2 commits into from
Jan 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading