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.
Fontes autoritativas das APIs que este componente implementa.
Acesse direto a referência do componente, baixe o projeto de demonstração pronto para rodar e baixe a versão de avaliação.
| Ajuda online — CryptoHopper Referência completa de propriedades, métodos e eventos deste componente. | Abrir | |
| Projeto de demonstração — Demos\50.Other\03.Cryptohopper Projeto de exemplo pronto para rodar. Acompanha o pacote sgcWebSockets — baixe a versão de avaliação abaixo. | Abrir | |
| Documento técnico (PDF) Features, quick start, code samples for Delphi & C++ Builder and primary-source references — this component only. | Abrir | |
| Manual do usuário (PDF) Manual abrangente cobrindo todos os componentes da biblioteca. | Abrir |