Files
overnight-trading-bot/internal/tinvest/sandbox.go
T
2026-06-07 21:01:40 +00:00

11 lines
254 B
Go

package tinvest
import "context"
const sandboxEndpoint = "sandbox-invest-public-api.tinkoff.ru:443"
func NewSandboxGateway(ctx context.Context, opts Options) (*RealGateway, error) {
opts.Endpoint = sandboxEndpoint
return NewRealGateway(ctx, opts)
}