|
|
|
|
|
|
|
|
|
|
|
|
Loading prices...
Playground

How Playground Works

Understand the complete lifecycle of a Playground strategy, from creation through execution to settlement. Learn how the AI builds your strategy, how orders are placed, and how positions are managed.

Strategy Creation

Creating a Playground strategy is a conversational process powered by AI. Here's how it works:

1. Conversational Interface

You describe what you want in natural language. The AI understands trading terminology and asks clarifying questions to build your strategy step-by-step. For example:

  • You say — "I want to buy BTC when RSI is oversold"
  • AI asks — "What RSI level should I consider oversold? (Common values: 20-30)"
  • You say — "30"
  • AI asks — "What price would you like to enter at? (In cents, e.g., 30 = $0.30)"

2. Strategy Components

As you answer questions, the AI builds your strategy configuration:

  • Name & Description — A clear name and description for your strategy
  • Assets — Which cryptocurrencies to trade (BTC, ETH, SOL, XRP)
  • Direction — Trade UP (price increases), DOWN (price decreases), or both
  • Timeframe — 15-minute or 1-hour markets
  • Indicators — Technical indicators to monitor (RSI, MACD, etc.)
  • Conditions — Rules that must be met to trigger a trade
  • Entry Configuration — How to enter positions (price, ladder, timing)
  • Exit Configuration — How to exit positions (take profit levels)
  • Risk Management — Optional limits and safeguards

3. Validation & Review

The AI validates your strategy in real-time, ensuring all required fields are set and conditions are logically sound. You can review the complete configuration before saving and make changes by asking the AI.

Editing Strategies: You can edit existing strategies at any time. The AI loads your current configuration and lets you modify any parameter through conversation.

Strategy Execution

Once your strategy is active, it runs automatically on a scheduled cycle:

Execution Schedule

  • 15-Minute Markets — Strategies check conditions at :00, :15, :30, :45 of each hour
  • 1-Hour Markets — Strategies check conditions at the top of each hour (:00)
  • Preparation Phase — System prepares 5 minutes before execution (loads markets, subscribers, indicators)
  • Execution Phase — At the scheduled time, conditions are evaluated and trades are placed

Condition Evaluation

When a market opens, the system:

  • 1. Fetches Price Data — Retrieves recent candle data for the asset(s) from Binance
  • 2. Calculates Indicators — Computes all indicators specified in your strategy (RSI, MACD, etc.)
  • 3. Evaluates Conditions — Checks if your entry conditions are met (e.g., "RSI crosses below 30")
  • 4. Places Orders — If conditions are met, places limit orders on Polymarket

Order Lifecycle

Understanding how orders are placed and managed:

Order Placement

  • Immediate Placement — Orders are placed as soon as conditions are met (default)
  • Delayed Placement — Wait X minutes after market open before placing (e.g., "place 5 minutes after open")
  • Pre-Close Placement — Place X minutes before market close (e.g., "place 2 minutes before close")
  • Dynamic Direction — For UP AND DOWN strategies, buy whichever side is favored (price > 50¢) at placement time

Order Types

  • Simple Limit Order — Single entry at your specified price (e.g., 30¢)
  • Entry Ladder — Split entry across 2 prices (e.g., 30% at 10¢, 70% at 15¢)
  • Market Order — Execute immediately at best available price (not recommended)

Auto-Cancel

Prevent stale orders by automatically canceling unfilled orders:

  • Cancel After Open — Cancel if not filled X minutes after market open (e.g., "cancel after 30 minutes")
  • Cancel Before Close — Cancel X minutes before market close (e.g., "cancel 5 minutes before close")
Order Minimums: Polymarket requires $5 minimum per order. If you trade multiple assets or use entry ladders, your budget per trade must be higher. The AI calculates and displays the minimum required budget.

Position Management

Once your entry order fills, the system automatically manages your position:

Automatic Exit Orders

Exit orders are placed immediately after entry fills:

  • Simple Exit — Single sell order at your target price (e.g., 99¢)
  • Partial Exit — Take profits at multiple levels (e.g., 50% at 40¢, 50% at 99¢)
  • Automatic Placement — Exit orders are placed automatically - no manual intervention needed

Fill Monitoring

The system continuously monitors your orders:

  • Real-Time Updates — WebSocket connections track order status in real-time
  • Polling Backup — Every 10 seconds, the system checks for fills via API (in case WebSocket misses an update)
  • Immediate Action — When an entry fills, exit orders are placed within seconds
Race Condition Protection: The system uses locks to prevent duplicate exit orders when multiple event sources detect the same fill simultaneously.

Settlement & Payouts

When a market resolves (closes), positions are settled automatically:

Market Resolution

  • 15-Minute Markets — Close 15 minutes after opening. Resolution happens shortly after close.
  • 1-Hour Markets — Close 60 minutes after opening. Resolution happens shortly after close.
  • Winning Shares — If you bought the correct outcome, each share pays $1.00
  • Losing Shares — If you bought the wrong outcome, shares expire worthless

Automatic Settlement

The system handles settlement automatically:

  • Position Tracking — System tracks all open positions and their market resolution times
  • Settlement Detection — When a market resolves, the system detects the outcome
  • Profit Calculation — Calculates profit/loss based on entry cost and exit proceeds
  • Analytics Update — Strategy performance metrics are updated (win rate, total P&L, etc.)
Settlement: When markets resolve, winning shares pay $1.00 each. Losing shares expire worthless. The system automatically calculates your profit/loss and updates your strategy performance metrics.

Marketplace & Subscriptions

Share your strategies with the community and let others subscribe:

Publishing Strategies

When creating or editing a strategy, you can choose to make it public:

  • Public Visibility — Your strategy appears in the Marketplace for others to discover
  • Performance Display — Win rate, total trades, and P&L are shown to potential subscribers
  • Subscription Management — See who subscribes to your strategy and their performance

Subscribing to Strategies

Browse the Marketplace to find strategies created by others:

  • Filter & Sort — Filter by asset, timeframe, or performance. Sort by win rate or total trades
  • Review Details — See the strategy's indicators, conditions, and historical performance
  • Subscribe — Set your budget per trade and activate the strategy
  • Independent Execution — Your trades execute independently using your wallet and budget
A/B Testing: Clone any strategy (yours or others) to create variations. Test different entry prices, indicators, or conditions side-by-side to see what performs best.