Swimmer Custodial Stock Orders
Discover balances and submit market or limit trades for Swimmer-issued stock tokens against USDC on Solana using public endpoints and a dedicated local keypair config. Use for SOL,…
Kronus91
@ytx1991
Install
$ openclaw skills install @ytx1991/swimmer-stock-tradingSwimmer custodial stock-order submission
Use this skill only for Swimmer-issued stock-token routes settled in canonical USDC on Solana mainnet. No registration, login, or service API key is required. The user funds a dedicated low-balance wallet with USDC and a small amount of SOL for network fees.
Submission is an irreversible SPL-token transfer to a fixed Swimmer custodial recipient plus a public memo. It is not an atomic swap. The Solana transaction cannot enforce order execution, delivery of the requested asset, cancellation, or refund. Read references/custody-and-settlement.md before preparing an order.
Mandatory security boundary
- Never ask for or display a seed phrase, private key, wallet export, or config contents. If a secret appears in chat or output, tell the user to treat it as compromised and move funds from a separate trusted device.
- The human creates
~/.config/swimmer-stock-trading/config.jsonin a trusted local editor. Only the packaged signer reads it. The CLI has no config-path option and opens only that path without following symlinks. - Use a new dedicated wallet with only the amount at risk. This hot-wallet setup is not as strong as a hardware wallet or isolated signer.
- Require exact directory mode
0700, file mode0600, current-user ownership, an independently verified recipient acknowledgement, trusted ticker-to-mint mappings, and raw per-mint spending caps. - Use only
https://api.mainnet-beta.solana.comandhttps://api.sharesdao.com:8443. Do not ask the user for a base URL, RPC API key, or registration. - Do not use EVM, devnet, testnet, native-SOL settlement, arbitrary tokens, legacy
.Ssymbols,/router/swap, API-supplied calldata, or API-supplied transactions. - Show the exact irreversible-transfer authorization and confirmation digest immediately before signing. Preparation, route discovery, quoting, and balance checks are not authorization.
The metadata declares filesystem and network access because those are the capabilities the runtime exposes. The signer further restricts secret reads to one fixed file, and these instructions restrict network destinations to the two fixed origins above.
Workflow
- For initial setup, follow references/keypair-setup.md. The user must independently verify the fixed custodial recipient and each stock mint before putting them in the protected config.
- Discover pools and exact Solana USDC routes using references/protocol.md. A route response is discovery data, not independent proof of mint ownership or settlement.
- Check SOL, USDC, and the trusted stock-token balance with references/balances.md. Stop on insufficient offered-token balance or insufficient SOL.
- Collect ticker, BUY/SELL, MARKET/LIMIT, raw offered amount, and raw requested amount. A LIMIT requires a positive exact request. A MARKET uses request
0unless the user explicitly asks for an optional estimate. - Prepare only the eight public fields documented in references/wallet-submission.md. The recipient is not a plan field; the signer derives it internally.
- Pipe the plan to
inspect. Present every returned field, especially the full destination, safety cap, non-atomic settlement warning, and whether a MARKET order has no on-chain minimum receive. - Ask the user to authorize that exact irreversible transfer and digest. Do not soften this into “confirm trade.”
- Only after explicit confirmation, pipe the identical plan to
send --confirm <digest>. The signer fetches a fresh blockhash, constructs exactly one classic SPL transfer plus one memo, simulates with signature verification, and submits with preflight. - Report the signature as submitted only. Check on-chain confirmation and the service’s order status separately. Never auto-retry an uncertain submission.
Stop conditions
Stop without signing if config checks fail; the recipient or stock mint has not been independently verified; the ticker/mint is absent from the protected allowlist; a spending cap is missing or exceeded; a route is not exact Solana USDC; the plan has extra fields; the user has not accepted the non-atomic custodial risk; the confirmation digest differs; simulation fails; or settlement/refund terms cannot be verified from an official source.
Top skills in this category
Stock Analysis
@udiedrichsenAnalyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Stock Market Pro
@kys42Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
A股量化 AkShare
@mbpzA股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
Stock Watcher
@robin797860Manage and monitor a personal stock watchlist with support for adding, removing, listing stocks, and summarizing their recent performance using data from 10jqka.com.cn. Use when the user wants to track specific stocks, get performance summaries, or manage their watchlist.
Intelligent Stocks Screener
@financial-ai-analyst基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment...