MCPcopy Create free account
hub / github.com/Open-Quant/openquant / append

Method append

python/openquant/adapters.py:137–144  ·  view source on GitHub ↗
(
        self,
        timestamps: Sequence[str],
        signal: Sequence[float],
        side: Sequence[float] | None = None,
        symbol: str | None = None,
    )

Source from the content-addressed store, hash-verified

135 self._frames = []
136
137 def append(
138 self,
139 timestamps: Sequence[str],
140 signal: Sequence[float],
141 side: Sequence[float] | None = None,
142 symbol: str | None = None,
143 ) -> None:
144 self._frames.append(to_polars_signal_frame(timestamps, signal, side=side, symbol=symbol))
145
146 def frame(self) -> pl.DataFrame:
147 if not self._frames:

Callers 15

execute_notebookFunction · 0.80
_datasetFunction · 0.80
_load_fixture_pricesFunction · 0.80
_build_by_symbolFunction · 0.80
run_flywheel_gridFunction · 0.80
_build_intervalsFunction · 0.80
_purged_kfold_splitsFunction · 0.80
_importance_tableFunction · 0.80
mdi_importanceFunction · 0.80
_score_with_perm_groupsFunction · 0.80

Calls 1

to_polars_signal_frameFunction · 0.85

Tested by 3

_datasetFunction · 0.64
_load_fixture_pricesFunction · 0.64