skills/xauusd-trading/SKILL.md
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
npx skillsauth add ariffazil/openclaw-workspace XAUUSD-trading-stackInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
DITEMPA BUKAN DIBERI — Gold is wealth. The stack is forged. Trade with governance. This skill wires the entire federation to think about gold.
import sys
sys.path.insert(0, "/root/trading")
from quickstart import get_oanda_client, get_gold_price, run_backtest
# Check gold price now
price = get_gold_price()
print(f"XAUUSD: {price}")
# Connect to OANDA (needs credentials in config/oanda.env)
client = get_oanda_client()
| Path | Purpose |
|------|---------|
| /root/trading/ | Python venv + all trading code |
| /root/trading/bin/python3 | Python interpreter with all packages |
| /root/trading/config/oanda.env | OANDA credentials (NEVER commit) |
| /root/trading/strategies/ | Backtrader strategies |
| /root/trading/data/ | Cached market data |
| /root/trading/logs/ | Trade logs |
| /root/XAUUSD_TRADING_RESEARCH.md | Full research brief |
| /root/AAA/prompts/XAUUSD_RSI_UPGRADE_v1.0.md | RSI upgrade prompt |
| Package | Version | Purpose | |---------|---------|---------| | backtrader | 1.9.78 | Backtesting engine | | TA-Lib | 0.7.0 | Technical analysis (RSI, MACD, BB, etc.) | | pandas-ta | 0.4.71 | Pure-Python TA fallback | | yfinance | 1.5.1 | Market data (GC=F for gold futures) | | ccxt | 4.5.65 | Exchange connectivity | | oandapyV20 | 0.7.2 | OANDA broker API | | fredapi | 0.5.2 | Federal Reserve macro data | | pandas | 3.0.3 | Data manipulation | | numpy | 2.2.6 | Numerical computing |
| Organ | Role | Tool/Action | |-------|------|-------------| | arifOS | Govern | Approve/block trades, F1-F13 floor checks, seal receipts | | A-FORGE | Execute | Run backtests, place orders, manage positions | | WEALTH | Think | Position sizing, portfolio optimization, EMV, risk parity | | GEOX | Sense | Commodity supply signals, macro regime detection | | WELL | Guard | Human readiness gate — no manual trades if fatigued | | AAA | Display | Cockpit dashboard, trade journal, P&L tearsheets | | VAULT999 | Record | Immutable trade receipts, sealed strategies |
Every trading session follows RSI:
Any agent can find this skill via:
/root/.agents/skills/XAUUSD-trading-stack/SKILL.mdFEDERATED_SKILLS_REGISTRY_V3.yamlHermes can use this skill to:
/root/trading/bin/python3 strategies/xauusd_rsi_basic.pydevelopment
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.
testing
Substrate-layer skills for federation organs. See subdirectories for specialized substrate skills.