List Complex Orders
curl --request GET \
--url https://api.centosfi.com/v1/complex-ordersimport requests
url = "https://api.centosfi.com/v1/complex-orders"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.centosfi.com/v1/complex-orders', 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.centosfi.com/v1/complex-orders",
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.centosfi.com/v1/complex-orders"
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.centosfi.com/v1/complex-orders")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.centosfi.com/v1/complex-orders")
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{
"complex_orders": {},
"count": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Complex Orders
List Complex Orders
List all complex orders with optional filters.
Returns a paginated list of complex orders (conditional, TWAP, etc.) across all
accessible subaccounts, ordered by created_at descending.
Filters:
All filters are optional and can be combined. Use complex_order_type to narrow
to a specific type. If no subaccount_id is specified, returns orders from all
subaccounts the user has access to.
GET
/
v1
/
complex-orders
List Complex Orders
curl --request GET \
--url https://api.centosfi.com/v1/complex-ordersimport requests
url = "https://api.centosfi.com/v1/complex-orders"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.centosfi.com/v1/complex-orders', 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.centosfi.com/v1/complex-orders",
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.centosfi.com/v1/complex-orders"
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.centosfi.com/v1/complex-orders")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.centosfi.com/v1/complex-orders")
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{
"complex_orders": {},
"count": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Query Parameters
Available options:
PENDING, ACTIVE, TRIGGERED, CANCELLED Required range:
1 <= x <= 1000Required range:
x >= 0
