Context
Everything else on while25. The ctx a handler receives is the same object, kept for the explicit style and for tests.
PYwhile25.instrument · while25.interval
What the chart asked for. An indicator should compute from these rather than hardcoding a symbol — one registration then serves every chart.
PYwhile25.params → dict
The user’s values for your declared inputs.
PYwhile25.log(message, level="info")
Writes to the module’s console. level is info, warn or error.
PYwhile25.emit(name, payload=None)
Fire a signal another module can receive with @on.signal(name). Fire-and-forget: no queue, no replay, and a signal with no subscriber is a no-op.
PYwhile25.indicator(cls, *, instrument="", interval="", **params) → dict
Run another indicator in this process and get its series back — no chart, no round trip. This is how a strategy uses an indicator’s numbers.
PYwhile25.alive() → bool
False once the platform asks the module to stop. Check it inside any long loop.