Skip to main content
Glama

Bybit MCP Server

by sammcj

get_ml_rsi

Enhance RSI analysis with machine learning using K-Nearest Neighbors. Adjust overbought/oversold levels dynamically based on historical pattern similarity for improved cryptocurrency trading decisions.

Instructions

Get ML-enhanced RSI using K-Nearest Neighbors algorithm for pattern recognition. Provides adaptive overbought/oversold levels and enhanced RSI values based on historical pattern similarity.

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory of the instrument
featureCountNoNumber of features to use 1-5 (default: 3)
intervalYesKline interval
knnLookbackNoHistorical period for pattern matching (default: 100)
knnNeighborsNoNumber of neighbors for KNN algorithm (default: 5)
limitNoNumber of data points to return (default: 200)
mlWeightNoML influence weight 0-1 (default: 0.4)
rsiLengthNoRSI calculation period (default: 14)
smoothingMethodNoSmoothing method to apply (default: none)
symbolYesTrading pair symbol (e.g., 'BTCUSDT')

Input Schema (JSON Schema)

{ "properties": { "category": { "description": "Category of the instrument", "enum": [ "spot", "linear", "inverse" ], "type": "string" }, "featureCount": { "description": "Number of features to use 1-5 (default: 3)", "maximum": 5, "minimum": 1, "type": "number" }, "interval": { "description": "Kline interval", "enum": [ "1", "3", "5", "15", "30", "60", "120", "240", "360", "720", "D", "W", "M" ], "type": "string" }, "knnLookback": { "description": "Historical period for pattern matching (default: 100)", "maximum": 500, "minimum": 20, "type": "number" }, "knnNeighbors": { "description": "Number of neighbors for KNN algorithm (default: 5)", "maximum": 50, "minimum": 1, "type": "number" }, "limit": { "description": "Number of data points to return (default: 200)", "maximum": 1000, "minimum": 50, "type": "number" }, "mlWeight": { "description": "ML influence weight 0-1 (default: 0.4)", "maximum": 1, "minimum": 0, "type": "number" }, "rsiLength": { "description": "RSI calculation period (default: 14)", "maximum": 50, "minimum": 2, "type": "number" }, "smoothingMethod": { "description": "Smoothing method to apply (default: none)", "enum": [ "none", "kalman", "alma", "double_ema" ], "type": "string" }, "symbol": { "description": "Trading pair symbol (e.g., 'BTCUSDT')", "pattern": "^[A-Z0-9]+$", "type": "string" } }, "required": [ "symbol", "category", "interval" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sammcj/bybit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server