New

Staff Software Engineer - Margin & Risk

Remote - Americas or EU

Who We Are:

Alpaca is a US-headquartered, global leader in agent-first brokerage infrastructure for stocks, ETFs, options, crypto, fixed income, 24/5 trading, and more.

Amongst our subsidiaries, Alpaca is a licensed financial services company, serving hundreds of financial institutions across 40 countries with our institutional-grade APIs. This includes broker-dealers, investment advisors, wealth managers, hedge funds, and crypto exchanges, totalling over 10 million brokerage accounts.

Our global team is a diverse group of experienced engineers, traders, and brokerage professionals who are working to achieve our mission of opening financial services to everyone on the planet. We're deeply committed to open-source contributions and fostering a vibrant community, continuously enhancing our award-winning, developer-friendly API and the robust infrastructure behind it.

Alpaca is proudly backed by $400 million in funding from top-tier global investors including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Opera Tech Ventures, SBI Group, Derayah Financial, Unbound, Peak XV, Elefund, and Y Combinator.

Our Team Members:

We're a dynamic team of 400+ globally distributed members who thrive working from our favorite places around the world, with teammates spanning the USA, Canada, Japan, Hungary, Nigeria, Brazil, the UK, and beyond!

We're searching for passionate individuals eager to contribute to Alpaca's rapid growth. If you align with our core values—Stay Curious, Have Empathy, and Be Accountable—and are ready to make a significant impact, we encourage you to apply.

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. You would help establish and deepen that expertise on the team.
  • 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 We Take Care of You:

  • Competitive Salary & Stock Options
  • Health Benefits
  • New Hire Home-Office Setup: One-time USD $500
  • Monthly Stipend: USD $150 per month via a Brex Card

Alpaca is proud to be an equal opportunity workplace dedicated to pursuing and hiring a diverse workforce.

Recruitment Privacy Policy

Create a Job Alert

Interested in building your career at Alpaca ? Get future opportunities sent straight to your email.

Apply for this job

*

indicates a required field

Phone
Resume/CV*

Accepted file types: pdf, doc, docx, txt, rtf

Cover Letter

Accepted file types: pdf, doc, docx, txt, rtf


Voluntary Self-Identification

For government reporting purposes, we ask candidates to respond to the below self-identification survey. Completion of the form is entirely voluntary. Whatever your decision, it will not be considered in the hiring process or thereafter. Any information that you do provide will be recorded and maintained in a confidential file.

As set forth in Alpaca ’s Equal Employment Opportunity policy, we do not discriminate on the basis of any protected group status under any applicable law.

Select...
Select...
Race & Ethnicity Definitions

If you believe you belong to any of the categories of protected veterans listed below, please indicate by making the appropriate selection. As a government contractor subject to the Vietnam Era Veterans Readjustment Assistance Act (VEVRAA), we request this information in order to measure the effectiveness of the outreach and positive recruitment efforts we undertake pursuant to VEVRAA. Classification of protected categories is as follows:

A "disabled veteran" is one of the following: a veteran of the U.S. military, ground, naval or air service who is entitled to compensation (or who but for the receipt of military retired pay would be entitled to compensation) under laws administered by the Secretary of Veterans Affairs; or a person who was discharged or released from active duty because of a service-connected disability.

A "recently separated veteran" means any veteran during the three-year period beginning on the date of such veteran's discharge or release from active duty in the U.S. military, ground, naval, or air service.

An "active duty wartime or campaign badge veteran" means a veteran who served on active duty in the U.S. military, ground, naval or air service during a war, or in a campaign or expedition for which a campaign badge has been authorized under the laws administered by the Department of Defense.

An "Armed forces service medal veteran" means a veteran who, while serving on active duty in the U.S. military, ground, naval or air service, participated in a United States military operation for which an Armed Forces service medal was awarded pursuant to Executive Order 12985.

Select...

We use Greenhouse’s AI-powered Talent Matching tool to compare your application against our job requirements.

Learn more