You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(examples): async_chain_ops uses a temp dir; creator points at shipped chain (#388) (#390)
- `async_chain_ops`: `save_to_json_async`/`save_to_csv_async` take a
*directory* and append `{title}.{ext}`. The example previously passed
"async_chain.json" as a directory, so the inner `File::create` hit
ENOENT. Route the paths through
`std::env::temp_dir().join("optionstratlib-async-chain-ops")` and
create it up front.
- `creator`: point the hard-coded JSON path at the Germany-40 chain
that actually ships in `examples/Chains/` (`Germany-40-2025-05-27-15-29-00-UTC-24209.json`)
instead of the `2025-06-13-16:00:00-UTC-23794.5` file that was
never committed.
Both example binaries now run to completion.
Closes#388.
0 commit comments