
from alpaca-skills93
Ensures precise handling of monetary amounts and fractional shares using the Alpaca API by avoiding float precision loss.
This skill provides a strict framework for handling financial data when integrating with the Alpaca Broker API. It prevents the common and costly mistake of using binary floating-point numbers (IEEE-754) for money, which leads to rounding errors.
Use this skill whenever the agent is handling monetary amounts, order quantities, or price data in any language (Python, TypeScript, Go, Java) to ensure financial accuracy.
Claude Code, Cursor, Codex, and other AI coding assistants supporting custom SKILL.md instructions.
This skill has not been reviewed by our automated audit pipeline yet.