feat(m1): complete curate-etl MongoDB driver, DuckDB MarketDataStore, Python SDK, and M1 evidence
This commit is contained in:
parent
88308e1f12
commit
d9191304fb
62 changed files with 9608 additions and 366 deletions
80
python/stockbot/__init__.py
Normal file
80
python/stockbot/__init__.py
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
"""Stock Bot Python Research SDK (`stockbot`)."""
|
||||
|
||||
from . import data
|
||||
from .calculations import (
|
||||
DSR_VALIDATION_GATE,
|
||||
EULER_MASCHERONI,
|
||||
RECENCY_MIN_RATIO,
|
||||
RECENCY_SPLIT_DATE,
|
||||
DeflatedSharpeResult,
|
||||
EffectiveTrialsResult,
|
||||
NeweyWestResult,
|
||||
TrialMoments,
|
||||
analyze_signal_panel,
|
||||
compute_event_study,
|
||||
deflated_sharpe_ratio,
|
||||
effective_independent_trials,
|
||||
evaluate_recency_gate,
|
||||
newey_west_mean_test,
|
||||
trial_moments,
|
||||
)
|
||||
from .data import MarketDataStore
|
||||
from .ledger import (
|
||||
ClusterDsrSummary,
|
||||
RecordedTrial,
|
||||
TrialLedgerClient,
|
||||
canonical_expression_hash,
|
||||
)
|
||||
from .signals import run_event_study_trial, run_signal_study
|
||||
from .vault import (
|
||||
DEFAULT_DUCKDB_MEMORY_LIMIT,
|
||||
DEFAULT_DUCKDB_TEMP_DIRECTORY,
|
||||
DEFAULT_DUCKDB_THREADS,
|
||||
DuckDbConnectionBudget,
|
||||
FencedTimeRange,
|
||||
MarketDataStoreValidationError,
|
||||
VaultHoldoutFenceError,
|
||||
VaultScopeNotAuthorizedError,
|
||||
apply_vault_fence,
|
||||
compute_vault_cutoff_ts,
|
||||
resolve_duckdb_budget,
|
||||
vault_cutoff_date_str,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"data",
|
||||
"MarketDataStore",
|
||||
"TrialLedgerClient",
|
||||
"RecordedTrial",
|
||||
"ClusterDsrSummary",
|
||||
"canonical_expression_hash",
|
||||
"run_signal_study",
|
||||
"run_event_study_trial",
|
||||
"analyze_signal_panel",
|
||||
"compute_event_study",
|
||||
"trial_moments",
|
||||
"effective_independent_trials",
|
||||
"deflated_sharpe_ratio",
|
||||
"newey_west_mean_test",
|
||||
"evaluate_recency_gate",
|
||||
"TrialMoments",
|
||||
"EffectiveTrialsResult",
|
||||
"DeflatedSharpeResult",
|
||||
"NeweyWestResult",
|
||||
"DSR_VALIDATION_GATE",
|
||||
"EULER_MASCHERONI",
|
||||
"RECENCY_SPLIT_DATE",
|
||||
"RECENCY_MIN_RATIO",
|
||||
"DEFAULT_DUCKDB_MEMORY_LIMIT",
|
||||
"DEFAULT_DUCKDB_THREADS",
|
||||
"DEFAULT_DUCKDB_TEMP_DIRECTORY",
|
||||
"DuckDbConnectionBudget",
|
||||
"FencedTimeRange",
|
||||
"MarketDataStoreValidationError",
|
||||
"VaultHoldoutFenceError",
|
||||
"VaultScopeNotAuthorizedError",
|
||||
"apply_vault_fence",
|
||||
"compute_vault_cutoff_ts",
|
||||
"resolve_duckdb_budget",
|
||||
"vault_cutoff_date_str",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue