Lux Docs
Cex

Compliance

Pre-trade compliance pipeline, jurisdiction rules, and offering-type gating

Every order passes through two sequential pre-trade compliance checks before reaching the matching engine. If any check fails, the order is rejected with a specific error message and the order status is set to rejected.

Pre-Trade Compliance Pipeline

The compliance.Service.PreTradeCheck() enforces these checks in order:

StepCheckRejection Reason
1Sanctions screeningAccount is on OFAC/UN/EU sanctions list
2AML clearedAccount has not passed AML screening
3PEP screeningPEP (direct/related) requires EDD review and verified source of funds
4Adverse mediaAdverse media flag requires EDD review
5FATF high-risk countryHigh-risk jurisdiction requires enhanced KYC (level 3)
6Per-jurisdiction KYC minimumKYC level insufficient for jurisdiction + asset class
7Structured product eligibilityAccredited/professional status required for complex products
8Order size + daily limitOrder exceeds per-account max order size or daily volume limit

KYC Levels

LevelNameRequirements
0NoneNo verification
1BasicEmail + phone verified
2StandardGovernment ID verified
3EnhancedAccredited investor verification

PEP Classification

StatusDescriptionTrading Requirements
(none)Not a PEPStandard checks
directCurrent/former senior political figureEDD completed + source of funds verified
relatedClose family member or associateEDD completed + source of funds verified
formerFormerly PEP, cooling-off periodStandard checks (may require EDD per jurisdiction)

Jurisdiction Coverage

The system enforces per-jurisdiction, per-asset-class KYC minimums across 30+ jurisdictions:

RegionJurisdictionsRegulator
AmericasUS, CA, BR, MX, KY, BM, BSSEC/FINRA, CSA/IIROC, CVM, CNBV, CIMA, BMA, SCB
EuropeUK, EU, CH, IM, GI, LIFCA, ESMA/MiFID II, FINMA, IOM FSA, GFSC, FMA
Asia-PacificSG, HK, JP, AU, KR, INMAS, SFC, JFSA, ASIC, FSC Korea, SEBI
MENAAE, SA, BH, QA, KW, OM, JODFSA/VARA/SCA, CMA, CBB, QFCRA, CMA, CMA, JSC
AfricaZA, NG, KE, MUFSCA, SEC Nigeria, CMA Kenya, FSC Mauritius

Most jurisdictions require KYC level 2 (Standard) for securities trading. Exceptions:

  • US crypto: KYC level 1 (Basic) sufficient
  • SG DPT (crypto): KYC level 1 sufficient
  • CA crypto: KYC level 1 sufficient
  • Caribbean OFCs (KY, BM, BS): KYC level 1 sufficient
  • Mauritius: KYC level 1 sufficient

Offering-Type Gating

The compliance.Service.OfferingPreTradeCheck() enforces offering-specific rules. Securities are registered with an OfferingType that determines who can trade them.

US (SEC) Offerings

TypeRuleInvestor Requirement
reg_d_506cReg D Section 506(c)Accredited investors only
reg_d_506bReg D Section 506(b)Up to 35 non-accredited (KYC level 2+)
reg_aReg A+ (Tier 1/2)Non-accredited subject to investment limits
reg_cfReg CrowdfundingAnnual investment limits based on income/net worth
reg_sReg S (offshore)Non-US persons only
publicRegistered/listedStandard KYC

Reg CF Annual Limits

Per SEC Rule 227.100(a)(2), non-accredited investors have rolling 12-month limits:

  • If annual income or net worth < $124,000: greater of $2,500 or 5% of lesser of (income, net worth)
  • If both >= $124,000: 10% of lesser, capped at $124,000
  • Accredited investors: no limit

International Offerings

TypeJurisdictionRequirement
uk_privateUK (FCA s.86)Professional/qualified investors only
uk_crowdfundingUK (FCA)KYC level 1+, appropriateness assessment
eu_exemptEU (Prospectus Reg)MiFID II professional clients only
micaEU (MiCA)KYC level 1+
sg_privateSG (SFA s.272B)MAS accredited or institutional
sg_smallSG (SFA s.272A)KYC level 1+
sg_dptSG (PS Act)KYC level 1+
hk_professionalHK (SFO s.103)SFC professional investors only
dfsa / varaUAEKYC level 2+
sa_cmaSaudi ArabiaQualified/institutional investors
im_fsaIsle of ManKYC level 2+

Structured Product Eligibility

Complex products have additional suitability requirements:

Asset ClassRequirement
Structured credit (ABS/MBS/CDO/CLO)Accredited or professional + KYC level 3
Private equity / ventureAccredited + KYC level 3
Private creditAccredited or professional + KYC level 3
Real estateKYC level 2+
Precious metalsKYC level 2+
Municipal bondsKYC level 2+
CDPs (DeFi)KYC level 1+
LP tokens (DeFi)KYC level 1+

Client Types

TypeDescription
individualRetail investor
institutionalQIB, fund, etc.
broker_dealerRegistered B/D subscriber

Account Registration

Register an account via POST /v1/accounts/{id}/register with jurisdiction, KYC level, AML status, PEP classification, source of funds, and accreditation status. The compliance service stores this and enforces it on every subsequent order.

On this page