Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarketDataService ¶ added in v1.30.2
type MarketDataService struct { Config *bbgo.Config Environ *bbgo.Environment Trader *bbgo.Trader pb.UnimplementedMarketDataServiceServer }
func (*MarketDataService) QueryKLines ¶ added in v1.30.2
func (s *MarketDataService) QueryKLines(ctx context.Context, request *pb.QueryKLinesRequest) (*pb.QueryKLinesResponse, error)
func (*MarketDataService) Subscribe ¶ added in v1.30.2
func (s *MarketDataService) Subscribe(request *pb.SubscribeRequest, server pb.MarketDataService_SubscribeServer) error
type Server ¶
func (*Server) ListenAndServe ¶
type UserDataService ¶ added in v1.30.2
type UserDataService struct { Config *bbgo.Config Environ *bbgo.Environment Trader *bbgo.Trader pb.UnimplementedUserDataServiceServer }
func (*UserDataService) Subscribe ¶ added in v1.30.2
func (s *UserDataService) Subscribe(request *pb.UserDataRequest, server pb.UserDataService_SubscribeServer) error
Click to show internal directories.
Click to hide internal directories.