Order Operations
(c *Client) PlaceOrder(ctx context.Context, req *PlaceOrderRequest) (string, error)
(c *Client) PlaceOrder(ctx context.Context, req *PlaceOrderRequest) (string, error)gotype PlaceOrderRequest struct {
MarketID string
Outcome string // "YES" or "NO"
OrderType string // "LIMIT", "MARKET", "STOP_LOSS"
Side string // "BUY" or "SELL"
Quantity float64
Price float64 // For LIMIT orders
StopPrice float64 // For STOP_LOSS orders
PrivateKey string
}(c *Client) CancelOrder(ctx context.Context, orderID, privateKey string) error
(c *Client) CancelOrder(ctx context.Context, orderID, privateKey string) errorLast updated