Traders can execute strategies more efficiently and automatically through APIs. APIs also offer faster execution and lower latency, which is crucial in fast-changing market conditions.
UI Walkthrough
Step 1: Navigate to Portfolio page
Step 2: Select the API Key section on the sidebar to access the API management page
Step 3: Click the Create API Key button and hit Confirm
Step 4: A new API Key is created. Learn more on how to integrate API with your trading strategies here .
Orderly key creation
Refer to this page for detailed instruction .
cURL Python JavaScript PHP Go Java
Copy curl --request GET \
--url 'https://api-evm.orderly.org/v1/public/broker/name?broker_id=one_bow'
Copy import requests
url = "https://api-evm.orderly.org/v1/public/broker/name"
querystring = {"broker_id":"one_bow"}
response = requests.request("GET", url, params=querystring)
print(response.text)
Copy const options = {method: 'GET'};
fetch('https://api-evm.orderly.org/v1/public/broker/name?broker_id=one_bow', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Copy <?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-evm.orderly.org/v1/public/broker/name?broker_id=one_bow",
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;
}
Copy package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api-evm.orderly.org/v1/public/broker/name?broker_id=one_bow"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
Copy HttpResponse<String> response = Unirest.get("https://api-evm.orderly.org/v1/public/broker/name?broker_id=one_bow")
.asString();
Onebow Mainnet:
supported network (deposit/withdraw) : Arbitrum One
OneBow Testnet:
supported network (deposit/withdraw) : Arbitrum Goerli
Last updated 3 months ago