Poly2 #50
$1992.81
equity (-0.02%) · cash $1584.61 · stocks $0.00 · crypto $0.00 · poly $408.20
Realized gain
$-5.91Return
-0.02%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.Poly2_algorithm import decide
from trader_core import request, load_trade_config
MAX_PER_MARKET_EXPOSURE_USD = 100.0
TP1_PNL_PCT = 0.03
TP2_PNL_PCT = 0.06
STOPLOSS_PNL_PCT = -0.025
TP1_SELL_RATIO = 0.25
TP2_SELL_RATIO = 0.45
SL_SELL_RATIO = 0.25
FEE_RULES = {
"none": {"fee_rate": 0.0, "exponent": 1.0},
"crypto_short": {"fee_rate": 0.25, "exponent": 2.0},
"sports": {"fee_rate": 0.0175, "exponent": 1.0},
... (preview truncated)Preview 26/411 lines. Use copy button to get the full algorithm.
No open stock/crypto positions.