Execution: Claude skills backed by calculation code

Pre-trade validation (buying power, oversell, short-term gain), order payload construction for Alpaca, Interactive Brokers and FIX 4.4, ISIN/CUSIP/FIGI/LEI check digits and T+1 settlement dates, for human-approved execution. Builds payloads only - never submits orders or connects to a custodian.

What wealth-execution calculates

5 commands, each available in the CLI, as an MCP tool and as a JavaScript import. Every result carries the method it used, the questions it still needs answered and the next steps worth taking.

CommandWhat it returnsWhat it needs
execution validatePre-trade checks: buying power, overselling and holding period.order
execution payloadBroker order payload for Alpaca or Interactive Brokers. Built locally, never submitted.order, account
execution fix-payloadFIX 4.4 New Order Single message for a custodian.symbol
execution identifierValidates ISIN, CUSIP, FIGI and LEI check digits, and MIC and CFI formats.id
execution settlement-dateT+1 settlement date under SEC Rule 15c6-1, skipping weekends and supplied holidays.tradeDate

When to use it

Requests this pack answers:

What it does not do

Named here because leaving it out is how an agent ends up asserting something the code never computed.

Guidance only, no engine behind it

Limits to state with every result

Run it

node bin/wealth-skills.js execution validate --order '{"symbol":"VTI","action":"BUY","quantity":50,"price":275}' --settled-cash 25000
node bin/wealth-skills.js execution validate --order '{"symbol":"VTI","action":"SELL","quantity":40,"price":275}' --positions '{"VTI":100}'
node bin/wealth-skills.js execution payload --broker Alpaca --account ACC-123 --order '{"symbol":"VTI","action":"BUY","quantity":50,"price":275}'
node bin/wealth-skills.js execution payload --broker IBKR --account "$IBKR_ACCOUNT" --conid "$VTI_CONID" --order '{"symbol":"VTI","action":"BUY","quantity":50,"price":275}'
node bin/wealth-skills.js execution fix-payload --custodian Pershing_NetX360 --symbol VTI --side BUY --qty 500 --price 275.50

The same commands are exposed as MCP tools, so Claude, Claude Code, Codex, Cursor and any other MCP client can call them directly. See the integration guide and the pack itself, skills/wealth-execution/SKILL.md.

Catalog coverage

51 resources from the US Wealth Management Capability Catalog map to this pack, 17 of them backed by engine code and the rest cited as guidance or reference.

ResourceWhat the pack does with itCoverage
ISIN / ISO 6166International securities identification ISIN format and check-digit validation.engine
Settlement rule 15c6-1Standard securities settlement-cycle rule T+1 settlement date calculation.engine
FIX Trading Community standardsTrade-message semantics and session specifications FIX 4.4 New Order Single only; no session layer.partial-engine
CFI / ISO 10962Classification of financial instruments CFI format and category only; attribute letters are not validated.partial-engine
MIC / ISO 10383Market and venue identification MIC format only; no registry lookup.partial-engine
OpenFIGI API specificationInstrument-identifier mapping API contract FIGI check digit; no OpenFIGI mapping calls.partial-engine
Market access rule 15c3-5Market-access risk-management controls Buying-power and oversell checks; no market-access credit or capital controls.partial-engine
Fidelity WealthscapeCustody and brokerage operations platform Settlement dates and identifier checks; no operations platform.partial-engine
AltruistRIA custody and portfolio workflows Pre-trade checks and settlement dates; no custody.partial-engine
DTCC CTMInstitutional trade matching Settlement dates only; no trade matching.partial-engine
Schwab Advisor ServicesRIA custody and account servicing FIX orders, pre-trade checks and settlement dates; no custodian connection.payload-builder
BNY Pershing NetX360Custody, trading and servicing desktop FIX order messages built locally.payload-builder
Apex Clearing APIsBrokerage and custody integration REST order payloads built locally and never submitted.payload-builder
Alpaca Trading APIProgrammatic trading and paper trading Alpaca order JSON built locally and never submitted.payload-builder
Interactive Brokers APIsTrading, account data and reporting interfaces IBKR order JSON with a caller-supplied conid, never submitted.payload-builder
Tradier APIBrokerage and market-data API Order payloads built locally; no market data or submission.payload-builder
TradeStation APITrading and brokerage data API Order payloads built locally; no market data or submission.payload-builder
Alpaca Broker APIBrokerage application and account workflows No brokerage account workflows.guidance
FIXMLXML representation of FIX business messages Messaging and interoperability standard; not implemented.standard-reference
FASTMarket-data message compression specification Messaging and interoperability standard; not implemented.standard-reference
Simple Binary EncodingBinary encoding for financial messages Messaging and interoperability standard; not implemented.standard-reference
FIX Performance Session LayerHigh-performance FIX session protocol Messaging and interoperability standard; not implemented.standard-reference
FpMLDerivatives product and lifecycle XML specifications Messaging and interoperability standard; not implemented.standard-reference
FINOS Common Domain Model specificationCommon product, trade and lifecycle model Messaging and interoperability standard; not implemented.standard-reference
FDC3 specificationDesktop context and intent interoperability Messaging and interoperability standard; not implemented.standard-reference
ISO 20022Financial business-message models and schemas Securities messaging standard; not implemented.standard-reference
ISO 15022Securities messaging dictionary Securities messaging standard; not implemented.standard-reference
FISN / ISO 18774Financial-instrument short names Short-name standard; not implemented.standard-reference
FINRA 5310 Best ExecutionExecution diligence and review Trading requirement; not implemented.standard-reference
FINRA 5320 Customer OrdersTrading ahead of customer-order restrictions Trading requirement; not implemented.standard-reference
FINRA 4210 Margin RequirementsCustomer margin framework Trading requirement; not implemented.standard-reference
FINRA 11870 Customer Account TransfersCustomer-account transfer rules Account transfer rule; ACAT is not implemented.standard-reference
FINRA CAT technical specificationsOrder-event reporting specifications Industry reporting or transfer service; not implemented.standard-reference
DTCC ACATSAccount-transfer service and processing documentation Industry reporting or transfer service; not implemented.standard-reference
DTCC ALERTStanding settlement-instruction reference service Industry reporting or transfer service; not implemented.standard-reference
ABIDESAgent-based market simulation Agent-based market simulation.integration-reference
alpaca-pyPython client for Alpaca services Official client for submitting the Alpaca payloads built here.integration-reference
schwab-pyCommunity Schwab API client Community Schwab client.integration-reference
ib_asyncCommunity Interactive Brokers client Community IBKR client for resolving conids and submitting payloads.integration-reference
QuickFIXFIX messaging engine FIX engine with the session layer this library lacks.integration-reference
QuickFIX/JJava FIX engine FIX engine with the session layer this library lacks.integration-reference
QuickFIX/GoGo FIX engine FIX engine with the session layer this library lacks.integration-reference
FINOS FDC3Desktop interoperability standards and examples Interoperability or domain-model reference implementation.integration-reference
FINOS Common Domain ModelFinancial product and lifecycle representations Interoperability or domain-model reference implementation.integration-reference
OpenFIGI examplesFinancial-instrument identifier mapping examples FIGI mapping examples; this library only validates FIGI check digits.integration-reference
Optimal Execution of Portfolio Transactions (Almgren and Chriss, 2001)Execution cost and timing-risk tradeoff Execution-cost and market microstructure research; no execution algorithms.research-reference
Continuous Auctions and Insider Trading (Kyle, 1985)Price impact and information in trading Execution-cost and market microstructure research; no execution algorithms.research-reference
Bid, Ask and Transaction Prices (Glosten and Milgrom, 1985)Adverse selection and bid-ask spreads Execution-cost and market microstructure research; no execution algorithms.research-reference
Optimal Control of Execution Costs (Bertsimas and Lo, 1998)Dynamic execution-cost optimization Execution-cost and market microstructure research; no execution algorithms.research-reference
Optimal Trading Strategy and Supply/Demand Dynamics (Obizhaeva and Wang, 2013)Liquidity resilience and execution Execution-cost and market microstructure research; no execution algorithms.research-reference
No-Dynamic-Arbitrage and Market Impact (Gatheral, 2010)Constraints on market-impact models Execution-cost and market microstructure research; no execution algorithms.research-reference

Questions it answers

Can they afford this trade?

Pre-trade checks: buying power, overselling and holding period. Run execution validate in the CLI, or call the same tool over MCP. It needs order. Every check is against the order. The result carries the method it used, the data it used, anything still missing and the next steps worth taking, for a licensed professional to review.

Build the order for alpaca?

Broker order payload for Alpaca or Interactive Brokers. Built locally, never submitted. Run execution payload in the CLI, or call the same tool over MCP. It needs order and account. It becomes the payload. The result carries the method it used, the data it used, anything still missing and the next steps worth taking, for a licensed professional to review.

Generate a FIX order?

FIX 4.4 New Order Single message for a custodian. Run execution fix-payload in the CLI, or call the same tool over MCP. It needs symbol. These become the FIX tags. The result carries the method it used, the data it used, anything still missing and the next steps worth taking, for a licensed professional to review.

Is this ISIN valid?

Validates ISIN, CUSIP, FIGI and LEI check digits, and MIC and CFI formats. Run execution identifier in the CLI, or call the same tool over MCP. It needs id. The check digit is computed from the other characters. The result carries the method it used, the data it used, anything still missing and the next steps worth taking, for a licensed professional to review.

When does this trade settle?

T+1 settlement date under SEC Rule 15c6-1, skipping weekends and supplied holidays. Run execution settlement-date in the CLI, or call the same tool over MCP. It needs tradeDate. Settlement counts business days from it. The result carries the method it used, the data it used, anything still missing and the next steps worth taking, for a licensed professional to review.

The other skill packs