Software and consulting for trading platforms.

Production-ready software and consulting for brokerages and fintechs. I specialize in margin, risk, & operations automation across equities, options, & futures.

Production-ready software, delivered as source code.

Built around real brokerage and regulatory requirements. Deploy it as it is, modify it in-house, or work with me to customize it.

Strategy-Based Margin Engine

Finds the most efficient option strategy groupings and calculates margin requirements and excess for equities and options under Reg T and FINRA Rule 4210. Handles complex multi-leg strategies, with what-if analysis before an order is placed.

Portfolio Margin Engine

Calculates OCC Customer Portfolio Margin with the TIMS methodology: stress-tests a portfolio across scenarios and applies class group, product group and portfolio group offsets. Supports leveraged and inverse ETFs, house stress ranges and what-if analysis.

Active Trader UI

A web trading front end for active traders. Monitors positions across stocks, options, futures and crypto, with margin, stress tests and an events calendar built in.

Want to build it yourself?

I can provide the specifications and test cases needed to build a margin/risk engine in your own stack and validate that it's right.

  1. 01Requirements

    Margin rules and common broker needs, written out.

  2. 02Data model

    How positions, orders, rates and results are structured.

  3. 03Test cases

    Curated JSON test cases: inputs, expected result, and descriptions.

Consulting across trading, product and risk.

I draw on my experience in trading operations, product design and risk management to help teams:

  • Design or refine margin and risk frameworks
  • Design trading products, interfaces and user flows
  • Translate regulatory requirements into technical specifications
  • Optimize clearing and operational workflows

I'm John McCallum. I've spent more than 15 years at retail trading and brokerage platforms, working on the systems behind margin, equities, options and futures trading.

Let's talk.

Interested in working together? Tell me about your next project or current implementation.