Cryptohopper REST API

Drive Cryptohopper bots from Delphi/C++Builder: list Hoppers, fetch positions, place buy/sell orders and update bot configuration over the REST API.

TsgcHTTP_Cryptohopper

Typed Delphi/C++Builder client for the Cryptohopper REST API — Hopper management, positions, orders, history and configuration in one component.

Klasa komponentu

TsgcHTTP_Cryptohopper

Platformy

Windows, macOS, Linux, iOS, Android

Edycja

Professional / Enterprise

Set token, call typed methods

Set the OAuth Bearer token (or username+password) on the component, then call typed methods like GetHoppers, GetPositions, BuyMarket and UpdateHopper.

uses
  sgcLibs;

var
  CryptoHopper: TsgcHTTP_Cryptohopper;
begin
  CryptoHopper := TsgcHTTP_Cryptohopper.Create(nil);
  CryptoHopper.CryptoHopperOptions.AccessToken := 'your-oauth-token';

  // list hoppers
  Memo1.Lines.Text := CryptoHopper.GetHoppers;

  // positions for a hopper
  Memo1.Lines.Add(CryptoHopper.GetPositions('hopper-id'));

  // market buy
  Memo1.Lines.Add(CryptoHopper.BuyMarket('hopper-id',
    'BTC/USDT', '0.001'));
end;
// uses: sgcLibs
TsgcHTTP_Cryptohopper *CryptoHopper = new TsgcHTTP_Cryptohopper(this);
CryptoHopper->CryptoHopperOptions->AccessToken = "your-oauth-token";

Memo1->Lines->Text = CryptoHopper->GetHoppers();
Memo1->Lines->Add(CryptoHopper->GetPositions("hopper-id"));

Co jest w środku

Wraps the OAuth-secured Cryptohopper REST API as a single typed Delphi component.

Hopper management

GetHoppers, GetHopper, StartHopper, StopHopper and UpdateHopper manage the trading-bot fleet attached to your Cryptohopper account.

Positions & orders

GetPositions, GetOrders, BuyMarket, SellMarket, BuyLimit, SellLimit drive the trading actions for any Hopper instance.

OAuth authentication

CryptoHopperOptions.AccessToken holds the OAuth Bearer token. Pair the component with TsgcHTTP_OAuth2_Client to mint and refresh tokens.

Typed history calls

GetTrades, GetTriggers, GetSignals and GetExchangeOrders retrieve historical events for analysis and dashboards.

JSON or typed

Every method returns the raw Cryptohopper JSON. Helper records like TsgcHTTPCTHopper and TsgcHTTPCTHOrder simplify constructing update payloads.

Rate-limit aware

Plug a TsgcWSRateLimiter to throttle outbound calls under the Cryptohopper API quotas and avoid 429 responses on bursty workloads.

Specyfikacje i źródła

Autorytatywne źródła API implementowanych przez ten komponent.

Dokumentacja i wersje demo

Deep-link do dokumentacji komponentu, gotowy do uruchomienia projekt demonstracyjny i pobranie wersji próbnej.

Pomoc online — CryptoHopper Pełna dokumentacja właściwości, metod i zdarzeń tego komponentu.
Projekt demonstracyjny — Demos\50.Other\03.Cryptohopper Gotowy do uruchomienia projekt przykładowy. Dostarczany wewnątrz pakietu sgcWebSockets — pobierz wersję próbną poniżej.
Dokument techniczny (PDF) Funkcje, szybki start, przykłady kodu dla Delphi i C++ Builder oraz odniesienia do źródeł pierwotnych — tylko ten komponent.
Podręcznik użytkownika (PDF) Kompleksowy podręcznik obejmujący każdy komponent biblioteki.

Ready to Automate Cryptohopper?

Download the free trial and drive Cryptohopper bots from your Delphi applications.