Skip to content

Commit af12d1a

Browse files
feat: Reorder imports in benchmark_factors.py
1 parent 9f99632 commit af12d1a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/quant_research_starter/examples/benchmark/benchmark_factors.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@
66
"""
77

88
import time
9+
910
import numpy as np
1011
import pandas as pd
1112

1213
from quant_research_starter.factors import (
14+
BollingerBandsFactor,
15+
IdiosyncraticVolatility,
1316
MomentumFactor,
14-
ValueFactor,
1517
SizeFactor,
18+
ValueFactor,
1619
VolatilityFactor,
17-
IdiosyncraticVolatility,
18-
BollingerBandsFactor,
1920
)
2021

22+
2123
def generate_synthetic_prices(n_assets: int = 500, n_days: int = 252 * 3) -> pd.DataFrame:
2224
"""Generate synthetic random walk price data for testing."""
2325
np.random.seed(42)

0 commit comments

Comments
 (0)