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.

Classe do componente

TsgcHTTP_Cryptohopper

Plataformas

Windows, macOS, Linux, iOS, Android

Edição

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

O que tem por dentro

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.

Especificações e referências

Fontes autoritativas das APIs que este componente implementa.

Documentação e demos

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.
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.
Documento técnico (PDF) Features, quick start, code samples for Delphi & C++ Builder and primary-source references — this component only.
Manual do usuário (PDF) Manual abrangente cobrindo todos os componentes da biblioteca.

Ready to Automate Cryptohopper?

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