Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
An investment broker platform prototype built with Next.js 16.3.6, React 19, TypeScript, and CSS Modules (Tailwind CSS 4 is available).
Visit http://localhost:3000 for the public website and http://localhost:3000/dashboard for the mobile investing app.README 전문 보기 ↗An investment broker platform prototype built with Next.js 16.3.6, React 19, TypeScript, and CSS Modules (Tailwind CSS 4 is available).
pnpm install
pnpm dev
Visit http://localhost:3000 for the public website and http://localhost:3000/dashboard for the mobile investing app.
/signup and /login. Passwords are hashed with bcrypt; sessions are signed JWT cookies (httpOnly). proxy.ts redirects at the door and every page, server action, and route handler re-checks the user through lib/auth/dal.ts./verify: a four-step form with ID and selfie upload. Files are stored privately in storage/kyc/ (never in public/) and served only to admins or the owner via /api/kyc/[id]/[file]. Only the last 4 characters of the ID number are stored. Trading, deposits, and plans unlock once an admin approves./admin: overview stats, KYC review queue (approve / reject with a note the user sees), users (search, filter, suspend, grant admin), and an activity log.First-time setup:
cp .env.example .env.local # then set SESSION_SECRET, ADMIN_EMAIL, ADMIN_PASSWORD
pnpm admin:create # creates (or resets) the admin account
Data lives in Postgres: set DATABASE_URL in .env.local. Migrations in migrations/ apply automatically on first use. After changing lib/db/schema.ts, run pnpm db:generate. For production, also move KYC files to private object storage (S3/R2), because a serverless host's filesystem is not persistent.
Headlines come from Finnhub (free tier). Copy .env.example to .env.local, add FINNHUB_API_KEY, and restart the dev server. Without a key, clearly labelled sample headlines are shown. The key is only read on the server (features/news/get-news.ts) and responses are cached for 10 minutes.
| Module | Route | What it does |
|---|---|---|
| Investments · Automated | /investments | Recurring plans into concept strategies; contributions run automatically on schedule |
| Stocks · Realtime | /stocks, /stocks/[symbol] | Simulated live quotes, watchlist, sample news, buy/sell ticket |
| Tesla hub | /tesla | TSLA trading (whole or fractional), recurring buys, price alerts, real company data and key dates (Finnhub), Tesla news, "Save for your Tesla" goals, Tesla 101 |
| Crypto · 24/7 | /crypto, /crypto/[symbol] | Trading chart, fractional buy/sell from $1, recurring buys (dollar-cost averaging), crypto news |
| Wallet · Transfers | /wallet | Crypto balances, simulated deposit and withdrawal, demo cash top-ups |
| Marketplace · Tesla | /marketplace | Curated new and pre-owned EV listings with refundable reservations |
| Mobile app | /dashboard | Phone-first Home, Markets, Trade, Wallet, and Profile screens, plus Deposit, Buy stock, Invest, Card, and Withdraw actions. Home shows demo deposit, investment, and profit totals. |
app/ Routing only; pages compose feature components
(marketing)/ Public website
(mobile)/ Mobile investing app at /dashboard
(platform)/ Broker app with shared header and layout
components/
ui/ Buttons, headings, panels, segmented controls, form fields
layout/ Brand, site header/footer, platform header
charts/ Line chart, sparkline, trend line
features/<module>/ One folder per business module: data, logic, components, index.ts
market/ Instruments, simulated quotes and price history, shared chart, terminal, quote panel
portfolio/ Account store (cash, holdings, crypto, plans, reservations, activity)
mobile-app/ Phone-first app shell, core screens, investment plan form, and card preview
tesla/ Tesla hub: Finnhub company data, key dates, education content
alerts/ Price alerts, alert watcher, reminder banner
news/ Finnhub news (server-only) with sample fallback
investments/ stocks/ crypto/ wallet/ marketplace/ marketing/
config/site.ts Company name, navigation, disclaimer
lib/ Formatting and small utilities
styles/ Design tokens and base element styles
Rules of thumb: routes stay thin; features import from components/ and lib/, and from each other only through the market and portfolio modules; each component keeps its styles in a colocated *.module.css.
Prices are simulated, with the server determining each order's price. Demo accounts start at $0.00. Approved deposits and individually assigned admin profit fund purchases. Stocks, crypto, recurring contributions, and vehicle reservations debit the same saved balance; sales and reservation refunds credit it. Pending withdrawals reserve funds, and marking a withdrawal sent deducts them. Holdings and cash changes are saved together in the database for each user. Total account value includes holdings; available cash excludes invested funds and pending withdrawals. Watchlists, alerts, and reminders remain browser preferences, and resetting preferences does not erase balances. Earlier browser-only practice balances are not accepted as account funds. All money, trades, identity checks, and card features are demonstrations; no real transfer, custody, brokerage order, or card issuance occurs.
Run pnpm test:portfolio to verify purchase debits, sales, user isolation, duplicate requests, withdrawal reservations, recurring contributions, refunds, and transaction rollback. Database migrations are applied automatically on access.
Before offering real services the product needs authentication, persistent accounts, licensed market data and news, a brokerage/custody provider, order and cash ledgers, KYC, and country-specific availability. The seams for these are features/market/quotes.ts (market data) and features/portfolio/store.ts (account actions).
Tesla and other company marks identify instruments and products and do not imply affiliation. See ASSETS.md for image and logo sources.
pnpm lint
pnpm build