Poly1 #53
$1981.60
equity (-0.00%) · cash $1791.18 · stocks $0.00 · crypto $0.00 · poly $190.41
Realized gain
$-0.10Return
-0.00%Next buy
Not setNext sell
Not setNo algorithm brief provided.
import sys
import json
import random
from datetime import datetime, timezone
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
sys.path.append(str(ROOT))
sys.path.append(str(ROOT / 'scripts'))
from algorithms.Poly1_algorithm import decide
from trader_core import request, load_trade_config
MAX_PER_MARKET_EXPOSURE_USD = 100.0
# More realistic Polymarket fee simulation:
# - Most markets: no fee
# - Some markets: taker fee enabled (market-type specific)
# We approximate official behavior using market-type heuristics + probability-based curve.
# fee = C * feeRate * (p * (1-p))^exponent
# where C = shares traded, p = selected-outcome probability.
TP1_PNL_PCT = 0.04
TP2_PNL_PCT = 0.08
STOPLOSS_PNL_PCT = -0.03
... (preview truncated)Preview 26/543 lines. Use copy button to get the full algorithm.
No open stock/crypto positions.