Error
Polymarket
Trade on Polymarket
Executes a trade on Polymarket.
POST
Error
Body
application/json
Trade request
Direction is either "buy" or "sell"
Price is the price you want to buy/sell at (between 0 and 1) (if not provided, will use the market price)
Size is the amount of USDC you want to spend (for buys) or the amount of shares you want to sell (for sells)
Slippage is the maximum slippage you're willing to accept (between 0 and 100)
TokenID is the ID of the outcome you want to trade
WalletID is the ID of the wallet you want to trade with
