Loading...
Fetch live AI trading signals in your CI/CD pipeline. Gate deployments on market conditions, run scheduled signal checks, and get rich summaries in every Actions run.
Reference the action with your pair, timeframe, and confidence threshold.
Uses curl + python3 (pre-installed on runners) to query the TradeClaw API. Zero dependencies.
signal_found, signal_direction, signal_confidence, and signal_json are available as step outputs.
Add to any workflow file in .github/workflows/:
- uses: naimkatiman/tradeclaw/packages/tradeclaw-action@main
id: signal
with:
pair: BTCUSD
timeframe: H1Run every 4 hours and post to Slack when a high-confidence SELL fires.
name: BTC Sell Alert
on:
schedule:
- cron: '0 */4 * * *'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: naimkatiman/tradeclaw/packages/tradeclaw-action@main
id: signal
with:
pair: BTCUSD
direction: SELL
min_confidence: 80
- name: Send Slack alert
if: steps.signal.outputs.signal_found == 'true'
run: |
curl -X POST "$SLACK_WEBHOOK" -d "{
\"text\": \"BTC SELL @ ${{ steps.signal.outputs.signal_confidence }}%\"
}"Only deploy when the market is bullish with 70%+ confidence.
name: Deploy Gate
on: push
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: naimkatiman/tradeclaw/packages/tradeclaw-action@main
id: signal
with:
pair: BTCUSD
direction: BUY
min_confidence: 70
- name: Deploy if bullish
if: steps.signal.outputs.signal_found == 'true'
run: npm run deployHourly signal check that logs paper trades to a file.
name: Paper Trade
on:
schedule:
- cron: '0 * * * *'
jobs:
trade:
runs-on: ubuntu-latest
steps:
- uses: naimkatiman/tradeclaw/packages/tradeclaw-action@main
id: signal
with:
pair: ETHUSD
timeframe: H4
min_confidence: 75
- name: Execute paper trade
if: steps.signal.outputs.signal_found == 'true'
run: |
echo "Paper ${{ steps.signal.outputs.signal_direction }} ETH"
echo "${{ steps.signal.outputs.signal_json }}" >> trades.logMatrix strategy scanning 3 pairs and writing a job summary.
name: Daily Signal Report
on:
schedule:
- cron: '0 8 * * *'
jobs:
report:
runs-on: ubuntu-latest
strategy:
matrix:
pair: [BTCUSD, ETHUSD, XAUUSD]
steps:
- uses: naimkatiman/tradeclaw/packages/tradeclaw-action@main
id: signal
with:
pair: ${{ matrix.pair }}
timeframe: D1
- name: Write summary
run: |
echo "### ${{ matrix.pair }}" >> $GITHUB_STEP_SUMMARY
echo "- Direction: ${{ steps.signal.outputs.signal_direction }}" >> $GITHUB_STEP_SUMMARY
echo "- Confidence: ${{ steps.signal.outputs.signal_confidence }}%" >> $GITHUB_STEP_SUMMARY| Input | Default | Description |
|---|---|---|
| pair | BTCUSD | Trading pair (BTCUSD, ETHUSD, XAUUSD, ...) |
| timeframe | H1 | Signal timeframe (H1, H4, D1) |
| direction | ALL | Filter by direction (BUY, SELL, ALL) |
| min_confidence | 70 | Minimum confidence threshold (0-100) |
| base_url | https://tradeclaw.win | TradeClaw instance URL |
| Output | Description |
|---|---|
| signal_found | Whether a matching signal was found (true/false) |
| signal_direction | Signal direction (BUY or SELL) |
| signal_confidence | Signal confidence percentage (0-100) |
| signal_json | Full signal JSON payload |
Composite action using curl + python3 — no node_modules
Block deploys on SELL signals or low confidence
Signal report in your Actions run UI via GITHUB_STEP_SUMMARY
Cron-based multi-pair signal monitoring
Point base_url to your own TradeClaw instance
Scan multiple pairs in parallel with matrix strategy
Install from GitHub Marketplace in seconds. No API key required.