List the bound user's active/paused copytrades
curl --request GET \
--url https://api.bravadotrade.com/v2/trade/copytradeimport requests
url = "https://api.bravadotrade.com/v2/trade/copytrade"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bravadotrade.com/v2/trade/copytrade', 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.bravadotrade.com/v2/trade/copytrade",
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.bravadotrade.com/v2/trade/copytrade"
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.bravadotrade.com/v2/trade/copytrade")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bravadotrade.com/v2/trade/copytrade")
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{
"copytrades": [
{
"id": "<string>",
"leader_address": "<string>",
"status": "<string>",
"market_ids_include": [
"<string>"
],
"market_ids_exclude": [
"<string>"
],
"tags_include": [
"<string>"
],
"tags_exclude": [
"<string>"
],
"buy_enabled": true,
"buy_order_type": "<string>",
"buy_size_mode": "<string>",
"buy_size_value": 123,
"buy_insufficient_usdc_action": "<string>",
"buy_time_in_force": "<string>",
"sell_enabled": true,
"sell_order_type": "<string>",
"sell_size_mode": "<string>",
"sell_insufficient_shares_action": "<string>",
"is_simulation": true,
"take_profit_levels": [
{
"kind": "TAKE_PROFIT",
"trigger_bps": 123,
"portion_bps": 123,
"sort_order": 123
}
],
"stop_loss_levels": [
{
"kind": "TAKE_PROFIT",
"trigger_bps": 123,
"portion_bps": 123,
"sort_order": 123
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"leader_username": "<string>",
"buy_min_trade_size": 123,
"buy_max_trade_size": 123,
"buy_min_for_percent": true,
"sell_size_value": 123,
"copy_start_date": "2023-11-07T05:31:56Z",
"copy_end_date": "2023-11-07T05:31:56Z",
"close_at_price_cents": 123,
"max_hold_seconds": 123
}
]
}trade.copytrade
List the bound user's active/paused copytrades
GET
/
v2
/
trade
/
copytrade
List the bound user's active/paused copytrades
curl --request GET \
--url https://api.bravadotrade.com/v2/trade/copytradeimport requests
url = "https://api.bravadotrade.com/v2/trade/copytrade"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bravadotrade.com/v2/trade/copytrade', 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.bravadotrade.com/v2/trade/copytrade",
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.bravadotrade.com/v2/trade/copytrade"
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.bravadotrade.com/v2/trade/copytrade")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bravadotrade.com/v2/trade/copytrade")
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{
"copytrades": [
{
"id": "<string>",
"leader_address": "<string>",
"status": "<string>",
"market_ids_include": [
"<string>"
],
"market_ids_exclude": [
"<string>"
],
"tags_include": [
"<string>"
],
"tags_exclude": [
"<string>"
],
"buy_enabled": true,
"buy_order_type": "<string>",
"buy_size_mode": "<string>",
"buy_size_value": 123,
"buy_insufficient_usdc_action": "<string>",
"buy_time_in_force": "<string>",
"sell_enabled": true,
"sell_order_type": "<string>",
"sell_size_mode": "<string>",
"sell_insufficient_shares_action": "<string>",
"is_simulation": true,
"take_profit_levels": [
{
"kind": "TAKE_PROFIT",
"trigger_bps": 123,
"portion_bps": 123,
"sort_order": 123
}
],
"stop_loss_levels": [
{
"kind": "TAKE_PROFIT",
"trigger_bps": 123,
"portion_bps": 123,
"sort_order": 123
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"leader_username": "<string>",
"buy_min_trade_size": 123,
"buy_max_trade_size": 123,
"buy_min_for_percent": true,
"sell_size_value": 123,
"copy_start_date": "2023-11-07T05:31:56Z",
"copy_end_date": "2023-11-07T05:31:56Z",
"close_at_price_cents": 123,
"max_hold_seconds": 123
}
]
}Response
200 - application/json
Default Response
Show child attributes
Show child attributes
⌘I