@usefin/plugin-capital-markets
v0.1.0
Published
Capital Markets & Brokerage provider plugins for fin CLI
Readme
@usefin/plugin-capital-markets
Capital Markets & Brokerage provider plugins for the fin CLI. Only supported (GA) providers are exposed (Alpaca, Interactive Brokers, Robinhood, E*TRADE). List, get, create, update, delete where the API supports them; use --data '{"key":"value"}' for create/update. Mock fallback when unauthenticated.
Installation
Included when you install the main usefin CLI.
Auth setup
usefin auth:login <provider> then usefin doctor
Usage
Objects: accounts, orders, positions. All commands support list/get; create, update, and delete are available where the provider API supports them. Use --data '{"key":"value"}' for create and update.
| Example |
|--------|
| usefin <provider>:accounts:list --json |
| usefin <provider>:accounts:get <id> |
| usefin <provider>:orders:create --data '{}' (where supported) |
| usefin <provider>:orders:update <id> --data '{}' |
| usefin <provider>:orders:delete <id> |
