Get this strategy's current (or most recent) live run
Changed onThe run you last started for this strategy — its most complete state, including params and the promotion gate once the sandbox trial has one to report. Returns the run's last known state even after it has stopped; this endpoint never disappears history. When the run was started with a stream, streamUrl is here too while the run is running and your plan allows it.
While the run is being executed it also carries stats, the run's latest counters (updates processed, rate, instruments seen), refreshed about once a minute. Starting or stopping a run does not return them; read them here.
Request
- Base URL: https://api.qtsurfer.net/v1
- URL: https://api.qtsurfer.net/v1/strategy/{strategyId}/live
- Auth: HTTP bearer
Path parameters
Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller. How much formatting the id ignores depends on the language — see POST /strategy for exactly which rewrites preserve it and which do not.
The id returned by POST /strategy
Response
The run's current state, with its streamUrl when it has one
Example response
{
"strategyId": "6bsh31ikwkuivhtgcoa6s4",
"sources": [
{
"venueType": "cx",
"exchange": "binance",
"segment": "spot",
"instruments": [
"BTC/USDT"
]
}
]
}Changes
- info
endpoint added
- info