Versions in this module Expand all Collapse all v2 v2.0.5-dev.7 Sep 5, 2025 v2.0.5-dev.6 Sep 5, 2025 v2.0.5-dev.5 Sep 5, 2025 v2.0.5-dev.4 Sep 4, 2025 v2.0.5-dev.3 Sep 4, 2025 v2.0.5-dev.2 Aug 14, 2025 v2.0.5-dev.1 Aug 14, 2025 v2.0.4 Jul 2, 2025 Changes in this version + const DataError + const GeneralError + const InputError + const NetworkError + const NotFoundError + const OrderError + const PermissionError + const TokenError + const TwoFAError + const URIBanks + const URIBasketMargin + const URIBrokerage + const URIBuildStrategies + const URIConvertposition + const URIDeleteMultipleOrder + const URIDeleteOrder + const URIFunds + const URIGttOrderBook + const URIHistory + const URIHoldings + const URIInstruments + const URILogin + const URIMTFInterestReport + const URIModifyOrder + const URIModifyOrderTags + const URIMultiCancelrders + const URIOptionChain + const URIOrderBook + const URIOrderHistory + const URIOrderMargin + const URIPayoffStrategies + const URIPlaceOrder + const URIPnLReport + const URIPositions + const URIQuotes + const URISession + const URIStrategies + const URITag + const URITags + const URITradeReport + const URITrades + const URITurnoverDetailsReport + const URITurnoverSummaryReport + const URIWithdrawal + const UserError + func GetErrorName(code int) string + func InitializeVortexApi(applicationId string, apiKey string, apiClient *VortexApi) error + func InitializeWire(accessToken string, wire *Wire) error + func NewError(etype string, message string, data interface{}) error + type AlertCondition string + const AlertConditionEQ + const AlertConditionGE + const AlertConditionLE + type AlertInfo struct + ClientCode string + Condition AlertCondition + CreatedAt time.Time + Exchange ExchangeTypes + Expiry time.Time + IsExecuted *bool + LastExecutedAt time.Time + Name string + Note string + Property AlertProperty + Status string + Token int + TriggerValue float64 + UpdatedAt time.Time + type AlertProperty string + const AlertPropertyAVGPRICE + const AlertPropertyLTP + const AlertPropertyVOLUME + type BankDetails struct + AccountNumber string + AccountType string + BankName string + Ifsc string + IsPrimary bool + type BanksResponse struct + Data ExchangeBankDetails + Status string + type BasketMarginOrder struct + Exchange ExchangeTypes + Price float64 + Product ProductTypes + Quantity int + Token int + TransactionType TransactionTypes + Variety VarietyTypes + type BasketMarginRequest struct + Orders []BasketMarginOrder + type BasketMarginResponse struct + InitialMargin float64 + RequiredMargin float64 + Status string + type CancelIcebergOrderResponse struct + Message string + Status string + type ConvertPositionRequest struct + Exchange ExchangeTypes + NewProductType ProductTypes + OldProductType ProductTypes + Quantity int + Token int + TransactionType TransactionTypes + type ConvertPositionResponse struct + Code string + Message string + Status string + type DateOptionData struct + CE StockWithGreek + Gamma float64 + IV float64 + PE StockWithGreek + StrikePrice float64 + Theta float64 + Vega float64 + type Error struct + Code int + Data interface{} + ErrorType string + Message string + func (e Error) Error() string + type ExchangeAuthTokenRequest struct + ApplicationId string + Checksum string + Token string + type ExchangeBankDetails struct + Mcx []BankDetails + Nse []BankDetails + type ExchangeDetail struct + Exchange ExchangeTypes + Symbol string + Token int + type ExchangeDetails struct + Exchange string + Symbol string + Token int + type ExchangeFundResponse struct + BookedProfit float64 + Collateral float64 + CreditForSale float64 + Deposit float64 + FundsTransferred float64 + FundsWithdrawal float64 + LimitUtilization float64 + MtmAndBookedLoss float64 + NetAvailable float64 + OptionCreditForSale float64 + TotalTradingPower float64 + TotalUtilization float64 + type ExchangeTypes string + const ExchangeTypesBSEEQUITY + const ExchangeTypesBSEFO + const ExchangeTypesMCX + const ExchangeTypesNSECURRENCY + const ExchangeTypesNSEEQUITY + const ExchangeTypesNSEFO + type FullQuoteData struct + AverageTradePrice float64 + ClosePrice float64 + DPRHigh float64 + DPRLow float64 + Depth *QuoteDepth + Exchange string + HighPrice float64 + LastTradePrice float64 + LastTradeQuantity int + LastTradeTime int + LastUpdateTime int + LowPrice float64 + OpenInterest int + OpenPrice float64 + Token int + TotalBuyQuantity int64 + TotalSellQuantity int64 + Volume int + type FundDetails struct + BookedProfit float64 + Collateral float64 + CreditForSale float64 + Deposit float64 + FundsTransferred float64 + FundsWithdrawn float64 + LimitUtilization float64 + MtmAndBookedLoss float64 + NetAvailable float64 + OptionCreditForSale float64 + TotalTradingPower float64 + TotalUtilization float64 + type FundResponse struct + Mcx ExchangeFundResponse + Nse ExchangeFundResponse + type FundWithdrawalCancelRequest struct + Amount float64 + Exchange ExchangeTypes + TransactionId string + type FundWithdrawalItem struct + Amount float64 + CreatedAt time.Time + Exchange ExchangeTypes + Status string + TransactionId string + type FundWithdrawalListResponse struct + Data []FundWithdrawalItem + Message string + Status string + type FundWithdrawalRequest struct + Amount float64 + BankAccountNumber string + Exchange ExchangeTypes + Ifsc string + type FundsResponse struct + MCX FundDetails + NSE FundDetails + type Greeks struct + Delta float64 + Gamma float64 + Iv float64 + Theta float64 + Vega float64 + type GttInfo struct + Exchange ExchangeTypes + ExpiryDate string + Id string + InstrumentName string + LotSize int + OptionType OptionType + OrderIdentifier string + Orders []GttInfoOrder + StrikePrice float64 + Symbol string + TagIds pq.Int32Array + Token int + TransactionType TransactionTypes + TriggerType GttTriggerType + type GttInfoOrder struct + CreatedAt time.Time + Id uint + Price *float64 + Product ProductTypes + Quantity int + Status GttOrderStatus + TrigerredAt time.Time + TriggerPrice *float64 + UpdatedAt time.Time + Variety VarietyTypes + type GttLegs struct + ProfitTriggerPercent *float64 + ProfitVariety *VarietyTypes + SlTriggerPercent *float64 + SlVariety *VarietyTypes + TrailJumpPoint *float64 + TrailJumpType *TrailJumpType + type GttOrderResponse struct + Exchange ExchangeTypes + ExpiryDate string + Id string + InstrumentName InstrumentName + LotSize int + OptionType OptionType + Orders []GttOrderResponseOrders + ParentMiddlewareId *uint + Product ProductTypes + Series string + StrikePrice float64 + Symbol string + TagIds pq.Int32Array + Token int + TransactionType TransactionTypes + TriggerType GttTriggerType + type GttOrderResponseOrders struct + CreatedAt time.Time + Id uint + Price float64 + ProductType ProductTypes + Quantity int + Status GttOrderStatus + TransactionType TransactionTypes + TrigerredAt time.Time + TriggerPrice float64 + UpdatedAt time.Time + Variety VarietyTypes + type GttOrderStatus string + const GttOrderStatusActive + const GttOrderStatusCancelled + const GttOrderStatusCompleted + const GttOrderStatusExpired + const GttOrderStatusTriggered + type GttOrderbookResponse struct + Data []*GttOrderResponse + Status string + type GttTriggerType string + const GttTriggerTypeOCO + const GttTriggerTypeSingle + type HTTPClient interface + GetClient func() *httpClient + func NewHTTPClient(h *http.Client, hLog *log.Logger, debug bool) HTTPClient + type HTTPResponse struct + Body []byte + Response *http.Response + type HistoricalResponse struct + C []float64 + H []float64 + L []float64 + O []float64 + S string + T []int + V []float64 + type Holding struct + AveragePrice float64 + BSE *ExchangeDetail + CollateralQuantity int + CollateralValue float64 + DPFree int + ISIN string + LastPrice float64 + NSE *ExchangeDetail + PoolFree int + Product string + T1Quantity int + TotalFree int + type HoldingsResponse struct + Data []Holding + Message string + Status string + type IcebergOrderData struct + FirstOrderId string + IcebergOrderId string + type IcebergOrderResponse struct + Code string + Data IcebergOrderData + Message string + Status string + type InstrumentName string + const InstrumentNameCom + const InstrumentNameCommodityFuture + const InstrumentNameCommodityOption + const InstrumentNameCurrencyFuture + const InstrumentNameCurrencyOption + const InstrumentNameCurrentcyUnderlying + const InstrumentNameEqIndex + const InstrumentNameEquities + const InstrumentNameIndexFuture + const InstrumentNameIndexOption + const InstrumentNameInterestFuture + const InstrumentNameInterestFutureT + const InstrumentNameInterestOption + const InstrumentNameStockFuture + const InstrumentNameStockOption + type LegStockGreek struct + Action string + ExpYYYYMMDD string + Greeks Greeks + Iv float64 + LotSize int + Ltp float64 + OptionType OptionType + Quantity int + StrikePrice float64 + Token int + type LoginResponse struct + Data UserData + Status string + type LogoutResponse struct + Response string + Status string + type LtpQuoteData struct + Exchange string + LastTradePrice float64 + Token int + type MarginModes string + const MarginModeMODIFY + const MarginModeNew + type MarginResponse struct + Available float64 + Required float64 + Status string + type MarketDepthResponse struct + Data QuoteDepth + Status string + type Metadata struct + TotalRecords int + type ModifyGttRequest struct + Id uint + Price *float64 + Quantity *int + Trail *Trail + TriggerPrice *float64 + Variety ValidityTypes + type ModifyIcebergOrderRequest struct + Price float64 + TradedQuantity int + TriggerPrice float64 + type ModifyOrderRequest struct + DisclosedQuantity int + Price float64 + Quantity int + TagIds []int + TradedQuantity *int + TriggerPrice float64 + Validity ValidityTypes + ValidityDays int + Variety VarietyTypes + type MultipleOrderCancelRequest struct + OrderIds []string + type MultipleOrderResponse struct + Data []OrderResponse + Status string + type NetDayPositions struct + Day []PositionItem + Net []PositionItem + type OhlcvQuoteData struct + ClosePrice float64 + Exchange string + HighPrice float64 + LastTradePrice float64 + LastTradeTime int + LowPrice float64 + OpenPrice float64 + Token int + Volume int + type OptionChainRequest struct + AddGreek bool + Exchange ExchangeTypes + ExpiryDate string + Token int + type OptionChainResponse struct + Message string + Response OptionchainResult + Status string + type OptionType string + const OptionTypeCall + const OptionTypePut + type OptionchainResult struct + ExpiryDate string + ExpiryDates []string + HasParentStock bool + Options struct{ ... } + ParentStock struct{ ... } + Symbol string + type Order struct + DisclosedQuantity int + DisclosedQuantityRemaining int + ErrorReason string + Exchange ExchangeTypes + ExpiryDate string + Gtt *OrderBookGttInfo + Iceberg *OrderBookIcebergInfo + InitiatedBy string + InstrumentName InstrumentName + IsAMO bool + LotSize int + MiddlewareOrderId uint + ModifiedBy string + OptionType OptionType + OrderCreatedAt string + OrderID string + OrderIdentifier string + OrderNumber string + OrderPrice float64 + PendingQuantity int + Product ProductTypes + Series string + Status string + StrikePrice float64 + Symbol string + TagsIds pq.Int32Array + Token int + TotalQuantity int + TradedPrice float64 + TradedQuantity int + TransactionType TransactionTypes + TriggerPrice float64 + Validity ValidityTypes + Variety VarietyTypes + type OrderBookGttInfo struct + ProfitTriggerPercent *float64 + SlTriggerPercent *float64 + TriggerType GttTriggerType + type OrderBookIcebergInfo struct + IcebergOrderId string + IcebergSequence int + Legs int + type OrderBookResponse struct + Metadata Metadata + Orders []Order + Status string + type OrderHistory struct + DisclosedQuantity int + ErrorReason string + Exchange ExchangeTypes + ExchangeOrderCreatedAt string + ExpiryDate string + InitiatedBy string + InstrumentName InstrumentName + IsAMO bool + ModifiedBy string + OptionType OptionType + OrderCreatedAt string + OrderID string + OrderIdentifier string + OrderNumber string + OrderPrice float64 + PendingQuantity int + Product ProductTypes + Series string + Status string + StrikePrice float64 + Symbol string + Token int + TotalQuantity int + TradedQuantity int + TransactionType TransactionTypes + TriggerPrice float64 + Validity ValidityTypes + ValidityDays int + Variety VarietyTypes + type OrderHistoryResponse struct + Code string + Data []OrderHistory + Message string + Metadata Metadata + Status string + type OrderMarginRequest struct + Exchange ExchangeTypes + Mode MarginModes + OldPrice float64 + OldQuantity int + Price float64 + Product ProductTypes + Quantity int + Token int + TransactionType TransactionTypes + Variety VarietyTypes + type OrderResponse struct + Code string + Data struct{ ... } + Message string + Status string + type OrderStatus string + const OrderStatusCancelled + const OrderStatusCompleted + const OrderStatusMiddlewareRejected + const OrderStatusPending + const OrderStatusRejected + const OrderStausMiddlewarePending + type PayOff struct + At float64 + EPayoff float64 + IPayoff float64 + type PayOffData struct + BreakEvens []float64 + CombinedGreeks Greeks + IsInfiniteLoss bool + IsInfiniteProfit bool + LegStocks []LegStockGreek + LivePrice float64 + MaxLoss float64 + MaxProfit float64 + MinDaysToExpiry int + PayOffs []PayOff + type PayoffAction string + const PayoffActionBUY + const PayoffActionSELL + type PayoffOption struct + Action PayoffAction + Ltp float64 + Quantity int + Token int + type PayoffRequest struct + CurrentPnl float64 + Exchange ExchangeTypes + InpDaysToExpiry *int + Legs []PayoffOption + Symbol string + type PayoffResponse struct + Data PayOffData + Message string + Status string + type PlaceGttLegRequest struct + Price *float64 + ProductType ProductTypes + Quantity int + Trail *Trail + TriggerPrice float64 + Variety *VarietyTypes + type PlaceGttRequest struct + Exchange ExchangeTypes + GttTriggerType GttTriggerType + OrderIdentifier string + Price *float64 + Product ProductTypes + Profit *PlaceGttLegRequest + Quantity *int + SingleTrailingSL *Trail + Stoploss *PlaceGttLegRequest + TagIds []int + Token int + TransactionType TransactionTypes + TriggerPrice *float64 + Variety ValidityTypes + type PlaceIcebergOrderRequest struct + Exchange ExchangeTypes + Legs int + OrderIdentifier string + Price *float64 + Product ProductTypes + Quantity int + TagIds pq.Int32Array + Token int + TransactionType TransactionTypes + TriggerPrice float64 + Validity ValidityTypes + Variety VarietyTypes + type PlaceOrderRequest struct + DisclosedQuantity int + Exchange ExchangeTypes + Gtt *GttLegs + IsAMO bool + OrderIdentifier string + Price float64 + Product ProductTypes + Quantity int + TagIds []int + Token int + TransactionType TransactionTypes + TriggerPrice float64 + Validity ValidityTypes + ValidityDays int + Variety VarietyTypes + type PositionItem struct + AveragePrice float64 + BuyPrice float64 + BuyQuantity int + BuyValue float64 + Exchange ExchangeTypes + ExpiryDate string + LotSize int + Multiplier float64 + OptionType OptionType + OvernightAveragePrice float64 + OvernightBuyValue float64 + OvernightSellValue float64 + Product ProductTypes + Quantity int + SellPrice float64 + SellQuantity int + SellValue float64 + StrikePrice float64 + Symbol string + Token int + Value float64 + type PositionResponse struct + Data NetDayPositions + Status string + type PredictionType string + const PredictionTypeABOVE + const PredictionTypeBELOW + const PredictionTypeBETWEEN + type ProductTypes string + const ProductTypesDelivery + const ProductTypesIntraday + const ProductTypesMTF + type QuoteDepth struct + Buy []QuoteEntry + Sell []QuoteEntry + type QuoteEntry struct + Orders int + Price float64 + Quantity int + type QuoteModes string + const QuoteModesFULL + const QuoteModesLTP + const QuoteModesOHLCV + type QuoteResponse struct + Data map[string]interface{} + Status string + type Resolutions string + const Day1 + const Min1 + const Min10 + const Min120 + const Min15 + const Min180 + const Min2 + const Min240 + const Min3 + const Min30 + const Min4 + const Min45 + const Min5 + const Min60 + const Month1 + const ResolutionsDay + const ResolutionsMin1 + const ResolutionsMin10 + const ResolutionsMin120 + const ResolutionsMin15 + const ResolutionsMin180 + const ResolutionsMin2 + const ResolutionsMin240 + const ResolutionsMin3 + const ResolutionsMin30 + const ResolutionsMin4 + const ResolutionsMin45 + const ResolutionsMin5 + const ResolutionsMin60 + const ResolutionsMonth + const ResolutionsWeek + const Week1 + type SocketMessage struct + AlertInfo *AlertInfo + ClientCode string + Data *SocketMessageData + Gtt *GttInfo + Type string + type SocketMessageData struct + AmoOrderId string + CoverTriggerPrice float32 + DisclosedQuantity int + DisclosedQuantityRemaining int + Exchange ExchangeTypes + ExpiryDate string + GtdOrderStatus OrderStatus + InstrumentName string + InternalRemarks string + IsAmo bool + MarketSegmentId int + MarketType string + MiddlewareOrderId uint + ModifiedBy string + OptionType string + OrderCreatedAt string + OrderId string + OrderIdentifier string + OrderNumber string + OrderPrice float32 + OrderUpdatedAt string + PendingQuantity int + PlacedBy string + Product ProductTypes + SequenceNumber int + Series string + Status OrderStatus + StatusMessage string + StrikePrice float32 + Symbol string + ThisTradeQuantity int + Token int + TotalQuantity int + TradeNumber string + TradeTime string + TradedPrice float32 + TradedQuantity int + TransactionType TransactionTypes + TriggerPrice float32 + TriggersGtt bool + Validity ValidityTypes + ValidityDays int + Variety VarietyTypes + type StockWithGreek struct + DayFirstTickOI int + Delta float64 + Eligibility int + InstrumentName string + LotSize int + Ltp float64 + OpenInterest int + SecurityDesc string + Token int + Volume int + type StrategiesRequest struct + ExpYYYYMMDD string + Symbol string + Token int + type StrategiesResponse struct + Data StrategiesResult + Message string + Status string + type StrategiesResult struct + Ltp float64 + Strategies []Strategy + Symbol string + Token int + type Strategy struct + Name string + TradingOpportunities []TradingOpportunity + type StrategyBuilderRequest struct + ExpiryDate string + MarketView PredictionType + PriceRange []float64 + Symbol string + Token int + type StrategyLeg struct + Action string + Option StrategyStock + Quantity int + type StrategyStock struct + Exchange ExchangeTypes + ExpYyyymmdd string + Greeks struct{ ... } + InstrumentName string + LotSize int + Ltp float64 + OptionType OptionType + SecurityDesc string + StrikePrice float64 + Symbol string + Token int + type TagInfo struct + ClientCode string + CreatedAt time.Time + Description string + Id int + Name string + UpdatedAt time.Time + type TagRequest struct + Description string + Name string + type TagResponse struct + Data TagInfo + Message string + Status string + type TagsResponse struct + Data []TagInfo + Message string + Status string + type Trade struct + Exchange ExchangeTypes + ExchangeOrderNo string + ExpiryDate string + InitiatedBy string + InstrumentName string + ModifiedBy string + OptionType OptionType + OrderID string + OrderIdentifier string + Product ProductTypes + Series string + StrikePrice float64 + Symbol string + Token int + TradeNo string + TradePrice float64 + TradeQuantity int + TradedAt string + TransactionType TransactionTypes + Variety VarietyTypes + type TradeBookResponse struct + Metadata struct{ ... } + Status string + Trades []Trade + type TradingOpportunity struct + BreakEven []float64 + IsInfiniteLoss bool + IsInfiniteProfit bool + Legs []StrategyLeg + MaxLoss float64 + MaxProfit float64 + type Trail struct + ID uint + TrailFirstJump *float64 + TrailJumpPoint *float64 + TrailJumpType *TrailJumpType + TriggerTrail *float64 + type TrailJumpType string + const TrailJumpTypePercent + const TrailJumpTypePoint + type TransactionTypes string + const TransactionTypesBUY + const TransactionTypesSELL + type UserData struct + AccessToken string + Email string + Exchanges []string + LoginTime string + Mobile string + Others struct{ ... } + ProductTypes []string + TradingActive bool + UserID string + UserName string + type ValidityTypes string + const ValidityTypesAfterMarket + const ValidityTypesFullDay + const ValidityTypesImmediateOrCancel + type VarietyTypes string + const VarietyTypesRegularLimitOrder + const VarietyTypesRegularMarketOrder + const VarietyTypesStopLimitOrder + const VarietyTypesStopMarketOrder + type VortexApi struct + AccessToken string + func (v *VortexApi) Banks(ctx context.Context) (*BanksResponse, error) + func (v *VortexApi) BasketMargin(ctx context.Context, request *BasketMarginRequest) (*BasketMarginResponse, error) + func (v *VortexApi) BuildStrategy(ctx context.Context, req StrategyBuilderRequest) (*StrategiesResponse, error) + func (v *VortexApi) CancelGttOrder(ctx context.Context, gtt_order_id string) (*OrderResponse, error) + func (v *VortexApi) CancelIcebergOrder(ctx context.Context, iceberg_order_id string) (*CancelIcebergOrderResponse, error) + func (v *VortexApi) CancelMultipleRegularOrders(ctx context.Context, req MultipleOrderCancelRequest) (*MultipleOrderResponse, error) + func (v *VortexApi) CancelOrder(ctx context.Context, orderID string) (*OrderResponse, error) + func (v *VortexApi) ConvertPosition(ctx context.Context, req ConvertPositionRequest) (*ConvertPositionResponse, error) + func (v *VortexApi) CreateTag(ctx context.Context, request TagRequest) (*TagResponse, error) + func (v *VortexApi) DeleteTag(ctx context.Context, tag_id int) (*TagResponse, error) + func (v *VortexApi) DownloadMaster(ctx context.Context) ([]map[string]string, error) + func (v *VortexApi) ExchangeToken(ctx context.Context, auth_token string) (*LoginResponse, error) + func (v *VortexApi) Funds(ctx context.Context) (*FundsResponse, error) + func (v *VortexApi) GetLoginUrl() string + func (v *VortexApi) GetOptionChain(ctx context.Context, req OptionChainRequest) (*OptionChainResponse, error) + func (v *VortexApi) GetPayoff(ctx context.Context, req PayoffRequest) (*PayoffResponse, error) + func (v *VortexApi) GetStrategies(ctx context.Context, req StrategiesRequest) (*StrategiesResponse, error) + func (v *VortexApi) GttOrders(ctx context.Context) (*GttOrderbookResponse, error) + func (v *VortexApi) HistoricalCandles(ctx context.Context, exchange ExchangeTypes, token int, from time.Time, ...) (*HistoricalResponse, error) + func (v *VortexApi) Holdings(ctx context.Context) (*HoldingsResponse, error) + func (v *VortexApi) Login(ctx context.Context, clientCode string, password string, totp string) (*LoginResponse, error) + func (v *VortexApi) Logout(ctx context.Context) (*LogoutResponse, error) + func (v *VortexApi) ModifyGttOrder(ctx context.Context, gtt_order_id string, request ModifyGttRequest) (*OrderResponse, error) + func (v *VortexApi) ModifyIcebergOrder(ctx context.Context, iceberg_order_id string, ...) (*IcebergOrderResponse, error) + func (v *VortexApi) ModifyOrder(ctx context.Context, request ModifyOrderRequest, exchange ExchangeTypes, ...) (*OrderResponse, error) + func (v *VortexApi) OrderHistory(ctx context.Context, orderId string) (*OrderHistoryResponse, error) + func (v *VortexApi) OrderMargin(ctx context.Context, request *OrderMarginRequest) (*MarginResponse, error) + func (v *VortexApi) Orders(ctx context.Context) (*OrderBookResponse, error) + func (v *VortexApi) PlaceGttOrder(ctx context.Context, request PlaceGttRequest) (*OrderResponse, error) + func (v *VortexApi) PlaceIcebergOrder(ctx context.Context, request PlaceIcebergOrderRequest) (*IcebergOrderResponse, error) + func (v *VortexApi) PlaceOrder(ctx context.Context, request PlaceOrderRequest) (*OrderResponse, error) + func (v *VortexApi) Positions(ctx context.Context) (*PositionResponse, error) + func (v *VortexApi) Quotes(ctx context.Context, instruments []string, mode QuoteModes) (*QuoteResponse, error) + func (v *VortexApi) SSOLogin(ctx context.Context, callback_param string) (string, error) + func (v *VortexApi) SetAccessToken(accessToken string) + func (v *VortexApi) SetHTTPClient(h *http.Client) + func (v *VortexApi) SetLogging(flag bool) + func (v *VortexApi) Tags(ctx context.Context) (*TagsResponse, error) + func (v *VortexApi) Trades(ctx context.Context, offset int, limit int) (*TradeBookResponse, error) + func (v *VortexApi) UpdateTag(ctx context.Context, tag_id int, request TagRequest) (*TagResponse, error) + type Wire struct + Conn *websocket.Conn + func (t *Wire) Close() error + func (t *Wire) OnClose(f func(code int, reason string)) + func (t *Wire) OnConnect(f func()) + func (t *Wire) OnError(f func(err error)) + func (t *Wire) OnMessage(f func(messageType int, message []byte)) + func (t *Wire) OnNoReconnect(f func(attempt int)) + func (t *Wire) OnOrderUpdate(f func(order SocketMessage)) + func (t *Wire) OnPriceUpdate(f func(*FullQuoteData)) + func (t *Wire) OnReconnect(f func(attempt int, delay time.Duration)) + func (t *Wire) Resubscribe() + func (t *Wire) Serve() + func (t *Wire) ServeWithContext(ctx context.Context) + func (t *Wire) SetAccessToken(accessToken string) + func (t *Wire) SetAutoReconnect(val bool) + func (t *Wire) SetConnectTimeout(val time.Duration) + func (t *Wire) SetReconnectMaxDelay(val time.Duration) error + func (t *Wire) SetReconnectMaxRetries(val int) + func (t *Wire) SetRootURL(u url.URL) + func (t *Wire) Stop() + func (t *Wire) Subscribe(exchange ExchangeTypes, token int, mode QuoteModes) + func (t *Wire) Unsubscribe(exchange ExchangeTypes, token int, mode QuoteModes)