Back to Jobs
Alpaca
Engineering & Architecture 1h ago

Staff Software Engineer (Margin & Risk) - Prime Engine

Alpaca
United StatesUnited States
Full-time
Competitive Salary & Stock Options (Not Disclosed)
Senior-Level

Job Description

Key Skills Required

Master these to land this role

Backend42mFree Trial ✨
Start 10-Day Free Trial
PostgreSQLDistributed SystemsKubernetesGo

Want to know if you're a match for this job?

Calculate My Match Score

About the Role

We are seeking a Staff Software Engineer to lead the technical direction of our Margin & Risk team, part of Prime Engine. The team builds the systems that protect Alpaca, our partners, and their customers from financial exposure across every asset class the platform supports—equities, options, and crypto today, and new asset classes as the platform expands.

These systems calculate margin requirements, enforce real-time risk and exposure limits, manage margin calls through their full lifecycle, and automate operational workflows that were historically manual or split across fragmented services. This role is expected to work across those asset classes, not own a single product line: portfolio and intraday margin, options risk, crypto risk controls, and the margin models for new products as they come online. Exposure is often cross-asset, so the architecture has to treat a customer’s risk as one picture.

This is a high-consequence domain. A defect can cause financial loss, incorrectly restrict a customer’s trading, or create regulatory exposure. Latency matters, and correctness matters more. We are looking for an engineer who has owned systems like this before—including what happens when they fail—and who has built that kind of system, not only operated one someone else designed.

You will not manage people directly. You will lead through architecture, code, design reviews, and mentorship, and you will remain a principal contributor on mission-critical systems. The team is about six engineers today and is scaling toward ten. You will be the senior technical anchor for the domain, working with the engineering manager and the senior engineers on the team to spread deep ownership as it grows.

Key Responsibilities

  • Own the architecture and technical roadmap for margin and risk across asset classes, including portfolio margin, intraday margining, options risk, real-time exposure limits, margin-call automation, and margin models for new asset classes.
  • Design and build services that turn complex margin methodologies and regulatory rules into correct, testable, and observable systems, and keep those rules consistent where asset classes interact.
  • Lead real-time risk enforcement on the order path, balancing latency against accuracy and safety.
  • Drive reliability and performance across the team’s services: throughput, state recovery, database load, and failure isolation.
  • Partner with Product, Brokerage Operations, Compliance, and adjacent engineering teams (order management, ledger, account, market data) to define behavior and integration boundaries.
  • Set the standard for correctness in a financial system: transactional integrity, idempotency, reconciliation, feature flags, and staged rollouts.
  • Lead design reviews, mentor senior and mid-level engineers, and raise the engineering bar as the team grows.
  • Act as a technical point of escalation for production margin and risk issues, and drive durable prevention after incidents.

Qualifications

  • 8+ years of backend or distributed-systems experience. Evidence of scope and ownership matters more than a strict year count. Strong preference for someone who has owned the same consequential production system for at least two years.
  • Proven ownership of a high-volume system where a defect could cause financial loss, a data-integrity failure, or an inappropriate customer restriction.
  • Experience designing and shipping transactional, low-latency, high-throughput systems.
  • Strong expertise in Go, or deep experience in Java, C++, or Rust and a clear willingness to work primarily in Go. Domain knowledge matters more than prior time in Go.
  • Deep knowledge of relational databases (PostgreSQL preferred), transactions, consistency, and concurrency.
  • Experience with event-driven and service-oriented systems (gRPC or other RPC, Kafka, RabbitMQ, or similar) and with Kubernetes.
  • Demonstrated care for correctness: testing strategy, edge-case analysis, reconciliation, and safe production rollout.
  • Clear communication with engineers and with operations and compliance partners, including when the business rules are complex or still being defined.
  • Track record of technical leadership and mentorship across teams. Curious about the core of the domain, and effective as a teammate.

Preferred Skills

  • Hands-on margin or risk experience in more than one asset class, with derivatives or recently launched markets especially valuable.
  • Familiarity with margin methodologies such as Reg T, portfolio margin, options spread margin, or futures margin.
  • Background in brokerage, clearing, exchange, ledger, payments, or settlement systems.
  • Experience with options, derivatives, or multi-leg strategies and their risk characteristics.
  • Experience with workflow orchestration (Temporal or similar) for long-running processes such as margin-call lifecycles.
  • Experience with observability and production performance tuning.
  • Experience leading migrations or refactors in production-critical environments.

How would you rate this job post?

See what other professionals think about this role.

banner

Alpaca is a developer-first API brokerage platform and a fully registered, self-clearing US broker-dealer. Their mission is to open financial services to everyone on the planet. Instead of building a flashy consumer trading app like Robinhood, Alpaca built the underlying infrastructure. They offer powerful, modern APIs that allow algorithmic traders, hedge funds, and global FinTech startups to instantly build customizable investing applications. Whether a developer wants to write a Python script to automate their own stock trades, or an international startup wants to offer US stock investing to its users in Latin America or the Middle East, Alpaca provides the complete backend infrastructure to make it happen.

Safety First

  • Never pay for a job application.
  • Do not share sensitive bank info.
  • Verify the client before starting work.
Learn More
Staff Software Engineer (Margin & Risk) - Prime Engine at Alpaca | HireSkys