A closed position replayed.
Replays a closed position: its pool’s price around the time it was open and its net result at each candle.
/v1/me/positions/{id}/replaysessionAPI key · cookierequiredAn opaque, revocable INVICTUS session set by createSession.
idstringrequiredA position by its pool and its reference in the pool.
X-Telegram-UserstringWith the service credential: the linked Telegram user the call acts for.
Success.
idstringrequiredA position by its pool and its reference in the pool.
pricesDecimal[]requiredleadintegerrequiredA count of items.
rangeLowDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
rangeHighDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
candlesobject[]requiredShow propertiesHide properties
objectatintegerrequiredA point in time: Unix time in whole seconds, UTC.
openDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
highDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
lowDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
closeDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
pnlUsdUsdValue[]requiredThe position's net result in USD at each candle's close; null only before it was opened, measured otherwise.
Show propertiesHide properties
UsdValuestatusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
nulleventsobject[]requiredShow propertiesHide properties
objectcandleintegerrequiredA count of items.
kindstringrequiredaddclaimusdDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
asOfintegerrequiredA point in time: Unix time in whole seconds, UTC.
Invalid input; errors names the fields.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
No session, or it ended.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Not found, or not yours.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Too many requests; retryAfterSeconds says when to ask again.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Server error.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
