Payout queue and no-price closes
curl --request GET \
--url https://data.rekt.trading/v0/capitalimport requests
url = "https://data.rekt.trading/v0/capital"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.rekt.trading/v0/capital', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.rekt.trading/v0/capital",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data.rekt.trading/v0/capital"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.rekt.trading/v0/capital")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.rekt.trading/v0/capital")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"asOf": {
"generatedAt": "2023-11-07T05:31:56Z",
"archiveTailSlot": 123,
"archiveTailAt": "2023-11-07T05:31:56Z",
"stale": true,
"staleReason": "<string>",
"entryFeeBasis": "observed"
},
"era": {
"firstSlot": 123
},
"units": "<string>",
"queue": {
"settles": 123,
"queuedSettles": 123,
"queued": "<string>",
"delivered": "<string>",
"escrowed": "<string>",
"outstanding": "<string>",
"unfunded": "<string>",
"status": {},
"oldestOutstandingAt": 123,
"oldestOutstandingAgeSeconds": 123,
"waitSeconds": {
"maxS": 123
}
},
"dark": {
"closes": 123,
"collateral": "<string>",
"traderPaid": "<string>",
"byDay": {}
},
"dayCells": {
"minTrades": 123,
"rule": "<string>"
}
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}Aggregates
Payout queue and no-price closes
The payout queue in totals, how long the oldest unpaid settlement has waited, and the closes made when a market had no price, by day. All time. Poll no more than once every 10 seconds.
GET
/
v0
/
capital
Payout queue and no-price closes
curl --request GET \
--url https://data.rekt.trading/v0/capitalimport requests
url = "https://data.rekt.trading/v0/capital"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.rekt.trading/v0/capital', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.rekt.trading/v0/capital",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data.rekt.trading/v0/capital"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.rekt.trading/v0/capital")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.rekt.trading/v0/capital")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"asOf": {
"generatedAt": "2023-11-07T05:31:56Z",
"archiveTailSlot": 123,
"archiveTailAt": "2023-11-07T05:31:56Z",
"stale": true,
"staleReason": "<string>",
"entryFeeBasis": "observed"
},
"era": {
"firstSlot": 123
},
"units": "<string>",
"queue": {
"settles": 123,
"queuedSettles": 123,
"queued": "<string>",
"delivered": "<string>",
"escrowed": "<string>",
"outstanding": "<string>",
"unfunded": "<string>",
"status": {},
"oldestOutstandingAt": 123,
"oldestOutstandingAgeSeconds": 123,
"waitSeconds": {
"maxS": 123
}
},
"dark": {
"closes": 123,
"collateral": "<string>",
"traderPaid": "<string>",
"byDay": {}
},
"dayCells": {
"minTrades": 123,
"rule": "<string>"
}
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}Response
The payout queue and the no-price closes.
The payout queue in totals, and the closes made when a market had no price, for all time.
