anti-gambling-trader-tw
무료 오픈소스 투자 사기 방지·거래 통계·자동매매 도구, 기본 PaperBroker와 14개 증권사 옵션 제공, 로컬 분석
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A live exchange in your browser: real order book, real market data, structured trading games. Open-source, built at Oxford, free for any student, society, or classroom.
alphabook.uk — sign up and trade in under a minute.
The skills trading firms actually test — market making, probability calibration, pricing under pressure — are taught almost nowhere outside the firms themselves. AlphaBook makes them trainable: a real price-time-priority matching engine, live market data, and games modelled on trading-floor exercises, all with virtual balances and zero real-money risk.
We use it to run live trading bootcamps and competitions for the Oxford student quant community, including the Oxford Alpha Fund: an instructor creates a game, scripts the news flow, and a room of students competes on a shared order book with a real-time P&L leaderboard.
Every mode has a live leaderboard. Works solo too — the market-maker bot is always on the other side.
We are seeking grant funding to turn the simulator into an adaptive teaching platform:
Xue (Snow) Yan (project lead) · Siyu (Sylvia) Li · Nick Wang · Fiona (Yiran) Zhang · Xinyun Jiang · Yiluan (Eylan) Zeng
| Layer | Technology |
|---|---|
| Backend | Python 3.11 / FastAPI / Uvicorn |
| Frontend | Jinja2 + vanilla JavaScript |
| Data & auth | Cloud Firestore (async) + Firebase Auth |
| Real-time | WebSockets (book snapshot broadcast on every trade) |
| Market data | Stooq quotes + synthetic tick engine |
| Deploy | Docker → Cloud Run + Firebase Hosting |
Key modules in app/: order_book.py (matching engine: price-time priority, partial fills), market_maker.py (two-sided quoting with realistic depth and delayed sweeps), market_data.py (real quotes blended with synthetic ticks), fiveos.py / headline.py / poker_auction.py / mental_math.py (game engines), admin.py (games, news, leaderboard, users). Tests live in tests/; CI runs ruff + pytest on every push.
Market Simulation Coding (algo_engine.py + market_sim_py.py + world.py) is client-side: players run their bot on their own machine and reach the market only through an authenticated, rate-limited order gateway (algo_ratelimit.py caps it at ~10 orders/sec). No player code runs on the server, so there is nothing to sandbox — the engine only validates and matches orders on arrival. The same is true of the world layer (world.py), where an empire action is validated JSON just like an order; it holds the map, the buildings, the units and the combat, and is kept pure and seeded so the whole ruleset is testable without standing up a market. A player's trading P&L is their build budget, which is the only coupling between the two halves. Both keep their own books and fictional items, separate from the live stock market. Full write-up — architecture, the API, and a strategy-writing guide with worked examples — in docs/market_sim_py.md.
Prerequisites: Python 3.11+, a free Firebase project (Auth + Firestore).
git clone https://github.com/snowy615/alphaBook.git
cd alphaBook
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # fill in Firebase config — see SETUP.md
python -m uvicorn app.main:app --reload
Open http://localhost:8000. Full Firebase setup and Cloud Run deployment: SETUP.md.
PRs welcome — see CONTRIBUTING.md. MIT licensed (LICENSE).