📊 ML Prediction Service

Real-time trading predictions using machine learning and Bybit market data.

📈 Service Information

🎯 Live Predictions 🔄 Live

2026-03-03 18:42:59

Текущая цена: 68738.20 USD

Сигнал: SHORT

Вероятность: 0.007308

Использованные фичи:

Next update in 10 seconds...

Data updates automatically every 10 seconds from Bybit API

🚀 Example Usage

Here is an example of how to use the /predict endpoint with Python (using requests library):

import requests

api_key = 'sk_live_7fea88af228d57be6f0f60d065b722de'  # Replace with your actual API key
url = 'http://localhost:9000/predict'  # Or your server URL
features = [0.1, 0.2, 0.3, 0.4, 0.5]  # Replace with your actual features (must match N_FEATURES)

headers = {
    'X-API-KEY': api_key,
    'Content-Type': 'application/json'
}

payload = {
    'features': features
}

response = requests.post(url, headers=headers, json=payload)

if response.status_code == 200:
    print(response.json())
else:
    print(f"Error: {response.status_code} - {response.json()['error']}")

And here is a curl example:

curl -X POST http://localhost:9000/predict \
    -H "X-API-KEY: sk_live_7fea88af228d57be6f0f60d065b722de" \
    -H "Content-Type": "application/json" \
    -d '{"features": [0.1, 0.2, 0.3, 0.4, 0.5]}'