Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
/integrations config fedwatch View source config
/integrations set fedwatch interval 60 Set refresh interval
/integrations set fedwatch key <api-key> Set API key
/integrations test <source-id> Test source connection
View Data
/integrations data fedwatch Latest data from source
/integrations history <source> --hours 24 Historical data
/integrations subscribe <source> Real-time updates
// Get current data from sourceconst fedData = await integrations.getData('fedwatch');
console.log('Fed Rate Probabilities:');
for (const meeting of fedData.meetings) {
console.log(`${meeting.date}: ${meeting.probabilities}`);
}
// Get with freshness checkconst data = await integrations.getData('crypto', {
maxAgeMs: 60000, // Refetch if older than 60s
});
Check Status
// Get source statusconst status = await integrations.getStatus('my-api');
console.log(`Status: ${status.status}`); // 'healthy' | 'degraded' | 'error'console.log(`Last fetch: ${status.lastFetch}`);
console.log(`Last error: ${status.lastError}`);
console.log(`Fetch count: ${status.fetchCount}`);
console.log(`Error count: ${status.errorCount}`);
// Get all statusesconst all = await integrations.getAllStatuses();
Built-in Data Sources
Source
Type
Data
Refresh
fedwatch
REST
Fed rate probabilities
5 min
538
REST
Election forecasts
1 hour
silver
REST
Silver Bulletin forecasts
1 hour
rcp
REST
Polling averages
15 min
odds-api
REST
Sports betting odds
1 min
polymarket
WebSocket
Market prices
Real-time
kalshi
WebSocket
Market prices
Real-time
binance
WebSocket
Crypto prices
Real-time
Custom Source Types
Type
Best For
Latency
webhook
External signals pushed to you
Instant
rest
APIs you poll periodically
Seconds
websocket
Real-time streaming data
Milliseconds
Using Data in Bots
import { createTradingBot } from'clodds/trading';
import { createIntegrationsManager } from'clodds/integrations';
const integrations = createIntegrationsManager();
const bot = createTradingBot();
// Use custom signals in bot strategy
integrations.subscribe('my-signals', async (signal) => {
if (signal.signal === 'BUY' && signal.confidence > 0.9) {
await bot.execute({
platform: 'polymarket',
market: signal.symbol,
side: 'YES',
size: 100 * signal.confidence,
});
}
});
// Use Fed data for macro bets
integrations.subscribe('fedwatch', async (data) => {
const cutProb = data.meetings[0].probabilities['25bp_cut'];
if (cutProb > 0.8) {
// High probability of rate cutawait bot.execute({
platform: 'kalshi',
market: 'fed-rate-cut',
side: 'YES',
size: 500,
});
}
});