alpaca-broker-money-precision

Official

Precision handling for monetary transactions in Alpaca's Broker API

Authoralpacahq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the intricacies of financial calculations with Alpaca's Broker API, ensuring accuracy in monetary transactions by managing numeric precision and rounding rules.

Core Features & Use Cases

  • String-Based Arithmetic: Manages monetary amounts as strings to prevent precision loss.
  • Precision and Rounding: Applies precise rounding/truncation to ensure compliance with API requirements.
  • Fractional Shares Handling: Ensures correct handling of fractional shares calculations.
  • Storage: Offers guidelines for storing financial data securely and accurately.
  • Use Case: Automate deposit splits, withdrawals, or fractional share trades with confidence, knowing your monetary calculations adhere to the highest standards of precision.

Quick Start

Use the alpaca-broker-money-precision skill to perform a deposit, rounding to 2 decimal places before calling the API.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: alpaca-broker-money-precision
Download link: https://github.com/alpacahq/alpaca-skills/archive/main.zip#alpaca-broker-money-precision

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.