A comprehensive Python package for creating intelligent trading bots that interact with Manifold Markets
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file manifoldbot-0.2.9.tar.gz.
File metadata
- Download URL: manifoldbot-0.2.9.tar.gz
- Upload date:
- Size: 52.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cac9cc0773f7729f8a102c9e7db4adeb20386a9379646019e061d4ce652dfda
|
|
| MD5 |
253f418aa969452f11fbb5bcf2f9691a
|
|
| BLAKE2b-256 |
fdd4c1f6015476d70932ff98c16035da19ad86398e9e9b296df9eb68223a4502
|
File details
Details for the file manifoldbot-0.2.9-py3-none-any.whl.
File metadata
- Download URL: manifoldbot-0.2.9-py3-none-any.whl
- Upload date:
- Size: 63.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7526a6b1a3699d1ed3f988c8b3e37fb9899124f00878fa8861b4419b9301287
|
|
| MD5 |
ca9018c1c9e6f067b354761e9f1f91f5
|
|
| BLAKE2b-256 |
0d0aba808f4e513f51e3c8a146c1ac1e7299c727feedebae3603f697775ff6d4
|