passengersim.callbacks.

bid_price_detail

Daily tracer collecting bid prices for selected legs.

Attach a LegBidPriceDetailTracer manually, or enable it in a configuration as the leg_bid_price_detail configured callback. The results are available on summaries as leg_bid_price_detail, fig_leg_bid_price_detail_rake, and fig_leg_bid_price_history (see passengersim.summaries.leg_callback_detail.SimTabLegCallbackDetail).

Results saved before this collector became a tracer hold the same values as rows of callback_data.daily, with keys such as leg-101-bidprice; the readers in this module accept both.

Classes

LegBidPriceDetailTracer(leg_ids, *[, ...])

Daily tracer recording the bid price of selected legs in every sample.

Functions

collect_leg_bid_price_detail(leg_ids, *[, ...])

Build a tracer recording bid prices for selected legs.

fig_leg_bid_price_detail_rake(data, *, leg_id)

fig_leg_bid_price_history(summary, carrier, ...)

Plot one bid-price statistic over days prior for every collected leg of a carrier.

process_leg_bid_price_detail(data)

Get the recorded bid prices, one row per trial, sample, and day.

summarize_leg_bid_price_detail(data)

Summarize the observed bid prices for each leg and day.