Tasks

Create a task

Queues a new paired position. Both venues must be different, granted by the key and bound by its owner.

post/v1/delta-neutral/tasks

Request

  • Base URL: https://api.mob.exchange
  • URL: https://api.mob.exchange/v1/delta-neutral/tasks
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Persist one ID per intended mutation before sending. Reuse it with the same request for retries; different content returns 409.

Request body

longVenue'hl' | 'lighter' | 'lighter-mainnet' | 'aster' required

hl = Hyperliquid; lighter = Lighter RH (Robinhood); lighter-mainnet = canonical Lighter; aster = Aster.

shortVenue'hl' | 'lighter' | 'lighter-mainnet' | 'aster' required

hl = Hyperliquid; lighter = Lighter RH (Robinhood); lighter-mainnet = canonical Lighter; aster = Aster.

longMarketstring required

Exact listed venue symbol. Examples: ETH; Hyperliquid xyz:NVDA or io:ANTH; Aster USD1:XAU or U:BTC. Check current listings.

shortMarketstring required

Exact listed venue symbol. Examples: ETH; Hyperliquid xyz:NVDA or io:ANTH; Aster USD1:XAU or U:BTC. Check current listings.

sizeUsdnumber required

USD per leg, within this key’s maximum and venue minimums.

minFundingApynumber
autoCloseboolean
maxSpreadBpsnumber
liqProtectionPctnumber
sizeMismatchPctnumber

Example request

{
  "longMarket": "ETH",
  "shortMarket": "ETH"
}

Response

Command accepted. Inspect task status for execution.

taskIdstring uuid required
status'pending' required

Changes

No recorded changes to this operation across all 1 revision of this API.