ManifoldBot
A Python package for creating intelligent trading bots for Manifold Markets.
Quick Start
1. Installation
pip install manifoldbot
2. Set API Keys
export MANIFOLD_API_KEY="your_manifold_api_key"
export OPENAI_API_KEY="your_openai_key"
(or place these in .env)
3. Run the LLM Trading Bot
Trade all markets with AI:
python -m manifoldbot.examples.bot.llm_trading_bot --all
Or trade recent markets only:
python -m manifoldbot.examples.bot.llm_trading_bot
What It Does
The LLM trading bot:
- Analyzes market questions using GPT
- Compares AI probability vs current market probability
- Places bets when there's a significant difference (≥5%)
- Only bets when confidence is high (≥60%)
Is it quicker to use this package or just vibe from the start?
I can't honestly say but this package does take care of things like careful iterative market-impact adjusted fractional Kelly betting and so forth.
More Examples
See manifoldbot/examples/ for additional examples:
manifold/basic_reader.py- Read market data (no API key needed)manifold/basic_writer.py- Place bets manuallybot/ai_optimist_trading_bot.py- Simple rule-based bot that thinks people underestimate AI, generally
Documentation
License
MIT License - see LICENSE file for details.
Metadata
Release files for manifoldbot 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| manifoldbot-0.2.9.tar.gz | 52.3 kB | Without provenance | Details for manifoldbot-0.2.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| manifoldbot-0.2.9-py3-none-any.whl | Python 3 | none | any | Details for manifoldbot-0.2.9-py3-none-any.whl |
Total release size: 115.3 kB
Release files / manifoldbot-0.2.9.tar.gz
| Download URL | manifoldbot-0.2.9.tar.gz |
|---|---|
| Size | 52.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cac9cc0773f7729f8a102c9e7db4adeb20386a9379646019e061d4ce652dfda
|
|
BLAKE2b-256 checksum How to use checksums |
fdd4c1f6015476d70932ff98c16035da19ad86398e9e9b296df9eb68223a4502
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / manifoldbot-0.2.9-py3-none-any.whl
| Download URL | manifoldbot-0.2.9-py3-none-any.whl |
|---|---|
| Size | 63.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7526a6b1a3699d1ed3f988c8b3e37fb9899124f00878fa8861b4419b9301287
|
|
BLAKE2b-256 checksum How to use checksums |
0d0aba808f4e513f51e3c8a146c1ac1e7299c727feedebae3603f697775ff6d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for manifoldbot 0.2.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.