Skip to main content

A self-contained Python module for creating intelligent trading bots that monitor data sources, analyze content with ChatGPT, and automatically trade on 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"

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%)

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 manually
  • bot/ai_optimist_trading_bot.py - Simple rule-based bot

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

manifoldbot-0.1.1.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manifoldbot-0.1.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file manifoldbot-0.1.1.tar.gz.

File metadata

  • Download URL: manifoldbot-0.1.1.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for manifoldbot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 645e412cf941f7887e8f3b02510b8f3ec6ef1425a50ab72c4a16973761ed0b36
MD5 37cb11851048829f632bbccf0461cd32
BLAKE2b-256 0d5c3b538b70954cd6079ea7db15e4659f02967e6350e8b2eb8aee152a648b2a

See more details on using hashes here.

File details

Details for the file manifoldbot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: manifoldbot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for manifoldbot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 270d014f5a02a3e54a0ee1cc03aa0db27397083c15f8191c9d8fae7652e86131
MD5 ceaed264cb4b8449819a7fdc38f0a9c4
BLAKE2b-256 fc14c51f10285ae1dbd30355dbc2bacb9dd4fed334a97d0006380456464e09fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page