agents icon indicating copy to clipboard operation
agents copied to clipboard

add dollar-cost averaging strategy

Open CRF1408 opened this issue 2 weeks ago • 0 comments

Adds a simple example demonstrating a DCA trading loop, showing how to use the client to select a market and repeatedly place small orders.


[!NOTE] Introduces a minimal DCA strategy example demonstrating periodic order placement flow.

  • New agents/examples/dca_strategy.py uses Polymarket client to fetch markets and pick the target via min(..., key=lambda m: m.spread)
  • Configurable amount_per_purchase and interval_seconds; runs an infinite loop printing intended buys (placeholder for client.place_order(...))

Written by Cursor Bugbot for commit a7f444aa3c96d01305cde45326b4895aee7afac9. This will update automatically on new commits. Configure here.

CRF1408 avatar Dec 27 '25 21:12 CRF1408