brew install protobuf
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
Setup environment variables with .env
file.
# KIS
KIS_APPKEY=<appkey>
KIS_APPSECRET=<appsecret>
KIS_TOKEN=<token>
KIS_TOKEN_EXPIRED="2024-dd-yy HH:MM:SS"
CANO=12345678
ACNT_PRDT_CD=01
# Upbit
UPBIT_ACCESS_KEY=<accesskey>
UPBIT_SECRET_KEY=<secretkey>