Skip to main content
POST
/
trading
/
splits
Compute trade splits
curl --request POST \
  --url https://api.example.com/trading/splits \
  --header 'Content-Type: application/json' \
  --data '
{
  "selections": [
    {
      "venue": "kalshi",
      "venueMarketOutcomeId": "<string>"
    }
  ],
  "side": "buy",
  "maxDollarAmount": 1
}
'
{
  "data": {
    "splits": [
      {
        "venue": "kalshi",
        "venueMarketOutcomeId": "<string>",
        "side": "buy",
        "price": 1,
        "size": 1,
        "signedOrder": null,
        "negRisk": true,
        "outcomeExternalIdentifier": "<string>"
      }
    ],
    "totalSize": 123,
    "totalCost": 123
  }
}

Body

application/json

Body

selections
object[]
required
side
enum<string>
required
Available options:
buy,
sell
maxDollarAmount
number
required
Required range: x >= 0

Response

200 - application/json

200

data
object
required