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.

Component class

TsgcHTTP_Cryptohopper

Platforms

Windows, macOS, Linux, iOS, Android

Edition

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"));

What's inside

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.

Specifications & references

Authoritative sources for the APIs this component implements.

Documentation & Demos

Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.

Online Help — CryptoHopper Full property, method and event reference for this component.
Demo Project — Demos\50.Other\03.Cryptohopper Ready-to-run example project. Ships inside the sgcWebSockets package — download the trial below.
Technical Document (PDF) Features, quick start, code samples for Delphi & C++ Builder and primary-source references — this component only.
User Manual (PDF) Comprehensive manual covering every component in the library.

Ready to Automate Cryptohopper?

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