project_permission_prices

Documentation for eth_defi.hyperliquid.permission.project_permission_prices function.

project_permission_prices(prices, observations, time_column)

Attach a point-in-time convenience projection without creating prices.

The independent sidecar is authoritative when a response arrives after the latest price or when several responses share one price timestamp.

Archived policy inputs use the last recorded price-row snapshot. Actual responses, including explicit unknowns, take precedence. Publication never supplies a new observation clock, and missing clocks do not erase values.

Parameters
  • prices (pandas.DataFrame) – Scanner price frame with vault identity and source time.

  • observations (pandas.DataFrame) – Independent source observations and migration intervals.

  • time_column (str) – date or timestamp in the price frame.

Returns

Frame with nullable flags, retained policy inputs and original clocks.

Return type

pandas.DataFrame