Coverage for execution/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.17.3, created at 2026-11-22 12:55 +0000
« prev ^ index » next coverage.py v7.17.3, created at 2026-11-22 12:55 +0000
1from .cost_model import (
2 NetEdgeDecision,
3 build_net_edge_decision,
4 estimate_round_trip_cost_bps,
5 expected_edge_bps,
6)
7from .live_credentials import (
8 DEFAULT_DEV_DB_PASSWORD,
9 credentials_present,
10 describe_missing_fields,
11 postgres_dsn_is_live_safe,
12)
13from .order_gate import (
14 DEFAULT_FILL_SLIPPAGE_SOURCE,
15 MAX_LIQUIDITY_SLIPPAGE_BPS,
16 PENDING_ORDER_STATUS_NAMES,
17 TERMINAL_CANCELED_STATUS_NAMES,
18 TERMINAL_FILLED_STATUS_NAMES,
19 VALID_FILL_SLIPPAGE_SOURCES,
20 VALID_MODES,
21 classify_order_status,
22 compute_fill_slippage_divergence_bps,
23 is_real_order_placement,
24 liquidity_cost_fraction,
25 resolve_cash_sweep_order_permission,
26 resolve_combo_limit_price,
27 resolve_exit_order_route,
28 resolve_fill_slippage,
29 resolve_fill_slippage_source,
30 resolve_limit_order_timeout_action,
31 resolve_limit_price,
32 resolve_limit_setting_by_class,
33 resolve_order_permission,
34 resolve_pending_order_action,
35 resolve_risk_exit_permission,
36 resolve_runtime_mode,
37 resolve_slippage_bps,
38 should_clear_pending_limit_order,
39 should_skip_for_open_order,
40 simulate_fill,
41 slippage_amount,
42 slippage_reference_price,
43)
44from .paper_readiness import (
45 evaluate_broker_config,
46 evaluate_live_broker_config,
47 evaluate_live_risk_posture,
48 evaluate_observation_readiness,
49 evaluate_paper_broker_config,
50)
51from .reconciliation import ReconciliationReport, reconcile_positions
53__all__ = [
54 "NetEdgeDecision",
55 "build_net_edge_decision",
56 "estimate_round_trip_cost_bps",
57 "expected_edge_bps",
58 "DEFAULT_FILL_SLIPPAGE_SOURCE",
59 "MAX_LIQUIDITY_SLIPPAGE_BPS",
60 "PENDING_ORDER_STATUS_NAMES",
61 "TERMINAL_CANCELED_STATUS_NAMES",
62 "TERMINAL_FILLED_STATUS_NAMES",
63 "VALID_FILL_SLIPPAGE_SOURCES",
64 "VALID_MODES",
65 "classify_order_status",
66 "compute_fill_slippage_divergence_bps",
67 "slippage_reference_price",
68 "is_real_order_placement",
69 "liquidity_cost_fraction",
70 "resolve_fill_slippage",
71 "resolve_fill_slippage_source",
72 "resolve_exit_order_route",
73 "resolve_limit_order_timeout_action",
74 "resolve_combo_limit_price",
75 "resolve_limit_price",
76 "resolve_limit_setting_by_class",
77 "resolve_cash_sweep_order_permission",
78 "resolve_order_permission",
79 "resolve_risk_exit_permission",
80 "resolve_pending_order_action",
81 "resolve_runtime_mode",
82 "resolve_slippage_bps",
83 "should_clear_pending_limit_order",
84 "should_skip_for_open_order",
85 "simulate_fill",
86 "slippage_amount",
87 "evaluate_broker_config",
88 "evaluate_live_broker_config",
89 "evaluate_live_risk_posture",
90 "evaluate_observation_readiness",
91 "evaluate_paper_broker_config",
92 "credentials_present",
93 "describe_missing_fields",
94 "postgres_dsn_is_live_safe",
95 "DEFAULT_DEV_DB_PASSWORD",
96 "ReconciliationReport",
97 "reconcile_positions",
98]