Skip to content

Wickra PicoThe LED blinks on the EMA cross.

Wickra's O(1) indicator core running bare-metal on a $5 Raspberry Pi Pico — an embedded replay feed streams tick-by-tick through the no_std kernel, and on a signal a GPIO LED toggles. A hardware showcase, not a library.

Wickra Pico

The whole thing, in one loop

Wickra Pico is a hardware showcase, not a library. There is nothing to install from a package registry — it is firmware. An embedded replay feed streams tick-by-tick through the no_std Wickra signal kernel (an EMA(9)/EMA(21) cross); on a signal, a GPIO LED toggles.

rust
#![no_std]
#![no_main]

// Pseudocode of the firmware hot loop.
let mut cross = EmaCross::new(9, 21);

loop {
    let tick = feed.next();          // embedded replay feed
    if let Some(signal) = cross.update(tick) {
        led.toggle();                // the whole demo: an LED on the cross
    }
}

The kernel is no_std, allocation-free and forbid(unsafe_code) — the same indicator math the full Wickra library runs, distilled down to what fits on a microcontroller.

Flash it

A GitHub release builds a flashable RP2040 firmware image (.uf2):

  1. Download the latest .uf2 from releases.
  2. Hold BOOTSEL on the Pico and plug it in — it mounts as a USB drive.
  3. Drag the .uf2 onto the drive. The Pico reboots and starts replaying.

No Rust toolchain is needed to run it; the firmware is built for you in CI.

Built on the Wickra core

Wickra Pico's kernel comes from wickra-embed — the allocation-free, no_std distillation of wickra-core. The indicator values on the chip are byte-identical to the ones a server or a live chart would compute.

Wickra Pico is a hardware demo, not a trading system, and comes with no warranty — use at your own risk.