async function marketResearch(sf: ShadowFeed) {
const results = await sf.chain([
'btc-sentiment', // Market mood
'smart-money-flows', // Institutional moves
'liquidation-alerts', // Risk signals
'defi-scores', // Protocol health
'bridge-flows', // Cross-chain activity
], 2000);
const [sentiment, flows, liquidations, defi, bridges] = results.feeds;
return {
mood: sentiment.data.overall_label,
smartMoneySignal: flows.data.signal,
liquidationRisk: liquidations.data.total_liquidations_24h,
topProtocol: defi.data.protocols?.[0]?.protocol,
totalSpent: results.total_spent_stx,
};
}