AutoTP aims to be an automated trading platform that supports multiple exchanges and programmable strategies (robot/EA). Inspired by MetaTrader and MQL4.
- Build AutoTP with
go build -o autotp main.go
. - Create a trading robot
kzm.go
, then compile it withgo build kzm.go
. - Copy a
kzm
binary into the same place ofautotp
. - Run AutoTP with minimum required flags:
API Key
,Exchange
,Symbol
,Bot
, andDatabase
(SQLite).
$ autotp trade --apiKey API_KEY --secret SECRET --exchange BINANCE --symbol BNBBUSD --bot kzm --database autotp.db
$ autotp trade -k API_KEY -x SECRET -e BINANCE -s BNBBUSD -b kzm -d autotp.db
Or using a config file,
$ autotp trade --config config.yml
$ autotp trade -c config.yml
$ autotp trade -k API_KEY -x SECRET -c config.yml
Read-only exchange,