Stacked on #222 (base `feat/c-abi-hub`), so the diff is just the additions on top of the hub foundation — no merge of #222 required. ## What this adds **Examples — full parity with rust/python/node (`examples/c/`)** - `streaming.c` upgraded to the multi-indicator (SMA/EMA/RSI/MACD + signals) demo - `backtest.c`, `multi_timeframe.c` (manual time-bucket resampling), `parallel_assets.c` (serial vs OpenMP fan-out, one handle per asset) - three educational strategies: `strategy_rsi_mean_reversion.c`, `strategy_macd_adx.c`, `strategy_bollinger_squeeze.c` - two network examples shelling out to `curl`: `fetch_btcusdt.c`, `live_binance.c` (REST poll) - two header-only helpers (`wickra_csv.h`, `wickra_strategy.h`) since the C ABI ships no IO layer - CMake builds all 11; the 9 offline ones run under `ctest` on 3 OS; the network two are built-only **Docs & metadata — surface the C ABI everywhere it was missing** - ARCHITECTURE diagram + crate table, SECURITY + THREAT_MODEL (the C ABI as the sole `unsafe` FFI surface), the three binding package READMEs, issue/PR templates, CHANGELOG, and the GitHub About template (live About + org description updated too) **Cleanup** - removed all references to the private generator tooling from public files (`bindings/c/src/lib.rs` header, `CONTRIBUTING.md`, `sync-about.yml`) Verified locally: `cargo build -p wickra-c --release`, `cmake + ctest` (9/9 pass), and `-Wall -Wextra -Wpedantic` clean on gcc 13.
37 lines
864 B
Markdown
37 lines
864 B
Markdown
---
|
|
name: Question / usage help
|
|
about: Ask how to do something with Wickra. For open-ended discussion prefer GitHub Discussions.
|
|
title: "[Question] <short description>"
|
|
labels: ["question"]
|
|
assignees: []
|
|
---
|
|
|
|
> [!NOTE]
|
|
> If this is open-ended ("which indicator should I use for X?") please
|
|
> use **Discussions** instead — issues are for actionable items.
|
|
|
|
## What are you trying to do?
|
|
|
|
<!-- The end goal, not the API call. -->
|
|
|
|
## What have you tried?
|
|
|
|
<!--
|
|
Code, docs you've read, search terms that didn't help.
|
|
Show that you've spent a few minutes before asking.
|
|
-->
|
|
|
|
```python
|
|
import wickra as ta
|
|
...
|
|
```
|
|
|
|
## What's confusing or blocking you?
|
|
|
|
<!-- Specific question. "Why does X return NaN for the first N points?" beats "doesn't work". -->
|
|
|
|
## Environment (Only if relevant)
|
|
|
|
- Wickra version: `e.g. 0.4.2`
|
|
- Binding: `Rust / Python / Node / Wasm / C ABI`
|