Versions in this module Expand all Collapse all v1 v1.0.0 Jul 30, 2026 Changes in this version + const EnvironmentDemo + const EnvironmentProduction + const SDKVersion + var ParsePrivateKeyPEM = transport.ParsePrivateKeyPEM + type APIError = transport.APIError + type Client struct + APIKeys *apikeys.Service + Communications *communications.Service + Events *events.Service + Exchange *exchange.Service + Markets *markets.Service + OrderGroups *ordergroups.Service + Orders *orders.Service + Portfolio *portfolio.Service + Search *search.Service + func NewClient(opts ...ClientOption) (*Client, error) + func NewClientFromEnv(opts ...ClientOption) (*Client, error) + func (c *Client) CreateWebSocket(opts streaming.WSClientOptions) *streaming.WSClient + func (c *Client) Environment() Environment + func (c *Client) IsAuthenticated() bool + func (c *Client) WSURL() string + type ClientOption func(*clientConfig) error + func WithAPIKey(apiKeyID string, privateKeyPEM []byte) ClientOption + func WithAPIKeyFile(apiKeyID string, privateKeyPath string) ClientOption + func WithBaseURL(url string) ClientOption + func WithEnvironment(env Environment) ClientOption + func WithHTTPClient(hc *http.Client) ClientOption + func WithMaxRetries(n int) ClientOption + func WithRateLimit(ratePerSecond, burstCapacity float64) ClientOption + func WithRequestHook(fn func(RequestInfo)) ClientOption + func WithTimeout(d time.Duration) ClientOption + func WithUserAgent(ua string) ClientOption + func WithWSURL(url string) ClientOption + type ConfigError = transport.ConfigError + type Environment = transport.Environment + type RequestInfo = transport.RequestInfo + type TimeoutError = transport.TimeoutError