Versions in this module Expand all Collapse all v0 v0.1.0 Mar 15, 2026 Changes in this version + type TradingService struct + Clob *clob.ClobClient + Ctf *ctf.CTFClient + func NewTradingService(clobClient *clob.ClobClient, ctfClient *ctf.CTFClient) *TradingService + func (s *TradingService) CancelAll(ctx context.Context) error + func (s *TradingService) CancelOrder(ctx context.Context, orderID string) error + func (s *TradingService) CreateOrder(ctx context.Context, params clob.UserOrderParams, tickSize string, ...) (*clob.OrderResponse, error) + func (s *TradingService) GetOrder(ctx context.Context, orderID string) (*clob.OrderResponse, error) + func (s *TradingService) Merge(ctx context.Context, conditionID string, amount float64) (string, error) + func (s *TradingService) Redeem(ctx context.Context, conditionID string, outcome string) (string, error) + func (s *TradingService) Split(ctx context.Context, conditionID string, amount float64) (string, error)