← Back

Options Screener — Crypto Options Analytics Platform

Project Overview

Node.js API backend for cryptocurrency options data analysis. Fetches real-time options data from Binance, analyzes it, and provides actionable trading signals through REST API and WebSocket.

Tech Stack

Directory Structure

src/ ├── app.js — Express + WebSocket init ├── server.js — Entry point ├── config/index.js — Environment variables ├── services/ │ ├── binance.js — Binance API client │ ├── cache.js — In-memory cache with TTL │ ├── scheduler.js — Cron data refresh (5 min) │ └── db.js — Prisma client singleton ├── analysis/ │ ├── unusualVolume.js │ ├── topMovers.js │ ├── maxPain.js │ ├── ivAnalysis.js │ ├── putCallRatio.js │ ├── ivSkew.js │ ├── gammaPlay.js │ └── oiConcentration.js ├── routes/ │ ├── health.js │ ├── options.js │ └── signals.js ├── websocket/index.js └── middleware/ ├── auth.js └── rateLimit.js

API Endpoints

Code Style

Environment Variables

Copy .env.example.env and fill in values:

Deployment

Deploy steps (after pushing changes)

cd /opt/options-api   # or wherever the repo lives
git pull origin master
npm install
pm2 restart options-api
pm2 logs options-api --lines 50

Check: curl https://options.szhub.space/health

📜 Git History

163bb5dfeat: migrate to options-screener-v2 folder to isolate deployment4 months ago
Show last diff
Loading...