pybroker.log module
Logging module.
- class Logger(scope)[source]
Bases:
object
Class for logging information about triggered events.
- Parameters:
scope –
pybroker.scope.StaticScope
.
- backtest_executions_start(test_dates: Sequence[datetime64])[source]
- debug_filled_buy_order(date: datetime64, symbol: str, shares: Decimal, fill_price: Decimal, limit_price: Decimal | None)[source]
- debug_filled_sell_order(date: datetime64, symbol: str, shares: Decimal, fill_price: Decimal, limit_price: Decimal | None)[source]
- debug_place_buy_order(date: datetime64, symbol: str, shares: Decimal, fill_price: Decimal, limit_price: Decimal | None)[source]
- debug_place_sell_order(date: datetime64, symbol: str, shares: Decimal, fill_price: Decimal, limit_price: Decimal | None)[source]
- debug_schedule_order(date: datetime64, exec_result)[source]
- debug_unfilled_buy_order(date: datetime64, symbol: str, shares: Decimal, fill_price: Decimal, limit_price: Decimal | None)[source]
- debug_unfilled_sell_order(date: datetime64, symbol: str, shares: Decimal, fill_price: Decimal, limit_price: Decimal | None)[source]
- info_download_bar_data_start(symbols: Iterable[str], start_date: datetime, end_date: datetime, timeframe: str)[source]
- info_indicator_data_start(ind_syms: Iterable[IndicatorSymbol])[source]
- info_loaded_bar_data(symbols: Iterable[str], start_date: datetime, end_date: datetime, timeframe: str)[source]
- info_loaded_indicator_data(ind_syms: Iterable[IndicatorSymbol])[source]
- info_loaded_model(model_sym: ModelSymbol)[source]
- info_loaded_models(model_syms: Iterable[ModelSymbol])[source]
- info_train_model_completed(model_sym: ModelSymbol)[source]
- info_train_model_start(model_sym: ModelSymbol)[source]
- info_train_split_start(model_syms: Iterable[ModelSymbol])[source]
- train_split_start(train_dates: Sequence[datetime64])[source]