pages / example / strategy_bender
canister coord://offchain/genie/program/strategy_bender@v1/8502ae29742bd3ee · v1 · artifact root 0x8502ae29742bd3ee7b26e06f8103571014d3214dc77553220bf9126348eeab0a · previous none (first version) · superroot at publish not sealed yet
sealed cases that reached it: 0 — sealed cases that reached this word (the store counts, never reads)
strategy bender (a .genie program) in the studio: 6 symptoms, 7 fixes
// _GENIE_CUBICLE_STRATEGY_v1_ — a trading strategy as a program (the trading pack, version 2): the bar maths is the cubicle.script v1 // bender-corridor (its runner hash below is the strategy: cubicle-scripts experiment 02 pins it), the program puts it on the fest-nq desk // of the trading-decisions contract and hands it to the reader gate. The program never says it is proven: the desk proposal it compiles // to is shadow / not_proven, and only the gate's verdict (desks.json on the box) may let the desk trade it. Its layer draws by the verdict. genie strategy_bender v1 about "The bender corridor on NQ one-minute bars: the script holds the bar maths, the reader gate grades it on windows it never saw, and only the gate's verdict lets a desk trade it" use product market.price agent bender is "the bender corridor on NQ 1m, graded by the reader gate before any desk trades it" states written replayed graded proven not_proven ungradeable start written final proven not_proven ungradeable failed not_proven ungradeable on cron "10 7 * * *" move written -> replayed runs sha256:87aa956f822fdac9808fefdff3b768c0c710920f93a29c5b050fae5a1b003d0c market NQ bars 1m reads script compress 1m 1 needs rsi needs atr needs clamp needs wins_last needs trades_closed meter market.price hop offer_in move replayed -> graded desk fest-nq graded_by reader_gate holdout 0.3 cost 8 broken complement broken time_shift_24h broken week_shuffle mode shadow hop graded move graded -> proven when gate.verdict == "PROVEN" draws by_verdict hop graded move graded -> not_proven when gate.verdict == "NOT_PROVEN" hop graded move graded -> ungradeable when gate.verdict == "UNGRADEABLE" hop graded refuse self_proven "a program never declares its desk live or proven: only the reader gate's verdict lets the desk trade" refuse ungraded "a strategy no gate grades never reaches a desk" say replayed "The script ran over the gate's window, bar by bar, the same frames on every replay" say graded "The reader gate graded the calls on a holdout it never tuned on, against a timing null and three broken versions" next written replayed "Run the script over the gate's window" next graded proven "Only a PROVEN verdict draws the layer and lets the desk trade" knowledge symptom "the strategy never trades" caused_by "the reader gate has not proven it" fixed_by "read the gate's record: the holdout, its null and the broken versions that passed" symptom "the layer draws nothing" caused_by "the verdict is not PROVEN" fixed_by "the layer draws by the verdict; until it holds it shows its record as a sentence, never a side" symptom "the program is refused with self_proven" caused_by "it declared the desk live" fixed_by "write mode shadow: the desk proposal is always shadow and not proven" fix "read the gate's record: the holdout, its null and the broken versions that passed" opens graded fix "the layer draws by the verdict; until it holds it shows its record as a sentence, never a side" opens graded fix "write mode shadow: the desk proposal is always shadow and not proven" opens classify rule "the bar maths lives in the cubicle.script; the program names it by hash and never computes a bar" term "verdict" is "the reader gate's word on a strategy: PROVEN, NOT_PROVEN or UNGRADEABLE" door "Grade a strategy" as bender product strategy-grade locale en step written "Your strategy names its script, its market and its desk" next replayed opens replayed step replayed "The script ran over the gate's window" next graded step graded "The reader gate graded it" next proven opens proven step proven "It held on windows it never saw: the layer draws and the desk may trade it" step not_proven "It did not hold: the layer shows its record, the desk stays shadow" step ungradeable "The tape or the calls were too thin to grade: nothing trades" handoff "a dispute over a verdict is a person's case" booking https://cal.com/taifoon meet https://meet.jit.si room genie-strategy-bender