LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gocryptotrader

cryptocurrency trading engine with CLI client

TLDR

Start the trading engine
$ gocryptotrader
copy
Start with a specific config file
$ gocryptotrader -config [config.json]
copy
List supported exchanges using the CLI client
$ gctcli getexchanges
copy
Get ticker for a currency pair
$ gctcli getticker --exchange [binance] --pair [BTC-USDT] --asset [spot]
copy
Get account portfolio summary
$ gctcli getportfoliosummary
copy
Enable or disable an exchange
$ gctcli enableexchange --exchange [binance]
copy
Get orderbook for a currency pair
$ gctcli getorderbook --exchange [binance] --pair [BTC-USDT] --asset [spot]
copy

SYNOPSIS

gocryptotrader [options]gctcli command [options]

DESCRIPTION

gocryptotrader is an open-source cryptocurrency trading engine written in Go. It supports simultaneous connections to multiple exchanges for trading, portfolio management, and market data retrieval.The companion CLI tool gctcli provides command-line access to the trading engine via gRPC, allowing users to query tickers, manage orders, view portfolios, and configure exchange connections. The engine supports backtesting, live trading, and paper trading modes.

PARAMETERS

-config FILE

Path to configuration file.
-verbose
Enable verbose output.
-version
Display version.
-help
Display help.
-grpchost HOST
gRPC host address (gctcli, default: localhost).
-grpcport PORT
gRPC port (gctcli, default: 9052).

CAVEATS

Requires API keys from supported exchanges for trading functionality. The trading engine must be running for gctcli commands to work. Written in Go.

SEE ALSO

Copied to clipboard
Kai