Counts and daily volume
curl --request GET \
--url https://data.rekt.trading/v0/statsimport requests
url = "https://data.rekt.trading/v0/stats"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.rekt.trading/v0/stats', 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/stats",
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/stats"
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/stats")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.rekt.trading/v0/stats")
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"
},
"total": 123,
"byMarket": {},
"byDay": {},
"volumeByDay": {},
"dayCells": {
"minTrades": 123,
"rule": "<string>"
},
"commitMode": {
"ordersFilled": 123,
"opensVoided": 123,
"voidedByReason": {}
}
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}Aggregates
Counts and daily volume
Counts by market and by day, and the daily volume series. All time. Poll no more than once every 10 seconds.
GET
/
v0
/
stats
Counts and daily volume
curl --request GET \
--url https://data.rekt.trading/v0/statsimport requests
url = "https://data.rekt.trading/v0/stats"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.rekt.trading/v0/stats', 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/stats",
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/stats"
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/stats")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.rekt.trading/v0/stats")
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"
},
"total": 123,
"byMarket": {},
"byDay": {},
"volumeByDay": {},
"dayCells": {
"minTrades": 123,
"rule": "<string>"
},
"commitMode": {
"ordersFilled": 123,
"opensVoided": 123,
"voidedByReason": {}
}
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}{
"error": "<string>",
"retryAfterSeconds": 123,
"routes": [
"<string>"
]
}Response
Counts and daily volume.
Counts by market and by day, and the daily volume series, for all time.
