tinkoff-invest-example

command module
v0.0.0-...-1143660 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

Tinkoff invest API gRPC go example.

Usage

./tinkoff-invest-example -t your-api-token

Build

go build .

Generate gRPC client

  1. Install protoc version 3 https://grpc.io/docs/protoc-installation/
  2. 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
    
  3. Generate code
    mkdir -p tinkoff/investapi/ && \
    protoc --go-grpc_out=tinkoff/investapi/ --go_out=tinkoff/investapi/ \
    --proto_path=protos/ protos/*.proto
    

Update protocol buffer files

https://github.com/Tinkoff/investAPI/tree/main/src/docs/contracts

Documentation

https://tinkoff.github.io/investAPI/

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tinkoff

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL