Package 'wickratimemachine'

Title: Reconstruct Recorded Crypto Market Microstructure at Any Past Moment
Description: R bindings for wickra-timemachine over its C ABI hub: a deterministic re-fold reconstructs the byte-identical market microstructure snapshot at any recorded timestamp - the same protocol as the CLI and every other binding.
Authors: kingchenc [aut, cre]
Maintainer: kingchenc <[email protected]>
License: MIT + file LICENSE | Apache License 2.0
Version: 0.2.0
Built: 2026-10-07 09:01:56 UTC
Source: https://github.com/wickra-lib/wickra-timemachine

Help Index


Apply a command JSON and return the resulting response JSON.

Description

Apply a command JSON and return the resulting response JSON.

Usage

wktimemachine_command(tm, cmd_json)

Arguments

tm

A time-machine handle from [wktimemachine_new()].

cmd_json

A command JSON string ('load', 'seek', 'state_at', 'play', 'version').

Value

The response as a JSON string.


Build a time-machine handle from a spec JSON.

Description

Build a time-machine handle from a spec JSON.

Usage

wktimemachine_new(spec_json)

Arguments

spec_json

A 'TimelineSpec' JSON string ('""' uses the default spec).

Value

A 'wickra_timemachine' handle (an external pointer).


The wickra-timemachine library version.

Description

The wickra-timemachine library version.

Usage

wktimemachine_version()

Value

A version string.