OHLC
Get current OHLC bars
Returns the latest OHLC bar for all tracked futures symbols. Bars update in real time from the live market data feed.
Price Format
Prices are raw fixed-point integer values. Divide by 1,000,000,000 for display:
6010250000000→$6010.25
GET
/
md
/
ohlc
Get current OHLC bars
curl --request GET \
--url https://api.hyperprop.com/md/ohlcimport requests
url = "https://api.hyperprop.com/md/ohlc"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/md/ohlc', 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://api.hyperprop.com/md/ohlc",
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://api.hyperprop.com/md/ohlc"
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://api.hyperprop.com/md/ohlc")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/md/ohlc")
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": {
"NQU6": {
"close": 29530250000000,
"high": 29534750000000,
"low": 29521000000000,
"open": 29528500000000,
"timestamp": 1786046400000,
"volume": 412
}
},
"interval": 60,
"success": true
}{
"code": "AUTH_REQUIRED",
"error": "Unauthorized",
"message": "Valid JWT token required"
}⌘I
Get current OHLC bars
curl --request GET \
--url https://api.hyperprop.com/md/ohlcimport requests
url = "https://api.hyperprop.com/md/ohlc"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hyperprop.com/md/ohlc', 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://api.hyperprop.com/md/ohlc",
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://api.hyperprop.com/md/ohlc"
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://api.hyperprop.com/md/ohlc")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/md/ohlc")
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": {
"NQU6": {
"close": 29530250000000,
"high": 29534750000000,
"low": 29521000000000,
"open": 29528500000000,
"timestamp": 1786046400000,
"volume": 412
}
},
"interval": 60,
"success": true
}{
"code": "AUTH_REQUIRED",
"error": "Unauthorized",
"message": "Valid JWT token required"
}