Statistical data calculated from risk rejection events.
Provides metrics for risk management tracking.
const stats = await Risk.getData("BTCUSDT", "my-strategy");console.log(`Total rejections: ${stats.totalRejections}`);console.log(`Rejections by symbol:`, stats.bySymbol); Copy
const stats = await Risk.getData("BTCUSDT", "my-strategy");console.log(`Total rejections: ${stats.totalRejections}`);console.log(`Rejections by symbol:`, stats.bySymbol);
Rejections grouped by strategy
Rejections grouped by symbol
Array of all risk rejection events with full details
Total number of risk rejections
Statistical data calculated from risk rejection events.
Provides metrics for risk management tracking.
Example