curl --request PUT \
--url https://quantura.studio/api/v1/csv-imports/{id}/close-alert \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"rules": [
{
"kind": "price",
"value": 123
}
]
}
'import requests
url = "https://quantura.studio/api/v1/csv-imports/{id}/close-alert"
payload = {
"enabled": True,
"rules": [
{
"kind": "price",
"value": 123
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, rules: [{kind: 'price', value: 123}]})
};
fetch('https://quantura.studio/api/v1/csv-imports/{id}/close-alert', 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://quantura.studio/api/v1/csv-imports/{id}/close-alert",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'rules' => [
[
'kind' => 'price',
'value' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://quantura.studio/api/v1/csv-imports/{id}/close-alert"
payload := strings.NewReader("{\n \"enabled\": true,\n \"rules\": [\n {\n \"kind\": \"price\",\n \"value\": 123\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://quantura.studio/api/v1/csv-imports/{id}/close-alert")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"rules\": [\n {\n \"kind\": \"price\",\n \"value\": 123\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/v1/csv-imports/{id}/close-alert")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"rules\": [\n {\n \"kind\": \"price\",\n \"value\": 123\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"success": true
},
"meta": {
"api_version": "v1"
}
}{}{}{}{}{}{}{}{}set Csv Close Alert
Also requires datasets:read, a verified account primary email, current source read permission and a stock ticker. No arbitrary recipients. Up to50 active files per user, four distinct rules each. Strict above/below comparisons against completed raw Alpaca IEX daily closes, five minutes after the XNYS scheduled regular-session close (including early closes). IEX is not a consolidated official auction close. Quantile rules require daily predictions and match the same New York date, skipping crossed rows. Fixed thresholds allow other prediction frequencies. Checks apply only to sessions closing after enablement; one digest per matching trading date, at most seven days catch-up, 90-day subscription expiry. Unknown email outcomes pause for review. Does not execute trades or run models. Disabling discards queued conditions; an email already handed to the provider cannot be recalled.
curl --request PUT \
--url https://quantura.studio/api/v1/csv-imports/{id}/close-alert \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"rules": [
{
"kind": "price",
"value": 123
}
]
}
'import requests
url = "https://quantura.studio/api/v1/csv-imports/{id}/close-alert"
payload = {
"enabled": True,
"rules": [
{
"kind": "price",
"value": 123
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, rules: [{kind: 'price', value: 123}]})
};
fetch('https://quantura.studio/api/v1/csv-imports/{id}/close-alert', 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://quantura.studio/api/v1/csv-imports/{id}/close-alert",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'rules' => [
[
'kind' => 'price',
'value' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://quantura.studio/api/v1/csv-imports/{id}/close-alert"
payload := strings.NewReader("{\n \"enabled\": true,\n \"rules\": [\n {\n \"kind\": \"price\",\n \"value\": 123\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://quantura.studio/api/v1/csv-imports/{id}/close-alert")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"rules\": [\n {\n \"kind\": \"price\",\n \"value\": 123\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/v1/csv-imports/{id}/close-alert")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"rules\": [\n {\n \"kind\": \"price\",\n \"value\": 123\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"success": true
},
"meta": {
"api_version": "v1"
}
}{}{}{}{}{}{}{}{}Authorizations
Scopes
Body
Response
Saved personal subscription. email_configured=false explicitly means email cannot currently be sent.
The response is of type object.