1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
//! # OpenOutcry — the trading-agent environment
//!
//! A leak-free, point-in-time market environment with a dead-simple, language-agnostic
//! agent contract: **the harness sends an [`MarketObservation`], the agent returns a
//! [`Decision`], repeat.** Look-ahead is structurally impossible — [`Dataset`] never hands
//! out a future bar — and trajectories are recompute-from-raw-decisions, so an agent cannot
//! lie about its returns.
//!
//! ## M0 — extraction scaffold
//!
//! This crate currently *re-exports* the point-in-time simulator that already lives in
//! `sharpebench-sim`, promoting it from "the benchmark's internal engine" to a standalone
//! environment whose public reason to exist is "run an agent in a market." The Gym-style
//! [`reset`]/[`step`] lifecycle, the frozen `CONTRACT_VERSION`, the WASM/npm + Python
//! surfaces, and the ecosystem wiring land in later milestones (see
//! `specs/SPEC-trading-agent-env.md`). v0.1 depends on `sharpebench-sim`; the `gl-sim-core`
//! extraction is a follow-up refactor, not a blocker.
//!
//! [`reset`]: https://gymnasium.farama.org
//! [`step`]: https://gymnasium.farama.org
// --- The frozen wire-contract version (the standard OpenOutcry governs) --------------------
pub use CONTRACT_VERSION;
// --- Seeded procedural scenario generation (Procgen-style seed intervals) ------------------
pub use ;
// --- Vectorized, batched environment (gym3's "vectorized-first" design) -------------------
pub use ;
// --- Per-scenario trading mandates (MiniGrid Fetch-style per-episode objective) -----------
pub use ;
// --- Execution-noise perturbation (seeded sticky-actions / slippage; ALE-style) -----------
pub use ;
// --- Limit-order-book matching engine (M3) -------------------------------------------------
pub use ;
// --- Endogenous price-impact shared-book market (M2) ---------------------------------------
pub use ;
// --- Point-in-time simulator surface (extraction from `sharpebench-sim`) ------------------
pub use ;
// --- The language-agnostic wire contract (the standard OpenOutcry governs) -----------------
pub use ;
// --- The scored output (so callers read returns/trace without a second dependency) --------
pub use Run;