We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FajarArrizki/mcp-technical-analysis'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* Formatters for Long/Short Ratio Data
* Extracted from index.ts for better modularity
*/
import type { LongShortRatioIndicator } from '../signal-generation/technical-indicators/long-short-ratio'
/**
* Format long/short ratio data
*/
export function formatLongShortRatio(ratio: LongShortRatioIndicator | null) {
if (!ratio) return null
return {
sentiment: ratio.sentiment,
contrarian: ratio.contrarian,
extreme: ratio.extreme,
divergence: ratio.divergence,
}
}