| Title: | Deterministic Gymnasium-Compatible Backtest Environment |
|---|---|
| Description: | R bindings for wickra-gym over its C ABI hub: build a Gymnasium-compatible backtest environment from a JSON spec, load candles and drive it with reset/step commands - the same JSON protocol as the CLI and every other language binding, with byte-identical trajectories. |
| Authors: | kingchenc [aut, cre] |
| Maintainer: | kingchenc <support@wickra.org> |
| License: | MIT + file LICENSE | Apache License 2.0 |
| Version: | 0.2.0 |
| Built: | 2026-10-07 09:00:52 UTC |
| Source: | https://github.com/wickra-lib/wickra-gym |
Apply a command JSON and return the resulting response JSON.
wkgym_command(env, cmd_json)wkgym_command(env, cmd_json)
env |
An environment handle from [wkgym_new()]. |
cmd_json |
A command JSON string ('load', 'reset', 'step', 'spec', 'version'). |
The response as a JSON string.
Create a gym environment from a spec JSON.
wkgym_new(spec_json)wkgym_new(spec_json)
spec_json |
An 'EnvSpec' JSON string. |
A 'wickra_gym' environment handle (an external pointer).
The wickra-gym library version.
wkgym_version()wkgym_version()
A version string.