The strategy's connections: one account per broker code.
GET
/admin/strategies/{code}/connections
curl --request GET \ --url http://localhost:3001/admin/strategies/string/connections \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/admin/strategies/string/connections"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/admin/strategies/string/connections";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.get(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”code
required
string
Strategy code
Responses
Section titled “Responses”Its connections
Media typeapplication/json
Array<object>
object
account_id
required
string format: uuid
broker_code
required
string
Example generated
[ { "account_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "broker_code": "example" }]