Skip to main content
All case studies

Private investor · Southeast Asia · 2025–2026

Delta-neutral crypto funding bot with two legs and a kill switch

Long spot and short perpetual on separate accounts of one exchange, with neutrality checks, a daily stop and real-capital runs at minimum size.

The problem

The client wanted to collect funding with no directional exposure. The exchange ties each API key to a single account and its sandbox has a broken index feed, so the sandbox could prove the mechanics but not the economics.

What I built

  • Entry and exit of both legs, with single-leg incident detection and automatic unwind.
  • Kill switch, daily loss stop and safe restart, tested live with minimum-size orders.
  • Funding and fees read from the venue instead of hardcoded values, with break-even computed on that data.
  • VPS deployment with live commissioning, a reboot with the hedge open and a health check every morning.
  • IB Gateway connectivity groundwork for the next options and forex strategies.
$ status
leg.spot
LONG BTC ok
leg.perp
SHORT BTC ok
delta
0.000 neutral
funding
read from venue
daily_stop
armed
kill_switch
armed
health
fresh · 08:00 UTC
Illustration

Result

The system ran with real capital and stayed neutral the whole time. The measurements showed that spot-leg fees set the break-even, which led to the decision to change venue before scaling size.

Have a strategy that needs to run in production?

Tell me what you need and I will reply with scope, timeline and a fixed price.

Contact

Disclaimer. Olaaia is a software engineering studio. I build trading software to each client's specification. I do not provide investment advice, trading signals, account management or fund custody. Strategy design, risk parameters and trading decisions remain with the client. Trading futures, forex, options, crypto and other leveraged products involves substantial risk of loss and is not suitable for every investor. Past performance is not necessarily indicative of future results.

MetaTrader, NinjaTrader, TradingView, Interactive Brokers, Kalshi, Bookmap, Bloomberg and other names are trademarks of their respective owners. No affiliation or endorsement is implied.

Contact