Real-time Polymarket BTC 15m trading assistant for every trader! created by @krajekis
Real-time Polymarket BTC 15m trading assistant for every trader! created by @krajekis
A real-time console trading assistant for Polymarket "Bitcoin Up or Down" 15-minute markets.
It combines:
git clone https://github.com/FrondEnt/PolymarketBTC15mAssistant.gitAlternative (no git):
<> Code button on GitHubDownload ZIPThen open a terminal in the project folder.
npm installYou can run without extra config (defaults are included), but for more stable Chainlink fallback it’s recommended to set at least one Polygon RPC.
$env:POLYGON_RPC_URL = "https://polygon-rpc.com"
$env:POLYGON_RPC_URLS = "https://polygon-rpc.com,https://rpc.ankr.com/polygon"
$env:POLYGON_WSS_URLS = "wss://polygon-bor-rpc.publicnode.com"Optional Polymarket settings:
$env:POLYMARKET_AUTO_SELECT_LATEST = "true"
# $env:POLYMARKET_SLUG = "btc-updown-15m-..." # pin a specific marketset POLYGON_RPC_URL=https://polygon-rpc.com
set POLYGON_RPC_URLS=https://polygon-rpc.com,https://rpc.ankr.com/polygon
set POLYGON_WSS_URLS=wss://polygon-bor-rpc.publicnode.comOptional Polymarket settings:
set POLYMARKET_AUTO_SELECT_LATEST=true
REM set POLYMARKET_SLUG=btc-updown-15m-...Notes:
.env loader of your choice.This project reads configuration from environment variables.
You can set them in your shell, or create a .env file and load it using your preferred method.
POLYMARKET_AUTO_SELECT_LATEST (default: true)true, automatically picks the latest 15m market.POLYMARKET_SERIES_ID (default: 10192)POLYMARKET_SERIES_SLUG (default: btc-up-or-down-15m)POLYMARKET_SLUG (optional)POLYMARKET_LIVE_WS_URL (default: wss://ws-live-data.polymarket.com)CHAINLINK_BTC_USD_AGGREGATOR0xc907E116054Ad103354f2D350FD2514433D57F6fHTTP RPC:
POLYGON_RPC_URL (default: https://polygon-rpc.com)POLYGON_RPC_URLS (optional, comma-separated)https://polygon-rpc.com,https://rpc.ankr.com/polygonWSS RPC (optional but recommended for more real-time fallback):
POLYGON_WSS_URL (optional)POLYGON_WSS_URLS (optional, comma-separated)The bot supports HTTP(S) proxies for both HTTP requests (fetch) and WebSocket connections.
Supported env vars (standard):
HTTPS_PROXY / https_proxyHTTP_PROXY / http_proxyALL_PROXY / all_proxyExamples:
PowerShell:
$env:HTTPS_PROXY = "http://127.0.0.1:8080"
# or
$env:ALL_PROXY = "socks5://127.0.0.1:1080"CMD:
set HTTPS_PROXY=http://127.0.0.1:8080
REM or
set ALL_PROXY=socks5://127.0.0.1:1080Take your proxy host and port (example: 1.2.3.4:8080).
Add your login and password in the URL:
http://USERNAME:PASSWORD@HOST:PORTsocks5://USERNAME:PASSWORD@HOST:PORTPowerShell:
$env:HTTPS_PROXY = "http://USERNAME:PASSWORD@HOST:PORT"
npm startCMD:
set HTTPS_PROXY=http://USERNAME:PASSWORD@HOST:PORT
npm startImportant: if your password contains special characters like @ or : you must URL-encode it.
Example:
p@ss:wordp%40ss%3Awordhttp://user:p%40ss%[email protected]:8080npm startPress Ctrl + C in the terminal.
git pull
npm install
npm startreadline.cursorTo + clearScreenDown for a stable, static screen, but some terminals may still behave differently.This is not financial advice. Use at your own risk.
created by @krajekis
No open issues yet, or sync has not completed.