Chuyển đến nội dung
Skillpedia
Khác7.4k · #13260

alice-uta

Skill này làm gì

Skill này cho phép agent đọc các tài khoản môi giới đã kết nối, danh mục, hợp đồng, báo giá và lịch sử lệnh. Skill cũng bao gồm các hành động lệnh, vì chúng có thể ảnh hưởng đến giao dịch thật. Dành cho người giao dịch qua một môi giới đã kết nối.

Khi nào nên dùng

  • ✓Khi bạn hỏi mình đang nắm những vị thế nào trong tài khoản môi giới.
  • ✓Khi bạn muốn một báo giá hiện tại cho một hợp đồng bạn đã tra cứu.
  • ✓Khi bạn muốn xem lại lịch sử lệnh gần đây trước khi quyết định bất cứ điều gì.

Liên kết skill

https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/alice-uta/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/alice-uta/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hiện tại tôi đang nắm những vị thế nào trong tài khoản giao dịch?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent liệt kê các tài khoản đã kết nối và đọc danh mục cùng báo giá. Skill yêu cầu agent kiểm tra đúng lệnh và các tùy chọn của nó trước mọi hành động làm thay đổi giao dịch.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Trading — alice-uta

Accounts, portfolio, contracts, orders, and the trading-as-git approval flow. Account, portfolio, contract, quote, market-clock, and history reads do not mutate broker state. Order writes, position closes, approval commands, and the simulator can mutate trading state: inspect their live help before acting, and act only on what the user's instructions actually cover.

Discover, don't guess

alice-uta --help                       # the groups
alice-uta <group> <verb> --help        # a verb's flags (which are required)

Read this skill before the first UTA command in a task. If a command is rejected, follow the CLI's suggested command or run the exact verb's --help before retrying. Do not improvise a positional account id or flags such as --account, --query, or --symbols.

Common read-only recipes

alice-uta account list
alice-uta account info --source <account-id>
alice-uta account portfolio                         # every trading account
alice-uta account portfolio --source <account-id>   # one account
alice-uta account portfolio --source <account-id> --symbol AAPL

--source takes the id returned by account list; it is not --account and is not a broker-native account number.

Resolve a broker contract before requesting a quote. Search uses --pattern (not --query). Quote accepts exactly one broker-resolved --alice-id at a time; repeat the command for multiple contracts rather than inventing a --symbols flag. Quote infers its account from the aliceId prefix.

alice-uta contract search --source <account-id> --pattern AAPL
alice-uta contract details --source <account-id> --alice-id '<alice-id-from-search>'
alice-uta contract quote --alice-id '<alice-id-from-search>'

Keep aliceId values quoted because they contain |, which a shell otherwise interprets as a pipe. Contract search may return a directory rather than a tradeable leaf; expand it before quoting or ordering:

alice-uta contract expand --help       # expand a directory-style result (chains, families)
  • Resolve the contract before any order (contract search → contract details) — never guess a symbol's broker-native identity.

Broker research

contract option-contracts returns paginated option definitions and dated open interest; contract option-chain returns paginated snapshots with IV/Greeks when supplied. Currently Alpaca supports these reads. Keep the same filters when following nextPageToken. The default indicative feed contains modified quotes and delayed trades; use observation timestamps and do not treat it as executable OPRA. Options reads do not imply options trading permission. contract order-book provides depth on Alpaca crypto and CCXT.

Alpaca crypto uses CRYPTO contracts, with GTC or IOC orders. Its equity market clock does not describe the 24/7 crypto session.

Place / modify / cancel orders

alice-uta order place --help           # check EVERY flag before placing
alice-uta order modify --help          # amend a working order
alice-uta order cancel --help          # cancel a working order
alice-uta order list                   # working orders
alice-uta order history --help         # the order record
alice-uta order trades --help          # fills
  • Report every order result to the user — order id, status, and what you did. Surprises in a brokerage account are never acceptable.

Positions

alice-uta position close --help        # close a position (partial or full)

(Listing positions is account portfolio.)

The trading-as-git approval flow

The git group is OpenAlice's trade-approval flow — a mirror of git verbs on purpose. Run --help per verb:

alice-uta git status                   # pending / staged trading state
alice-uta git log                      # history
alice-uta git show --help              # inspect one entry
alice-uta git commit --help            # approve
alice-uta git push --help              # send approved orders to the venue
alice-uta git reject --help            # reject a staged change
alice-uta git sync --help              # reconcile against the venue

Shells expand $ inside double-quoted values. For any trading thesis that contains currency, either use single quotes or the generated file-backed flag:

alice-uta order place ... --commit-message 'Buy below $971 after support confirmation'
alice-uta order place ... --commit-message-fil
Câu hỏi thường gặp

Agent có thể tự mua hoặc bán không?

Skill nói các hành động lệnh có thể thay đổi trạng thái giao dịch, nên agent chỉ nên hành động theo đúng điều bạn yêu cầu rõ ràng.

Các lần kiểm tra chỉ đọc có thay đổi tài khoản của tôi không?

Không. Skill nói việc đọc tài khoản, hợp đồng, báo giá và lịch sử không làm thay đổi trạng thái của môi giới.

Điều gì xảy ra nếu một lệnh bị từ chối?

Agent làm theo lệnh được gợi ý hoặc kiểm tra trợ giúp của đúng lệnh đó trước khi thử lại.

Chi tiết

Mô tả gốc của tác giả

Read broker accounts, portfolios, contracts, quotes, and order history, or manage approved trading, through the `alice-uta` executable on the shell PATH. Account/contract/history reads are safe and do not mutate broker state; order writes, position-close, commit, push, reject, sync, and simulator commands may change trading state. Use for "what's my position", "quote this contract", "place or cancel an order", and the trading-as-git approval flow. Discover current flags with `alice-uta <group> <verb> --help`; do not guess aliases.

repo: TraderAlice/OpenAlice

Độ phổ biến

Sao GitHub
7.4k
Vị trí xếp hạng
#13260
Giấy phép
AGPL-3.0
Cập nhật
23/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự