Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

manage-live-trading

Skill by xingwudao

Connects open-xquant to Alpaca paper or live trading. It covers broker connectivity, account checks, market data and order submission, with safety gates on live use.

  • Score 58
  • 154 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install manage-live-trading

Built from the published package, never by AI.

git clone --depth 1 https://github.com/xingwudao/open-xquant /tmp/open-xquant && mkdir -p ~/.claude/skills && cp -r /tmp/open-xquant/agent/skills/manage-live-trading ~/.claude/skills/manage-live-trading

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install manage-live-trading in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The manage-live-trading skill connects open-xquant to Alpaca paper or live trading. It gives the assistant code for checking the account and positions, fetching market bars from Alpaca, and submitting orders. Paper mode is the default. Live mode is only used when a user explicitly asks for it and confirms the risk.

Before any order, the skill requires showing the mode, symbol, side, quantity, order type, time in force and estimated risk, then explicit user confirmation. It also describes a LiveBroker class for engine-level integration. It is aimed at open-xquant users who need broker connectivity, account checks, live data or order submission through Alpaca.

Written from the project's SKILL.md and checked against it.

What it can do

  • Account checkCreates an Alpaca client and prints the account and open positions.
  • Market dataFetches historical bars for a symbol from Alpaca using the IEX feed.
  • Order submissionSubmits a market order after showing the details and getting user confirmation.
  • LiveBrokerStarts a LiveBroker for engine-level broker integration and closes it when finished.

What you need

  • Alpaca API key and secret key
  • uv for installing dependencies
  • Python project with the live extra installed

Try asking

  • Check my Alpaca paper account balance and open positions.
  • Get daily SPY bars from 2024-01-01 to 2024-06-01.
  • Show the details of a 1 share SPY market buy order for confirmation.

Good to know

  • Defaults to paper trading; live trading requires explicit user request and confirmation.
  • Orders need explicit user confirmation and should not be batched without full review.
  • API keys should not be stored in files.
  • LiveBroker opens a trade-update stream and must be closed after use.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agent/skills/manage-live-trading/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md2 KB

Alternatives to manage-live-trading

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

manage-live-trading: common questions

Does this skill place real trades by default?

No. It defaults to paper=True and only connects to live endpoints when the user explicitly asks for live trading and confirms the risk.

What must be shown before an order is submitted?

The paper or live mode, symbol, side, quantity, order type, time in force and estimated risk. The user must then explicitly confirm.

Which broker does this skill connect to?

It connects open-xquant to Alpaca, using paper or live trading through the Alpaca client and market data provider.

How do I install manage-live-trading?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is manage-live-trading free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is manage-live-trading safe to use?

It scores 58 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to manage-live-trading?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

manage-live-trading Install

Add to stack

Loading.