Tinkoff invest API gRPC go example.
./tinkoff-invest-example -t your-api-token
go build .
- Install
protoc
version 3 https://grpc.io/docs/protoc-installation/ - Install plugins
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 && \ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
- Generate code
mkdir -p tinkoff/investapi/ && \ protoc --go-grpc_out=tinkoff/investapi/ --go_out=tinkoff/investapi/ \ --proto_path=protos/ protos/*.proto
https://github.com/Tinkoff/investAPI/tree/main/src/docs/contracts