Add short signal scanner + leverage trading game engine + auto-trader
- short_scanner.py: RSI/VWAP/MACD/Bollinger-based short signal detection - leverage_game.py: Full game engine with longs/shorts/leverage/liquidations - leverage_trader.py: Auto-trader connecting scanners to game with TP/SL/trailing stops - Leverage Challenge game initialized: $10K, 20x max leverage, player 'case' - systemd timer: every 15min scan + trade - Telegram alerts on opens/closes/liquidations
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,16 @@
|
||||
{
|
||||
"game_id": "1ac7d29c",
|
||||
"name": "Leverage Challenge",
|
||||
"starting_cash": 10000.0,
|
||||
"max_leverage": 20,
|
||||
"funding_rate_8h": 0.01,
|
||||
"maker_fee": 0.02,
|
||||
"taker_fee": 0.05,
|
||||
"start_date": "2026-02-09",
|
||||
"creator": "case",
|
||||
"created_at": "2026-02-10T02:31:27.614107+00:00",
|
||||
"players": [
|
||||
"case"
|
||||
],
|
||||
"status": "active"
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"cash": 10000.0,
|
||||
"positions": {},
|
||||
"total_realized_pnl": 0,
|
||||
"total_fees_paid": 0,
|
||||
"total_funding_paid": 0
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
[]
|
||||
@ -0,0 +1 @@
|
||||
[]
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"peak_pnl": {},
|
||||
"last_alert": null
|
||||
}
|
||||
487
projects/crypto-signals/data/short-scanner/scan_log.json
Normal file
487
projects/crypto-signals/data/short-scanner/scan_log.json
Normal file
@ -0,0 +1,487 @@
|
||||
[
|
||||
{
|
||||
"timestamp": "2026-02-10T02:31:38.063585+00:00",
|
||||
"coins_scanned": 29,
|
||||
"strong_signals": 0,
|
||||
"results": [
|
||||
{
|
||||
"symbol": "FIL",
|
||||
"price": 0.954,
|
||||
"rsi": 61.7,
|
||||
"vwap_pct": 9.0,
|
||||
"macd_histogram": -0.932576,
|
||||
"bb_position": 0.76,
|
||||
"change_24h": 0.74,
|
||||
"change_4h": 0.0,
|
||||
"vol_trend": 0.05,
|
||||
"score": 40,
|
||||
"reasons": [
|
||||
"RSI mildly elevated (61.7)",
|
||||
"Well above VWAP (+9.0%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:34.839978+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "NEAR",
|
||||
"price": 1.045,
|
||||
"rsi": 60.0,
|
||||
"vwap_pct": 1.62,
|
||||
"macd_histogram": -1.030379,
|
||||
"bb_position": 0.93,
|
||||
"change_24h": -0.85,
|
||||
"change_4h": 2.35,
|
||||
"vol_trend": 1.02,
|
||||
"score": 38,
|
||||
"reasons": [
|
||||
"RSI mildly elevated (60.0)",
|
||||
"Slightly above VWAP (+1.6%)",
|
||||
"MACD bearish + accelerating",
|
||||
"Near upper Bollinger (0.93)"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:33.678025+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "OP",
|
||||
"price": 0.19,
|
||||
"rsi": 64.2,
|
||||
"vwap_pct": 3.23,
|
||||
"macd_histogram": -0.187435,
|
||||
"bb_position": 0.79,
|
||||
"change_24h": 0.53,
|
||||
"change_4h": 0.0,
|
||||
"vol_trend": 1.07,
|
||||
"score": 35,
|
||||
"reasons": [
|
||||
"RSI mildly elevated (64.2)",
|
||||
"Above VWAP (+3.2%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:36.709597+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "ARB",
|
||||
"price": 0.114,
|
||||
"rsi": 52.1,
|
||||
"vwap_pct": 3.09,
|
||||
"macd_histogram": -0.113948,
|
||||
"bb_position": 0.72,
|
||||
"change_24h": -3.55,
|
||||
"change_4h": 2.06,
|
||||
"vol_trend": 0.11,
|
||||
"score": 30,
|
||||
"reasons": [
|
||||
"Above VWAP (+3.1%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:36.470618+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "ADA",
|
||||
"price": 0.2693,
|
||||
"rsi": 50.2,
|
||||
"vwap_pct": 1.35,
|
||||
"macd_histogram": -0.269763,
|
||||
"bb_position": 0.62,
|
||||
"change_24h": -1.43,
|
||||
"change_4h": -0.81,
|
||||
"vol_trend": 0.15,
|
||||
"score": 23,
|
||||
"reasons": [
|
||||
"Slightly above VWAP (+1.3%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:32.520420+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "LINK",
|
||||
"price": 8.88,
|
||||
"rsi": 55.1,
|
||||
"vwap_pct": 1.7,
|
||||
"macd_histogram": -8.839752,
|
||||
"bb_position": 0.73,
|
||||
"change_24h": 0.79,
|
||||
"change_4h": -0.34,
|
||||
"vol_trend": 0.84,
|
||||
"score": 23,
|
||||
"reasons": [
|
||||
"Slightly above VWAP (+1.7%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:32.968544+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "UNI",
|
||||
"price": 3.519,
|
||||
"rsi": 56.2,
|
||||
"vwap_pct": 2.62,
|
||||
"macd_histogram": -3.494918,
|
||||
"bb_position": 0.65,
|
||||
"change_24h": 2.18,
|
||||
"change_4h": 0.0,
|
||||
"vol_trend": 0.72,
|
||||
"score": 23,
|
||||
"reasons": [
|
||||
"Slightly above VWAP (+2.6%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:34.365690+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "AAVE",
|
||||
"price": 113.55,
|
||||
"rsi": 55.0,
|
||||
"vwap_pct": 1.28,
|
||||
"macd_histogram": -112.920164,
|
||||
"bb_position": 0.71,
|
||||
"change_24h": 0.82,
|
||||
"change_4h": 2.23,
|
||||
"vol_trend": 0.55,
|
||||
"score": 23,
|
||||
"reasons": [
|
||||
"Slightly above VWAP (+1.3%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:34.599689+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "APT",
|
||||
"price": 1.067,
|
||||
"rsi": 49.4,
|
||||
"vwap_pct": 1.06,
|
||||
"macd_histogram": -1.076147,
|
||||
"bb_position": 0.63,
|
||||
"change_24h": -2.65,
|
||||
"change_4h": 0.0,
|
||||
"vol_trend": 0.23,
|
||||
"score": 23,
|
||||
"reasons": [
|
||||
"Slightly above VWAP (+1.1%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:35.993067+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "SUI",
|
||||
"price": 0.9668,
|
||||
"rsi": 50.4,
|
||||
"vwap_pct": 1.54,
|
||||
"macd_histogram": -0.969969,
|
||||
"bb_position": 0.66,
|
||||
"change_24h": -2.0,
|
||||
"change_4h": -0.17,
|
||||
"vol_trend": 0.03,
|
||||
"score": 23,
|
||||
"reasons": [
|
||||
"Slightly above VWAP (+1.5%)",
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:36.231436+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "BTC",
|
||||
"price": 70249.15,
|
||||
"rsi": 51.0,
|
||||
"vwap_pct": 0.34,
|
||||
"macd_histogram": -70262.247326,
|
||||
"bb_position": 0.63,
|
||||
"change_24h": -1.38,
|
||||
"change_4h": 0.18,
|
||||
"vol_trend": 0.96,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:31.360741+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "ETH",
|
||||
"price": 2109.49,
|
||||
"rsi": 55.4,
|
||||
"vwap_pct": 0.97,
|
||||
"macd_histogram": -2104.718634,
|
||||
"bb_position": 0.67,
|
||||
"change_24h": 0.44,
|
||||
"change_4h": 0.2,
|
||||
"vol_trend": 1.27,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:31.596017+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "SOL",
|
||||
"price": 86.88,
|
||||
"rsi": 52.0,
|
||||
"vwap_pct": 0.65,
|
||||
"macd_histogram": -86.940038,
|
||||
"bb_position": 0.65,
|
||||
"change_24h": -0.98,
|
||||
"change_4h": 0.17,
|
||||
"vol_trend": 0.88,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:31.806936+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "XRP",
|
||||
"price": 1.4454,
|
||||
"rsi": 53.8,
|
||||
"vwap_pct": 0.52,
|
||||
"macd_histogram": -1.439527,
|
||||
"bb_position": 0.66,
|
||||
"change_24h": -0.39,
|
||||
"change_4h": 0.59,
|
||||
"vol_trend": 1.67,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:32.046327+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "DOGE",
|
||||
"price": 0.09629,
|
||||
"rsi": 52.4,
|
||||
"vwap_pct": 0.47,
|
||||
"macd_histogram": -0.096217,
|
||||
"bb_position": 0.7,
|
||||
"change_24h": -0.98,
|
||||
"change_4h": -0.43,
|
||||
"vol_trend": 2.79,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:32.284061+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "AVAX",
|
||||
"price": 9.01,
|
||||
"rsi": 47.3,
|
||||
"vwap_pct": 0.43,
|
||||
"macd_histogram": -9.05205,
|
||||
"bb_position": 0.56,
|
||||
"change_24h": -1.31,
|
||||
"change_4h": -0.44,
|
||||
"vol_trend": 0.29,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:32.758345+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "DOT",
|
||||
"price": 1.316,
|
||||
"rsi": 47.5,
|
||||
"vwap_pct": 0.69,
|
||||
"macd_histogram": -1.325125,
|
||||
"bb_position": 0.57,
|
||||
"change_24h": -2.52,
|
||||
"change_4h": -0.9,
|
||||
"vol_trend": 0.23,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:33.205989+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "MATIC",
|
||||
"price": 0.4492,
|
||||
"rsi": 41.9,
|
||||
"vwap_pct": -0.77,
|
||||
"macd_histogram": -0.452491,
|
||||
"bb_position": 0.32,
|
||||
"change_24h": -1.58,
|
||||
"change_4h": 0.22,
|
||||
"vol_trend": 1.07,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:33.442040+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "ATOM",
|
||||
"price": 1.953,
|
||||
"rsi": 49.3,
|
||||
"vwap_pct": 0.52,
|
||||
"macd_histogram": -1.965896,
|
||||
"bb_position": 0.5,
|
||||
"change_24h": 0.93,
|
||||
"change_4h": 0.05,
|
||||
"vol_trend": 1.04,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:33.888750+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "LTC",
|
||||
"price": 54.36,
|
||||
"rsi": 50.1,
|
||||
"vwap_pct": 0.22,
|
||||
"macd_histogram": -54.485415,
|
||||
"bb_position": 0.61,
|
||||
"change_24h": -1.06,
|
||||
"change_4h": -0.22,
|
||||
"vol_trend": 2.73,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:34.128167+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "ALGO",
|
||||
"price": 0.0951,
|
||||
"rsi": 45.3,
|
||||
"vwap_pct": -1.14,
|
||||
"macd_histogram": -0.095952,
|
||||
"bb_position": 0.5,
|
||||
"change_24h": -2.56,
|
||||
"change_4h": -2.36,
|
||||
"vol_trend": 1.65,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:35.076205+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "XLM",
|
||||
"price": 0.1614,
|
||||
"rsi": 52.5,
|
||||
"vwap_pct": 0.89,
|
||||
"macd_histogram": -0.160963,
|
||||
"bb_position": 0.69,
|
||||
"change_24h": -1.34,
|
||||
"change_4h": 1.13,
|
||||
"vol_trend": 2.74,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:35.314005+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "VET",
|
||||
"price": 0.00791,
|
||||
"rsi": 48.8,
|
||||
"vwap_pct": -0.02,
|
||||
"macd_histogram": -0.007928,
|
||||
"bb_position": 0.55,
|
||||
"change_24h": -3.06,
|
||||
"change_4h": 0.89,
|
||||
"vol_trend": 0.27,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:35.550100+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "ICP",
|
||||
"price": 2.782,
|
||||
"rsi": 40.1,
|
||||
"vwap_pct": -1.9,
|
||||
"macd_histogram": -2.843397,
|
||||
"bb_position": 0.14,
|
||||
"change_24h": 3.81,
|
||||
"change_4h": -2.49,
|
||||
"vol_trend": 10.38,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:35.759005+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "SEI",
|
||||
"price": 0.075,
|
||||
"rsi": 29.9,
|
||||
"vwap_pct": -0.25,
|
||||
"macd_histogram": -0.075645,
|
||||
"bb_position": 0.38,
|
||||
"change_24h": -4.34,
|
||||
"change_4h": 0.0,
|
||||
"vol_trend": 0.11,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:36.945126+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "HYPE",
|
||||
"price": 31.49,
|
||||
"rsi": 45.7,
|
||||
"vwap_pct": -1.11,
|
||||
"macd_histogram": -31.681649,
|
||||
"bb_position": 0.39,
|
||||
"change_24h": -5.29,
|
||||
"change_4h": 0.41,
|
||||
"vol_trend": 21.91,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:37.184127+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "TRUMP",
|
||||
"price": 3.446,
|
||||
"rsi": 50.1,
|
||||
"vwap_pct": 0.08,
|
||||
"macd_histogram": -3.45085,
|
||||
"bb_position": 0.49,
|
||||
"change_24h": 0.35,
|
||||
"change_4h": 0.0,
|
||||
"vol_trend": 0.81,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:37.440389+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "PUMP",
|
||||
"price": 0.002041,
|
||||
"rsi": 37.6,
|
||||
"vwap_pct": -2.03,
|
||||
"macd_histogram": -0.002063,
|
||||
"bb_position": 0.31,
|
||||
"change_24h": -4.31,
|
||||
"change_4h": 0.0,
|
||||
"vol_trend": 1.28,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:37.674937+00:00"
|
||||
},
|
||||
{
|
||||
"symbol": "ASTER",
|
||||
"price": 0.612,
|
||||
"rsi": 50.2,
|
||||
"vwap_pct": 0.21,
|
||||
"macd_histogram": -0.610803,
|
||||
"bb_position": 0.58,
|
||||
"change_24h": -5.85,
|
||||
"change_4h": 0.33,
|
||||
"vol_trend": 0.63,
|
||||
"score": 15,
|
||||
"reasons": [
|
||||
"MACD bearish + accelerating"
|
||||
],
|
||||
"timestamp": "2026-02-10T02:31:37.912733+00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user