Get greeks, model price, and probability of profit
Per-instrument option greeks computed by Joyride:
Black-76 (r = 0, forward = spot) model price, delta, gamma, theta,
vega, probability-of-profit, and the BlockScholes-derived mark_iv
passthrough. Served entirely from an in-process cache refreshed by a
background poller — no upstream call is made per request.
Conventions:
- All numeric fields are fixed-8 decimal strings.
nullmeans unknown/stale —"0.00000000"is never emitted for an unknown value. Rows whose source inputs (quoteas_of_ms/ oracle spot publish time) are older than the staleness window (default 30s) serve null fields while retaining their last timestamps.model_priceis a display-only theoretical value. It is NOT the margin/liquidation-authoritative mark and must never be used as a PnL/margin/liquidation price source.rhois intentionally omitted (convention-dependent, unrendered).- Rows are sorted by
symbol. Staleness never yields a 5xx — the endpoint returns 200 with null fields. - Adding response fields is backward-compatible; removing or renaming fields is a breaking change.
GET
/
v1
/
greeks
Get greeks, model price, and probability of profit
curl --request GET \
--url https://joyride.exchange/api/v1/greeksimport requests
url = "https://joyride.exchange/api/v1/greeks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://joyride.exchange/api/v1/greeks', 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://joyride.exchange/api/v1/greeks",
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://joyride.exchange/api/v1/greeks"
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://joyride.exchange/api/v1/greeks")
.asString();require 'uri'
require 'net/http'
url = URI("https://joyride.exchange/api/v1/greeks")
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{
"data": [
{
"symbol": "BTC_USDC-25JUL26-120000-C",
"model_price": "1588.21000000",
"mark_iv": "0.43210000",
"delta": "0.45120000",
"gamma": "0.00001200",
"theta": "-42.10000000",
"vega": "88.40000000",
"pop": "0.38000000",
"as_of": 1753100000123,
"computed_at": 1753100000500
}
]
}{
"error": "INVALID_ASSET",
"message": "asset must be one of the listed base assets"
}Query Parameters
Optional base-asset filter. Validated against the canonical
configured asset set (BTC, ETH, SOL), case-insensitively;
values longer than 64 bytes or outside the set yield 400
INVALID_ASSET. A valid asset with no cached rows returns an
empty data array.
Available options:
BTC, ETH, SOL Maximum string length:
64Response
Cached greeks rows (empty array when the cache is empty)
Show child attributes
Show child attributes
Get greeks, model price, and probability of profit
curl --request GET \
--url https://joyride.exchange/api/v1/greeksimport requests
url = "https://joyride.exchange/api/v1/greeks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://joyride.exchange/api/v1/greeks', 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://joyride.exchange/api/v1/greeks",
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://joyride.exchange/api/v1/greeks"
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://joyride.exchange/api/v1/greeks")
.asString();require 'uri'
require 'net/http'
url = URI("https://joyride.exchange/api/v1/greeks")
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{
"data": [
{
"symbol": "BTC_USDC-25JUL26-120000-C",
"model_price": "1588.21000000",
"mark_iv": "0.43210000",
"delta": "0.45120000",
"gamma": "0.00001200",
"theta": "-42.10000000",
"vega": "88.40000000",
"pop": "0.38000000",
"as_of": 1753100000123,
"computed_at": 1753100000500
}
]
}{
"error": "INVALID_ASSET",
"message": "asset must be one of the listed base assets"
}