Synpath
Positions

Set a fair value

Mark a market for an account. Persisted in the journal.

PUT/fair-valuesself-hosted · access token · trade

Self-hosted. Served by synpath serve on your own machine or host, which must be running; the engine and its order types live there. Nothing on this page runs on Synpath's servers.

Request body

NameTypeDescription
accountstringvenue:name.
market_idstring
valuedecimalThe YES price to mark at.
sourcestring
default manual
Recorded with the mark.

Response

The mark.

import os
import httpx

TOKEN = os.environ["SYNPATH_ACCESS_TOKEN"]

r = httpx.put("http://127.0.0.1:8000/trading/fair-values", headers={"Authorization": f"Bearer {TOKEN}"}, json={"account":"polymarket:desk-a","market_id":"polymarket:2252244","value":"0.11","source":"manual"})
r.raise_for_status()
print(r.json())
200
{
  "account": "kalshi:desk-a",
  "market_id": "kalshi:KXELONMARS-99",
  "value": "0.11"
}