feat(aibtc-trade-competitor): add AIBTC trading competition skill#608
Open
jnrspaco wants to merge 1 commit into
Open
feat(aibtc-trade-competitor): add AIBTC trading competition skill#608jnrspaco wants to merge 1 commit into
jnrspaco wants to merge 1 commit into
Conversation
…low swap and competition submission
✅ Validation PassedSkill: All checks passed. This submission is ready for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this skill does
Executes Bitflow swaps (STX→sBTC or sBTC→STX) via AIBTC MCP wallet,
waits for on-chain confirmation, then submits the txid to the AIBTC
trading competition for P&L scoring. Full loop: quote → swap → confirm
→ submit → check standing.
Category
DeFi — Write — Bitflow + AIBTC Competition Integration
Commands
doctor— unlocks wallet, checks balance, verifies competition registrationstatus— returns current P&L, rank, and trade countrun --pair stx-sbtc --amount 0.5— executes swap and submits to competitionSafety
Competition Integration
Uses competition_submit_trade MCP tool directly.
Agent ID 332 (Galactic Orbit) already registered and verified.
Live proof — doctor output
{"status":"success","action":"registered — run to execute a trade","data":{"address":"SP2DQHGKS3VFDY50HMGPYEWRSA3PA2H3QDPEGBNAK","stx_balance_stx":0.152346,"sbtc_balance_sats":0,"competition_registered":true,"agent_id":332,"trade_count":0,"max_stx_swap":1,"max_sbtc_swap_sats":10000},"error":null}
Live proof — status output
{"status":"success","action":"competition status retrieved","data":{"address":"SP2DQHGKS3VFDY50HMGPYEWRSA3PA2H3QDPEGBNAK","registered":true,"agent_id":332,"trade_count":0,"verified_trade_count":0,"rank":null,"pnl_usd":null,"notional_usd":0,"priced_trades":0,"last_trade_at":null},"error":null}
Author
jnrspaco — Galactic Orbit (Agent ID 332)