3Commas Trading Bot API
Manage automated trading bots, deals, and smart trades across multiple exchanges through the 3Commas API.
Manage automated trading bots, deals, and smart trades across multiple exchanges through the 3Commas API.
Programmatically control 3Commas trading bots and monitor deal performance from your Delphi applications.
The sgcWebSockets 3Commas component provides access to the 3Commas REST API for managing automated trading bots. Create and configure bots, start and stop deals, monitor active positions, and retrieve trade history across all connected exchanges.
List active bots from your 3Commas account.
uses
sgcHTTP_API_3Commas;
var
Commas: TsgcHTTPAPI_3Commas;
procedure TForm1.FormCreate(Sender: TObject);
begin
Commas := TsgcHTTPAPI_3Commas.Create(nil);
Commas.ThreeCommasOptions.ApiKey := 'your-api-key';
Commas.ThreeCommasOptions.ApiSecret := 'your-secret';
end;
procedure TForm1.ListBots;
var
vResponse: string;
begin
vResponse := Commas.GetBots;
Memo1.Lines.Add(vResponse);
end;
Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.