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.
Drive Cryptohopper bots from Delphi/C++Builder: list Hoppers, fetch positions, place buy/sell orders and update bot configuration over the REST API.
Typed Delphi/C++Builder client for the Cryptohopper REST API — Hopper management, positions, orders, history and configuration in one component.
TsgcHTTP_Cryptohopper
Windows, macOS, Linux, iOS, Android
Professional / Enterprise
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"));
Wraps the OAuth-secured Cryptohopper REST API as a single typed Delphi component.
GetHoppers, GetHopper, StartHopper, StopHopper and UpdateHopper manage the trading-bot fleet attached to your Cryptohopper account.
GetPositions, GetOrders, BuyMarket, SellMarket, BuyLimit, SellLimit drive the trading actions for any Hopper instance.
CryptoHopperOptions.AccessToken holds the OAuth Bearer token. Pair the component with TsgcHTTP_OAuth2_Client to mint and refresh tokens.
GetTrades, GetTriggers, GetSignals and GetExchangeOrders retrieve historical events for analysis and dashboards.
Every method returns the raw Cryptohopper JSON. Helper records like TsgcHTTPCTHopper and TsgcHTTPCTHOrder simplify constructing update payloads.
Plug a TsgcWSRateLimiter to throttle outbound calls under the Cryptohopper API quotas and avoid 429 responses on bursty workloads.
Authoritative sources for the APIs this component implements.
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. | Open | |
| Demo Project — Demos\50.Other\03.Cryptohopper Ready-to-run example project. Ships inside the sgcWebSockets package — download the trial below. | Open | |
| Technical Document (PDF) Features, quick start, code samples for Delphi & C++ Builder and primary-source references — this component only. | Open | |
| User Manual (PDF) Comprehensive manual covering every component in the library. | Open |