Create depth targets from an MM's RFQ document
curl --request POST \
--url https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/")
.header("Authorization", "<api-key>")
.asString();{
"created_count": 123,
"target_ids": [
123
],
"errors": [
"<unknown>"
]
}RFQ
Create depth targets from an MM's RFQ document
Creates per-market-maker bid and ask depth targets from the depth KPIs configured in this proposal’s document. A repeated call returns the previously created target IDs.
POST
/
v2
/
organizations
/
rfq
/
proposals
/
{proposal_id}
/
create-depth-targets
/
Create depth targets from an MM's RFQ document
curl --request POST \
--url https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/create-depth-targets/")
.header("Authorization", "<api-key>")
.asString();{
"created_count": 123,
"target_ids": [
123
],
"errors": [
"<unknown>"
]
}Authorizations
Token-based authentication with required prefix "Token ". Example: "Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"

