Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A rule-based trading bot that paper-trades US stocks and crypto on Alpaca's paper account using real market data, with a public read-only dashboard for history, positions, and analytics.
POST /api/tick runs one cycle. cron-job.org calls it every 15 minutes, 24/7 (GitHub Actions is a backup): crypto trades every tick, stocks only during market hours. The Sorties page shows which scheduler started each run.paper-api.alpaca.markets.lib/engine.ts)bot_runs row. Skip if another run is still in flight.lib/risk.ts).
{strategy}.{side}.{symbol}.{barTime}. That makes retries idempotent and attributes every fill to a strategy.BTCUSD in positions and fills but BTC/USD in orders; everything is stored as BTC/USD.lib/strategies/)| Strategy | Symbols | Entry | Exit |
|---|---|---|---|
rsi_revert | SPY QQQ AAPL MSFT | RSI(14) < 30 | RSI > 55, or the 5% stop |
sma_cross | NVDA AMZN META TSLA AMD | SMA20 crosses above SMA50 (within 3 bars) | SMA20 < SMA50, or the 5% stop |
sma_cross | BTC/USD ETH/USD | same | same |
rsi_revert | SOL/USD | same | same |
Universe, parameters, and risk limits live in lib/config.ts. To add a strategy, implement the Strategy interface and register it in lib/strategies/index.ts.
Risk limits
Crypto trades pay Alpaca's trading fee. Fees are synced from the account's CFEE activities and shown next to realized P&L; round-trip P&L itself is before fees.
npm i -g vercel && vercel login
vercel link
vercel integration add neon # provisions DATABASE_URL
vercel env add ALPACA_KEY_ID
vercel env add ALPACA_SECRET_KEY
vercel env add CRON_SECRET # openssl rand -hex 32
vercel env add ADMIN_SECRET # openssl rand -hex 32
vercel env pull .env.local
npm run db:migrate
vercel git connect. Every push to main then deploys to production. Use vercel deploy --prod for a one-off manual deploy.https://<your-app>/api/tick every 15 minutes with header Authorization: Bearer <CRON_SECRET>. Runs it starts show as cron-job.org in Sorties.TICK_URL (https://<your-app>/api/tick) and CRON_SECRET. The 24/7 schedule uses about 2,900 Actions minutes a month: free on a public repo, over the 2,000-minute free tier on a private one. A weekly keep-alive job re-enables the workflow so GitHub's 60-day inactivity shutoff never triggers.npm run dev
# Dry run: evaluates strategies even when the market is closed, never places orders
curl -X POST -H "Authorization: Bearer $CRON_SECRET" "localhost:3000/api/tick?dryRun=1"
npm test
The Runs page has an admin panel (needs ADMIN_SECRET) with: dry run, run a tick now, pause/resume, and liquidate all.