Documentation ¶
Overview ¶
Package alor4go provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.5-0.20230118012357-f4cf8f9a5703 DO NOT EDIT.
Index ¶
- Constants
- func GetJWT() string
- func NewCommandAPIWarpv2clientordersdeleteRequest(server string, orderId int, params *CommandAPIWarpv2clientordersdeleteParams) (*http.Request, error)
- func NewCommandAPIv2clientordersactionslimitRequest(server string, params *CommandAPIv2clientordersactionslimitParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionslimitRequestWithBody(server string, params *CommandAPIv2clientordersactionslimitParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionslimitputRequest(server string, orderId string, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionslimitputRequestWithBody(server string, orderId string, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsmarketRequest(server string, params *CommandAPIv2clientordersactionsmarketParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsmarketRequestWithBody(server string, params *CommandAPIv2clientordersactionsmarketParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsmarketputRequest(server string, orderId string, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsmarketputRequestWithBody(server string, orderId string, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsstopLimitRequest(server string, params *CommandAPIv2clientordersactionsstopLimitParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsstopLimitRequestWithBody(server string, params *CommandAPIv2clientordersactionsstopLimitParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequest(server string, stopOrderId int, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequestWithBody(server string, stopOrderId int, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsstopRequest(server string, params *CommandAPIv2clientordersactionsstopParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersactionsstopRequestWithBody(server string, params *CommandAPIv2clientordersactionsstopParams, ...) (*http.Request, error)
- func NewCommandAPIv2clientordersdeleteRequest(server string, orderId int, params *CommandAPIv2clientordersdeleteParams) (*http.Request, error)
- func NewDevGetAllOrdersRequest(server string, exchange DevGetAllOrdersParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevGetAllPositionsRequest(server string, exchange DevGetAllPositionsParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevGetAllStopOrdersRequest(server string, exchange DevGetAllStopOrdersParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevGetAllTradesRequest(server string, exchange DevGetAllTradesParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevGetOneOrderRequest(server string, exchange DevGetOneOrderParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevGetOnePositionRequest(server string, exchange DevGetOnePositionParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevGetOneStopOrderRequest(server string, exchange DevGetOneStopOrderParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevGetTickerTradesRequest(server string, exchange DevGetTickerTradesParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewDevHistoryRequest(server string, params *DevHistoryParams) (*http.Request, error)
- func NewDevOrderbookExchangSeccodeRequest(server string, exchange DevOrderbookExchangSeccodeParamsExchange, ...) (*http.Request, error)
- func NewDevQuotesRequest(server string, symbols string, params *DevQuotesParams) (*http.Request, error)
- func NewDevSecuritiesFuturesRequest(server string, exchange DevSecuritiesFuturesParamsExchange, symbol string, ...) (*http.Request, error)
- func NewDevSecuritiesSearchAllTradesRequest(server string, exchange DevSecuritiesSearchAllTradesParamsExchange, ...) (*http.Request, error)
- func NewDevSecuritiesSearchExchangeCodeRequest(server string, exchange DevSecuritiesSearchExchangeCodeParamsExchange, ...) (*http.Request, error)
- func NewDevSecuritiesSearchExchangeRequest(server string, exchange DevSecuritiesSearchExchangeParamsExchange, ...) (*http.Request, error)
- func NewDevSecuritiesSearchRequest(server string, params *DevSecuritiesSearchParams) (*http.Request, error)
- func NewDevUserPortfolioRequest(server string, username string) (*http.Request, error)
- func NewExchangePortfolioMoneyRequest(server string, exchange ExchangePortfolioMoneyParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewExchangePortfolioSummaryRequest(server string, exchange ExchangePortfolioSummaryParamsExchange, ...) (*http.Request, error)
- func NewFortsriskRequest(server string, exchange FortsriskParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewLocalTimeRequest(server string) (*http.Request, error)
- func NewRiskRatesRequest(server string, params *RiskRatesParams) (*http.Request, error)
- func NewRiskRequest(server string, exchange RiskParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewTradeStatsBySymbolRequest(server string, exchange TradeStatsBySymbolParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewTradeStatsRequest(server string, exchange TradeStatsParamsExchange, portfolio string, ...) (*http.Request, error)
- func NewV2clientordersactionsOrderIdRequest(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionsestimateRequest(server string, body V2clientordersactionsestimateJSONRequestBody) (*http.Request, error)
- func NewV2clientordersactionsestimateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewV2clientordersactionsestimateallRequest(server string, body V2clientordersactionsestimateallJSONRequestBody) (*http.Request, error)
- func NewV2clientordersactionsestimateallRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewV2clientordersactionsstopLossLimitOrderIdRequest(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionsstopLossLimitOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionsstopLossLimitRequest(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewV2clientordersactionsstopLossLimitRequestWithBody(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewV2clientordersactionsstopLossOrderIdRequest(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionsstopLossOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionsstopLossRequest(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewV2clientordersactionsstopLossRequestWithBody(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitLimitOrderIdRequest(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitLimitOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitLimitRequest(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitLimitRequestWithBody(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitOrderIdRequest(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitRequest(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewV2clientordersactionstakeProfitRequestWithBody(server string, tradeServerCode string, ...) (*http.Request, error)
- func NewWSProdAllTradesGetAndSubscribeRequest(server string, body WSProdAllTradesGetAndSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdAllTradesGetAndSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdBarsGetRequest(server string, body WSProdBarsGetJSONRequestBody) (*http.Request, error)
- func NewWSProdBarsGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdInstrumentsGetAndSubscribeV2Request(server string, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody) (*http.Request, error)
- func NewWSProdInstrumentsGetAndSubscribeV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdOrderBookRequest(server string, body WSProdOrderBookJSONRequestBody) (*http.Request, error)
- func NewWSProdOrderBookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdOrdersSubscribeRequest(server string, body WSProdOrdersSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdOrdersSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdPositionsSubscribeRequest(server string, body WSProdPositionsSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdPositionsSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdQuotesSubscribeRequest(server string, body WSProdQuotesSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdQuotesSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdRisksGetAndSubscribeRequest(server string, body WSProdRisksGetAndSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdRisksGetAndSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdSpectraRisksGetAndSubscribeRequest(server string, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdSpectraRisksGetAndSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdStopOrdersSubscribeRequest(server string, body WSProdStopOrdersSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdStopOrdersSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdStopOrdersSubscribeV2Request(server string, body WSProdStopOrdersSubscribeV2JSONRequestBody) (*http.Request, error)
- func NewWSProdStopOrdersSubscribeV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdSummariesGetAndSubscribeV2Request(server string, body WSProdSummariesGetAndSubscribeV2JSONRequestBody) (*http.Request, error)
- func NewWSProdSummariesGetAndSubscribeV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdTradesSubscribeRequest(server string, body WSProdTradesSubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdTradesSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWSProdUnsubscribeRequest(server string, body WSProdUnsubscribeJSONRequestBody) (*http.Request, error)
- func NewWSProdUnsubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type Alltrade
- type AlltradeSide
- type Alltrades
- type BodyrequestOrdersActionsLimitTV
- type BodyrequestOrdersActionsLimitTVSide
- type BodyrequestOrdersActionsLimitTVput
- type BodyrequestOrdersActionsLimitTVputSide
- type BodyrequestOrdersActionsMarketTV
- type BodyrequestOrdersActionsMarketTVSide
- type BodyrequestOrdersActionsMarketTVput
- type BodyrequestOrdersActionsMarketTVputSide
- type BodyrequestOrdersActionsStop
- type BodyrequestOrdersActionsStopLimitTVWarp
- type BodyrequestOrdersActionsStopLimitTVWarpSide
- type BodyrequestOrdersActionsStopMarketTVWarp
- type BodyrequestOrdersActionsStopMarketTVWarpSide
- type BodyrequestOrdersActionsStopSide
- type BodyrequestOrdersActionsStoplimit
- type BodyrequestOrdersActionsStoplimitSide
- type Client
- func (c *Client) CommandAPIWarpv2clientordersdelete(ctx context.Context, orderId int, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionslimit(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionslimitWithBody(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionslimitput(ctx context.Context, orderId string, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionslimitputWithBody(ctx context.Context, orderId string, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsmarket(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsmarketWithBody(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsmarketput(ctx context.Context, orderId string, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsmarketputWithBody(ctx context.Context, orderId string, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsstop(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsstopLimit(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsstopLimitStopOrderId(ctx context.Context, stopOrderId int, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBody(ctx context.Context, stopOrderId int, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsstopLimitWithBody(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersactionsstopWithBody(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, ...) (*http.Response, error)
- func (c *Client) CommandAPIv2clientordersdelete(ctx context.Context, orderId int, params *CommandAPIv2clientordersdeleteParams, ...) (*http.Response, error)
- func (c *Client) DevGetAllOrders(ctx context.Context, exchange DevGetAllOrdersParamsExchange, portfolio string, ...) (*http.Response, error)
- func (c *Client) DevGetAllPositions(ctx context.Context, exchange DevGetAllPositionsParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevGetAllStopOrders(ctx context.Context, exchange DevGetAllStopOrdersParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevGetAllTrades(ctx context.Context, exchange DevGetAllTradesParamsExchange, portfolio string, ...) (*http.Response, error)
- func (c *Client) DevGetOneOrder(ctx context.Context, exchange DevGetOneOrderParamsExchange, portfolio string, ...) (*http.Response, error)
- func (c *Client) DevGetOnePosition(ctx context.Context, exchange DevGetOnePositionParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevGetOneStopOrder(ctx context.Context, exchange DevGetOneStopOrderParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevGetTickerTrades(ctx context.Context, exchange DevGetTickerTradesParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevHistory(ctx context.Context, params *DevHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DevOrderbookExchangSeccode(ctx context.Context, exchange DevOrderbookExchangSeccodeParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevQuotes(ctx context.Context, symbols string, params *DevQuotesParams, ...) (*http.Response, error)
- func (c *Client) DevSecuritiesFutures(ctx context.Context, exchange DevSecuritiesFuturesParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevSecuritiesSearch(ctx context.Context, params *DevSecuritiesSearchParams, ...) (*http.Response, error)
- func (c *Client) DevSecuritiesSearchAllTrades(ctx context.Context, exchange DevSecuritiesSearchAllTradesParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevSecuritiesSearchExchange(ctx context.Context, exchange DevSecuritiesSearchExchangeParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevSecuritiesSearchExchangeCode(ctx context.Context, exchange DevSecuritiesSearchExchangeCodeParamsExchange, ...) (*http.Response, error)
- func (c *Client) DevUserPortfolio(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ExchangePortfolioMoney(ctx context.Context, exchange ExchangePortfolioMoneyParamsExchange, ...) (*http.Response, error)
- func (c *Client) ExchangePortfolioSummary(ctx context.Context, exchange ExchangePortfolioSummaryParamsExchange, ...) (*http.Response, error)
- func (c *Client) Fortsrisk(ctx context.Context, exchange FortsriskParamsExchange, portfolio string, ...) (*http.Response, error)
- func (c *Client) LocalTime(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Risk(ctx context.Context, exchange RiskParamsExchange, portfolio string, ...) (*http.Response, error)
- func (c *Client) RiskRates(ctx context.Context, params *RiskRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TradeStats(ctx context.Context, exchange TradeStatsParamsExchange, portfolio string, ...) (*http.Response, error)
- func (c *Client) TradeStatsBySymbol(ctx context.Context, exchange TradeStatsBySymbolParamsExchange, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsOrderId(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsestimate(ctx context.Context, body V2clientordersactionsestimateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsestimateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsestimateall(ctx context.Context, body V2clientordersactionsestimateallJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsestimateallWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLoss(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLossLimit(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLossLimitOrderId(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLossLimitOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLossLimitWithBody(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLossOrderId(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLossOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionsstopLossWithBody(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfit(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfitLimit(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfitLimitOrderId(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfitLimitOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfitLimitWithBody(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfitOrderId(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfitOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, ...) (*http.Response, error)
- func (c *Client) V2clientordersactionstakeProfitWithBody(ctx context.Context, tradeServerCode string, ...) (*http.Response, error)
- func (c *Client) WSProdAllTradesGetAndSubscribe(ctx context.Context, body WSProdAllTradesGetAndSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdAllTradesGetAndSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdBarsGet(ctx context.Context, body WSProdBarsGetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdBarsGetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdInstrumentsGetAndSubscribeV2(ctx context.Context, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdInstrumentsGetAndSubscribeV2WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdOrderBook(ctx context.Context, body WSProdOrderBookJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdOrderBookWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdOrdersSubscribe(ctx context.Context, body WSProdOrdersSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdOrdersSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdPositionsSubscribe(ctx context.Context, body WSProdPositionsSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdPositionsSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdQuotesSubscribe(ctx context.Context, body WSProdQuotesSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdQuotesSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdRisksGetAndSubscribe(ctx context.Context, body WSProdRisksGetAndSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdRisksGetAndSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdSpectraRisksGetAndSubscribe(ctx context.Context, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdSpectraRisksGetAndSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdStopOrdersSubscribe(ctx context.Context, body WSProdStopOrdersSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdStopOrdersSubscribeV2(ctx context.Context, body WSProdStopOrdersSubscribeV2JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdStopOrdersSubscribeV2WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdStopOrdersSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdSummariesGetAndSubscribeV2(ctx context.Context, body WSProdSummariesGetAndSubscribeV2JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdSummariesGetAndSubscribeV2WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdTradesSubscribe(ctx context.Context, body WSProdTradesSubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdTradesSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WSProdUnsubscribe(ctx context.Context, body WSProdUnsubscribeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WSProdUnsubscribeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CommandAPIWarpv2clientordersdeleteWithResponse(ctx context.Context, orderId int, ...) (*CommandAPIWarpv2clientordersdeleteResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, ...) (*CommandAPIv2clientordersactionslimitResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, ...) (*CommandAPIv2clientordersactionslimitResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitputWithBodyWithResponse(ctx context.Context, orderId string, ...) (*CommandAPIv2clientordersactionslimitputResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitputWithResponse(ctx context.Context, orderId string, ...) (*CommandAPIv2clientordersactionslimitputResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, ...) (*CommandAPIv2clientordersactionsmarketResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, ...) (*CommandAPIv2clientordersactionsmarketResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketputWithBodyWithResponse(ctx context.Context, orderId string, ...) (*CommandAPIv2clientordersactionsmarketputResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketputWithResponse(ctx context.Context, orderId string, ...) (*CommandAPIv2clientordersactionsmarketputResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBodyWithResponse(ctx context.Context, stopOrderId int, ...) (*CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithResponse(ctx context.Context, stopOrderId int, ...) (*CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, ...) (*CommandAPIv2clientordersactionsstopLimitResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, ...) (*CommandAPIv2clientordersactionsstopLimitResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, ...) (*CommandAPIv2clientordersactionsstopResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, ...) (*CommandAPIv2clientordersactionsstopResponse, error)
- func (c *ClientWithResponses) CommandAPIv2clientordersdeleteWithResponse(ctx context.Context, orderId int, params *CommandAPIv2clientordersdeleteParams, ...) (*CommandAPIv2clientordersdeleteResponse, error)
- func (c *ClientWithResponses) DevGetAllOrdersWithResponse(ctx context.Context, exchange DevGetAllOrdersParamsExchange, portfolio string, ...) (*DevGetAllOrdersResponse, error)
- func (c *ClientWithResponses) DevGetAllPositionsWithResponse(ctx context.Context, exchange DevGetAllPositionsParamsExchange, ...) (*DevGetAllPositionsResponse, error)
- func (c *ClientWithResponses) DevGetAllStopOrdersWithResponse(ctx context.Context, exchange DevGetAllStopOrdersParamsExchange, ...) (*DevGetAllStopOrdersResponse, error)
- func (c *ClientWithResponses) DevGetAllTradesWithResponse(ctx context.Context, exchange DevGetAllTradesParamsExchange, portfolio string, ...) (*DevGetAllTradesResponse, error)
- func (c *ClientWithResponses) DevGetOneOrderWithResponse(ctx context.Context, exchange DevGetOneOrderParamsExchange, portfolio string, ...) (*DevGetOneOrderResponse, error)
- func (c *ClientWithResponses) DevGetOnePositionWithResponse(ctx context.Context, exchange DevGetOnePositionParamsExchange, ...) (*DevGetOnePositionResponse, error)
- func (c *ClientWithResponses) DevGetOneStopOrderWithResponse(ctx context.Context, exchange DevGetOneStopOrderParamsExchange, ...) (*DevGetOneStopOrderResponse, error)
- func (c *ClientWithResponses) DevGetTickerTradesWithResponse(ctx context.Context, exchange DevGetTickerTradesParamsExchange, ...) (*DevGetTickerTradesResponse, error)
- func (c *ClientWithResponses) DevHistoryWithResponse(ctx context.Context, params *DevHistoryParams, reqEditors ...RequestEditorFn) (*DevHistoryResponse, error)
- func (c *ClientWithResponses) DevOrderbookExchangSeccodeWithResponse(ctx context.Context, exchange DevOrderbookExchangSeccodeParamsExchange, ...) (*DevOrderbookExchangSeccodeResponse, error)
- func (c *ClientWithResponses) DevQuotesWithResponse(ctx context.Context, symbols string, params *DevQuotesParams, ...) (*DevQuotesResponse, error)
- func (c *ClientWithResponses) DevSecuritiesFuturesWithResponse(ctx context.Context, exchange DevSecuritiesFuturesParamsExchange, ...) (*DevSecuritiesFuturesResponse, error)
- func (c *ClientWithResponses) DevSecuritiesSearchAllTradesWithResponse(ctx context.Context, exchange DevSecuritiesSearchAllTradesParamsExchange, ...) (*DevSecuritiesSearchAllTradesResponse, error)
- func (c *ClientWithResponses) DevSecuritiesSearchExchangeCodeWithResponse(ctx context.Context, exchange DevSecuritiesSearchExchangeCodeParamsExchange, ...) (*DevSecuritiesSearchExchangeCodeResponse, error)
- func (c *ClientWithResponses) DevSecuritiesSearchExchangeWithResponse(ctx context.Context, exchange DevSecuritiesSearchExchangeParamsExchange, ...) (*DevSecuritiesSearchExchangeResponse, error)
- func (c *ClientWithResponses) DevSecuritiesSearchWithResponse(ctx context.Context, params *DevSecuritiesSearchParams, ...) (*DevSecuritiesSearchResponse, error)
- func (c *ClientWithResponses) DevUserPortfolioWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DevUserPortfolioResponse, error)
- func (c *ClientWithResponses) ExchangePortfolioMoneyWithResponse(ctx context.Context, exchange ExchangePortfolioMoneyParamsExchange, ...) (*ExchangePortfolioMoneyResponse, error)
- func (c *ClientWithResponses) ExchangePortfolioSummaryWithResponse(ctx context.Context, exchange ExchangePortfolioSummaryParamsExchange, ...) (*ExchangePortfolioSummaryResponse, error)
- func (c *ClientWithResponses) FortsriskWithResponse(ctx context.Context, exchange FortsriskParamsExchange, portfolio string, ...) (*FortsriskResponse, error)
- func (c *ClientWithResponses) LocalTimeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LocalTimeResponse, error)
- func (c *ClientWithResponses) RiskRatesWithResponse(ctx context.Context, params *RiskRatesParams, reqEditors ...RequestEditorFn) (*RiskRatesResponse, error)
- func (c *ClientWithResponses) RiskWithResponse(ctx context.Context, exchange RiskParamsExchange, portfolio string, ...) (*RiskResponse, error)
- func (c *ClientWithResponses) TradeStatsBySymbolWithResponse(ctx context.Context, exchange TradeStatsBySymbolParamsExchange, ...) (*TradeStatsBySymbolResponse, error)
- func (c *ClientWithResponses) TradeStatsWithResponse(ctx context.Context, exchange TradeStatsParamsExchange, portfolio string, ...) (*TradeStatsResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionsOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsestimateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*V2clientordersactionsestimateResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsestimateWithResponse(ctx context.Context, body V2clientordersactionsestimateJSONRequestBody, ...) (*V2clientordersactionsestimateResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsestimateallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*V2clientordersactionsestimateallResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsestimateallWithResponse(ctx context.Context, body V2clientordersactionsestimateallJSONRequestBody, ...) (*V2clientordersactionsestimateallResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossLimitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionsstopLossLimitOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossLimitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionsstopLossLimitOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossLimitWithBodyWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionsstopLossLimitResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossLimitWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionsstopLossLimitResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionsstopLossOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionsstopLossOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossWithBodyWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionsstopLossResponse, error)
- func (c *ClientWithResponses) V2clientordersactionsstopLossWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionsstopLossResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionstakeProfitLimitOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionstakeProfitLimitOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitWithBodyWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionstakeProfitLimitResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionstakeProfitLimitResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionstakeProfitOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, ...) (*V2clientordersactionstakeProfitOrderIdResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitWithBodyWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionstakeProfitResponse, error)
- func (c *ClientWithResponses) V2clientordersactionstakeProfitWithResponse(ctx context.Context, tradeServerCode string, ...) (*V2clientordersactionstakeProfitResponse, error)
- func (c *ClientWithResponses) WSProdAllTradesGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdAllTradesGetAndSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdAllTradesGetAndSubscribeWithResponse(ctx context.Context, body WSProdAllTradesGetAndSubscribeJSONRequestBody, ...) (*WSProdAllTradesGetAndSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdBarsGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdBarsGetResponse, error)
- func (c *ClientWithResponses) WSProdBarsGetWithResponse(ctx context.Context, body WSProdBarsGetJSONRequestBody, ...) (*WSProdBarsGetResponse, error)
- func (c *ClientWithResponses) WSProdInstrumentsGetAndSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdInstrumentsGetAndSubscribeV2Response, error)
- func (c *ClientWithResponses) WSProdInstrumentsGetAndSubscribeV2WithResponse(ctx context.Context, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody, ...) (*WSProdInstrumentsGetAndSubscribeV2Response, error)
- func (c *ClientWithResponses) WSProdOrderBookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdOrderBookResponse, error)
- func (c *ClientWithResponses) WSProdOrderBookWithResponse(ctx context.Context, body WSProdOrderBookJSONRequestBody, ...) (*WSProdOrderBookResponse, error)
- func (c *ClientWithResponses) WSProdOrdersSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdOrdersSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdOrdersSubscribeWithResponse(ctx context.Context, body WSProdOrdersSubscribeJSONRequestBody, ...) (*WSProdOrdersSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdPositionsSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdPositionsSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdPositionsSubscribeWithResponse(ctx context.Context, body WSProdPositionsSubscribeJSONRequestBody, ...) (*WSProdPositionsSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdQuotesSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdQuotesSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdQuotesSubscribeWithResponse(ctx context.Context, body WSProdQuotesSubscribeJSONRequestBody, ...) (*WSProdQuotesSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdRisksGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdRisksGetAndSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdRisksGetAndSubscribeWithResponse(ctx context.Context, body WSProdRisksGetAndSubscribeJSONRequestBody, ...) (*WSProdRisksGetAndSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdSpectraRisksGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdSpectraRisksGetAndSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdSpectraRisksGetAndSubscribeWithResponse(ctx context.Context, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody, ...) (*WSProdSpectraRisksGetAndSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdStopOrdersSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdStopOrdersSubscribeV2Response, error)
- func (c *ClientWithResponses) WSProdStopOrdersSubscribeV2WithResponse(ctx context.Context, body WSProdStopOrdersSubscribeV2JSONRequestBody, ...) (*WSProdStopOrdersSubscribeV2Response, error)
- func (c *ClientWithResponses) WSProdStopOrdersSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdStopOrdersSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdStopOrdersSubscribeWithResponse(ctx context.Context, body WSProdStopOrdersSubscribeJSONRequestBody, ...) (*WSProdStopOrdersSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdSummariesGetAndSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdSummariesGetAndSubscribeV2Response, error)
- func (c *ClientWithResponses) WSProdSummariesGetAndSubscribeV2WithResponse(ctx context.Context, body WSProdSummariesGetAndSubscribeV2JSONRequestBody, ...) (*WSProdSummariesGetAndSubscribeV2Response, error)
- func (c *ClientWithResponses) WSProdTradesSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdTradesSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdTradesSubscribeWithResponse(ctx context.Context, body WSProdTradesSubscribeJSONRequestBody, ...) (*WSProdTradesSubscribeResponse, error)
- func (c *ClientWithResponses) WSProdUnsubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WSProdUnsubscribeResponse, error)
- func (c *ClientWithResponses) WSProdUnsubscribeWithResponse(ctx context.Context, body WSProdUnsubscribeJSONRequestBody, ...) (*WSProdUnsubscribeResponse, error)
- type ClientWithResponsesInterface
- type CommandAPIWarpv2clientordersdeleteParams
- type CommandAPIWarpv2clientordersdeleteParamsExchange
- type CommandAPIWarpv2clientordersdeleteParamsFormat
- type CommandAPIWarpv2clientordersdeleteParamsJsonResponse
- type CommandAPIWarpv2clientordersdeleteParamsStop
- type CommandAPIWarpv2clientordersdeleteResponse
- type CommandAPIv2clientordersactionslimitJSONRequestBody
- type CommandAPIv2clientordersactionslimitParams
- type CommandAPIv2clientordersactionslimitResponse
- type CommandAPIv2clientordersactionslimitputJSONRequestBody
- type CommandAPIv2clientordersactionslimitputParams
- type CommandAPIv2clientordersactionslimitputResponse
- type CommandAPIv2clientordersactionsmarketJSONRequestBody
- type CommandAPIv2clientordersactionsmarketParams
- type CommandAPIv2clientordersactionsmarketResponse
- type CommandAPIv2clientordersactionsmarketputJSONRequestBody
- type CommandAPIv2clientordersactionsmarketputParams
- type CommandAPIv2clientordersactionsmarketputResponse
- type CommandAPIv2clientordersactionsstopJSONRequestBody
- type CommandAPIv2clientordersactionsstopLimitJSONRequestBody
- type CommandAPIv2clientordersactionsstopLimitParams
- type CommandAPIv2clientordersactionsstopLimitResponse
- type CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody
- type CommandAPIv2clientordersactionsstopLimitStopOrderIdParams
- type CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse
- type CommandAPIv2clientordersactionsstopParams
- type CommandAPIv2clientordersactionsstopResponse
- type CommandAPIv2clientordersdeleteParams
- type CommandAPIv2clientordersdeleteParamsExchange
- type CommandAPIv2clientordersdeleteParamsFormat
- type CommandAPIv2clientordersdeleteParamsJsonResponse
- type CommandAPIv2clientordersdeleteParamsStop
- type CommandAPIv2clientordersdeleteResponse
- type DevGetAllOrdersParams
- type DevGetAllOrdersParamsExchange
- type DevGetAllOrdersParamsFormat
- type DevGetAllOrdersResponse
- type DevGetAllPositionsParams
- type DevGetAllPositionsParamsExchange
- type DevGetAllPositionsParamsFormat
- type DevGetAllPositionsParamsWithoutCurrency
- type DevGetAllPositionsResponse
- type DevGetAllStopOrdersParams
- type DevGetAllStopOrdersParamsExchange
- type DevGetAllStopOrdersParamsFormat
- type DevGetAllStopOrdersResponse
- type DevGetAllTradesParams
- type DevGetAllTradesParamsExchange
- type DevGetAllTradesParamsFormat
- type DevGetAllTradesResponse
- type DevGetOneOrderParams
- type DevGetOneOrderParamsExchange
- type DevGetOneOrderParamsFormat
- type DevGetOneOrderResponse
- type DevGetOnePositionParams
- type DevGetOnePositionParamsExchange
- type DevGetOnePositionParamsFormat
- type DevGetOnePositionResponse
- type DevGetOneStopOrderParams
- type DevGetOneStopOrderParamsExchange
- type DevGetOneStopOrderParamsFormat
- type DevGetOneStopOrderResponse
- type DevGetTickerTradesParams
- type DevGetTickerTradesParamsExchange
- type DevGetTickerTradesParamsFormat
- type DevGetTickerTradesResponse
- type DevHistoryParams
- type DevHistoryParamsExchange
- type DevHistoryParamsFormat
- type DevHistoryParamsTf
- type DevHistoryParamsUntraded
- type DevHistoryResponse
- type DevOrderbookExchangSeccodeParams
- type DevOrderbookExchangSeccodeParamsExchange
- type DevOrderbookExchangSeccodeParamsFormat
- type DevOrderbookExchangSeccodeResponse
- type DevQuotesParams
- type DevQuotesParamsFormat
- type DevQuotesResponse
- type DevSecuritiesFuturesParams
- type DevSecuritiesFuturesParamsExchange
- type DevSecuritiesFuturesParamsFormat
- type DevSecuritiesFuturesResponse
- type DevSecuritiesSearchAllTradesParams
- type DevSecuritiesSearchAllTradesParamsExchange
- type DevSecuritiesSearchAllTradesParamsFormat
- type DevSecuritiesSearchAllTradesResponse
- type DevSecuritiesSearchExchangeCodeParams
- type DevSecuritiesSearchExchangeCodeParamsExchange
- type DevSecuritiesSearchExchangeCodeParamsFormat
- type DevSecuritiesSearchExchangeCodeResponse
- type DevSecuritiesSearchExchangeParams
- type DevSecuritiesSearchExchangeParamsExchange
- type DevSecuritiesSearchExchangeParamsFormat
- type DevSecuritiesSearchExchangeResponse
- type DevSecuritiesSearchParams
- type DevSecuritiesSearchParamsExchange
- type DevSecuritiesSearchParamsFormat
- type DevSecuritiesSearchParamsSector
- type DevSecuritiesSearchResponse
- type DevUserPortfolioResponse
- type EstimateOrderModel
- type EstimateOrderViewModel
- type ExchangePortfolioMoneyParams
- type ExchangePortfolioMoneyParamsExchange
- type ExchangePortfolioMoneyParamsFormat
- type ExchangePortfolioMoneyResponse
- type ExchangePortfolioSummaryParams
- type ExchangePortfolioSummaryParamsExchange
- type ExchangePortfolioSummaryParamsFormat
- type ExchangePortfolioSummaryResponse
- type Fortsrisk
- type FortsriskParams
- type FortsriskParamsExchange
- type FortsriskParamsFormat
- type FortsriskResponse
- type History
- type HistoryObject
- type HttpRequestDoer
- type LocalTimeResponse
- type Money
- type Order
- type OrderSide
- type OrderStatus
- type OrderType
- type Orderbook
- type OrderbookAsk
- type OrderbookBid
- type Orders
- type OrdersActions400
- type OrdersActions400CommandAPI
- type OrdersActionsDeleteOrderId
- type OrdersActionsDeleteOrderIdCommandAPI
- type OrdersActionsLimitMarket
- type OrdersActionsLimitMarketCommandAPI
- type OrdersActionsStopProfitLoss
- type Position
- type Positions
- type RequestEditorFn
- type Risk
- type RiskParams
- type RiskParamsExchange
- type RiskParamsFormat
- type RiskRate
- type RiskRates
- type RiskRatesParams
- type RiskRatesParamsExchange
- type RiskRatesResponse
- type RiskResponse
- type Securities
- type Security
- type ServersInfo
- type Stoporder
- type StoporderSide
- type StoporderStatus
- type StoporderType
- type StoporderWarp
- type StoporderWarpSide
- type StoporderWarpStatus
- type StoporderWarpType
- type StopordersWarp
- type Summary
- type Symbol
- type SymbolFutures
- type Symbols
- type Time
- type Trade
- type TradeSide
- type TradeStatsBySymbolParams
- type TradeStatsBySymbolParamsExchange
- type TradeStatsBySymbolParamsFormat
- type TradeStatsBySymbolResponse
- type TradeStatsParams
- type TradeStatsParamsExchange
- type TradeStatsParamsFormat
- type TradeStatsResponse
- type Trades
- type V2clientordersactionsOrderIdParams
- type V2clientordersactionsOrderIdResponse
- type V2clientordersactionsestimateJSONRequestBody
- type V2clientordersactionsestimateResponse
- type V2clientordersactionsestimateallJSONRequestBody
- type V2clientordersactionsestimateallResponse
- type V2clientordersactionsstopLossJSONRequestBody
- type V2clientordersactionsstopLossLimitJSONRequestBody
- type V2clientordersactionsstopLossLimitOrderIdJSONRequestBody
- type V2clientordersactionsstopLossLimitOrderIdParams
- type V2clientordersactionsstopLossLimitOrderIdResponse
- type V2clientordersactionsstopLossLimitParams
- type V2clientordersactionsstopLossLimitResponse
- type V2clientordersactionsstopLossOrderIdJSONRequestBody
- type V2clientordersactionsstopLossOrderIdParams
- type V2clientordersactionsstopLossOrderIdResponse
- type V2clientordersactionsstopLossParams
- type V2clientordersactionsstopLossResponse
- type V2clientordersactionstakeProfitJSONRequestBody
- type V2clientordersactionstakeProfitLimitJSONRequestBody
- type V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody
- type V2clientordersactionstakeProfitLimitOrderIdParams
- type V2clientordersactionstakeProfitLimitOrderIdResponse
- type V2clientordersactionstakeProfitLimitParams
- type V2clientordersactionstakeProfitLimitResponse
- type V2clientordersactionstakeProfitOrderIdJSONRequestBody
- type V2clientordersactionstakeProfitOrderIdParams
- type V2clientordersactionstakeProfitOrderIdResponse
- type V2clientordersactionstakeProfitParams
- type V2clientordersactionstakeProfitResponse
- type WSProdAllTradesGetAndSubscribeJSONRequestBody
- type WSProdAllTradesGetAndSubscribeResponse
- type WSProdBarsGetJSONRequestBody
- type WSProdBarsGetResponse
- type WSProdInstrumentsGetAndSubscribeV2JSONRequestBody
- type WSProdInstrumentsGetAndSubscribeV2Response
- type WSProdOrderBookJSONRequestBody
- type WSProdOrderBookResponse
- type WSProdOrdersSubscribeJSONRequestBody
- type WSProdOrdersSubscribeResponse
- type WSProdPositionsSubscribeJSONRequestBody
- type WSProdPositionsSubscribeResponse
- type WSProdQuotesSubscribeJSONRequestBody
- type WSProdQuotesSubscribeResponse
- type WSProdRisksGetAndSubscribeJSONRequestBody
- type WSProdRisksGetAndSubscribeResponse
- type WSProdSpectraRisksGetAndSubscribeJSONRequestBody
- type WSProdSpectraRisksGetAndSubscribeResponse
- type WSProdStopOrdersSubscribeJSONRequestBody
- type WSProdStopOrdersSubscribeResponse
- type WSProdStopOrdersSubscribeV2JSONRequestBody
- type WSProdStopOrdersSubscribeV2Response
- type WSProdSummariesGetAndSubscribeV2JSONRequestBody
- type WSProdSummariesGetAndSubscribeV2Response
- type WSProdTradesSubscribeJSONRequestBody
- type WSProdTradesSubscribeResponse
- type WSProdUnsubscribeJSONRequestBody
- type WSProdUnsubscribeResponse
- type WsReqAllTradesGetAndSubscribe
- type WsReqAllTradesGetAndSubscribeExchange
- type WsReqAllTradesGetAndSubscribeFormat
- type WsReqAllTradesGetAndSubscribeOpcode
- type WsReqBarsGetAndSubscribe
- type WsReqBarsGetAndSubscribeExchange
- type WsReqBarsGetAndSubscribeOpcode
- type WsReqBarsGetAndSubscribeTf
- type WsReqInstrumentsGetAndSubscribeV2
- type WsReqInstrumentsGetAndSubscribeV2Exchange
- type WsReqInstrumentsGetAndSubscribeV2Format
- type WsReqInstrumentsGetAndSubscribeV2Opcode
- type WsReqOrderBookGetAndSubscribe
- type WsReqOrderBookGetAndSubscribeExchange
- type WsReqOrderBookGetAndSubscribeOpcode
- type WsReqOrdersGetAndSubscribe
- type WsReqOrdersGetAndSubscribeExchange
- type WsReqOrdersGetAndSubscribeFormat
- type WsReqOrdersGetAndSubscribeOpcode
- type WsReqPositionsGetAndSubscribe
- type WsReqPositionsGetAndSubscribeExchange
- type WsReqPositionsGetAndSubscribeOpcode
- type WsReqQuotesSubscribe
- type WsReqQuotesSubscribeExchange
- type WsReqRisksGetAndSubscribe
- type WsReqRisksGetAndSubscribeExchange
- type WsReqRisksGetAndSubscribeFormat
- type WsReqSpectraRisksGetAndSubscribe
- type WsReqSpectraRisksGetAndSubscribeExchange
- type WsReqSpectraRisksGetAndSubscribeFormat
- type WsReqSpectraRisksGetAndSubscribeOpcode
- type WsReqStopOrdersGetAndSubscribe
- type WsReqStopOrdersGetAndSubscribeExchange
- type WsReqStopOrdersGetAndSubscribeFormat
- type WsReqStopOrdersGetAndSubscribeOpcode
- type WsReqStopOrdersGetAndSubscribeV2
- type WsReqStopOrdersGetAndSubscribeV2Exchange
- type WsReqStopOrdersGetAndSubscribeV2Format
- type WsReqStopOrdersGetAndSubscribeV2Opcode
- type WsReqSummariesGetAndSubscribeV2
- type WsReqSummariesGetAndSubscribeV2Exchange
- type WsReqSummariesGetAndSubscribeV2Format
- type WsReqSummariesGetAndSubscribeV2Opcode
- type WsReqTradesGetAndSubscribe
- type WsReqTradesGetAndSubscribeExchange
- type WsReqTradesGetAndSubscribeFormat
- type WsReqTradesGetAndSubscribeOpcode
- type WsReqUnsubscribe
- type WsReqUnsubscribeOpcode
- type WsResBarsGetAndSubscribe
- type WsResHandledSuccessfully
- type WsResOrderBookGetAndSubscribe
- type WsResOrdersGetAndSubscribe
- type WsResPositionsGetAndSubscribe
- type WsResQuotesSubscribe
- type WsResRisksGetAndSubscribe
- type WsResSpectraRisksGetAndSubscribe
- type WsResStopOrdersGetAndSubscribe
- type WsResStopOrdersGetAndSubscribeWarp
- type WsResSummariesGetAndSubscribeV2
- type WsResTradesGetAndSubscribe
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewCommandAPIWarpv2clientordersdeleteRequest ¶
func NewCommandAPIWarpv2clientordersdeleteRequest(server string, orderId int, params *CommandAPIWarpv2clientordersdeleteParams) (*http.Request, error)
NewCommandAPIWarpv2clientordersdeleteRequest generates requests for CommandAPIWarpv2clientordersdelete
func NewCommandAPIv2clientordersactionslimitRequest ¶
func NewCommandAPIv2clientordersactionslimitRequest(server string, params *CommandAPIv2clientordersactionslimitParams, body CommandAPIv2clientordersactionslimitJSONRequestBody) (*http.Request, error)
NewCommandAPIv2clientordersactionslimitRequest calls the generic CommandAPIv2clientordersactionslimit builder with application/json body
func NewCommandAPIv2clientordersactionslimitRequestWithBody ¶
func NewCommandAPIv2clientordersactionslimitRequestWithBody(server string, params *CommandAPIv2clientordersactionslimitParams, contentType string, body io.Reader) (*http.Request, error)
NewCommandAPIv2clientordersactionslimitRequestWithBody generates requests for CommandAPIv2clientordersactionslimit with any type of body
func NewCommandAPIv2clientordersactionslimitputRequest ¶
func NewCommandAPIv2clientordersactionslimitputRequest(server string, orderId string, params *CommandAPIv2clientordersactionslimitputParams, body CommandAPIv2clientordersactionslimitputJSONRequestBody) (*http.Request, error)
NewCommandAPIv2clientordersactionslimitputRequest calls the generic CommandAPIv2clientordersactionslimitput builder with application/json body
func NewCommandAPIv2clientordersactionslimitputRequestWithBody ¶
func NewCommandAPIv2clientordersactionslimitputRequestWithBody(server string, orderId string, params *CommandAPIv2clientordersactionslimitputParams, contentType string, body io.Reader) (*http.Request, error)
NewCommandAPIv2clientordersactionslimitputRequestWithBody generates requests for CommandAPIv2clientordersactionslimitput with any type of body
func NewCommandAPIv2clientordersactionsmarketRequest ¶
func NewCommandAPIv2clientordersactionsmarketRequest(server string, params *CommandAPIv2clientordersactionsmarketParams, body CommandAPIv2clientordersactionsmarketJSONRequestBody) (*http.Request, error)
NewCommandAPIv2clientordersactionsmarketRequest calls the generic CommandAPIv2clientordersactionsmarket builder with application/json body
func NewCommandAPIv2clientordersactionsmarketRequestWithBody ¶
func NewCommandAPIv2clientordersactionsmarketRequestWithBody(server string, params *CommandAPIv2clientordersactionsmarketParams, contentType string, body io.Reader) (*http.Request, error)
NewCommandAPIv2clientordersactionsmarketRequestWithBody generates requests for CommandAPIv2clientordersactionsmarket with any type of body
func NewCommandAPIv2clientordersactionsmarketputRequest ¶
func NewCommandAPIv2clientordersactionsmarketputRequest(server string, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, body CommandAPIv2clientordersactionsmarketputJSONRequestBody) (*http.Request, error)
NewCommandAPIv2clientordersactionsmarketputRequest calls the generic CommandAPIv2clientordersactionsmarketput builder with application/json body
func NewCommandAPIv2clientordersactionsmarketputRequestWithBody ¶
func NewCommandAPIv2clientordersactionsmarketputRequestWithBody(server string, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, contentType string, body io.Reader) (*http.Request, error)
NewCommandAPIv2clientordersactionsmarketputRequestWithBody generates requests for CommandAPIv2clientordersactionsmarketput with any type of body
func NewCommandAPIv2clientordersactionsstopLimitRequest ¶
func NewCommandAPIv2clientordersactionsstopLimitRequest(server string, params *CommandAPIv2clientordersactionsstopLimitParams, body CommandAPIv2clientordersactionsstopLimitJSONRequestBody) (*http.Request, error)
NewCommandAPIv2clientordersactionsstopLimitRequest calls the generic CommandAPIv2clientordersactionsstopLimit builder with application/json body
func NewCommandAPIv2clientordersactionsstopLimitRequestWithBody ¶
func NewCommandAPIv2clientordersactionsstopLimitRequestWithBody(server string, params *CommandAPIv2clientordersactionsstopLimitParams, contentType string, body io.Reader) (*http.Request, error)
NewCommandAPIv2clientordersactionsstopLimitRequestWithBody generates requests for CommandAPIv2clientordersactionsstopLimit with any type of body
func NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequest ¶
func NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequest(server string, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, body CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody) (*http.Request, error)
NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequest calls the generic CommandAPIv2clientordersactionsstopLimitStopOrderId builder with application/json body
func NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequestWithBody ¶
func NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequestWithBody(server string, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, contentType string, body io.Reader) (*http.Request, error)
NewCommandAPIv2clientordersactionsstopLimitStopOrderIdRequestWithBody generates requests for CommandAPIv2clientordersactionsstopLimitStopOrderId with any type of body
func NewCommandAPIv2clientordersactionsstopRequest ¶
func NewCommandAPIv2clientordersactionsstopRequest(server string, params *CommandAPIv2clientordersactionsstopParams, body CommandAPIv2clientordersactionsstopJSONRequestBody) (*http.Request, error)
NewCommandAPIv2clientordersactionsstopRequest calls the generic CommandAPIv2clientordersactionsstop builder with application/json body
func NewCommandAPIv2clientordersactionsstopRequestWithBody ¶
func NewCommandAPIv2clientordersactionsstopRequestWithBody(server string, params *CommandAPIv2clientordersactionsstopParams, contentType string, body io.Reader) (*http.Request, error)
NewCommandAPIv2clientordersactionsstopRequestWithBody generates requests for CommandAPIv2clientordersactionsstop with any type of body
func NewCommandAPIv2clientordersdeleteRequest ¶
func NewCommandAPIv2clientordersdeleteRequest(server string, orderId int, params *CommandAPIv2clientordersdeleteParams) (*http.Request, error)
NewCommandAPIv2clientordersdeleteRequest generates requests for CommandAPIv2clientordersdelete
func NewDevGetAllOrdersRequest ¶
func NewDevGetAllOrdersRequest(server string, exchange DevGetAllOrdersParamsExchange, portfolio string, params *DevGetAllOrdersParams) (*http.Request, error)
NewDevGetAllOrdersRequest generates requests for DevGetAllOrders
func NewDevGetAllPositionsRequest ¶
func NewDevGetAllPositionsRequest(server string, exchange DevGetAllPositionsParamsExchange, portfolio string, params *DevGetAllPositionsParams) (*http.Request, error)
NewDevGetAllPositionsRequest generates requests for DevGetAllPositions
func NewDevGetAllStopOrdersRequest ¶
func NewDevGetAllStopOrdersRequest(server string, exchange DevGetAllStopOrdersParamsExchange, portfolio string, params *DevGetAllStopOrdersParams) (*http.Request, error)
NewDevGetAllStopOrdersRequest generates requests for DevGetAllStopOrders
func NewDevGetAllTradesRequest ¶
func NewDevGetAllTradesRequest(server string, exchange DevGetAllTradesParamsExchange, portfolio string, params *DevGetAllTradesParams) (*http.Request, error)
NewDevGetAllTradesRequest generates requests for DevGetAllTrades
func NewDevGetOneOrderRequest ¶
func NewDevGetOneOrderRequest(server string, exchange DevGetOneOrderParamsExchange, portfolio string, orderId int, params *DevGetOneOrderParams) (*http.Request, error)
NewDevGetOneOrderRequest generates requests for DevGetOneOrder
func NewDevGetOnePositionRequest ¶
func NewDevGetOnePositionRequest(server string, exchange DevGetOnePositionParamsExchange, portfolio string, symbol string, params *DevGetOnePositionParams) (*http.Request, error)
NewDevGetOnePositionRequest generates requests for DevGetOnePosition
func NewDevGetOneStopOrderRequest ¶
func NewDevGetOneStopOrderRequest(server string, exchange DevGetOneStopOrderParamsExchange, portfolio string, orderId int, params *DevGetOneStopOrderParams) (*http.Request, error)
NewDevGetOneStopOrderRequest generates requests for DevGetOneStopOrder
func NewDevGetTickerTradesRequest ¶
func NewDevGetTickerTradesRequest(server string, exchange DevGetTickerTradesParamsExchange, portfolio string, ticker string, params *DevGetTickerTradesParams) (*http.Request, error)
NewDevGetTickerTradesRequest generates requests for DevGetTickerTrades
func NewDevHistoryRequest ¶
func NewDevHistoryRequest(server string, params *DevHistoryParams) (*http.Request, error)
NewDevHistoryRequest generates requests for DevHistory
func NewDevOrderbookExchangSeccodeRequest ¶
func NewDevOrderbookExchangSeccodeRequest(server string, exchange DevOrderbookExchangSeccodeParamsExchange, seccode string, params *DevOrderbookExchangSeccodeParams) (*http.Request, error)
NewDevOrderbookExchangSeccodeRequest generates requests for DevOrderbookExchangSeccode
func NewDevQuotesRequest ¶
func NewDevQuotesRequest(server string, symbols string, params *DevQuotesParams) (*http.Request, error)
NewDevQuotesRequest generates requests for DevQuotes
func NewDevSecuritiesFuturesRequest ¶
func NewDevSecuritiesFuturesRequest(server string, exchange DevSecuritiesFuturesParamsExchange, symbol string, params *DevSecuritiesFuturesParams) (*http.Request, error)
NewDevSecuritiesFuturesRequest generates requests for DevSecuritiesFutures
func NewDevSecuritiesSearchAllTradesRequest ¶
func NewDevSecuritiesSearchAllTradesRequest(server string, exchange DevSecuritiesSearchAllTradesParamsExchange, symbol string, params *DevSecuritiesSearchAllTradesParams) (*http.Request, error)
NewDevSecuritiesSearchAllTradesRequest generates requests for DevSecuritiesSearchAllTrades
func NewDevSecuritiesSearchExchangeCodeRequest ¶
func NewDevSecuritiesSearchExchangeCodeRequest(server string, exchange DevSecuritiesSearchExchangeCodeParamsExchange, symbol string, params *DevSecuritiesSearchExchangeCodeParams) (*http.Request, error)
NewDevSecuritiesSearchExchangeCodeRequest generates requests for DevSecuritiesSearchExchangeCode
func NewDevSecuritiesSearchExchangeRequest ¶
func NewDevSecuritiesSearchExchangeRequest(server string, exchange DevSecuritiesSearchExchangeParamsExchange, params *DevSecuritiesSearchExchangeParams) (*http.Request, error)
NewDevSecuritiesSearchExchangeRequest generates requests for DevSecuritiesSearchExchange
func NewDevSecuritiesSearchRequest ¶
func NewDevSecuritiesSearchRequest(server string, params *DevSecuritiesSearchParams) (*http.Request, error)
NewDevSecuritiesSearchRequest generates requests for DevSecuritiesSearch
func NewDevUserPortfolioRequest ¶
NewDevUserPortfolioRequest generates requests for DevUserPortfolio
func NewExchangePortfolioMoneyRequest ¶
func NewExchangePortfolioMoneyRequest(server string, exchange ExchangePortfolioMoneyParamsExchange, portfolio string, params *ExchangePortfolioMoneyParams) (*http.Request, error)
NewExchangePortfolioMoneyRequest generates requests for ExchangePortfolioMoney
func NewExchangePortfolioSummaryRequest ¶
func NewExchangePortfolioSummaryRequest(server string, exchange ExchangePortfolioSummaryParamsExchange, portfolio string, params *ExchangePortfolioSummaryParams) (*http.Request, error)
NewExchangePortfolioSummaryRequest generates requests for ExchangePortfolioSummary
func NewFortsriskRequest ¶
func NewFortsriskRequest(server string, exchange FortsriskParamsExchange, portfolio string, params *FortsriskParams) (*http.Request, error)
NewFortsriskRequest generates requests for Fortsrisk
func NewLocalTimeRequest ¶
NewLocalTimeRequest generates requests for LocalTime
func NewRiskRatesRequest ¶
func NewRiskRatesRequest(server string, params *RiskRatesParams) (*http.Request, error)
NewRiskRatesRequest generates requests for RiskRates
func NewRiskRequest ¶
func NewRiskRequest(server string, exchange RiskParamsExchange, portfolio string, params *RiskParams) (*http.Request, error)
NewRiskRequest generates requests for Risk
func NewTradeStatsBySymbolRequest ¶
func NewTradeStatsBySymbolRequest(server string, exchange TradeStatsBySymbolParamsExchange, portfolio string, symbol string, params *TradeStatsBySymbolParams) (*http.Request, error)
NewTradeStatsBySymbolRequest generates requests for TradeStatsBySymbol
func NewTradeStatsRequest ¶
func NewTradeStatsRequest(server string, exchange TradeStatsParamsExchange, portfolio string, params *TradeStatsParams) (*http.Request, error)
NewTradeStatsRequest generates requests for TradeStats
func NewV2clientordersactionsOrderIdRequest ¶
func NewV2clientordersactionsOrderIdRequest(server string, tradeServerCode string, orderId int, params *V2clientordersactionsOrderIdParams) (*http.Request, error)
NewV2clientordersactionsOrderIdRequest generates requests for V2clientordersactionsOrderId
func NewV2clientordersactionsestimateRequest ¶
func NewV2clientordersactionsestimateRequest(server string, body V2clientordersactionsestimateJSONRequestBody) (*http.Request, error)
NewV2clientordersactionsestimateRequest calls the generic V2clientordersactionsestimate builder with application/*+json body
func NewV2clientordersactionsestimateRequestWithBody ¶
func NewV2clientordersactionsestimateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionsestimateRequestWithBody generates requests for V2clientordersactionsestimate with any type of body
func NewV2clientordersactionsestimateallRequest ¶
func NewV2clientordersactionsestimateallRequest(server string, body V2clientordersactionsestimateallJSONRequestBody) (*http.Request, error)
NewV2clientordersactionsestimateallRequest calls the generic V2clientordersactionsestimateall builder with application/*+json body
func NewV2clientordersactionsestimateallRequestWithBody ¶
func NewV2clientordersactionsestimateallRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionsestimateallRequestWithBody generates requests for V2clientordersactionsestimateall with any type of body
func NewV2clientordersactionsstopLossLimitOrderIdRequest ¶
func NewV2clientordersactionsstopLossLimitOrderIdRequest(server string, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, body V2clientordersactionsstopLossLimitOrderIdJSONRequestBody) (*http.Request, error)
NewV2clientordersactionsstopLossLimitOrderIdRequest calls the generic V2clientordersactionsstopLossLimitOrderId builder with application/json body
func NewV2clientordersactionsstopLossLimitOrderIdRequestWithBody ¶
func NewV2clientordersactionsstopLossLimitOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionsstopLossLimitOrderIdRequestWithBody generates requests for V2clientordersactionsstopLossLimitOrderId with any type of body
func NewV2clientordersactionsstopLossLimitRequest ¶
func NewV2clientordersactionsstopLossLimitRequest(server string, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, body V2clientordersactionsstopLossLimitJSONRequestBody) (*http.Request, error)
NewV2clientordersactionsstopLossLimitRequest calls the generic V2clientordersactionsstopLossLimit builder with application/json body
func NewV2clientordersactionsstopLossLimitRequestWithBody ¶
func NewV2clientordersactionsstopLossLimitRequestWithBody(server string, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionsstopLossLimitRequestWithBody generates requests for V2clientordersactionsstopLossLimit with any type of body
func NewV2clientordersactionsstopLossOrderIdRequest ¶
func NewV2clientordersactionsstopLossOrderIdRequest(server string, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, body V2clientordersactionsstopLossOrderIdJSONRequestBody) (*http.Request, error)
NewV2clientordersactionsstopLossOrderIdRequest calls the generic V2clientordersactionsstopLossOrderId builder with application/json body
func NewV2clientordersactionsstopLossOrderIdRequestWithBody ¶
func NewV2clientordersactionsstopLossOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionsstopLossOrderIdRequestWithBody generates requests for V2clientordersactionsstopLossOrderId with any type of body
func NewV2clientordersactionsstopLossRequest ¶
func NewV2clientordersactionsstopLossRequest(server string, tradeServerCode string, params *V2clientordersactionsstopLossParams, body V2clientordersactionsstopLossJSONRequestBody) (*http.Request, error)
NewV2clientordersactionsstopLossRequest calls the generic V2clientordersactionsstopLoss builder with application/json body
func NewV2clientordersactionsstopLossRequestWithBody ¶
func NewV2clientordersactionsstopLossRequestWithBody(server string, tradeServerCode string, params *V2clientordersactionsstopLossParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionsstopLossRequestWithBody generates requests for V2clientordersactionsstopLoss with any type of body
func NewV2clientordersactionstakeProfitLimitOrderIdRequest ¶
func NewV2clientordersactionstakeProfitLimitOrderIdRequest(server string, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, body V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody) (*http.Request, error)
NewV2clientordersactionstakeProfitLimitOrderIdRequest calls the generic V2clientordersactionstakeProfitLimitOrderId builder with application/json body
func NewV2clientordersactionstakeProfitLimitOrderIdRequestWithBody ¶
func NewV2clientordersactionstakeProfitLimitOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionstakeProfitLimitOrderIdRequestWithBody generates requests for V2clientordersactionstakeProfitLimitOrderId with any type of body
func NewV2clientordersactionstakeProfitLimitRequest ¶
func NewV2clientordersactionstakeProfitLimitRequest(server string, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, body V2clientordersactionstakeProfitLimitJSONRequestBody) (*http.Request, error)
NewV2clientordersactionstakeProfitLimitRequest calls the generic V2clientordersactionstakeProfitLimit builder with application/json body
func NewV2clientordersactionstakeProfitLimitRequestWithBody ¶
func NewV2clientordersactionstakeProfitLimitRequestWithBody(server string, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionstakeProfitLimitRequestWithBody generates requests for V2clientordersactionstakeProfitLimit with any type of body
func NewV2clientordersactionstakeProfitOrderIdRequest ¶
func NewV2clientordersactionstakeProfitOrderIdRequest(server string, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, body V2clientordersactionstakeProfitOrderIdJSONRequestBody) (*http.Request, error)
NewV2clientordersactionstakeProfitOrderIdRequest calls the generic V2clientordersactionstakeProfitOrderId builder with application/json body
func NewV2clientordersactionstakeProfitOrderIdRequestWithBody ¶
func NewV2clientordersactionstakeProfitOrderIdRequestWithBody(server string, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionstakeProfitOrderIdRequestWithBody generates requests for V2clientordersactionstakeProfitOrderId with any type of body
func NewV2clientordersactionstakeProfitRequest ¶
func NewV2clientordersactionstakeProfitRequest(server string, tradeServerCode string, params *V2clientordersactionstakeProfitParams, body V2clientordersactionstakeProfitJSONRequestBody) (*http.Request, error)
NewV2clientordersactionstakeProfitRequest calls the generic V2clientordersactionstakeProfit builder with application/json body
func NewV2clientordersactionstakeProfitRequestWithBody ¶
func NewV2clientordersactionstakeProfitRequestWithBody(server string, tradeServerCode string, params *V2clientordersactionstakeProfitParams, contentType string, body io.Reader) (*http.Request, error)
NewV2clientordersactionstakeProfitRequestWithBody generates requests for V2clientordersactionstakeProfit with any type of body
func NewWSProdAllTradesGetAndSubscribeRequest ¶
func NewWSProdAllTradesGetAndSubscribeRequest(server string, body WSProdAllTradesGetAndSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdAllTradesGetAndSubscribeRequest calls the generic WSProdAllTradesGetAndSubscribe builder with application/json body
func NewWSProdAllTradesGetAndSubscribeRequestWithBody ¶
func NewWSProdAllTradesGetAndSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdAllTradesGetAndSubscribeRequestWithBody generates requests for WSProdAllTradesGetAndSubscribe with any type of body
func NewWSProdBarsGetRequest ¶
func NewWSProdBarsGetRequest(server string, body WSProdBarsGetJSONRequestBody) (*http.Request, error)
NewWSProdBarsGetRequest calls the generic WSProdBarsGet builder with application/json body
func NewWSProdBarsGetRequestWithBody ¶
func NewWSProdBarsGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdBarsGetRequestWithBody generates requests for WSProdBarsGet with any type of body
func NewWSProdInstrumentsGetAndSubscribeV2Request ¶
func NewWSProdInstrumentsGetAndSubscribeV2Request(server string, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody) (*http.Request, error)
NewWSProdInstrumentsGetAndSubscribeV2Request calls the generic WSProdInstrumentsGetAndSubscribeV2 builder with application/json body
func NewWSProdInstrumentsGetAndSubscribeV2RequestWithBody ¶
func NewWSProdInstrumentsGetAndSubscribeV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdInstrumentsGetAndSubscribeV2RequestWithBody generates requests for WSProdInstrumentsGetAndSubscribeV2 with any type of body
func NewWSProdOrderBookRequest ¶
func NewWSProdOrderBookRequest(server string, body WSProdOrderBookJSONRequestBody) (*http.Request, error)
NewWSProdOrderBookRequest calls the generic WSProdOrderBook builder with application/json body
func NewWSProdOrderBookRequestWithBody ¶
func NewWSProdOrderBookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdOrderBookRequestWithBody generates requests for WSProdOrderBook with any type of body
func NewWSProdOrdersSubscribeRequest ¶
func NewWSProdOrdersSubscribeRequest(server string, body WSProdOrdersSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdOrdersSubscribeRequest calls the generic WSProdOrdersSubscribe builder with application/json body
func NewWSProdOrdersSubscribeRequestWithBody ¶
func NewWSProdOrdersSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdOrdersSubscribeRequestWithBody generates requests for WSProdOrdersSubscribe with any type of body
func NewWSProdPositionsSubscribeRequest ¶
func NewWSProdPositionsSubscribeRequest(server string, body WSProdPositionsSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdPositionsSubscribeRequest calls the generic WSProdPositionsSubscribe builder with application/json body
func NewWSProdPositionsSubscribeRequestWithBody ¶
func NewWSProdPositionsSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdPositionsSubscribeRequestWithBody generates requests for WSProdPositionsSubscribe with any type of body
func NewWSProdQuotesSubscribeRequest ¶
func NewWSProdQuotesSubscribeRequest(server string, body WSProdQuotesSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdQuotesSubscribeRequest calls the generic WSProdQuotesSubscribe builder with application/json body
func NewWSProdQuotesSubscribeRequestWithBody ¶
func NewWSProdQuotesSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdQuotesSubscribeRequestWithBody generates requests for WSProdQuotesSubscribe with any type of body
func NewWSProdRisksGetAndSubscribeRequest ¶
func NewWSProdRisksGetAndSubscribeRequest(server string, body WSProdRisksGetAndSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdRisksGetAndSubscribeRequest calls the generic WSProdRisksGetAndSubscribe builder with application/json body
func NewWSProdRisksGetAndSubscribeRequestWithBody ¶
func NewWSProdRisksGetAndSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdRisksGetAndSubscribeRequestWithBody generates requests for WSProdRisksGetAndSubscribe with any type of body
func NewWSProdSpectraRisksGetAndSubscribeRequest ¶
func NewWSProdSpectraRisksGetAndSubscribeRequest(server string, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdSpectraRisksGetAndSubscribeRequest calls the generic WSProdSpectraRisksGetAndSubscribe builder with application/json body
func NewWSProdSpectraRisksGetAndSubscribeRequestWithBody ¶
func NewWSProdSpectraRisksGetAndSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdSpectraRisksGetAndSubscribeRequestWithBody generates requests for WSProdSpectraRisksGetAndSubscribe with any type of body
func NewWSProdStopOrdersSubscribeRequest ¶
func NewWSProdStopOrdersSubscribeRequest(server string, body WSProdStopOrdersSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdStopOrdersSubscribeRequest calls the generic WSProdStopOrdersSubscribe builder with application/json body
func NewWSProdStopOrdersSubscribeRequestWithBody ¶
func NewWSProdStopOrdersSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdStopOrdersSubscribeRequestWithBody generates requests for WSProdStopOrdersSubscribe with any type of body
func NewWSProdStopOrdersSubscribeV2Request ¶
func NewWSProdStopOrdersSubscribeV2Request(server string, body WSProdStopOrdersSubscribeV2JSONRequestBody) (*http.Request, error)
NewWSProdStopOrdersSubscribeV2Request calls the generic WSProdStopOrdersSubscribeV2 builder with application/json body
func NewWSProdStopOrdersSubscribeV2RequestWithBody ¶
func NewWSProdStopOrdersSubscribeV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdStopOrdersSubscribeV2RequestWithBody generates requests for WSProdStopOrdersSubscribeV2 with any type of body
func NewWSProdSummariesGetAndSubscribeV2Request ¶
func NewWSProdSummariesGetAndSubscribeV2Request(server string, body WSProdSummariesGetAndSubscribeV2JSONRequestBody) (*http.Request, error)
NewWSProdSummariesGetAndSubscribeV2Request calls the generic WSProdSummariesGetAndSubscribeV2 builder with application/json body
func NewWSProdSummariesGetAndSubscribeV2RequestWithBody ¶
func NewWSProdSummariesGetAndSubscribeV2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdSummariesGetAndSubscribeV2RequestWithBody generates requests for WSProdSummariesGetAndSubscribeV2 with any type of body
func NewWSProdTradesSubscribeRequest ¶
func NewWSProdTradesSubscribeRequest(server string, body WSProdTradesSubscribeJSONRequestBody) (*http.Request, error)
NewWSProdTradesSubscribeRequest calls the generic WSProdTradesSubscribe builder with application/json body
func NewWSProdTradesSubscribeRequestWithBody ¶
func NewWSProdTradesSubscribeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWSProdTradesSubscribeRequestWithBody generates requests for WSProdTradesSubscribe with any type of body
func NewWSProdUnsubscribeRequest ¶
func NewWSProdUnsubscribeRequest(server string, body WSProdUnsubscribeJSONRequestBody) (*http.Request, error)
NewWSProdUnsubscribeRequest calls the generic WSProdUnsubscribe builder with application/json body
Types ¶
type Alltrade ¶
type Alltrade struct { // Existing True - для данных из "снепшота", то есть из истории. False - для новых событий Existing *bool `json:"existing,omitempty"` // Id Уникальный идентификатор. Id *int `json:"id,omitempty"` // Oi Открытый интерес (open interest). Если не поддерживается инстурментом - значение 0. Oi *int `json:"oi,omitempty"` // Orderno Идентификатор заявки Orderno *int `json:"orderno,omitempty"` // Price Цена Price *float64 `json:"price,omitempty"` // Qty Количество Qty *int `json:"qty,omitempty"` // Side Направление агрессивной заявки. Поле может быть пустым Side *AlltradeSide `json:"side,omitempty"` // Symbol Тикер (Код финансового инструмента). "[N/A]" используется если symbol не определен. Symbol *string `json:"symbol,omitempty"` // Time Дата и время (UTC) закрытия заявки Time *string `json:"time,omitempty"` // Timestamp Время (UTC) в формате Unix Time Milliseconds Timestamp *int64 `json:"timestamp,omitempty"` }
Alltrade defines model for alltrade.
type AlltradeSide ¶
type AlltradeSide string
AlltradeSide Направление агрессивной заявки. Поле может быть пустым
const ( AlltradeSideBuy AlltradeSide = "buy" AlltradeSideSell AlltradeSide = "sell" )
Defines values for AlltradeSide.
type BodyrequestOrdersActionsLimitTV ¶
type BodyrequestOrdersActionsLimitTV struct { Instrument *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` } `json:"instrument,omitempty"` // Price Цена Price *float64 `json:"price,omitempty"` // Quantity Количество (лоты) Quantity *int `json:"quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsLimitTVSide `json:"side,omitempty"` // Type Тип заявки Type *string `json:"type,omitempty"` User *struct { // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` } `json:"user,omitempty"` }
BodyrequestOrdersActionsLimitTV defines model for bodyrequest_OrdersActionsLimitTV.
type BodyrequestOrdersActionsLimitTVSide ¶
type BodyrequestOrdersActionsLimitTVSide string
BodyrequestOrdersActionsLimitTVSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsLimitTVSideBuy BodyrequestOrdersActionsLimitTVSide = "buy" BodyrequestOrdersActionsLimitTVSideSell BodyrequestOrdersActionsLimitTVSide = "sell" )
Defines values for BodyrequestOrdersActionsLimitTVSide.
type BodyrequestOrdersActionsLimitTVput ¶
type BodyrequestOrdersActionsLimitTVput struct { // Id Идентификатор заявки Id *int `json:"id,omitempty"` Instrument *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` } `json:"instrument,omitempty"` // Price Цена Price *float64 `json:"price,omitempty"` // Quantity Количество Quantity *int `json:"quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsLimitTVputSide `json:"side,omitempty"` // Type Тип заявки Type *string `json:"type,omitempty"` User *struct { // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` } `json:"user,omitempty"` }
BodyrequestOrdersActionsLimitTVput defines model for bodyrequest_OrdersActionsLimitTVput.
type BodyrequestOrdersActionsLimitTVputSide ¶
type BodyrequestOrdersActionsLimitTVputSide string
BodyrequestOrdersActionsLimitTVputSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsLimitTVputSideBuy BodyrequestOrdersActionsLimitTVputSide = "buy" BodyrequestOrdersActionsLimitTVputSideSell BodyrequestOrdersActionsLimitTVputSide = "sell" )
Defines values for BodyrequestOrdersActionsLimitTVputSide.
type BodyrequestOrdersActionsMarketTV ¶
type BodyrequestOrdersActionsMarketTV struct { Instrument *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` } `json:"instrument,omitempty"` // Quantity Количество (лоты) Quantity *int `json:"quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsMarketTVSide `json:"side,omitempty"` // Type Тип заявки Type *string `json:"type,omitempty"` User *struct { // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` } `json:"user,omitempty"` }
BodyrequestOrdersActionsMarketTV defines model for bodyrequest_OrdersActionsMarketTV.
type BodyrequestOrdersActionsMarketTVSide ¶
type BodyrequestOrdersActionsMarketTVSide string
BodyrequestOrdersActionsMarketTVSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsMarketTVSideBuy BodyrequestOrdersActionsMarketTVSide = "buy" BodyrequestOrdersActionsMarketTVSideSell BodyrequestOrdersActionsMarketTVSide = "sell" )
Defines values for BodyrequestOrdersActionsMarketTVSide.
type BodyrequestOrdersActionsMarketTVput ¶
type BodyrequestOrdersActionsMarketTVput struct { // Id Идентификатор заявки Id *int `json:"id,omitempty"` Instrument *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` } `json:"instrument,omitempty"` // Quantity Количество Quantity *int `json:"quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsMarketTVputSide `json:"side,omitempty"` // Type Тип заявки Type *string `json:"type,omitempty"` User *struct { // Account Идентификатор аккаунта пользователя Account *string `json:"account,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` } `json:"user,omitempty"` }
BodyrequestOrdersActionsMarketTVput defines model for bodyrequest_OrdersActionsMarketTVput.
type BodyrequestOrdersActionsMarketTVputSide ¶
type BodyrequestOrdersActionsMarketTVputSide string
BodyrequestOrdersActionsMarketTVputSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsMarketTVputSideBuy BodyrequestOrdersActionsMarketTVputSide = "buy" BodyrequestOrdersActionsMarketTVputSideSell BodyrequestOrdersActionsMarketTVputSide = "sell" )
Defines values for BodyrequestOrdersActionsMarketTVputSide.
type BodyrequestOrdersActionsStop ¶
type BodyrequestOrdersActionsStop struct { // Instrument Информация об инструмента и бирже Instrument *struct { // Exchange Биржа Exchange *string `json:"Exchange,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"Symbol,omitempty"` } `json:"Instrument,omitempty"` // OrderEndUnixTime Время (UTC) завершения сделки в формате Unix Time Seconds OrderEndUnixTime *int64 `json:"OrderEndUnixTime,omitempty"` // Quantity Количество Quantity *int `json:"Quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsStopSide `json:"Side,omitempty"` // TriggerPrice Стоп-цена TriggerPrice *int `json:"TriggerPrice,omitempty"` // User Информация о пользователе User *struct { // Account Идентификатор аккаунта пользователя Account *string `json:"Account,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"Portfolio,omitempty"` } `json:"User,omitempty"` }
BodyrequestOrdersActionsStop defines model for bodyrequest_OrdersActionsStop.
type BodyrequestOrdersActionsStopLimitTVWarp ¶
type BodyrequestOrdersActionsStopLimitTVWarp struct { // Condition Условие срабатывания more/less Condition *string `json:"condition,omitempty"` Instrument *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // InstrumentGroup Борд InstrumentGroup *string `json:"instrumentGroup,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` } `json:"instrument,omitempty"` // Price Цена выставления лимитной заявки Price *float64 `json:"price,omitempty"` // Quantity Количество (лоты) Quantity *int `json:"quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsStopLimitTVWarpSide `json:"side,omitempty"` // StopEndUnixTime Срок действия (UTC) в формате Unix Time seconds StopEndUnixTime *int64 `json:"stopEndUnixTime,omitempty"` // TriggerPrice Цена срабатывания TriggerPrice *float64 `json:"triggerPrice,omitempty"` User *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` } `json:"user,omitempty"` }
BodyrequestOrdersActionsStopLimitTVWarp defines model for bodyrequest_OrdersActionsStopLimitTVWarp.
type BodyrequestOrdersActionsStopLimitTVWarpSide ¶
type BodyrequestOrdersActionsStopLimitTVWarpSide string
BodyrequestOrdersActionsStopLimitTVWarpSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsStopLimitTVWarpSideBuy BodyrequestOrdersActionsStopLimitTVWarpSide = "buy" BodyrequestOrdersActionsStopLimitTVWarpSideSell BodyrequestOrdersActionsStopLimitTVWarpSide = "sell" )
Defines values for BodyrequestOrdersActionsStopLimitTVWarpSide.
type BodyrequestOrdersActionsStopMarketTVWarp ¶
type BodyrequestOrdersActionsStopMarketTVWarp struct { // Condition Условие срабатывания more/less Condition *string `json:"condition,omitempty"` Instrument *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // InstrumentGroup Борд InstrumentGroup *string `json:"instrumentGroup,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` } `json:"instrument,omitempty"` // Quantity Количество (лоты) Quantity *int `json:"quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsStopMarketTVWarpSide `json:"side,omitempty"` // StopEndUnixTime Срок действия (UTC) в формате Unix Time seconds StopEndUnixTime *int64 `json:"stopEndUnixTime,omitempty"` // TriggerPrice Цена срабатывания TriggerPrice *float64 `json:"triggerPrice,omitempty"` User *struct { // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` } `json:"user,omitempty"` }
BodyrequestOrdersActionsStopMarketTVWarp defines model for bodyrequest_OrdersActionsStopMarketTVWarp.
type BodyrequestOrdersActionsStopMarketTVWarpSide ¶
type BodyrequestOrdersActionsStopMarketTVWarpSide string
BodyrequestOrdersActionsStopMarketTVWarpSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsStopMarketTVWarpSideBuy BodyrequestOrdersActionsStopMarketTVWarpSide = "buy" BodyrequestOrdersActionsStopMarketTVWarpSideSell BodyrequestOrdersActionsStopMarketTVWarpSide = "sell" )
Defines values for BodyrequestOrdersActionsStopMarketTVWarpSide.
type BodyrequestOrdersActionsStopSide ¶
type BodyrequestOrdersActionsStopSide string
BodyrequestOrdersActionsStopSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsStopSideBuy BodyrequestOrdersActionsStopSide = "buy" BodyrequestOrdersActionsStopSideSell BodyrequestOrdersActionsStopSide = "sell" )
Defines values for BodyrequestOrdersActionsStopSide.
type BodyrequestOrdersActionsStoplimit ¶
type BodyrequestOrdersActionsStoplimit struct { Instrument *struct { // Exchange Биржа Exchange *string `json:"Exchange,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"Symbol,omitempty"` } `json:"Instrument,omitempty"` // OrderEndUnixTime Время (UTC) завершения сделки в формате Unix Time seconds OrderEndUnixTime *int64 `json:"OrderEndUnixTime,omitempty"` // Price Цена Price *int `json:"Price,omitempty"` // Quantity Количество Quantity *int `json:"Quantity,omitempty"` // Side Направление сделки. Купля либо продажа. Side *BodyrequestOrdersActionsStoplimitSide `json:"Side,omitempty"` // TriggerPrice Стоп-цена TriggerPrice *int `json:"TriggerPrice,omitempty"` User *struct { // Account Идентификатор аккаунта пользователя Account *string `json:"Account,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"Portfolio,omitempty"` } `json:"User,omitempty"` }
BodyrequestOrdersActionsStoplimit defines model for bodyrequest_OrdersActionsStoplimit.
type BodyrequestOrdersActionsStoplimitSide ¶
type BodyrequestOrdersActionsStoplimitSide string
BodyrequestOrdersActionsStoplimitSide Направление сделки. Купля либо продажа.
const ( BodyrequestOrdersActionsStoplimitSideBuy BodyrequestOrdersActionsStoplimitSide = "buy" BodyrequestOrdersActionsStoplimitSideSell BodyrequestOrdersActionsStoplimitSide = "sell" )
Defines values for BodyrequestOrdersActionsStoplimitSide.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CommandAPIWarpv2clientordersdelete ¶
func (c *Client) CommandAPIWarpv2clientordersdelete(ctx context.Context, orderId int, params *CommandAPIWarpv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionslimit ¶
func (c *Client) CommandAPIv2clientordersactionslimit(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, body CommandAPIv2clientordersactionslimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionslimitWithBody ¶
func (*Client) CommandAPIv2clientordersactionslimitput ¶
func (c *Client) CommandAPIv2clientordersactionslimitput(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionslimitputParams, body CommandAPIv2clientordersactionslimitputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionslimitputWithBody ¶
func (*Client) CommandAPIv2clientordersactionsmarket ¶
func (c *Client) CommandAPIv2clientordersactionsmarket(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, body CommandAPIv2clientordersactionsmarketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionsmarketWithBody ¶
func (*Client) CommandAPIv2clientordersactionsmarketput ¶
func (c *Client) CommandAPIv2clientordersactionsmarketput(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, body CommandAPIv2clientordersactionsmarketputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionsmarketputWithBody ¶
func (*Client) CommandAPIv2clientordersactionsstop ¶
func (c *Client) CommandAPIv2clientordersactionsstop(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, body CommandAPIv2clientordersactionsstopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionsstopLimit ¶
func (c *Client) CommandAPIv2clientordersactionsstopLimit(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, body CommandAPIv2clientordersactionsstopLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionsstopLimitStopOrderId ¶
func (c *Client) CommandAPIv2clientordersactionsstopLimitStopOrderId(ctx context.Context, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, body CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBody ¶
func (*Client) CommandAPIv2clientordersactionsstopLimitWithBody ¶
func (*Client) CommandAPIv2clientordersactionsstopWithBody ¶
func (*Client) CommandAPIv2clientordersdelete ¶
func (c *Client) CommandAPIv2clientordersdelete(ctx context.Context, orderId int, params *CommandAPIv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetAllOrders ¶
func (c *Client) DevGetAllOrders(ctx context.Context, exchange DevGetAllOrdersParamsExchange, portfolio string, params *DevGetAllOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetAllPositions ¶
func (c *Client) DevGetAllPositions(ctx context.Context, exchange DevGetAllPositionsParamsExchange, portfolio string, params *DevGetAllPositionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetAllStopOrders ¶
func (c *Client) DevGetAllStopOrders(ctx context.Context, exchange DevGetAllStopOrdersParamsExchange, portfolio string, params *DevGetAllStopOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetAllTrades ¶
func (c *Client) DevGetAllTrades(ctx context.Context, exchange DevGetAllTradesParamsExchange, portfolio string, params *DevGetAllTradesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetOneOrder ¶
func (c *Client) DevGetOneOrder(ctx context.Context, exchange DevGetOneOrderParamsExchange, portfolio string, orderId int, params *DevGetOneOrderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetOnePosition ¶
func (c *Client) DevGetOnePosition(ctx context.Context, exchange DevGetOnePositionParamsExchange, portfolio string, symbol string, params *DevGetOnePositionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetOneStopOrder ¶
func (c *Client) DevGetOneStopOrder(ctx context.Context, exchange DevGetOneStopOrderParamsExchange, portfolio string, orderId int, params *DevGetOneStopOrderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevGetTickerTrades ¶
func (c *Client) DevGetTickerTrades(ctx context.Context, exchange DevGetTickerTradesParamsExchange, portfolio string, ticker string, params *DevGetTickerTradesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevHistory ¶
func (c *Client) DevHistory(ctx context.Context, params *DevHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevOrderbookExchangSeccode ¶
func (c *Client) DevOrderbookExchangSeccode(ctx context.Context, exchange DevOrderbookExchangSeccodeParamsExchange, seccode string, params *DevOrderbookExchangSeccodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevQuotes ¶
func (c *Client) DevQuotes(ctx context.Context, symbols string, params *DevQuotesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevSecuritiesFutures ¶
func (c *Client) DevSecuritiesFutures(ctx context.Context, exchange DevSecuritiesFuturesParamsExchange, symbol string, params *DevSecuritiesFuturesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevSecuritiesSearch ¶
func (c *Client) DevSecuritiesSearch(ctx context.Context, params *DevSecuritiesSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevSecuritiesSearchAllTrades ¶
func (c *Client) DevSecuritiesSearchAllTrades(ctx context.Context, exchange DevSecuritiesSearchAllTradesParamsExchange, symbol string, params *DevSecuritiesSearchAllTradesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevSecuritiesSearchExchange ¶
func (c *Client) DevSecuritiesSearchExchange(ctx context.Context, exchange DevSecuritiesSearchExchangeParamsExchange, params *DevSecuritiesSearchExchangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevSecuritiesSearchExchangeCode ¶
func (c *Client) DevSecuritiesSearchExchangeCode(ctx context.Context, exchange DevSecuritiesSearchExchangeCodeParamsExchange, symbol string, params *DevSecuritiesSearchExchangeCodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DevUserPortfolio ¶
func (*Client) ExchangePortfolioMoney ¶
func (c *Client) ExchangePortfolioMoney(ctx context.Context, exchange ExchangePortfolioMoneyParamsExchange, portfolio string, params *ExchangePortfolioMoneyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExchangePortfolioSummary ¶
func (c *Client) ExchangePortfolioSummary(ctx context.Context, exchange ExchangePortfolioSummaryParamsExchange, portfolio string, params *ExchangePortfolioSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Fortsrisk ¶
func (c *Client) Fortsrisk(ctx context.Context, exchange FortsriskParamsExchange, portfolio string, params *FortsriskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Risk ¶
func (c *Client) Risk(ctx context.Context, exchange RiskParamsExchange, portfolio string, params *RiskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RiskRates ¶
func (c *Client) RiskRates(ctx context.Context, params *RiskRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TradeStats ¶
func (c *Client) TradeStats(ctx context.Context, exchange TradeStatsParamsExchange, portfolio string, params *TradeStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TradeStatsBySymbol ¶
func (c *Client) TradeStatsBySymbol(ctx context.Context, exchange TradeStatsBySymbolParamsExchange, portfolio string, symbol string, params *TradeStatsBySymbolParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsOrderId ¶
func (c *Client) V2clientordersactionsOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsOrderIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsestimate ¶
func (c *Client) V2clientordersactionsestimate(ctx context.Context, body V2clientordersactionsestimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsestimateWithBody ¶
func (*Client) V2clientordersactionsestimateall ¶
func (c *Client) V2clientordersactionsestimateall(ctx context.Context, body V2clientordersactionsestimateallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsestimateallWithBody ¶
func (*Client) V2clientordersactionsstopLoss ¶
func (c *Client) V2clientordersactionsstopLoss(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossParams, body V2clientordersactionsstopLossJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsstopLossLimit ¶
func (c *Client) V2clientordersactionsstopLossLimit(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, body V2clientordersactionsstopLossLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsstopLossLimitOrderId ¶
func (c *Client) V2clientordersactionsstopLossLimitOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, body V2clientordersactionsstopLossLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsstopLossLimitOrderIdWithBody ¶
func (*Client) V2clientordersactionsstopLossLimitWithBody ¶
func (*Client) V2clientordersactionsstopLossOrderId ¶
func (c *Client) V2clientordersactionsstopLossOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, body V2clientordersactionsstopLossOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionsstopLossOrderIdWithBody ¶
func (*Client) V2clientordersactionsstopLossWithBody ¶
func (*Client) V2clientordersactionstakeProfit ¶
func (c *Client) V2clientordersactionstakeProfit(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitParams, body V2clientordersactionstakeProfitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionstakeProfitLimit ¶
func (c *Client) V2clientordersactionstakeProfitLimit(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, body V2clientordersactionstakeProfitLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionstakeProfitLimitOrderId ¶
func (c *Client) V2clientordersactionstakeProfitLimitOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, body V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionstakeProfitLimitOrderIdWithBody ¶
func (*Client) V2clientordersactionstakeProfitLimitWithBody ¶
func (*Client) V2clientordersactionstakeProfitOrderId ¶
func (c *Client) V2clientordersactionstakeProfitOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, body V2clientordersactionstakeProfitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V2clientordersactionstakeProfitOrderIdWithBody ¶
func (*Client) V2clientordersactionstakeProfitWithBody ¶
func (*Client) WSProdAllTradesGetAndSubscribe ¶
func (c *Client) WSProdAllTradesGetAndSubscribe(ctx context.Context, body WSProdAllTradesGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdAllTradesGetAndSubscribeWithBody ¶
func (*Client) WSProdBarsGet ¶
func (c *Client) WSProdBarsGet(ctx context.Context, body WSProdBarsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdBarsGetWithBody ¶
func (*Client) WSProdInstrumentsGetAndSubscribeV2 ¶
func (c *Client) WSProdInstrumentsGetAndSubscribeV2(ctx context.Context, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdInstrumentsGetAndSubscribeV2WithBody ¶
func (*Client) WSProdOrderBook ¶
func (c *Client) WSProdOrderBook(ctx context.Context, body WSProdOrderBookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdOrderBookWithBody ¶
func (*Client) WSProdOrdersSubscribe ¶
func (c *Client) WSProdOrdersSubscribe(ctx context.Context, body WSProdOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdOrdersSubscribeWithBody ¶
func (*Client) WSProdPositionsSubscribe ¶
func (c *Client) WSProdPositionsSubscribe(ctx context.Context, body WSProdPositionsSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdPositionsSubscribeWithBody ¶
func (*Client) WSProdQuotesSubscribe ¶
func (c *Client) WSProdQuotesSubscribe(ctx context.Context, body WSProdQuotesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdQuotesSubscribeWithBody ¶
func (*Client) WSProdRisksGetAndSubscribe ¶
func (c *Client) WSProdRisksGetAndSubscribe(ctx context.Context, body WSProdRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdRisksGetAndSubscribeWithBody ¶
func (*Client) WSProdSpectraRisksGetAndSubscribe ¶
func (c *Client) WSProdSpectraRisksGetAndSubscribe(ctx context.Context, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdSpectraRisksGetAndSubscribeWithBody ¶
func (*Client) WSProdStopOrdersSubscribe ¶
func (c *Client) WSProdStopOrdersSubscribe(ctx context.Context, body WSProdStopOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdStopOrdersSubscribeV2 ¶
func (c *Client) WSProdStopOrdersSubscribeV2(ctx context.Context, body WSProdStopOrdersSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdStopOrdersSubscribeV2WithBody ¶
func (*Client) WSProdStopOrdersSubscribeWithBody ¶
func (*Client) WSProdSummariesGetAndSubscribeV2 ¶
func (c *Client) WSProdSummariesGetAndSubscribeV2(ctx context.Context, body WSProdSummariesGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdSummariesGetAndSubscribeV2WithBody ¶
func (*Client) WSProdTradesSubscribe ¶
func (c *Client) WSProdTradesSubscribe(ctx context.Context, body WSProdTradesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WSProdTradesSubscribeWithBody ¶
func (*Client) WSProdUnsubscribe ¶
func (c *Client) WSProdUnsubscribe(ctx context.Context, body WSProdUnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // DevUserPortfolio request DevUserPortfolio(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersactionslimit request with any body CommandAPIv2clientordersactionslimitWithBody(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CommandAPIv2clientordersactionslimit(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, body CommandAPIv2clientordersactionslimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersactionslimitput request with any body CommandAPIv2clientordersactionslimitputWithBody(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionslimitputParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CommandAPIv2clientordersactionslimitput(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionslimitputParams, body CommandAPIv2clientordersactionslimitputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersactionsmarket request with any body CommandAPIv2clientordersactionsmarketWithBody(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CommandAPIv2clientordersactionsmarket(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, body CommandAPIv2clientordersactionsmarketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersactionsmarketput request with any body CommandAPIv2clientordersactionsmarketputWithBody(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CommandAPIv2clientordersactionsmarketput(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, body CommandAPIv2clientordersactionsmarketputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersactionsstop request with any body CommandAPIv2clientordersactionsstopWithBody(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CommandAPIv2clientordersactionsstop(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, body CommandAPIv2clientordersactionsstopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersactionsstopLimit request with any body CommandAPIv2clientordersactionsstopLimitWithBody(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CommandAPIv2clientordersactionsstopLimit(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, body CommandAPIv2clientordersactionsstopLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersactionsstopLimitStopOrderId request with any body CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBody(ctx context.Context, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CommandAPIv2clientordersactionsstopLimitStopOrderId(ctx context.Context, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, body CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionsestimate request with any body V2clientordersactionsestimateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionsestimate(ctx context.Context, body V2clientordersactionsestimateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionsestimateall request with any body V2clientordersactionsestimateallWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionsestimateall(ctx context.Context, body V2clientordersactionsestimateallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIv2clientordersdelete request CommandAPIv2clientordersdelete(ctx context.Context, orderId int, params *CommandAPIv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CommandAPIWarpv2clientordersdelete request CommandAPIWarpv2clientordersdelete(ctx context.Context, orderId int, params *CommandAPIWarpv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // TradeStats request TradeStats(ctx context.Context, exchange TradeStatsParamsExchange, portfolio string, params *TradeStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // TradeStatsBySymbol request TradeStatsBySymbol(ctx context.Context, exchange TradeStatsBySymbolParamsExchange, portfolio string, symbol string, params *TradeStatsBySymbolParams, reqEditors ...RequestEditorFn) (*http.Response, error) // Fortsrisk request Fortsrisk(ctx context.Context, exchange FortsriskParamsExchange, portfolio string, params *FortsriskParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetAllPositions request DevGetAllPositions(ctx context.Context, exchange DevGetAllPositionsParamsExchange, portfolio string, params *DevGetAllPositionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetOnePosition request DevGetOnePosition(ctx context.Context, exchange DevGetOnePositionParamsExchange, portfolio string, symbol string, params *DevGetOnePositionParams, reqEditors ...RequestEditorFn) (*http.Response, error) // Risk request Risk(ctx context.Context, exchange RiskParamsExchange, portfolio string, params *RiskParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetAllTrades request DevGetAllTrades(ctx context.Context, exchange DevGetAllTradesParamsExchange, portfolio string, params *DevGetAllTradesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetTickerTrades request DevGetTickerTrades(ctx context.Context, exchange DevGetTickerTradesParamsExchange, portfolio string, ticker string, params *DevGetTickerTradesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevSecuritiesSearch request DevSecuritiesSearch(ctx context.Context, params *DevSecuritiesSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevSecuritiesSearchExchange request DevSecuritiesSearchExchange(ctx context.Context, exchange DevSecuritiesSearchExchangeParamsExchange, params *DevSecuritiesSearchExchangeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevSecuritiesSearchExchangeCode request DevSecuritiesSearchExchangeCode(ctx context.Context, exchange DevSecuritiesSearchExchangeCodeParamsExchange, symbol string, params *DevSecuritiesSearchExchangeCodeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevSecuritiesFutures request DevSecuritiesFutures(ctx context.Context, exchange DevSecuritiesFuturesParamsExchange, symbol string, params *DevSecuritiesFuturesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevSecuritiesSearchAllTrades request DevSecuritiesSearchAllTrades(ctx context.Context, exchange DevSecuritiesSearchAllTradesParamsExchange, symbol string, params *DevSecuritiesSearchAllTradesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevQuotes request DevQuotes(ctx context.Context, symbols string, params *DevQuotesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ExchangePortfolioMoney request ExchangePortfolioMoney(ctx context.Context, exchange ExchangePortfolioMoneyParamsExchange, portfolio string, params *ExchangePortfolioMoneyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetAllOrders request DevGetAllOrders(ctx context.Context, exchange DevGetAllOrdersParamsExchange, portfolio string, params *DevGetAllOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetOneOrder request DevGetOneOrder(ctx context.Context, exchange DevGetOneOrderParamsExchange, portfolio string, orderId int, params *DevGetOneOrderParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetAllStopOrders request DevGetAllStopOrders(ctx context.Context, exchange DevGetAllStopOrdersParamsExchange, portfolio string, params *DevGetAllStopOrdersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevGetOneStopOrder request DevGetOneStopOrder(ctx context.Context, exchange DevGetOneStopOrderParamsExchange, portfolio string, orderId int, params *DevGetOneStopOrderParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ExchangePortfolioSummary request ExchangePortfolioSummary(ctx context.Context, exchange ExchangePortfolioSummaryParamsExchange, portfolio string, params *ExchangePortfolioSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevHistory request DevHistory(ctx context.Context, params *DevHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DevOrderbookExchangSeccode request DevOrderbookExchangSeccode(ctx context.Context, exchange DevOrderbookExchangSeccodeParamsExchange, seccode string, params *DevOrderbookExchangSeccodeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // RiskRates request RiskRates(ctx context.Context, params *RiskRatesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // LocalTime request LocalTime(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionsstopLoss request with any body V2clientordersactionsstopLossWithBody(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionsstopLoss(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossParams, body V2clientordersactionsstopLossJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionsstopLossOrderId request with any body V2clientordersactionsstopLossOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionsstopLossOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, body V2clientordersactionsstopLossOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionsstopLossLimit request with any body V2clientordersactionsstopLossLimitWithBody(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionsstopLossLimit(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, body V2clientordersactionsstopLossLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionsstopLossLimitOrderId request with any body V2clientordersactionsstopLossLimitOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionsstopLossLimitOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, body V2clientordersactionsstopLossLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionstakeProfit request with any body V2clientordersactionstakeProfitWithBody(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionstakeProfit(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitParams, body V2clientordersactionstakeProfitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionstakeProfitOrderId request with any body V2clientordersactionstakeProfitOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionstakeProfitOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, body V2clientordersactionstakeProfitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionstakeProfitLimit request with any body V2clientordersactionstakeProfitLimitWithBody(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionstakeProfitLimit(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, body V2clientordersactionstakeProfitLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionstakeProfitLimitOrderId request with any body V2clientordersactionstakeProfitLimitOrderIdWithBody(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V2clientordersactionstakeProfitLimitOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, body V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V2clientordersactionsOrderId request V2clientordersactionsOrderId(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsOrderIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdUnsubscribe request with any body WSProdUnsubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdUnsubscribe(ctx context.Context, body WSProdUnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdStopOrdersSubscribe request with any body WSProdStopOrdersSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdStopOrdersSubscribe(ctx context.Context, body WSProdStopOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdSummariesGetAndSubscribeV2 request with any body WSProdSummariesGetAndSubscribeV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdSummariesGetAndSubscribeV2(ctx context.Context, body WSProdSummariesGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdTradesSubscribe request with any body WSProdTradesSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdTradesSubscribe(ctx context.Context, body WSProdTradesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdPositionsSubscribe request with any body WSProdPositionsSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdPositionsSubscribe(ctx context.Context, body WSProdPositionsSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdQuotesSubscribe request with any body WSProdQuotesSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdQuotesSubscribe(ctx context.Context, body WSProdQuotesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdBarsGet request with any body WSProdBarsGetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdBarsGet(ctx context.Context, body WSProdBarsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdOrderBook request with any body WSProdOrderBookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdOrderBook(ctx context.Context, body WSProdOrderBookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdRisksGetAndSubscribe request with any body WSProdRisksGetAndSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdRisksGetAndSubscribe(ctx context.Context, body WSProdRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdOrdersSubscribe request with any body WSProdOrdersSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdOrdersSubscribe(ctx context.Context, body WSProdOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdSpectraRisksGetAndSubscribe request with any body WSProdSpectraRisksGetAndSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdSpectraRisksGetAndSubscribe(ctx context.Context, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdStopOrdersSubscribeV2 request with any body WSProdStopOrdersSubscribeV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdStopOrdersSubscribeV2(ctx context.Context, body WSProdStopOrdersSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdAllTradesGetAndSubscribe request with any body WSProdAllTradesGetAndSubscribeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdAllTradesGetAndSubscribe(ctx context.Context, body WSProdAllTradesGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // WSProdInstrumentsGetAndSubscribeV2 request with any body WSProdInstrumentsGetAndSubscribeV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) WSProdInstrumentsGetAndSubscribeV2(ctx context.Context, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CommandAPIWarpv2clientordersdeleteWithResponse ¶
func (c *ClientWithResponses) CommandAPIWarpv2clientordersdeleteWithResponse(ctx context.Context, orderId int, params *CommandAPIWarpv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*CommandAPIWarpv2clientordersdeleteResponse, error)
CommandAPIWarpv2clientordersdeleteWithResponse request returning *CommandAPIWarpv2clientordersdeleteResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionslimitWithBodyWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitResponse, error)
CommandAPIv2clientordersactionslimitWithBodyWithResponse request with arbitrary body returning *CommandAPIv2clientordersactionslimitResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionslimitWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, body CommandAPIv2clientordersactionslimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitResponse, error)
func (*ClientWithResponses) CommandAPIv2clientordersactionslimitputWithBodyWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitputWithBodyWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionslimitputParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitputResponse, error)
CommandAPIv2clientordersactionslimitputWithBodyWithResponse request with arbitrary body returning *CommandAPIv2clientordersactionslimitputResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionslimitputWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionslimitputWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionslimitputParams, body CommandAPIv2clientordersactionslimitputJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitputResponse, error)
func (*ClientWithResponses) CommandAPIv2clientordersactionsmarketWithBodyWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketResponse, error)
CommandAPIv2clientordersactionsmarketWithBodyWithResponse request with arbitrary body returning *CommandAPIv2clientordersactionsmarketResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionsmarketWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, body CommandAPIv2clientordersactionsmarketJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketResponse, error)
func (*ClientWithResponses) CommandAPIv2clientordersactionsmarketputWithBodyWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketputWithBodyWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketputResponse, error)
CommandAPIv2clientordersactionsmarketputWithBodyWithResponse request with arbitrary body returning *CommandAPIv2clientordersactionsmarketputResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionsmarketputWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsmarketputWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, body CommandAPIv2clientordersactionsmarketputJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketputResponse, error)
func (*ClientWithResponses) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBodyWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBodyWithResponse(ctx context.Context, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse, error)
CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBodyWithResponse request with arbitrary body returning *CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithResponse(ctx context.Context, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, body CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse, error)
func (*ClientWithResponses) CommandAPIv2clientordersactionsstopLimitWithBodyWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitResponse, error)
CommandAPIv2clientordersactionsstopLimitWithBodyWithResponse request with arbitrary body returning *CommandAPIv2clientordersactionsstopLimitResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionsstopLimitWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopLimitWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, body CommandAPIv2clientordersactionsstopLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitResponse, error)
func (*ClientWithResponses) CommandAPIv2clientordersactionsstopWithBodyWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopResponse, error)
CommandAPIv2clientordersactionsstopWithBodyWithResponse request with arbitrary body returning *CommandAPIv2clientordersactionsstopResponse
func (*ClientWithResponses) CommandAPIv2clientordersactionsstopWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersactionsstopWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, body CommandAPIv2clientordersactionsstopJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopResponse, error)
func (*ClientWithResponses) CommandAPIv2clientordersdeleteWithResponse ¶
func (c *ClientWithResponses) CommandAPIv2clientordersdeleteWithResponse(ctx context.Context, orderId int, params *CommandAPIv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersdeleteResponse, error)
CommandAPIv2clientordersdeleteWithResponse request returning *CommandAPIv2clientordersdeleteResponse
func (*ClientWithResponses) DevGetAllOrdersWithResponse ¶
func (c *ClientWithResponses) DevGetAllOrdersWithResponse(ctx context.Context, exchange DevGetAllOrdersParamsExchange, portfolio string, params *DevGetAllOrdersParams, reqEditors ...RequestEditorFn) (*DevGetAllOrdersResponse, error)
DevGetAllOrdersWithResponse request returning *DevGetAllOrdersResponse
func (*ClientWithResponses) DevGetAllPositionsWithResponse ¶
func (c *ClientWithResponses) DevGetAllPositionsWithResponse(ctx context.Context, exchange DevGetAllPositionsParamsExchange, portfolio string, params *DevGetAllPositionsParams, reqEditors ...RequestEditorFn) (*DevGetAllPositionsResponse, error)
DevGetAllPositionsWithResponse request returning *DevGetAllPositionsResponse
func (*ClientWithResponses) DevGetAllStopOrdersWithResponse ¶
func (c *ClientWithResponses) DevGetAllStopOrdersWithResponse(ctx context.Context, exchange DevGetAllStopOrdersParamsExchange, portfolio string, params *DevGetAllStopOrdersParams, reqEditors ...RequestEditorFn) (*DevGetAllStopOrdersResponse, error)
DevGetAllStopOrdersWithResponse request returning *DevGetAllStopOrdersResponse
func (*ClientWithResponses) DevGetAllTradesWithResponse ¶
func (c *ClientWithResponses) DevGetAllTradesWithResponse(ctx context.Context, exchange DevGetAllTradesParamsExchange, portfolio string, params *DevGetAllTradesParams, reqEditors ...RequestEditorFn) (*DevGetAllTradesResponse, error)
DevGetAllTradesWithResponse request returning *DevGetAllTradesResponse
func (*ClientWithResponses) DevGetOneOrderWithResponse ¶
func (c *ClientWithResponses) DevGetOneOrderWithResponse(ctx context.Context, exchange DevGetOneOrderParamsExchange, portfolio string, orderId int, params *DevGetOneOrderParams, reqEditors ...RequestEditorFn) (*DevGetOneOrderResponse, error)
DevGetOneOrderWithResponse request returning *DevGetOneOrderResponse
func (*ClientWithResponses) DevGetOnePositionWithResponse ¶
func (c *ClientWithResponses) DevGetOnePositionWithResponse(ctx context.Context, exchange DevGetOnePositionParamsExchange, portfolio string, symbol string, params *DevGetOnePositionParams, reqEditors ...RequestEditorFn) (*DevGetOnePositionResponse, error)
DevGetOnePositionWithResponse request returning *DevGetOnePositionResponse
func (*ClientWithResponses) DevGetOneStopOrderWithResponse ¶
func (c *ClientWithResponses) DevGetOneStopOrderWithResponse(ctx context.Context, exchange DevGetOneStopOrderParamsExchange, portfolio string, orderId int, params *DevGetOneStopOrderParams, reqEditors ...RequestEditorFn) (*DevGetOneStopOrderResponse, error)
DevGetOneStopOrderWithResponse request returning *DevGetOneStopOrderResponse
func (*ClientWithResponses) DevGetTickerTradesWithResponse ¶
func (c *ClientWithResponses) DevGetTickerTradesWithResponse(ctx context.Context, exchange DevGetTickerTradesParamsExchange, portfolio string, ticker string, params *DevGetTickerTradesParams, reqEditors ...RequestEditorFn) (*DevGetTickerTradesResponse, error)
DevGetTickerTradesWithResponse request returning *DevGetTickerTradesResponse
func (*ClientWithResponses) DevHistoryWithResponse ¶
func (c *ClientWithResponses) DevHistoryWithResponse(ctx context.Context, params *DevHistoryParams, reqEditors ...RequestEditorFn) (*DevHistoryResponse, error)
DevHistoryWithResponse request returning *DevHistoryResponse
func (*ClientWithResponses) DevOrderbookExchangSeccodeWithResponse ¶
func (c *ClientWithResponses) DevOrderbookExchangSeccodeWithResponse(ctx context.Context, exchange DevOrderbookExchangSeccodeParamsExchange, seccode string, params *DevOrderbookExchangSeccodeParams, reqEditors ...RequestEditorFn) (*DevOrderbookExchangSeccodeResponse, error)
DevOrderbookExchangSeccodeWithResponse request returning *DevOrderbookExchangSeccodeResponse
func (*ClientWithResponses) DevQuotesWithResponse ¶
func (c *ClientWithResponses) DevQuotesWithResponse(ctx context.Context, symbols string, params *DevQuotesParams, reqEditors ...RequestEditorFn) (*DevQuotesResponse, error)
DevQuotesWithResponse request returning *DevQuotesResponse
func (*ClientWithResponses) DevSecuritiesFuturesWithResponse ¶
func (c *ClientWithResponses) DevSecuritiesFuturesWithResponse(ctx context.Context, exchange DevSecuritiesFuturesParamsExchange, symbol string, params *DevSecuritiesFuturesParams, reqEditors ...RequestEditorFn) (*DevSecuritiesFuturesResponse, error)
DevSecuritiesFuturesWithResponse request returning *DevSecuritiesFuturesResponse
func (*ClientWithResponses) DevSecuritiesSearchAllTradesWithResponse ¶
func (c *ClientWithResponses) DevSecuritiesSearchAllTradesWithResponse(ctx context.Context, exchange DevSecuritiesSearchAllTradesParamsExchange, symbol string, params *DevSecuritiesSearchAllTradesParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchAllTradesResponse, error)
DevSecuritiesSearchAllTradesWithResponse request returning *DevSecuritiesSearchAllTradesResponse
func (*ClientWithResponses) DevSecuritiesSearchExchangeCodeWithResponse ¶
func (c *ClientWithResponses) DevSecuritiesSearchExchangeCodeWithResponse(ctx context.Context, exchange DevSecuritiesSearchExchangeCodeParamsExchange, symbol string, params *DevSecuritiesSearchExchangeCodeParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchExchangeCodeResponse, error)
DevSecuritiesSearchExchangeCodeWithResponse request returning *DevSecuritiesSearchExchangeCodeResponse
func (*ClientWithResponses) DevSecuritiesSearchExchangeWithResponse ¶
func (c *ClientWithResponses) DevSecuritiesSearchExchangeWithResponse(ctx context.Context, exchange DevSecuritiesSearchExchangeParamsExchange, params *DevSecuritiesSearchExchangeParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchExchangeResponse, error)
DevSecuritiesSearchExchangeWithResponse request returning *DevSecuritiesSearchExchangeResponse
func (*ClientWithResponses) DevSecuritiesSearchWithResponse ¶
func (c *ClientWithResponses) DevSecuritiesSearchWithResponse(ctx context.Context, params *DevSecuritiesSearchParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchResponse, error)
DevSecuritiesSearchWithResponse request returning *DevSecuritiesSearchResponse
func (*ClientWithResponses) DevUserPortfolioWithResponse ¶
func (c *ClientWithResponses) DevUserPortfolioWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DevUserPortfolioResponse, error)
DevUserPortfolioWithResponse request returning *DevUserPortfolioResponse
func (*ClientWithResponses) ExchangePortfolioMoneyWithResponse ¶
func (c *ClientWithResponses) ExchangePortfolioMoneyWithResponse(ctx context.Context, exchange ExchangePortfolioMoneyParamsExchange, portfolio string, params *ExchangePortfolioMoneyParams, reqEditors ...RequestEditorFn) (*ExchangePortfolioMoneyResponse, error)
ExchangePortfolioMoneyWithResponse request returning *ExchangePortfolioMoneyResponse
func (*ClientWithResponses) ExchangePortfolioSummaryWithResponse ¶
func (c *ClientWithResponses) ExchangePortfolioSummaryWithResponse(ctx context.Context, exchange ExchangePortfolioSummaryParamsExchange, portfolio string, params *ExchangePortfolioSummaryParams, reqEditors ...RequestEditorFn) (*ExchangePortfolioSummaryResponse, error)
ExchangePortfolioSummaryWithResponse request returning *ExchangePortfolioSummaryResponse
func (*ClientWithResponses) FortsriskWithResponse ¶
func (c *ClientWithResponses) FortsriskWithResponse(ctx context.Context, exchange FortsriskParamsExchange, portfolio string, params *FortsriskParams, reqEditors ...RequestEditorFn) (*FortsriskResponse, error)
FortsriskWithResponse request returning *FortsriskResponse
func (*ClientWithResponses) LocalTimeWithResponse ¶
func (c *ClientWithResponses) LocalTimeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LocalTimeResponse, error)
LocalTimeWithResponse request returning *LocalTimeResponse
func (*ClientWithResponses) RiskRatesWithResponse ¶
func (c *ClientWithResponses) RiskRatesWithResponse(ctx context.Context, params *RiskRatesParams, reqEditors ...RequestEditorFn) (*RiskRatesResponse, error)
RiskRatesWithResponse request returning *RiskRatesResponse
func (*ClientWithResponses) RiskWithResponse ¶
func (c *ClientWithResponses) RiskWithResponse(ctx context.Context, exchange RiskParamsExchange, portfolio string, params *RiskParams, reqEditors ...RequestEditorFn) (*RiskResponse, error)
RiskWithResponse request returning *RiskResponse
func (*ClientWithResponses) TradeStatsBySymbolWithResponse ¶
func (c *ClientWithResponses) TradeStatsBySymbolWithResponse(ctx context.Context, exchange TradeStatsBySymbolParamsExchange, portfolio string, symbol string, params *TradeStatsBySymbolParams, reqEditors ...RequestEditorFn) (*TradeStatsBySymbolResponse, error)
TradeStatsBySymbolWithResponse request returning *TradeStatsBySymbolResponse
func (*ClientWithResponses) TradeStatsWithResponse ¶
func (c *ClientWithResponses) TradeStatsWithResponse(ctx context.Context, exchange TradeStatsParamsExchange, portfolio string, params *TradeStatsParams, reqEditors ...RequestEditorFn) (*TradeStatsResponse, error)
TradeStatsWithResponse request returning *TradeStatsResponse
func (*ClientWithResponses) V2clientordersactionsOrderIdWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsOrderIdParams, reqEditors ...RequestEditorFn) (*V2clientordersactionsOrderIdResponse, error)
V2clientordersactionsOrderIdWithResponse request returning *V2clientordersactionsOrderIdResponse
func (*ClientWithResponses) V2clientordersactionsestimateWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsestimateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateResponse, error)
V2clientordersactionsestimateWithBodyWithResponse request with arbitrary body returning *V2clientordersactionsestimateResponse
func (*ClientWithResponses) V2clientordersactionsestimateWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsestimateWithResponse(ctx context.Context, body V2clientordersactionsestimateJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateResponse, error)
func (*ClientWithResponses) V2clientordersactionsestimateallWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsestimateallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateallResponse, error)
V2clientordersactionsestimateallWithBodyWithResponse request with arbitrary body returning *V2clientordersactionsestimateallResponse
func (*ClientWithResponses) V2clientordersactionsestimateallWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsestimateallWithResponse(ctx context.Context, body V2clientordersactionsestimateallJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateallResponse, error)
func (*ClientWithResponses) V2clientordersactionsstopLossLimitOrderIdWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossLimitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitOrderIdResponse, error)
V2clientordersactionsstopLossLimitOrderIdWithBodyWithResponse request with arbitrary body returning *V2clientordersactionsstopLossLimitOrderIdResponse
func (*ClientWithResponses) V2clientordersactionsstopLossLimitOrderIdWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossLimitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, body V2clientordersactionsstopLossLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitOrderIdResponse, error)
func (*ClientWithResponses) V2clientordersactionsstopLossLimitWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossLimitWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitResponse, error)
V2clientordersactionsstopLossLimitWithBodyWithResponse request with arbitrary body returning *V2clientordersactionsstopLossLimitResponse
func (*ClientWithResponses) V2clientordersactionsstopLossLimitWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossLimitWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, body V2clientordersactionsstopLossLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitResponse, error)
func (*ClientWithResponses) V2clientordersactionsstopLossOrderIdWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossOrderIdResponse, error)
V2clientordersactionsstopLossOrderIdWithBodyWithResponse request with arbitrary body returning *V2clientordersactionsstopLossOrderIdResponse
func (*ClientWithResponses) V2clientordersactionsstopLossOrderIdWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, body V2clientordersactionsstopLossOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossOrderIdResponse, error)
func (*ClientWithResponses) V2clientordersactionsstopLossWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossResponse, error)
V2clientordersactionsstopLossWithBodyWithResponse request with arbitrary body returning *V2clientordersactionsstopLossResponse
func (*ClientWithResponses) V2clientordersactionsstopLossWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionsstopLossWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossParams, body V2clientordersactionsstopLossJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossResponse, error)
func (*ClientWithResponses) V2clientordersactionstakeProfitLimitOrderIdWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitOrderIdResponse, error)
V2clientordersactionstakeProfitLimitOrderIdWithBodyWithResponse request with arbitrary body returning *V2clientordersactionstakeProfitLimitOrderIdResponse
func (*ClientWithResponses) V2clientordersactionstakeProfitLimitOrderIdWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, body V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitOrderIdResponse, error)
func (*ClientWithResponses) V2clientordersactionstakeProfitLimitWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitResponse, error)
V2clientordersactionstakeProfitLimitWithBodyWithResponse request with arbitrary body returning *V2clientordersactionstakeProfitLimitResponse
func (*ClientWithResponses) V2clientordersactionstakeProfitLimitWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitLimitWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, body V2clientordersactionstakeProfitLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitResponse, error)
func (*ClientWithResponses) V2clientordersactionstakeProfitOrderIdWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitOrderIdResponse, error)
V2clientordersactionstakeProfitOrderIdWithBodyWithResponse request with arbitrary body returning *V2clientordersactionstakeProfitOrderIdResponse
func (*ClientWithResponses) V2clientordersactionstakeProfitOrderIdWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, body V2clientordersactionstakeProfitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitOrderIdResponse, error)
func (*ClientWithResponses) V2clientordersactionstakeProfitWithBodyWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitResponse, error)
V2clientordersactionstakeProfitWithBodyWithResponse request with arbitrary body returning *V2clientordersactionstakeProfitResponse
func (*ClientWithResponses) V2clientordersactionstakeProfitWithResponse ¶
func (c *ClientWithResponses) V2clientordersactionstakeProfitWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitParams, body V2clientordersactionstakeProfitJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitResponse, error)
func (*ClientWithResponses) WSProdAllTradesGetAndSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdAllTradesGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdAllTradesGetAndSubscribeResponse, error)
WSProdAllTradesGetAndSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdAllTradesGetAndSubscribeResponse
func (*ClientWithResponses) WSProdAllTradesGetAndSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdAllTradesGetAndSubscribeWithResponse(ctx context.Context, body WSProdAllTradesGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdAllTradesGetAndSubscribeResponse, error)
func (*ClientWithResponses) WSProdBarsGetWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdBarsGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdBarsGetResponse, error)
WSProdBarsGetWithBodyWithResponse request with arbitrary body returning *WSProdBarsGetResponse
func (*ClientWithResponses) WSProdBarsGetWithResponse ¶
func (c *ClientWithResponses) WSProdBarsGetWithResponse(ctx context.Context, body WSProdBarsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdBarsGetResponse, error)
func (*ClientWithResponses) WSProdInstrumentsGetAndSubscribeV2WithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdInstrumentsGetAndSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdInstrumentsGetAndSubscribeV2Response, error)
WSProdInstrumentsGetAndSubscribeV2WithBodyWithResponse request with arbitrary body returning *WSProdInstrumentsGetAndSubscribeV2Response
func (*ClientWithResponses) WSProdInstrumentsGetAndSubscribeV2WithResponse ¶
func (c *ClientWithResponses) WSProdInstrumentsGetAndSubscribeV2WithResponse(ctx context.Context, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdInstrumentsGetAndSubscribeV2Response, error)
func (*ClientWithResponses) WSProdOrderBookWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdOrderBookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdOrderBookResponse, error)
WSProdOrderBookWithBodyWithResponse request with arbitrary body returning *WSProdOrderBookResponse
func (*ClientWithResponses) WSProdOrderBookWithResponse ¶
func (c *ClientWithResponses) WSProdOrderBookWithResponse(ctx context.Context, body WSProdOrderBookJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdOrderBookResponse, error)
func (*ClientWithResponses) WSProdOrdersSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdOrdersSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdOrdersSubscribeResponse, error)
WSProdOrdersSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdOrdersSubscribeResponse
func (*ClientWithResponses) WSProdOrdersSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdOrdersSubscribeWithResponse(ctx context.Context, body WSProdOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdOrdersSubscribeResponse, error)
func (*ClientWithResponses) WSProdPositionsSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdPositionsSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdPositionsSubscribeResponse, error)
WSProdPositionsSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdPositionsSubscribeResponse
func (*ClientWithResponses) WSProdPositionsSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdPositionsSubscribeWithResponse(ctx context.Context, body WSProdPositionsSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdPositionsSubscribeResponse, error)
func (*ClientWithResponses) WSProdQuotesSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdQuotesSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdQuotesSubscribeResponse, error)
WSProdQuotesSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdQuotesSubscribeResponse
func (*ClientWithResponses) WSProdQuotesSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdQuotesSubscribeWithResponse(ctx context.Context, body WSProdQuotesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdQuotesSubscribeResponse, error)
func (*ClientWithResponses) WSProdRisksGetAndSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdRisksGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdRisksGetAndSubscribeResponse, error)
WSProdRisksGetAndSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdRisksGetAndSubscribeResponse
func (*ClientWithResponses) WSProdRisksGetAndSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdRisksGetAndSubscribeWithResponse(ctx context.Context, body WSProdRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdRisksGetAndSubscribeResponse, error)
func (*ClientWithResponses) WSProdSpectraRisksGetAndSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdSpectraRisksGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdSpectraRisksGetAndSubscribeResponse, error)
WSProdSpectraRisksGetAndSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdSpectraRisksGetAndSubscribeResponse
func (*ClientWithResponses) WSProdSpectraRisksGetAndSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdSpectraRisksGetAndSubscribeWithResponse(ctx context.Context, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdSpectraRisksGetAndSubscribeResponse, error)
func (*ClientWithResponses) WSProdStopOrdersSubscribeV2WithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdStopOrdersSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeV2Response, error)
WSProdStopOrdersSubscribeV2WithBodyWithResponse request with arbitrary body returning *WSProdStopOrdersSubscribeV2Response
func (*ClientWithResponses) WSProdStopOrdersSubscribeV2WithResponse ¶
func (c *ClientWithResponses) WSProdStopOrdersSubscribeV2WithResponse(ctx context.Context, body WSProdStopOrdersSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeV2Response, error)
func (*ClientWithResponses) WSProdStopOrdersSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdStopOrdersSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeResponse, error)
WSProdStopOrdersSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdStopOrdersSubscribeResponse
func (*ClientWithResponses) WSProdStopOrdersSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdStopOrdersSubscribeWithResponse(ctx context.Context, body WSProdStopOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeResponse, error)
func (*ClientWithResponses) WSProdSummariesGetAndSubscribeV2WithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdSummariesGetAndSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdSummariesGetAndSubscribeV2Response, error)
WSProdSummariesGetAndSubscribeV2WithBodyWithResponse request with arbitrary body returning *WSProdSummariesGetAndSubscribeV2Response
func (*ClientWithResponses) WSProdSummariesGetAndSubscribeV2WithResponse ¶
func (c *ClientWithResponses) WSProdSummariesGetAndSubscribeV2WithResponse(ctx context.Context, body WSProdSummariesGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdSummariesGetAndSubscribeV2Response, error)
func (*ClientWithResponses) WSProdTradesSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdTradesSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdTradesSubscribeResponse, error)
WSProdTradesSubscribeWithBodyWithResponse request with arbitrary body returning *WSProdTradesSubscribeResponse
func (*ClientWithResponses) WSProdTradesSubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdTradesSubscribeWithResponse(ctx context.Context, body WSProdTradesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdTradesSubscribeResponse, error)
func (*ClientWithResponses) WSProdUnsubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) WSProdUnsubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdUnsubscribeResponse, error)
WSProdUnsubscribeWithBodyWithResponse request with arbitrary body returning *WSProdUnsubscribeResponse
func (*ClientWithResponses) WSProdUnsubscribeWithResponse ¶
func (c *ClientWithResponses) WSProdUnsubscribeWithResponse(ctx context.Context, body WSProdUnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdUnsubscribeResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // DevUserPortfolio request DevUserPortfolioWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DevUserPortfolioResponse, error) // CommandAPIv2clientordersactionslimit request with any body CommandAPIv2clientordersactionslimitWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitResponse, error) CommandAPIv2clientordersactionslimitWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionslimitParams, body CommandAPIv2clientordersactionslimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitResponse, error) // CommandAPIv2clientordersactionslimitput request with any body CommandAPIv2clientordersactionslimitputWithBodyWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionslimitputParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitputResponse, error) CommandAPIv2clientordersactionslimitputWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionslimitputParams, body CommandAPIv2clientordersactionslimitputJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionslimitputResponse, error) // CommandAPIv2clientordersactionsmarket request with any body CommandAPIv2clientordersactionsmarketWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketResponse, error) CommandAPIv2clientordersactionsmarketWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsmarketParams, body CommandAPIv2clientordersactionsmarketJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketResponse, error) // CommandAPIv2clientordersactionsmarketput request with any body CommandAPIv2clientordersactionsmarketputWithBodyWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketputResponse, error) CommandAPIv2clientordersactionsmarketputWithResponse(ctx context.Context, orderId string, params *CommandAPIv2clientordersactionsmarketputParams, body CommandAPIv2clientordersactionsmarketputJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsmarketputResponse, error) // CommandAPIv2clientordersactionsstop request with any body CommandAPIv2clientordersactionsstopWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopResponse, error) CommandAPIv2clientordersactionsstopWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopParams, body CommandAPIv2clientordersactionsstopJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopResponse, error) // CommandAPIv2clientordersactionsstopLimit request with any body CommandAPIv2clientordersactionsstopLimitWithBodyWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitResponse, error) CommandAPIv2clientordersactionsstopLimitWithResponse(ctx context.Context, params *CommandAPIv2clientordersactionsstopLimitParams, body CommandAPIv2clientordersactionsstopLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitResponse, error) // CommandAPIv2clientordersactionsstopLimitStopOrderId request with any body CommandAPIv2clientordersactionsstopLimitStopOrderIdWithBodyWithResponse(ctx context.Context, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse, error) CommandAPIv2clientordersactionsstopLimitStopOrderIdWithResponse(ctx context.Context, stopOrderId int, params *CommandAPIv2clientordersactionsstopLimitStopOrderIdParams, body CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse, error) // V2clientordersactionsestimate request with any body V2clientordersactionsestimateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateResponse, error) V2clientordersactionsestimateWithResponse(ctx context.Context, body V2clientordersactionsestimateJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateResponse, error) // V2clientordersactionsestimateall request with any body V2clientordersactionsestimateallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateallResponse, error) V2clientordersactionsestimateallWithResponse(ctx context.Context, body V2clientordersactionsestimateallJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsestimateallResponse, error) // CommandAPIv2clientordersdelete request CommandAPIv2clientordersdeleteWithResponse(ctx context.Context, orderId int, params *CommandAPIv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*CommandAPIv2clientordersdeleteResponse, error) // CommandAPIWarpv2clientordersdelete request CommandAPIWarpv2clientordersdeleteWithResponse(ctx context.Context, orderId int, params *CommandAPIWarpv2clientordersdeleteParams, reqEditors ...RequestEditorFn) (*CommandAPIWarpv2clientordersdeleteResponse, error) // TradeStats request TradeStatsWithResponse(ctx context.Context, exchange TradeStatsParamsExchange, portfolio string, params *TradeStatsParams, reqEditors ...RequestEditorFn) (*TradeStatsResponse, error) // TradeStatsBySymbol request TradeStatsBySymbolWithResponse(ctx context.Context, exchange TradeStatsBySymbolParamsExchange, portfolio string, symbol string, params *TradeStatsBySymbolParams, reqEditors ...RequestEditorFn) (*TradeStatsBySymbolResponse, error) // Fortsrisk request FortsriskWithResponse(ctx context.Context, exchange FortsriskParamsExchange, portfolio string, params *FortsriskParams, reqEditors ...RequestEditorFn) (*FortsriskResponse, error) // DevGetAllPositions request DevGetAllPositionsWithResponse(ctx context.Context, exchange DevGetAllPositionsParamsExchange, portfolio string, params *DevGetAllPositionsParams, reqEditors ...RequestEditorFn) (*DevGetAllPositionsResponse, error) // DevGetOnePosition request DevGetOnePositionWithResponse(ctx context.Context, exchange DevGetOnePositionParamsExchange, portfolio string, symbol string, params *DevGetOnePositionParams, reqEditors ...RequestEditorFn) (*DevGetOnePositionResponse, error) // Risk request RiskWithResponse(ctx context.Context, exchange RiskParamsExchange, portfolio string, params *RiskParams, reqEditors ...RequestEditorFn) (*RiskResponse, error) // DevGetAllTrades request DevGetAllTradesWithResponse(ctx context.Context, exchange DevGetAllTradesParamsExchange, portfolio string, params *DevGetAllTradesParams, reqEditors ...RequestEditorFn) (*DevGetAllTradesResponse, error) // DevGetTickerTrades request DevGetTickerTradesWithResponse(ctx context.Context, exchange DevGetTickerTradesParamsExchange, portfolio string, ticker string, params *DevGetTickerTradesParams, reqEditors ...RequestEditorFn) (*DevGetTickerTradesResponse, error) // DevSecuritiesSearch request DevSecuritiesSearchWithResponse(ctx context.Context, params *DevSecuritiesSearchParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchResponse, error) // DevSecuritiesSearchExchange request DevSecuritiesSearchExchangeWithResponse(ctx context.Context, exchange DevSecuritiesSearchExchangeParamsExchange, params *DevSecuritiesSearchExchangeParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchExchangeResponse, error) // DevSecuritiesSearchExchangeCode request DevSecuritiesSearchExchangeCodeWithResponse(ctx context.Context, exchange DevSecuritiesSearchExchangeCodeParamsExchange, symbol string, params *DevSecuritiesSearchExchangeCodeParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchExchangeCodeResponse, error) // DevSecuritiesFutures request DevSecuritiesFuturesWithResponse(ctx context.Context, exchange DevSecuritiesFuturesParamsExchange, symbol string, params *DevSecuritiesFuturesParams, reqEditors ...RequestEditorFn) (*DevSecuritiesFuturesResponse, error) // DevSecuritiesSearchAllTrades request DevSecuritiesSearchAllTradesWithResponse(ctx context.Context, exchange DevSecuritiesSearchAllTradesParamsExchange, symbol string, params *DevSecuritiesSearchAllTradesParams, reqEditors ...RequestEditorFn) (*DevSecuritiesSearchAllTradesResponse, error) // DevQuotes request DevQuotesWithResponse(ctx context.Context, symbols string, params *DevQuotesParams, reqEditors ...RequestEditorFn) (*DevQuotesResponse, error) // ExchangePortfolioMoney request ExchangePortfolioMoneyWithResponse(ctx context.Context, exchange ExchangePortfolioMoneyParamsExchange, portfolio string, params *ExchangePortfolioMoneyParams, reqEditors ...RequestEditorFn) (*ExchangePortfolioMoneyResponse, error) // DevGetAllOrders request DevGetAllOrdersWithResponse(ctx context.Context, exchange DevGetAllOrdersParamsExchange, portfolio string, params *DevGetAllOrdersParams, reqEditors ...RequestEditorFn) (*DevGetAllOrdersResponse, error) // DevGetOneOrder request DevGetOneOrderWithResponse(ctx context.Context, exchange DevGetOneOrderParamsExchange, portfolio string, orderId int, params *DevGetOneOrderParams, reqEditors ...RequestEditorFn) (*DevGetOneOrderResponse, error) // DevGetAllStopOrders request DevGetAllStopOrdersWithResponse(ctx context.Context, exchange DevGetAllStopOrdersParamsExchange, portfolio string, params *DevGetAllStopOrdersParams, reqEditors ...RequestEditorFn) (*DevGetAllStopOrdersResponse, error) // DevGetOneStopOrder request DevGetOneStopOrderWithResponse(ctx context.Context, exchange DevGetOneStopOrderParamsExchange, portfolio string, orderId int, params *DevGetOneStopOrderParams, reqEditors ...RequestEditorFn) (*DevGetOneStopOrderResponse, error) // ExchangePortfolioSummary request ExchangePortfolioSummaryWithResponse(ctx context.Context, exchange ExchangePortfolioSummaryParamsExchange, portfolio string, params *ExchangePortfolioSummaryParams, reqEditors ...RequestEditorFn) (*ExchangePortfolioSummaryResponse, error) // DevHistory request DevHistoryWithResponse(ctx context.Context, params *DevHistoryParams, reqEditors ...RequestEditorFn) (*DevHistoryResponse, error) // DevOrderbookExchangSeccode request DevOrderbookExchangSeccodeWithResponse(ctx context.Context, exchange DevOrderbookExchangSeccodeParamsExchange, seccode string, params *DevOrderbookExchangSeccodeParams, reqEditors ...RequestEditorFn) (*DevOrderbookExchangSeccodeResponse, error) // RiskRates request RiskRatesWithResponse(ctx context.Context, params *RiskRatesParams, reqEditors ...RequestEditorFn) (*RiskRatesResponse, error) // LocalTime request LocalTimeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LocalTimeResponse, error) // V2clientordersactionsstopLoss request with any body V2clientordersactionsstopLossWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossResponse, error) V2clientordersactionsstopLossWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossParams, body V2clientordersactionsstopLossJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossResponse, error) // V2clientordersactionsstopLossOrderId request with any body V2clientordersactionsstopLossOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossOrderIdResponse, error) V2clientordersactionsstopLossOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossOrderIdParams, body V2clientordersactionsstopLossOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossOrderIdResponse, error) // V2clientordersactionsstopLossLimit request with any body V2clientordersactionsstopLossLimitWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitResponse, error) V2clientordersactionsstopLossLimitWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionsstopLossLimitParams, body V2clientordersactionsstopLossLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitResponse, error) // V2clientordersactionsstopLossLimitOrderId request with any body V2clientordersactionsstopLossLimitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitOrderIdResponse, error) V2clientordersactionsstopLossLimitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsstopLossLimitOrderIdParams, body V2clientordersactionsstopLossLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionsstopLossLimitOrderIdResponse, error) // V2clientordersactionstakeProfit request with any body V2clientordersactionstakeProfitWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitResponse, error) V2clientordersactionstakeProfitWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitParams, body V2clientordersactionstakeProfitJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitResponse, error) // V2clientordersactionstakeProfitOrderId request with any body V2clientordersactionstakeProfitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitOrderIdResponse, error) V2clientordersactionstakeProfitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitOrderIdParams, body V2clientordersactionstakeProfitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitOrderIdResponse, error) // V2clientordersactionstakeProfitLimit request with any body V2clientordersactionstakeProfitLimitWithBodyWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitResponse, error) V2clientordersactionstakeProfitLimitWithResponse(ctx context.Context, tradeServerCode string, params *V2clientordersactionstakeProfitLimitParams, body V2clientordersactionstakeProfitLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitResponse, error) // V2clientordersactionstakeProfitLimitOrderId request with any body V2clientordersactionstakeProfitLimitOrderIdWithBodyWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitOrderIdResponse, error) V2clientordersactionstakeProfitLimitOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionstakeProfitLimitOrderIdParams, body V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody, reqEditors ...RequestEditorFn) (*V2clientordersactionstakeProfitLimitOrderIdResponse, error) // V2clientordersactionsOrderId request V2clientordersactionsOrderIdWithResponse(ctx context.Context, tradeServerCode string, orderId int, params *V2clientordersactionsOrderIdParams, reqEditors ...RequestEditorFn) (*V2clientordersactionsOrderIdResponse, error) // WSProdUnsubscribe request with any body WSProdUnsubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdUnsubscribeResponse, error) WSProdUnsubscribeWithResponse(ctx context.Context, body WSProdUnsubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdUnsubscribeResponse, error) // WSProdStopOrdersSubscribe request with any body WSProdStopOrdersSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeResponse, error) WSProdStopOrdersSubscribeWithResponse(ctx context.Context, body WSProdStopOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeResponse, error) // WSProdSummariesGetAndSubscribeV2 request with any body WSProdSummariesGetAndSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdSummariesGetAndSubscribeV2Response, error) WSProdSummariesGetAndSubscribeV2WithResponse(ctx context.Context, body WSProdSummariesGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdSummariesGetAndSubscribeV2Response, error) // WSProdTradesSubscribe request with any body WSProdTradesSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdTradesSubscribeResponse, error) WSProdTradesSubscribeWithResponse(ctx context.Context, body WSProdTradesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdTradesSubscribeResponse, error) // WSProdPositionsSubscribe request with any body WSProdPositionsSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdPositionsSubscribeResponse, error) WSProdPositionsSubscribeWithResponse(ctx context.Context, body WSProdPositionsSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdPositionsSubscribeResponse, error) // WSProdQuotesSubscribe request with any body WSProdQuotesSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdQuotesSubscribeResponse, error) WSProdQuotesSubscribeWithResponse(ctx context.Context, body WSProdQuotesSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdQuotesSubscribeResponse, error) // WSProdBarsGet request with any body WSProdBarsGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdBarsGetResponse, error) WSProdBarsGetWithResponse(ctx context.Context, body WSProdBarsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdBarsGetResponse, error) // WSProdOrderBook request with any body WSProdOrderBookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdOrderBookResponse, error) WSProdOrderBookWithResponse(ctx context.Context, body WSProdOrderBookJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdOrderBookResponse, error) // WSProdRisksGetAndSubscribe request with any body WSProdRisksGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdRisksGetAndSubscribeResponse, error) WSProdRisksGetAndSubscribeWithResponse(ctx context.Context, body WSProdRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdRisksGetAndSubscribeResponse, error) // WSProdOrdersSubscribe request with any body WSProdOrdersSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdOrdersSubscribeResponse, error) WSProdOrdersSubscribeWithResponse(ctx context.Context, body WSProdOrdersSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdOrdersSubscribeResponse, error) // WSProdSpectraRisksGetAndSubscribe request with any body WSProdSpectraRisksGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdSpectraRisksGetAndSubscribeResponse, error) WSProdSpectraRisksGetAndSubscribeWithResponse(ctx context.Context, body WSProdSpectraRisksGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdSpectraRisksGetAndSubscribeResponse, error) // WSProdStopOrdersSubscribeV2 request with any body WSProdStopOrdersSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeV2Response, error) WSProdStopOrdersSubscribeV2WithResponse(ctx context.Context, body WSProdStopOrdersSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdStopOrdersSubscribeV2Response, error) // WSProdAllTradesGetAndSubscribe request with any body WSProdAllTradesGetAndSubscribeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdAllTradesGetAndSubscribeResponse, error) WSProdAllTradesGetAndSubscribeWithResponse(ctx context.Context, body WSProdAllTradesGetAndSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdAllTradesGetAndSubscribeResponse, error) // WSProdInstrumentsGetAndSubscribeV2 request with any body WSProdInstrumentsGetAndSubscribeV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WSProdInstrumentsGetAndSubscribeV2Response, error) WSProdInstrumentsGetAndSubscribeV2WithResponse(ctx context.Context, body WSProdInstrumentsGetAndSubscribeV2JSONRequestBody, reqEditors ...RequestEditorFn) (*WSProdInstrumentsGetAndSubscribeV2Response, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CommandAPIWarpv2clientordersdeleteParams ¶
type CommandAPIWarpv2clientordersdeleteParams struct { // Portfolio Идентификатор клиентского портфеля Portfolio string `form:"portfolio" json:"portfolio"` // Exchange Биржа Exchange CommandAPIWarpv2clientordersdeleteParamsExchange `form:"exchange" json:"exchange"` // Stop Является стоп-заявкой? (тестирование: всегда true) Stop CommandAPIWarpv2clientordersdeleteParamsStop `form:"stop" json:"stop"` // JsonResponse Ответ в формате JSON. В виде отдельного параметра для обратной совместимости. JsonResponse *CommandAPIWarpv2clientordersdeleteParamsJsonResponse `form:"jsonResponse,omitempty" json:"jsonResponse,omitempty"` // Format Формат возвращаемого сервером JSON Format *CommandAPIWarpv2clientordersdeleteParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
CommandAPIWarpv2clientordersdeleteParams defines parameters for CommandAPIWarpv2clientordersdelete.
type CommandAPIWarpv2clientordersdeleteParamsExchange ¶
type CommandAPIWarpv2clientordersdeleteParamsExchange string
CommandAPIWarpv2clientordersdeleteParamsExchange defines parameters for CommandAPIWarpv2clientordersdelete.
const (
CommandAPIWarpv2clientordersdeleteParamsExchangeMOEX CommandAPIWarpv2clientordersdeleteParamsExchange = "MOEX"
)
Defines values for CommandAPIWarpv2clientordersdeleteParamsExchange.
type CommandAPIWarpv2clientordersdeleteParamsFormat ¶
type CommandAPIWarpv2clientordersdeleteParamsFormat string
CommandAPIWarpv2clientordersdeleteParamsFormat defines parameters for CommandAPIWarpv2clientordersdelete.
const (
CommandAPIWarpv2clientordersdeleteParamsFormatSimple CommandAPIWarpv2clientordersdeleteParamsFormat = "Simple"
)
Defines values for CommandAPIWarpv2clientordersdeleteParamsFormat.
type CommandAPIWarpv2clientordersdeleteParamsJsonResponse ¶
type CommandAPIWarpv2clientordersdeleteParamsJsonResponse bool
CommandAPIWarpv2clientordersdeleteParamsJsonResponse defines parameters for CommandAPIWarpv2clientordersdelete.
const ( CommandAPIWarpv2clientordersdeleteParamsJsonResponseFalse CommandAPIWarpv2clientordersdeleteParamsJsonResponse = false CommandAPIWarpv2clientordersdeleteParamsJsonResponseTrue CommandAPIWarpv2clientordersdeleteParamsJsonResponse = true )
Defines values for CommandAPIWarpv2clientordersdeleteParamsJsonResponse.
type CommandAPIWarpv2clientordersdeleteParamsStop ¶
type CommandAPIWarpv2clientordersdeleteParamsStop string
CommandAPIWarpv2clientordersdeleteParamsStop defines parameters for CommandAPIWarpv2clientordersdelete.
const ( CommandAPIWarpv2clientordersdeleteParamsStopFalse CommandAPIWarpv2clientordersdeleteParamsStop = "false" CommandAPIWarpv2clientordersdeleteParamsStopTrue CommandAPIWarpv2clientordersdeleteParamsStop = "true" )
Defines values for CommandAPIWarpv2clientordersdeleteParamsStop.
type CommandAPIWarpv2clientordersdeleteResponse ¶
type CommandAPIWarpv2clientordersdeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsDeleteOrderIdCommandAPI JSON400 *struct { // Code Тип ошибки Code *string `json:"code,omitempty"` // Message Описание ошибки Message *string `json:"message,omitempty"` } }
func ParseCommandAPIWarpv2clientordersdeleteResponse ¶
func ParseCommandAPIWarpv2clientordersdeleteResponse(rsp *http.Response) (*CommandAPIWarpv2clientordersdeleteResponse, error)
ParseCommandAPIWarpv2clientordersdeleteResponse parses an HTTP response from a CommandAPIWarpv2clientordersdeleteWithResponse call
func (CommandAPIWarpv2clientordersdeleteResponse) Status ¶
func (r CommandAPIWarpv2clientordersdeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIWarpv2clientordersdeleteResponse) StatusCode ¶
func (r CommandAPIWarpv2clientordersdeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersactionslimitJSONRequestBody ¶
type CommandAPIv2clientordersactionslimitJSONRequestBody = BodyrequestOrdersActionsLimitTV
CommandAPIv2clientordersactionslimitJSONRequestBody defines body for CommandAPIv2clientordersactionslimit for application/json ContentType.
type CommandAPIv2clientordersactionslimitParams ¶
type CommandAPIv2clientordersactionslimitParams struct { // XALORREQID Через точку с запятой портфель и уникальный идентификатор запроса “portfolio;uid“. В качестве идентификатора запроса требуется уникальная случайная строка. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на предыдущий запрос с таким значением идентификатора. XALORREQID string `json:"X-ALOR-REQID"` }
CommandAPIv2clientordersactionslimitParams defines parameters for CommandAPIv2clientordersactionslimit.
type CommandAPIv2clientordersactionslimitResponse ¶
type CommandAPIv2clientordersactionslimitResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsLimitMarketCommandAPI JSON400 *OrdersActions400CommandAPI }
func ParseCommandAPIv2clientordersactionslimitResponse ¶
func ParseCommandAPIv2clientordersactionslimitResponse(rsp *http.Response) (*CommandAPIv2clientordersactionslimitResponse, error)
ParseCommandAPIv2clientordersactionslimitResponse parses an HTTP response from a CommandAPIv2clientordersactionslimitWithResponse call
func (CommandAPIv2clientordersactionslimitResponse) Status ¶
func (r CommandAPIv2clientordersactionslimitResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersactionslimitResponse) StatusCode ¶
func (r CommandAPIv2clientordersactionslimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersactionslimitputJSONRequestBody ¶
type CommandAPIv2clientordersactionslimitputJSONRequestBody = BodyrequestOrdersActionsLimitTVput
CommandAPIv2clientordersactionslimitputJSONRequestBody defines body for CommandAPIv2clientordersactionslimitput for application/json ContentType.
type CommandAPIv2clientordersactionslimitputParams ¶
type CommandAPIv2clientordersactionslimitputParams struct { // XALORREQID Через точку с запятой портфолио и уникальный идентификатор запроса “portfolio;uid“. В качестве идентификатора запроса требуется уникальная случайная строка из цифр. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
CommandAPIv2clientordersactionslimitputParams defines parameters for CommandAPIv2clientordersactionslimitput.
type CommandAPIv2clientordersactionslimitputResponse ¶
type CommandAPIv2clientordersactionslimitputResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsLimitMarket }
func ParseCommandAPIv2clientordersactionslimitputResponse ¶
func ParseCommandAPIv2clientordersactionslimitputResponse(rsp *http.Response) (*CommandAPIv2clientordersactionslimitputResponse, error)
ParseCommandAPIv2clientordersactionslimitputResponse parses an HTTP response from a CommandAPIv2clientordersactionslimitputWithResponse call
func (CommandAPIv2clientordersactionslimitputResponse) Status ¶
func (r CommandAPIv2clientordersactionslimitputResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersactionslimitputResponse) StatusCode ¶
func (r CommandAPIv2clientordersactionslimitputResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersactionsmarketJSONRequestBody ¶
type CommandAPIv2clientordersactionsmarketJSONRequestBody = BodyrequestOrdersActionsMarketTV
CommandAPIv2clientordersactionsmarketJSONRequestBody defines body for CommandAPIv2clientordersactionsmarket for application/json ContentType.
type CommandAPIv2clientordersactionsmarketParams ¶
type CommandAPIv2clientordersactionsmarketParams struct { // XALORREQID Через точку с запятой портфель и уникальный идентификатор запроса “portfolio;uid“. В качестве идентификатора запроса требуется уникальная случайная строка. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на предыдущий запрос с таким значением идентификатора. XALORREQID string `json:"X-ALOR-REQID"` }
CommandAPIv2clientordersactionsmarketParams defines parameters for CommandAPIv2clientordersactionsmarket.
type CommandAPIv2clientordersactionsmarketResponse ¶
type CommandAPIv2clientordersactionsmarketResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsLimitMarketCommandAPI JSON400 *OrdersActions400CommandAPI }
func ParseCommandAPIv2clientordersactionsmarketResponse ¶
func ParseCommandAPIv2clientordersactionsmarketResponse(rsp *http.Response) (*CommandAPIv2clientordersactionsmarketResponse, error)
ParseCommandAPIv2clientordersactionsmarketResponse parses an HTTP response from a CommandAPIv2clientordersactionsmarketWithResponse call
func (CommandAPIv2clientordersactionsmarketResponse) Status ¶
func (r CommandAPIv2clientordersactionsmarketResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersactionsmarketResponse) StatusCode ¶
func (r CommandAPIv2clientordersactionsmarketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersactionsmarketputJSONRequestBody ¶
type CommandAPIv2clientordersactionsmarketputJSONRequestBody = BodyrequestOrdersActionsMarketTVput
CommandAPIv2clientordersactionsmarketputJSONRequestBody defines body for CommandAPIv2clientordersactionsmarketput for application/json ContentType.
type CommandAPIv2clientordersactionsmarketputParams ¶
type CommandAPIv2clientordersactionsmarketputParams struct { // XALORREQID Через точку с запятой портфолио и уникальный идентификатор запроса “portfolio;uid“. В качестве идентификатора запроса требуется уникальная случайная строка из цифр. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
CommandAPIv2clientordersactionsmarketputParams defines parameters for CommandAPIv2clientordersactionsmarketput.
type CommandAPIv2clientordersactionsmarketputResponse ¶
type CommandAPIv2clientordersactionsmarketputResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsLimitMarket }
func ParseCommandAPIv2clientordersactionsmarketputResponse ¶
func ParseCommandAPIv2clientordersactionsmarketputResponse(rsp *http.Response) (*CommandAPIv2clientordersactionsmarketputResponse, error)
ParseCommandAPIv2clientordersactionsmarketputResponse parses an HTTP response from a CommandAPIv2clientordersactionsmarketputWithResponse call
func (CommandAPIv2clientordersactionsmarketputResponse) Status ¶
func (r CommandAPIv2clientordersactionsmarketputResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersactionsmarketputResponse) StatusCode ¶
func (r CommandAPIv2clientordersactionsmarketputResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersactionsstopJSONRequestBody ¶
type CommandAPIv2clientordersactionsstopJSONRequestBody = BodyrequestOrdersActionsStopMarketTVWarp
CommandAPIv2clientordersactionsstopJSONRequestBody defines body for CommandAPIv2clientordersactionsstop for application/json ContentType.
type CommandAPIv2clientordersactionsstopLimitJSONRequestBody ¶
type CommandAPIv2clientordersactionsstopLimitJSONRequestBody = BodyrequestOrdersActionsStopLimitTVWarp
CommandAPIv2clientordersactionsstopLimitJSONRequestBody defines body for CommandAPIv2clientordersactionsstopLimit for application/json ContentType.
type CommandAPIv2clientordersactionsstopLimitParams ¶
type CommandAPIv2clientordersactionsstopLimitParams struct { // XALORREQID Через точку с запятой портфель и уникальный идентификатор запроса “portfolio;uid“. В качестве идентификатора запроса требуется уникальная случайная строка. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на предыдущий запрос с таким значением идентификатора. XALORREQID string `json:"X-ALOR-REQID"` }
CommandAPIv2clientordersactionsstopLimitParams defines parameters for CommandAPIv2clientordersactionsstopLimit.
type CommandAPIv2clientordersactionsstopLimitResponse ¶
type CommandAPIv2clientordersactionsstopLimitResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsLimitMarketCommandAPI JSON400 *OrdersActions400CommandAPI }
func ParseCommandAPIv2clientordersactionsstopLimitResponse ¶
func ParseCommandAPIv2clientordersactionsstopLimitResponse(rsp *http.Response) (*CommandAPIv2clientordersactionsstopLimitResponse, error)
ParseCommandAPIv2clientordersactionsstopLimitResponse parses an HTTP response from a CommandAPIv2clientordersactionsstopLimitWithResponse call
func (CommandAPIv2clientordersactionsstopLimitResponse) Status ¶
func (r CommandAPIv2clientordersactionsstopLimitResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersactionsstopLimitResponse) StatusCode ¶
func (r CommandAPIv2clientordersactionsstopLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody ¶
type CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody = BodyrequestOrdersActionsStopLimitTVWarp
CommandAPIv2clientordersactionsstopLimitStopOrderIdJSONRequestBody defines body for CommandAPIv2clientordersactionsstopLimitStopOrderId for application/json ContentType.
type CommandAPIv2clientordersactionsstopLimitStopOrderIdParams ¶
type CommandAPIv2clientordersactionsstopLimitStopOrderIdParams struct { // XALORREQID Через точку с запятой портфель и уникальный идентификатор запроса “portfolio;uid“. В качестве идентификатора запроса требуется уникальная случайная строка. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на предыдущий запрос с таким значением идентификатора. XALORREQID string `json:"X-ALOR-REQID"` }
CommandAPIv2clientordersactionsstopLimitStopOrderIdParams defines parameters for CommandAPIv2clientordersactionsstopLimitStopOrderId.
type CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse ¶
type CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsLimitMarketCommandAPI JSON400 *OrdersActions400CommandAPI }
func ParseCommandAPIv2clientordersactionsstopLimitStopOrderIdResponse ¶
func ParseCommandAPIv2clientordersactionsstopLimitStopOrderIdResponse(rsp *http.Response) (*CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse, error)
ParseCommandAPIv2clientordersactionsstopLimitStopOrderIdResponse parses an HTTP response from a CommandAPIv2clientordersactionsstopLimitStopOrderIdWithResponse call
func (CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse) Status ¶
func (r CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse) StatusCode ¶
func (r CommandAPIv2clientordersactionsstopLimitStopOrderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersactionsstopParams ¶
type CommandAPIv2clientordersactionsstopParams struct { // XALORREQID Через точку с запятой портфель и уникальный идентификатор запроса “portfolio;uid“. В качестве идентификатора запроса требуется уникальная случайная строка. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на предыдущий запрос с таким значением идентификатора. XALORREQID string `json:"X-ALOR-REQID"` }
CommandAPIv2clientordersactionsstopParams defines parameters for CommandAPIv2clientordersactionsstop.
type CommandAPIv2clientordersactionsstopResponse ¶
type CommandAPIv2clientordersactionsstopResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsLimitMarketCommandAPI JSON400 *OrdersActions400CommandAPI }
func ParseCommandAPIv2clientordersactionsstopResponse ¶
func ParseCommandAPIv2clientordersactionsstopResponse(rsp *http.Response) (*CommandAPIv2clientordersactionsstopResponse, error)
ParseCommandAPIv2clientordersactionsstopResponse parses an HTTP response from a CommandAPIv2clientordersactionsstopWithResponse call
func (CommandAPIv2clientordersactionsstopResponse) Status ¶
func (r CommandAPIv2clientordersactionsstopResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersactionsstopResponse) StatusCode ¶
func (r CommandAPIv2clientordersactionsstopResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CommandAPIv2clientordersdeleteParams ¶
type CommandAPIv2clientordersdeleteParams struct { // Portfolio Идентификатор клиентского портфеля Portfolio string `form:"portfolio" json:"portfolio"` // Exchange Биржа Exchange CommandAPIv2clientordersdeleteParamsExchange `form:"exchange" json:"exchange"` // Stop Является стоп-заявкой? Stop CommandAPIv2clientordersdeleteParamsStop `form:"stop" json:"stop"` // JsonResponse Ответ в формате JSON. В виде отдельного параметра для обратной совместимости. JsonResponse *CommandAPIv2clientordersdeleteParamsJsonResponse `form:"jsonResponse,omitempty" json:"jsonResponse,omitempty"` // Format Формат возвращаемого сервером JSON Format *CommandAPIv2clientordersdeleteParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
CommandAPIv2clientordersdeleteParams defines parameters for CommandAPIv2clientordersdelete.
type CommandAPIv2clientordersdeleteParamsExchange ¶
type CommandAPIv2clientordersdeleteParamsExchange string
CommandAPIv2clientordersdeleteParamsExchange defines parameters for CommandAPIv2clientordersdelete.
const (
CommandAPIv2clientordersdeleteParamsExchangeMOEX CommandAPIv2clientordersdeleteParamsExchange = "MOEX"
)
Defines values for CommandAPIv2clientordersdeleteParamsExchange.
type CommandAPIv2clientordersdeleteParamsFormat ¶
type CommandAPIv2clientordersdeleteParamsFormat string
CommandAPIv2clientordersdeleteParamsFormat defines parameters for CommandAPIv2clientordersdelete.
const (
CommandAPIv2clientordersdeleteParamsFormatSimple CommandAPIv2clientordersdeleteParamsFormat = "Simple"
)
Defines values for CommandAPIv2clientordersdeleteParamsFormat.
type CommandAPIv2clientordersdeleteParamsJsonResponse ¶
type CommandAPIv2clientordersdeleteParamsJsonResponse bool
CommandAPIv2clientordersdeleteParamsJsonResponse defines parameters for CommandAPIv2clientordersdelete.
const ( CommandAPIv2clientordersdeleteParamsJsonResponseFalse CommandAPIv2clientordersdeleteParamsJsonResponse = false CommandAPIv2clientordersdeleteParamsJsonResponseTrue CommandAPIv2clientordersdeleteParamsJsonResponse = true )
Defines values for CommandAPIv2clientordersdeleteParamsJsonResponse.
type CommandAPIv2clientordersdeleteParamsStop ¶
type CommandAPIv2clientordersdeleteParamsStop string
CommandAPIv2clientordersdeleteParamsStop defines parameters for CommandAPIv2clientordersdelete.
const ( CommandAPIv2clientordersdeleteParamsStopFalse CommandAPIv2clientordersdeleteParamsStop = "false" CommandAPIv2clientordersdeleteParamsStopTrue CommandAPIv2clientordersdeleteParamsStop = "true" )
Defines values for CommandAPIv2clientordersdeleteParamsStop.
type CommandAPIv2clientordersdeleteResponse ¶
type CommandAPIv2clientordersdeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsDeleteOrderIdCommandAPI JSON400 *struct { // Code Тип ошибки Code *string `json:"code,omitempty"` // Message Описание ошибки Message *string `json:"message,omitempty"` } }
func ParseCommandAPIv2clientordersdeleteResponse ¶
func ParseCommandAPIv2clientordersdeleteResponse(rsp *http.Response) (*CommandAPIv2clientordersdeleteResponse, error)
ParseCommandAPIv2clientordersdeleteResponse parses an HTTP response from a CommandAPIv2clientordersdeleteWithResponse call
func (CommandAPIv2clientordersdeleteResponse) Status ¶
func (r CommandAPIv2clientordersdeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CommandAPIv2clientordersdeleteResponse) StatusCode ¶
func (r CommandAPIv2clientordersdeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetAllOrdersParams ¶
type DevGetAllOrdersParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetAllOrdersParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevGetAllOrdersParams defines parameters for DevGetAllOrders.
type DevGetAllOrdersParamsExchange ¶
type DevGetAllOrdersParamsExchange string
DevGetAllOrdersParamsExchange defines parameters for DevGetAllOrders.
const ( DevGetAllOrdersParamsExchangeMOEX DevGetAllOrdersParamsExchange = "MOEX" DevGetAllOrdersParamsExchangeSPBX DevGetAllOrdersParamsExchange = "SPBX" )
Defines values for DevGetAllOrdersParamsExchange.
type DevGetAllOrdersParamsFormat ¶
type DevGetAllOrdersParamsFormat string
DevGetAllOrdersParamsFormat defines parameters for DevGetAllOrders.
const (
DevGetAllOrdersParamsFormatSimple DevGetAllOrdersParamsFormat = "Simple"
)
Defines values for DevGetAllOrdersParamsFormat.
type DevGetAllOrdersResponse ¶
func ParseDevGetAllOrdersResponse ¶
func ParseDevGetAllOrdersResponse(rsp *http.Response) (*DevGetAllOrdersResponse, error)
ParseDevGetAllOrdersResponse parses an HTTP response from a DevGetAllOrdersWithResponse call
func (DevGetAllOrdersResponse) Status ¶
func (r DevGetAllOrdersResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetAllOrdersResponse) StatusCode ¶
func (r DevGetAllOrdersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetAllPositionsParams ¶
type DevGetAllPositionsParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetAllPositionsParamsFormat `form:"format,omitempty" json:"format,omitempty"` // WithoutCurrency Исключить из ответа все денежные инструменты, по умолчанию false WithoutCurrency *DevGetAllPositionsParamsWithoutCurrency `form:"withoutCurrency,omitempty" json:"withoutCurrency,omitempty"` }
DevGetAllPositionsParams defines parameters for DevGetAllPositions.
type DevGetAllPositionsParamsExchange ¶
type DevGetAllPositionsParamsExchange string
DevGetAllPositionsParamsExchange defines parameters for DevGetAllPositions.
const ( DevGetAllPositionsParamsExchangeMOEX DevGetAllPositionsParamsExchange = "MOEX" DevGetAllPositionsParamsExchangeSPBX DevGetAllPositionsParamsExchange = "SPBX" )
Defines values for DevGetAllPositionsParamsExchange.
type DevGetAllPositionsParamsFormat ¶
type DevGetAllPositionsParamsFormat string
DevGetAllPositionsParamsFormat defines parameters for DevGetAllPositions.
const (
DevGetAllPositionsParamsFormatSimple DevGetAllPositionsParamsFormat = "Simple"
)
Defines values for DevGetAllPositionsParamsFormat.
type DevGetAllPositionsParamsWithoutCurrency ¶
type DevGetAllPositionsParamsWithoutCurrency bool
DevGetAllPositionsParamsWithoutCurrency defines parameters for DevGetAllPositions.
const ( DevGetAllPositionsParamsWithoutCurrencyFalse DevGetAllPositionsParamsWithoutCurrency = false DevGetAllPositionsParamsWithoutCurrencyTrue DevGetAllPositionsParamsWithoutCurrency = true )
Defines values for DevGetAllPositionsParamsWithoutCurrency.
type DevGetAllPositionsResponse ¶
type DevGetAllPositionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Positions }
func ParseDevGetAllPositionsResponse ¶
func ParseDevGetAllPositionsResponse(rsp *http.Response) (*DevGetAllPositionsResponse, error)
ParseDevGetAllPositionsResponse parses an HTTP response from a DevGetAllPositionsWithResponse call
func (DevGetAllPositionsResponse) Status ¶
func (r DevGetAllPositionsResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetAllPositionsResponse) StatusCode ¶
func (r DevGetAllPositionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetAllStopOrdersParams ¶
type DevGetAllStopOrdersParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetAllStopOrdersParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevGetAllStopOrdersParams defines parameters for DevGetAllStopOrders.
type DevGetAllStopOrdersParamsExchange ¶
type DevGetAllStopOrdersParamsExchange string
DevGetAllStopOrdersParamsExchange defines parameters for DevGetAllStopOrders.
const ( DevGetAllStopOrdersParamsExchangeMOEX DevGetAllStopOrdersParamsExchange = "MOEX" DevGetAllStopOrdersParamsExchangeSPBX DevGetAllStopOrdersParamsExchange = "SPBX" )
Defines values for DevGetAllStopOrdersParamsExchange.
type DevGetAllStopOrdersParamsFormat ¶
type DevGetAllStopOrdersParamsFormat string
DevGetAllStopOrdersParamsFormat defines parameters for DevGetAllStopOrders.
const (
DevGetAllStopOrdersParamsFormatSimple DevGetAllStopOrdersParamsFormat = "Simple"
)
Defines values for DevGetAllStopOrdersParamsFormat.
type DevGetAllStopOrdersResponse ¶
type DevGetAllStopOrdersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StopordersWarp }
func ParseDevGetAllStopOrdersResponse ¶
func ParseDevGetAllStopOrdersResponse(rsp *http.Response) (*DevGetAllStopOrdersResponse, error)
ParseDevGetAllStopOrdersResponse parses an HTTP response from a DevGetAllStopOrdersWithResponse call
func (DevGetAllStopOrdersResponse) Status ¶
func (r DevGetAllStopOrdersResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetAllStopOrdersResponse) StatusCode ¶
func (r DevGetAllStopOrdersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetAllTradesParams ¶
type DevGetAllTradesParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetAllTradesParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevGetAllTradesParams defines parameters for DevGetAllTrades.
type DevGetAllTradesParamsExchange ¶
type DevGetAllTradesParamsExchange string
DevGetAllTradesParamsExchange defines parameters for DevGetAllTrades.
const ( DevGetAllTradesParamsExchangeMOEX DevGetAllTradesParamsExchange = "MOEX" DevGetAllTradesParamsExchangeSPBX DevGetAllTradesParamsExchange = "SPBX" )
Defines values for DevGetAllTradesParamsExchange.
type DevGetAllTradesParamsFormat ¶
type DevGetAllTradesParamsFormat string
DevGetAllTradesParamsFormat defines parameters for DevGetAllTrades.
const (
DevGetAllTradesParamsFormatSimple DevGetAllTradesParamsFormat = "Simple"
)
Defines values for DevGetAllTradesParamsFormat.
type DevGetAllTradesResponse ¶
func ParseDevGetAllTradesResponse ¶
func ParseDevGetAllTradesResponse(rsp *http.Response) (*DevGetAllTradesResponse, error)
ParseDevGetAllTradesResponse parses an HTTP response from a DevGetAllTradesWithResponse call
func (DevGetAllTradesResponse) Status ¶
func (r DevGetAllTradesResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetAllTradesResponse) StatusCode ¶
func (r DevGetAllTradesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetOneOrderParams ¶
type DevGetOneOrderParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetOneOrderParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevGetOneOrderParams defines parameters for DevGetOneOrder.
type DevGetOneOrderParamsExchange ¶
type DevGetOneOrderParamsExchange string
DevGetOneOrderParamsExchange defines parameters for DevGetOneOrder.
const ( DevGetOneOrderParamsExchangeMOEX DevGetOneOrderParamsExchange = "MOEX" DevGetOneOrderParamsExchangeSPBX DevGetOneOrderParamsExchange = "SPBX" )
Defines values for DevGetOneOrderParamsExchange.
type DevGetOneOrderParamsFormat ¶
type DevGetOneOrderParamsFormat string
DevGetOneOrderParamsFormat defines parameters for DevGetOneOrder.
const (
DevGetOneOrderParamsFormatSimple DevGetOneOrderParamsFormat = "Simple"
)
Defines values for DevGetOneOrderParamsFormat.
type DevGetOneOrderResponse ¶
func ParseDevGetOneOrderResponse ¶
func ParseDevGetOneOrderResponse(rsp *http.Response) (*DevGetOneOrderResponse, error)
ParseDevGetOneOrderResponse parses an HTTP response from a DevGetOneOrderWithResponse call
func (DevGetOneOrderResponse) Status ¶
func (r DevGetOneOrderResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetOneOrderResponse) StatusCode ¶
func (r DevGetOneOrderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetOnePositionParams ¶
type DevGetOnePositionParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetOnePositionParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevGetOnePositionParams defines parameters for DevGetOnePosition.
type DevGetOnePositionParamsExchange ¶
type DevGetOnePositionParamsExchange string
DevGetOnePositionParamsExchange defines parameters for DevGetOnePosition.
const ( DevGetOnePositionParamsExchangeMOEX DevGetOnePositionParamsExchange = "MOEX" DevGetOnePositionParamsExchangeSPBX DevGetOnePositionParamsExchange = "SPBX" )
Defines values for DevGetOnePositionParamsExchange.
type DevGetOnePositionParamsFormat ¶
type DevGetOnePositionParamsFormat string
DevGetOnePositionParamsFormat defines parameters for DevGetOnePosition.
const (
DevGetOnePositionParamsFormatSimple DevGetOnePositionParamsFormat = "Simple"
)
Defines values for DevGetOnePositionParamsFormat.
type DevGetOnePositionResponse ¶
func ParseDevGetOnePositionResponse ¶
func ParseDevGetOnePositionResponse(rsp *http.Response) (*DevGetOnePositionResponse, error)
ParseDevGetOnePositionResponse parses an HTTP response from a DevGetOnePositionWithResponse call
func (DevGetOnePositionResponse) Status ¶
func (r DevGetOnePositionResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetOnePositionResponse) StatusCode ¶
func (r DevGetOnePositionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetOneStopOrderParams ¶
type DevGetOneStopOrderParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetOneStopOrderParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevGetOneStopOrderParams defines parameters for DevGetOneStopOrder.
type DevGetOneStopOrderParamsExchange ¶
type DevGetOneStopOrderParamsExchange string
DevGetOneStopOrderParamsExchange defines parameters for DevGetOneStopOrder.
const ( DevGetOneStopOrderParamsExchangeMOEX DevGetOneStopOrderParamsExchange = "MOEX" DevGetOneStopOrderParamsExchangeSPBX DevGetOneStopOrderParamsExchange = "SPBX" )
Defines values for DevGetOneStopOrderParamsExchange.
type DevGetOneStopOrderParamsFormat ¶
type DevGetOneStopOrderParamsFormat string
DevGetOneStopOrderParamsFormat defines parameters for DevGetOneStopOrder.
const (
DevGetOneStopOrderParamsFormatSimple DevGetOneStopOrderParamsFormat = "Simple"
)
Defines values for DevGetOneStopOrderParamsFormat.
type DevGetOneStopOrderResponse ¶
type DevGetOneStopOrderResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StoporderWarp }
func ParseDevGetOneStopOrderResponse ¶
func ParseDevGetOneStopOrderResponse(rsp *http.Response) (*DevGetOneStopOrderResponse, error)
ParseDevGetOneStopOrderResponse parses an HTTP response from a DevGetOneStopOrderWithResponse call
func (DevGetOneStopOrderResponse) Status ¶
func (r DevGetOneStopOrderResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetOneStopOrderResponse) StatusCode ¶
func (r DevGetOneStopOrderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevGetTickerTradesParams ¶
type DevGetTickerTradesParams struct { // Format Формат возвращаемого сервером JSON Format *DevGetTickerTradesParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevGetTickerTradesParams defines parameters for DevGetTickerTrades.
type DevGetTickerTradesParamsExchange ¶
type DevGetTickerTradesParamsExchange string
DevGetTickerTradesParamsExchange defines parameters for DevGetTickerTrades.
const ( DevGetTickerTradesParamsExchangeMOEX DevGetTickerTradesParamsExchange = "MOEX" DevGetTickerTradesParamsExchangeSPBX DevGetTickerTradesParamsExchange = "SPBX" )
Defines values for DevGetTickerTradesParamsExchange.
type DevGetTickerTradesParamsFormat ¶
type DevGetTickerTradesParamsFormat string
DevGetTickerTradesParamsFormat defines parameters for DevGetTickerTrades.
const (
DevGetTickerTradesParamsFormatSimple DevGetTickerTradesParamsFormat = "Simple"
)
Defines values for DevGetTickerTradesParamsFormat.
type DevGetTickerTradesResponse ¶
func ParseDevGetTickerTradesResponse ¶
func ParseDevGetTickerTradesResponse(rsp *http.Response) (*DevGetTickerTradesResponse, error)
ParseDevGetTickerTradesResponse parses an HTTP response from a DevGetTickerTradesWithResponse call
func (DevGetTickerTradesResponse) Status ¶
func (r DevGetTickerTradesResponse) Status() string
Status returns HTTPResponse.Status
func (DevGetTickerTradesResponse) StatusCode ¶
func (r DevGetTickerTradesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevHistoryParams ¶
type DevHistoryParams struct { // Symbol Тикер (Код финансового инструмента) Symbol string `form:"symbol" json:"symbol"` // Exchange Биржа Exchange DevHistoryParamsExchange `form:"exchange" json:"exchange"` // Tf Длительность таймфрейма в секундах или код ("D" - дни, "W" - недели, "M" - месяцы, "Y" - годы) Tf DevHistoryParamsTf `form:"tf" json:"tf"` // From Начало отрезка времени (UTC) в формате Unix Time Seconds From int64 `form:"from" json:"from"` // To Конец отрезка времени (UTC) в формате Unix Time Seconds To int64 `form:"to" json:"to"` // Untraded Флаг для поиска данных по устаревшим или экспирированным инструментам. При использовании требуется точное совпадение тикера Untraded *DevHistoryParamsUntraded `form:"untraded,omitempty" json:"untraded,omitempty"` // Format Формат возвращаемого сервером JSON Format *DevHistoryParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevHistoryParams defines parameters for DevHistory.
type DevHistoryParamsExchange ¶
type DevHistoryParamsExchange string
DevHistoryParamsExchange defines parameters for DevHistory.
const ( DevHistoryParamsExchangeMOEX DevHistoryParamsExchange = "MOEX" DevHistoryParamsExchangeSPBX DevHistoryParamsExchange = "SPBX" )
Defines values for DevHistoryParamsExchange.
type DevHistoryParamsFormat ¶
type DevHistoryParamsFormat string
DevHistoryParamsFormat defines parameters for DevHistory.
const (
DevHistoryParamsFormatSimple DevHistoryParamsFormat = "Simple"
)
Defines values for DevHistoryParamsFormat.
type DevHistoryParamsTf ¶
type DevHistoryParamsTf string
DevHistoryParamsTf defines parameters for DevHistory.
const ( DevHistoryParamsTfD DevHistoryParamsTf = "D" DevHistoryParamsTfM DevHistoryParamsTf = "M" DevHistoryParamsTfN15 DevHistoryParamsTf = "15" DevHistoryParamsTfN300 DevHistoryParamsTf = "300" DevHistoryParamsTfN3600 DevHistoryParamsTf = "3600" DevHistoryParamsTfN60 DevHistoryParamsTf = "60" DevHistoryParamsTfW DevHistoryParamsTf = "W" DevHistoryParamsTfY DevHistoryParamsTf = "Y" )
Defines values for DevHistoryParamsTf.
type DevHistoryParamsUntraded ¶
type DevHistoryParamsUntraded bool
DevHistoryParamsUntraded defines parameters for DevHistory.
const ( DevHistoryParamsUntradedFalse DevHistoryParamsUntraded = false DevHistoryParamsUntradedTrue DevHistoryParamsUntraded = true )
Defines values for DevHistoryParamsUntraded.
type DevHistoryResponse ¶
func ParseDevHistoryResponse ¶
func ParseDevHistoryResponse(rsp *http.Response) (*DevHistoryResponse, error)
ParseDevHistoryResponse parses an HTTP response from a DevHistoryWithResponse call
func (DevHistoryResponse) Status ¶
func (r DevHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (DevHistoryResponse) StatusCode ¶
func (r DevHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevOrderbookExchangSeccodeParams ¶
type DevOrderbookExchangSeccodeParams struct { // Depth Глубина стакана. Стандартное и максимальное значение - 20 (20х20). Depth *int `form:"depth,omitempty" json:"depth,omitempty"` // Format Формат возвращаемого сервером JSON Format *DevOrderbookExchangSeccodeParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevOrderbookExchangSeccodeParams defines parameters for DevOrderbookExchangSeccode.
type DevOrderbookExchangSeccodeParamsExchange ¶
type DevOrderbookExchangSeccodeParamsExchange string
DevOrderbookExchangSeccodeParamsExchange defines parameters for DevOrderbookExchangSeccode.
const ( DevOrderbookExchangSeccodeParamsExchangeMOEX DevOrderbookExchangSeccodeParamsExchange = "MOEX" DevOrderbookExchangSeccodeParamsExchangeSPBX DevOrderbookExchangSeccodeParamsExchange = "SPBX" )
Defines values for DevOrderbookExchangSeccodeParamsExchange.
type DevOrderbookExchangSeccodeParamsFormat ¶
type DevOrderbookExchangSeccodeParamsFormat string
DevOrderbookExchangSeccodeParamsFormat defines parameters for DevOrderbookExchangSeccode.
const (
Simple DevOrderbookExchangSeccodeParamsFormat = "Simple"
)
Defines values for DevOrderbookExchangSeccodeParamsFormat.
type DevOrderbookExchangSeccodeResponse ¶
type DevOrderbookExchangSeccodeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Orderbook }
func ParseDevOrderbookExchangSeccodeResponse ¶
func ParseDevOrderbookExchangSeccodeResponse(rsp *http.Response) (*DevOrderbookExchangSeccodeResponse, error)
ParseDevOrderbookExchangSeccodeResponse parses an HTTP response from a DevOrderbookExchangSeccodeWithResponse call
func (DevOrderbookExchangSeccodeResponse) Status ¶
func (r DevOrderbookExchangSeccodeResponse) Status() string
Status returns HTTPResponse.Status
func (DevOrderbookExchangSeccodeResponse) StatusCode ¶
func (r DevOrderbookExchangSeccodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevQuotesParams ¶
type DevQuotesParams struct { // Format Формат возвращаемого сервером JSON Format *DevQuotesParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevQuotesParams defines parameters for DevQuotes.
type DevQuotesParamsFormat ¶
type DevQuotesParamsFormat string
DevQuotesParamsFormat defines parameters for DevQuotes.
const (
DevQuotesParamsFormatSimple DevQuotesParamsFormat = "Simple"
)
Defines values for DevQuotesParamsFormat.
type DevQuotesResponse ¶
func ParseDevQuotesResponse ¶
func ParseDevQuotesResponse(rsp *http.Response) (*DevQuotesResponse, error)
ParseDevQuotesResponse parses an HTTP response from a DevQuotesWithResponse call
func (DevQuotesResponse) Status ¶
func (r DevQuotesResponse) Status() string
Status returns HTTPResponse.Status
func (DevQuotesResponse) StatusCode ¶
func (r DevQuotesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevSecuritiesFuturesParams ¶
type DevSecuritiesFuturesParams struct { // Format Формат возвращаемого сервером JSON Format *DevSecuritiesFuturesParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevSecuritiesFuturesParams defines parameters for DevSecuritiesFutures.
type DevSecuritiesFuturesParamsExchange ¶
type DevSecuritiesFuturesParamsExchange string
DevSecuritiesFuturesParamsExchange defines parameters for DevSecuritiesFutures.
const (
DevSecuritiesFuturesParamsExchangeMOEX DevSecuritiesFuturesParamsExchange = "MOEX"
)
Defines values for DevSecuritiesFuturesParamsExchange.
type DevSecuritiesFuturesParamsFormat ¶
type DevSecuritiesFuturesParamsFormat string
DevSecuritiesFuturesParamsFormat defines parameters for DevSecuritiesFutures.
const (
DevSecuritiesFuturesParamsFormatSimple DevSecuritiesFuturesParamsFormat = "Simple"
)
Defines values for DevSecuritiesFuturesParamsFormat.
type DevSecuritiesFuturesResponse ¶
type DevSecuritiesFuturesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SymbolFutures }
func ParseDevSecuritiesFuturesResponse ¶
func ParseDevSecuritiesFuturesResponse(rsp *http.Response) (*DevSecuritiesFuturesResponse, error)
ParseDevSecuritiesFuturesResponse parses an HTTP response from a DevSecuritiesFuturesWithResponse call
func (DevSecuritiesFuturesResponse) Status ¶
func (r DevSecuritiesFuturesResponse) Status() string
Status returns HTTPResponse.Status
func (DevSecuritiesFuturesResponse) StatusCode ¶
func (r DevSecuritiesFuturesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevSecuritiesSearchAllTradesParams ¶
type DevSecuritiesSearchAllTradesParams struct { // Format Формат возвращаемого сервером JSON Format *DevSecuritiesSearchAllTradesParamsFormat `form:"format,omitempty" json:"format,omitempty"` // From Начало отрезка времени (UTC) для фильтра результатов в формате Unix Time Seconds From *int64 `form:"from,omitempty" json:"from,omitempty"` // To Конец отрезка времени (UTC) для фильтра результатов в формате Unix Time Seconds To *int64 `form:"to,omitempty" json:"to,omitempty"` // Take Количество загружаемых элементов Take *int `form:"take,omitempty" json:"take,omitempty"` // Descending Флаг загрузки элементов с конца списка Descending *bool `form:"descending,omitempty" json:"descending,omitempty"` // IncludeVirtualTrades Флаг загрузки виртуальных (индикативных) сделок, полученных из заявок на питерской бирже IncludeVirtualTrades *bool `form:"includeVirtualTrades,omitempty" json:"includeVirtualTrades,omitempty"` }
DevSecuritiesSearchAllTradesParams defines parameters for DevSecuritiesSearchAllTrades.
type DevSecuritiesSearchAllTradesParamsExchange ¶
type DevSecuritiesSearchAllTradesParamsExchange string
DevSecuritiesSearchAllTradesParamsExchange defines parameters for DevSecuritiesSearchAllTrades.
const ( DevSecuritiesSearchAllTradesParamsExchangeMOEX DevSecuritiesSearchAllTradesParamsExchange = "MOEX" DevSecuritiesSearchAllTradesParamsExchangeSPBX DevSecuritiesSearchAllTradesParamsExchange = "SPBX" )
Defines values for DevSecuritiesSearchAllTradesParamsExchange.
type DevSecuritiesSearchAllTradesParamsFormat ¶
type DevSecuritiesSearchAllTradesParamsFormat string
DevSecuritiesSearchAllTradesParamsFormat defines parameters for DevSecuritiesSearchAllTrades.
const (
DevSecuritiesSearchAllTradesParamsFormatSimple DevSecuritiesSearchAllTradesParamsFormat = "Simple"
)
Defines values for DevSecuritiesSearchAllTradesParamsFormat.
type DevSecuritiesSearchAllTradesResponse ¶
type DevSecuritiesSearchAllTradesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Alltrades }
func ParseDevSecuritiesSearchAllTradesResponse ¶
func ParseDevSecuritiesSearchAllTradesResponse(rsp *http.Response) (*DevSecuritiesSearchAllTradesResponse, error)
ParseDevSecuritiesSearchAllTradesResponse parses an HTTP response from a DevSecuritiesSearchAllTradesWithResponse call
func (DevSecuritiesSearchAllTradesResponse) Status ¶
func (r DevSecuritiesSearchAllTradesResponse) Status() string
Status returns HTTPResponse.Status
func (DevSecuritiesSearchAllTradesResponse) StatusCode ¶
func (r DevSecuritiesSearchAllTradesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevSecuritiesSearchExchangeCodeParams ¶
type DevSecuritiesSearchExchangeCodeParams struct { // Format Формат возвращаемого сервером JSON Format *DevSecuritiesSearchExchangeCodeParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevSecuritiesSearchExchangeCodeParams defines parameters for DevSecuritiesSearchExchangeCode.
type DevSecuritiesSearchExchangeCodeParamsExchange ¶
type DevSecuritiesSearchExchangeCodeParamsExchange string
DevSecuritiesSearchExchangeCodeParamsExchange defines parameters for DevSecuritiesSearchExchangeCode.
const ( DevSecuritiesSearchExchangeCodeParamsExchangeMOEX DevSecuritiesSearchExchangeCodeParamsExchange = "MOEX" DevSecuritiesSearchExchangeCodeParamsExchangeSPBX DevSecuritiesSearchExchangeCodeParamsExchange = "SPBX" )
Defines values for DevSecuritiesSearchExchangeCodeParamsExchange.
type DevSecuritiesSearchExchangeCodeParamsFormat ¶
type DevSecuritiesSearchExchangeCodeParamsFormat string
DevSecuritiesSearchExchangeCodeParamsFormat defines parameters for DevSecuritiesSearchExchangeCode.
const (
DevSecuritiesSearchExchangeCodeParamsFormatSimple DevSecuritiesSearchExchangeCodeParamsFormat = "Simple"
)
Defines values for DevSecuritiesSearchExchangeCodeParamsFormat.
type DevSecuritiesSearchExchangeCodeResponse ¶
type DevSecuritiesSearchExchangeCodeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Security }
func ParseDevSecuritiesSearchExchangeCodeResponse ¶
func ParseDevSecuritiesSearchExchangeCodeResponse(rsp *http.Response) (*DevSecuritiesSearchExchangeCodeResponse, error)
ParseDevSecuritiesSearchExchangeCodeResponse parses an HTTP response from a DevSecuritiesSearchExchangeCodeWithResponse call
func (DevSecuritiesSearchExchangeCodeResponse) Status ¶
func (r DevSecuritiesSearchExchangeCodeResponse) Status() string
Status returns HTTPResponse.Status
func (DevSecuritiesSearchExchangeCodeResponse) StatusCode ¶
func (r DevSecuritiesSearchExchangeCodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevSecuritiesSearchExchangeParams ¶
type DevSecuritiesSearchExchangeParams struct { // Format Формат возвращаемого сервером JSON Format *DevSecuritiesSearchExchangeParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevSecuritiesSearchExchangeParams defines parameters for DevSecuritiesSearchExchange.
type DevSecuritiesSearchExchangeParamsExchange ¶
type DevSecuritiesSearchExchangeParamsExchange string
DevSecuritiesSearchExchangeParamsExchange defines parameters for DevSecuritiesSearchExchange.
const ( DevSecuritiesSearchExchangeParamsExchangeMOEX DevSecuritiesSearchExchangeParamsExchange = "MOEX" DevSecuritiesSearchExchangeParamsExchangeSPBX DevSecuritiesSearchExchangeParamsExchange = "SPBX" )
Defines values for DevSecuritiesSearchExchangeParamsExchange.
type DevSecuritiesSearchExchangeParamsFormat ¶
type DevSecuritiesSearchExchangeParamsFormat string
DevSecuritiesSearchExchangeParamsFormat defines parameters for DevSecuritiesSearchExchange.
const (
DevSecuritiesSearchExchangeParamsFormatSimple DevSecuritiesSearchExchangeParamsFormat = "Simple"
)
Defines values for DevSecuritiesSearchExchangeParamsFormat.
type DevSecuritiesSearchExchangeResponse ¶
type DevSecuritiesSearchExchangeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Securities }
func ParseDevSecuritiesSearchExchangeResponse ¶
func ParseDevSecuritiesSearchExchangeResponse(rsp *http.Response) (*DevSecuritiesSearchExchangeResponse, error)
ParseDevSecuritiesSearchExchangeResponse parses an HTTP response from a DevSecuritiesSearchExchangeWithResponse call
func (DevSecuritiesSearchExchangeResponse) Status ¶
func (r DevSecuritiesSearchExchangeResponse) Status() string
Status returns HTTPResponse.Status
func (DevSecuritiesSearchExchangeResponse) StatusCode ¶
func (r DevSecuritiesSearchExchangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevSecuritiesSearchParams ¶
type DevSecuritiesSearchParams struct { // Query Тикер (Код финансового инструмента) Query string `form:"query" json:"query"` // Limit Ограничение на количество выдаваемых результатов поиска Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"` // Offset Смещение начала выборки (для пагинации) Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"` // Sector Рынок на бирже Sector *DevSecuritiesSearchParamsSector `form:"sector,omitempty" json:"sector,omitempty"` // Cficode Код финансового инструмента по стандарту ISO 10962 Cficode *string `form:"cficode,omitempty" json:"cficode,omitempty"` // Exchange Биржа Exchange *DevSecuritiesSearchParamsExchange `form:"exchange,omitempty" json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *DevSecuritiesSearchParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
DevSecuritiesSearchParams defines parameters for DevSecuritiesSearch.
type DevSecuritiesSearchParamsExchange ¶
type DevSecuritiesSearchParamsExchange string
DevSecuritiesSearchParamsExchange defines parameters for DevSecuritiesSearch.
const ( DevSecuritiesSearchParamsExchangeMOEX DevSecuritiesSearchParamsExchange = "MOEX" DevSecuritiesSearchParamsExchangeSPBX DevSecuritiesSearchParamsExchange = "SPBX" )
Defines values for DevSecuritiesSearchParamsExchange.
type DevSecuritiesSearchParamsFormat ¶
type DevSecuritiesSearchParamsFormat string
DevSecuritiesSearchParamsFormat defines parameters for DevSecuritiesSearch.
const (
DevSecuritiesSearchParamsFormatSimple DevSecuritiesSearchParamsFormat = "Simple"
)
Defines values for DevSecuritiesSearchParamsFormat.
type DevSecuritiesSearchParamsSector ¶
type DevSecuritiesSearchParamsSector string
DevSecuritiesSearchParamsSector defines parameters for DevSecuritiesSearch.
const ( CURR DevSecuritiesSearchParamsSector = "CURR" FOND DevSecuritiesSearchParamsSector = "FOND" FORTS DevSecuritiesSearchParamsSector = "FORTS" )
Defines values for DevSecuritiesSearchParamsSector.
type DevSecuritiesSearchResponse ¶
type DevSecuritiesSearchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Securities }
func ParseDevSecuritiesSearchResponse ¶
func ParseDevSecuritiesSearchResponse(rsp *http.Response) (*DevSecuritiesSearchResponse, error)
ParseDevSecuritiesSearchResponse parses an HTTP response from a DevSecuritiesSearchWithResponse call
func (DevSecuritiesSearchResponse) Status ¶
func (r DevSecuritiesSearchResponse) Status() string
Status returns HTTPResponse.Status
func (DevSecuritiesSearchResponse) StatusCode ¶
func (r DevSecuritiesSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevUserPortfolioResponse ¶
type DevUserPortfolioResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServersInfo }
func ParseDevUserPortfolioResponse ¶
func ParseDevUserPortfolioResponse(rsp *http.Response) (*DevUserPortfolioResponse, error)
ParseDevUserPortfolioResponse parses an HTTP response from a DevUserPortfolioWithResponse call
func (DevUserPortfolioResponse) Status ¶
func (r DevUserPortfolioResponse) Status() string
Status returns HTTPResponse.Status
func (DevUserPortfolioResponse) StatusCode ¶
func (r DevUserPortfolioResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EstimateOrderModel ¶
type EstimateOrderModel struct { // Commission Комиссия Commission *float64 `json:"commission,omitempty"` // Exchange Биржа Exchange *string `json:"exchange"` // NotMarginQuantityToBuy Количество в лотах к покупке без плеча NotMarginQuantityToBuy *float64 `json:"notMarginQuantityToBuy,omitempty"` // NotMarginQuantityToSell Количество в лотах к продаже без плеча NotMarginQuantityToSell *float64 `json:"notMarginQuantityToSell,omitempty"` // OrderEvaluation Стоимость заявки OrderEvaluation *float64 `json:"orderEvaluation,omitempty"` // Portfolio Портфель клиента Portfolio *string `json:"portfolio"` // QuantityToBuy Количество в лотах к покупке с плечом QuantityToBuy *float64 `json:"quantityToBuy,omitempty"` // QuantityToSell Количество в лотах к продаже с плечом QuantityToSell *float64 `json:"quantityToSell,omitempty"` // Ticker Инструмент Ticker *string `json:"ticker"` }
EstimateOrderModel Модель результата оценки стоимости и количества в лотах
type EstimateOrderViewModel ¶
type EstimateOrderViewModel struct { // Board Режим торгов (борд) Board *string `json:"board"` // Exchange Биржа Exchange *string `json:"exchange"` // LotQuantity Количество лотов LotQuantity *int64 `json:"lotQuantity,omitempty"` // Portfolio Портфель клиента Portfolio *string `json:"portfolio"` // Price Цена Price *float64 `json:"price,omitempty"` // Ticker Инструмент Ticker *string `json:"ticker"` }
EstimateOrderViewModel Модель заявки для оценки стоимости и количества в лотах
type ExchangePortfolioMoneyParams ¶
type ExchangePortfolioMoneyParams struct { // Format Формат возвращаемого сервером JSON Format *ExchangePortfolioMoneyParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
ExchangePortfolioMoneyParams defines parameters for ExchangePortfolioMoney.
type ExchangePortfolioMoneyParamsExchange ¶
type ExchangePortfolioMoneyParamsExchange string
ExchangePortfolioMoneyParamsExchange defines parameters for ExchangePortfolioMoney.
const ( ExchangePortfolioMoneyParamsExchangeMOEX ExchangePortfolioMoneyParamsExchange = "MOEX" ExchangePortfolioMoneyParamsExchangeSPBX ExchangePortfolioMoneyParamsExchange = "SPBX" )
Defines values for ExchangePortfolioMoneyParamsExchange.
type ExchangePortfolioMoneyParamsFormat ¶
type ExchangePortfolioMoneyParamsFormat string
ExchangePortfolioMoneyParamsFormat defines parameters for ExchangePortfolioMoney.
const (
ExchangePortfolioMoneyParamsFormatSimple ExchangePortfolioMoneyParamsFormat = "Simple"
)
Defines values for ExchangePortfolioMoneyParamsFormat.
type ExchangePortfolioMoneyResponse ¶
type ExchangePortfolioMoneyResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Money }
func ParseExchangePortfolioMoneyResponse ¶
func ParseExchangePortfolioMoneyResponse(rsp *http.Response) (*ExchangePortfolioMoneyResponse, error)
ParseExchangePortfolioMoneyResponse parses an HTTP response from a ExchangePortfolioMoneyWithResponse call
func (ExchangePortfolioMoneyResponse) Status ¶
func (r ExchangePortfolioMoneyResponse) Status() string
Status returns HTTPResponse.Status
func (ExchangePortfolioMoneyResponse) StatusCode ¶
func (r ExchangePortfolioMoneyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExchangePortfolioSummaryParams ¶
type ExchangePortfolioSummaryParams struct { // Format Формат возвращаемого сервером JSON Format *ExchangePortfolioSummaryParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
ExchangePortfolioSummaryParams defines parameters for ExchangePortfolioSummary.
type ExchangePortfolioSummaryParamsExchange ¶
type ExchangePortfolioSummaryParamsExchange string
ExchangePortfolioSummaryParamsExchange defines parameters for ExchangePortfolioSummary.
const ( ExchangePortfolioSummaryParamsExchangeMOEX ExchangePortfolioSummaryParamsExchange = "MOEX" ExchangePortfolioSummaryParamsExchangeSPBX ExchangePortfolioSummaryParamsExchange = "SPBX" )
Defines values for ExchangePortfolioSummaryParamsExchange.
type ExchangePortfolioSummaryParamsFormat ¶
type ExchangePortfolioSummaryParamsFormat string
ExchangePortfolioSummaryParamsFormat defines parameters for ExchangePortfolioSummary.
const (
ExchangePortfolioSummaryParamsFormatSimple ExchangePortfolioSummaryParamsFormat = "Simple"
)
Defines values for ExchangePortfolioSummaryParamsFormat.
type ExchangePortfolioSummaryResponse ¶
type ExchangePortfolioSummaryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Summary }
func ParseExchangePortfolioSummaryResponse ¶
func ParseExchangePortfolioSummaryResponse(rsp *http.Response) (*ExchangePortfolioSummaryResponse, error)
ParseExchangePortfolioSummaryResponse parses an HTTP response from a ExchangePortfolioSummaryWithResponse call
func (ExchangePortfolioSummaryResponse) Status ¶
func (r ExchangePortfolioSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (ExchangePortfolioSummaryResponse) StatusCode ¶
func (r ExchangePortfolioSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Fortsrisk ¶
type Fortsrisk struct { // BalanceMoney Сальдо денежных торговых переводов за текущую сессию (поле будет удалено в будущих обновлениях) BalanceMoney *float64 `json:"balanceMoney,omitempty"` // Fee Списанный сбор Fee *float64 `json:"fee,omitempty"` // IsLimitsSet Наличие установленных денежного и залогового лимитов IsLimitsSet *bool `json:"isLimitsSet,omitempty"` // MoneyAmount Общее количество рублей и дисконтированных в рубли залогов MoneyAmount *float64 `json:"moneyAmount,omitempty"` // MoneyBlocked Средства, заблокированные под ГО MoneyBlocked *float64 `json:"moneyBlocked,omitempty"` // MoneyFree Свободные средства. Сумма рублей и залогов, дисконтированных в рубли, доступная для открытия позиций. (MoneyFree = MoneyAmount + VmInterCl – MoneyBlocked – VmReserve – Fee) MoneyFree *float64 `json:"moneyFree,omitempty"` // MoneyOld Общее количество рублей и дисконтированных в рубли залогов на начало сессии MoneyOld *float64 `json:"moneyOld,omitempty"` // MoneyPledgeAmount Сумма залогов, дисконтированных в рубли MoneyPledgeAmount *float64 `json:"moneyPledgeAmount,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // VarMargin VmCurrentPositions + VmInterCl VarMargin *float64 `json:"varMargin,omitempty"` // VmCurrentPositions Сагрегированная вармаржа по текущим позициям VmCurrentPositions *float64 `json:"vmCurrentPositions,omitempty"` // VmInterCl Вариационная маржа, списанная или полученная в пром. клиринг VmInterCl *float64 `json:"vmInterCl,omitempty"` }
Fortsrisk defines model for fortsrisk.
type FortsriskParams ¶
type FortsriskParams struct { // Format Формат возвращаемого сервером JSON Format *FortsriskParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
FortsriskParams defines parameters for Fortsrisk.
type FortsriskParamsExchange ¶
type FortsriskParamsExchange string
FortsriskParamsExchange defines parameters for Fortsrisk.
const (
FortsriskParamsExchangeMOEX FortsriskParamsExchange = "MOEX"
)
Defines values for FortsriskParamsExchange.
type FortsriskParamsFormat ¶
type FortsriskParamsFormat string
FortsriskParamsFormat defines parameters for Fortsrisk.
const (
FortsriskParamsFormatSimple FortsriskParamsFormat = "Simple"
)
Defines values for FortsriskParamsFormat.
type FortsriskResponse ¶
func ParseFortsriskResponse ¶
func ParseFortsriskResponse(rsp *http.Response) (*FortsriskResponse, error)
ParseFortsriskResponse parses an HTTP response from a FortsriskWithResponse call
func (FortsriskResponse) Status ¶
func (r FortsriskResponse) Status() string
Status returns HTTPResponse.Status
func (FortsriskResponse) StatusCode ¶
func (r FortsriskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type History ¶
type History struct { History *[]HistoryObject `json:"history,omitempty"` // Next Время (UTC) начала следующей свечи Next *int `json:"next"` // Prev Время (UTC) начала предыдущей свечи Prev *int `json:"prev"` }
History defines model for history.
type HistoryObject ¶
type HistoryObject struct { // Close Цена при закрытии Close *float64 `json:"close,omitempty"` // High Максимальная цена High *float64 `json:"high,omitempty"` // Low Миниимальная цена Low *float64 `json:"low,omitempty"` // Open Цена при открытии Open *float64 `json:"open,omitempty"` // Time Время (UTC) (Unix time seconds) Time *int64 `json:"time,omitempty"` // Volume Объём Volume *int `json:"volume,omitempty"` }
HistoryObject defines model for history_object.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type LocalTimeResponse ¶
func ParseLocalTimeResponse ¶
func ParseLocalTimeResponse(rsp *http.Response) (*LocalTimeResponse, error)
ParseLocalTimeResponse parses an HTTP response from a LocalTimeWithResponse call
func (LocalTimeResponse) Status ¶
func (r LocalTimeResponse) Status() string
Status returns HTTPResponse.Status
func (LocalTimeResponse) StatusCode ¶
func (r LocalTimeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Money ¶
type Money struct { // Cash Количество средств Cash *float64 `json:"cash,omitempty"` // Changes Изменения Changes *float64 `json:"changes,omitempty"` // Comission Комиссия (в рублях) Comission *float64 `json:"comission,omitempty"` // Free Свободные средства Free *float64 `json:"free,omitempty"` // Open Средства на момент открытия Open *float64 `json:"open,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *float64 `json:"portfolio,omitempty"` // Profit Прибыль Profit *float64 `json:"profit,omitempty"` // ProfitRate Прибыль в процентах ProfitRate *float64 `json:"profitRate,omitempty"` // Used Количество использованных Used *float64 `json:"used,omitempty"` }
Money defines model for money.
type Order ¶
type Order struct { // BrokerSymbol Пара биржа-Тикер BrokerSymbol *string `json:"brokerSymbol,omitempty"` // EndTime Время завершения (UTC) EndTime *string `json:"endTime,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Existing True - для данных из "снепшота", то есть из истории. False - для новых событий Existing *bool `json:"existing,omitempty"` // Filled Количество исполненных (лоты) Filled *float64 `json:"filled,omitempty"` // FilledQtyBatch Количество исполненных (лоты) FilledQtyBatch *float64 `json:"filledQtyBatch,omitempty"` // FilledQtyUnits Количество исполненных (штуки) FilledQtyUnits *float64 `json:"filledQtyUnits,omitempty"` // Id Уникальный идентификатор заявки Id *string `json:"id,omitempty"` // Price Цена Price *float64 `json:"price,omitempty"` // Qty Количество (лоты) Qty *float64 `json:"qty,omitempty"` // QtyBatch Количество (лоты) QtyBatch *float64 `json:"qtyBatch,omitempty"` // QtyUnits Количество (штуки) QtyUnits *float64 `json:"qtyUnits,omitempty"` // Side Направление сделки. Купля либо продажа. Side *OrderSide `json:"side,omitempty"` // Status Статус исполнения. На исполнении, исполнена, отменена, отклонена. Status *OrderStatus `json:"status,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` // TransTime Время выставления (UTC) TransTime *string `json:"transTime,omitempty"` // Type Тип заявки. Лимитная либо рыночная. Type *OrderType `json:"type,omitempty"` }
Order defines model for order.
type OrderStatus ¶
type OrderStatus string
OrderStatus Статус исполнения. На исполнении, исполнена, отменена, отклонена.
const ( OrderStatusCanceled OrderStatus = "canceled" OrderStatusFilled OrderStatus = "filled" OrderStatusRejected OrderStatus = "rejected" OrderStatusWorking OrderStatus = "working" )
Defines values for OrderStatus.
type Orderbook ¶
type Orderbook struct { // Asks Аски Asks *[]OrderbookAsk `json:"asks,omitempty"` // Bids Биды Bids *[]OrderbookBid `json:"bids,omitempty"` // Existing True - для данных из "снепшота", то есть из истории. False - для новых событий Existing *bool `json:"existing,omitempty"` // MsTimestamp Время(UTC) в формате Unix Time Milliseconds MsTimestamp *int64 `json:"ms_timestamp,omitempty"` }
Orderbook Данные о запрашиваемом "биржевом стакане"
type OrderbookAsk ¶
type OrderbookAsk struct { // Price Цена Price *float64 `json:"price,omitempty"` // Volume Объём Volume *int `json:"volume,omitempty"` }
OrderbookAsk defines model for orderbook_ask.
type OrderbookBid ¶
type OrderbookBid struct { // Price Цена Price *float64 `json:"price,omitempty"` // Volume Объём Volume *int `json:"volume,omitempty"` }
OrderbookBid defines model for orderbook_bid.
type OrdersActions400 ¶
type OrdersActions400 struct { // Message Вид ответа для случая отвергнутой заявки. Message *string `json:"message,omitempty"` }
OrdersActions400 defines model for orders_actions_400.
type OrdersActions400CommandAPI ¶
type OrdersActions400CommandAPI struct { // Message Вид ответа для неуникального X-ALOR-REQID Message *string `json:"message,omitempty"` OldResponse *struct { Body *string `json:"body,omitempty"` StatusCode *int `json:"statusCode,omitempty"` } `json:"oldResponse,omitempty"` }
OrdersActions400CommandAPI defines model for orders_actions_400_CommandAPI.
type OrdersActionsDeleteOrderId ¶
type OrdersActionsDeleteOrderId = string
OrdersActionsDeleteOrderId Вид ответа на успешно выполненный запрос.
type OrdersActionsDeleteOrderIdCommandAPI ¶
type OrdersActionsDeleteOrderIdCommandAPI = string
OrdersActionsDeleteOrderIdCommandAPI Вид ответа на успешно выполненный запрос.
type OrdersActionsLimitMarket ¶
type OrdersActionsLimitMarket struct { // Message Вид ответа на успешно выполненный запрос. Message *string `json:"message,omitempty"` // OrderNumber Идентификатор заявки OrderNumber *int `json:"orderNumber,omitempty"` }
OrdersActionsLimitMarket defines model for orders_actions_LimitMarket.
type OrdersActionsLimitMarketCommandAPI ¶
type OrdersActionsLimitMarketCommandAPI struct { // Message Вид ответа на успешно выполненный запрос. Message *string `json:"message,omitempty"` // OrderNumber Идентификатор заявки OrderNumber *string `json:"orderNumber,omitempty"` }
OrdersActionsLimitMarketCommandAPI defines model for orders_actions_LimitMarket_CommandAPI.
type OrdersActionsStopProfitLoss ¶
type OrdersActionsStopProfitLoss struct { // Message Вид ответа на успешно выполненный запрос. Message *string `json:"message,omitempty"` // OrderNumber Идентификатор заявки OrderNumber *int `json:"orderNumber,omitempty"` }
OrdersActionsStopProfitLoss defines model for orders_actions_StopProfitLoss.
type Position ¶
type Position struct { // AvgPrice Средняя цена AvgPrice *float64 `json:"avgPrice,omitempty"` // BrokerSymbol Пара Биржа:Тикер BrokerSymbol *string `json:"brokerSymbol,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // IsCurrency True для валютных остатков (денег), false - для торговых инструментов IsCurrency *bool `json:"isCurrency,omitempty"` // LotSize Размер лота LotSize *float64 `json:"lotSize,omitempty"` // Open Агрегированное количество на момент открытия (начала торгов) (штуки) Open *float64 `json:"open,omitempty"` // OpenQtyBatch Агрегированное количество на момент открытия (начала торгов) (лоты) OpenQtyBatch *float64 `json:"openQtyBatch,omitempty"` // OpenUnits Количество открытых позиций на момент открытия (начала торгов) OpenUnits *float64 `json:"openUnits,omitempty"` // Qty Агрегированное количество (лоты) Qty *float64 `json:"qty,omitempty"` // QtyBatch Агрегированное количество TFuture QtyBatch *float64 `json:"qtyBatch,omitempty"` // QtyT0 Агрегированное количество T0 (штуки) QtyT0 *float64 `json:"qtyT0,omitempty"` // QtyT0Batch Агрегированное количество T0 (лоты) QtyT0Batch *float64 `json:"qtyT0Batch,omitempty"` // QtyT1 Агрегированное количество T1 (штуки) QtyT1 *float64 `json:"qtyT1,omitempty"` // QtyT1Batch Агрегированное количество T1 (лоты) QtyT1Batch *float64 `json:"qtyT1Batch,omitempty"` // QtyT2 Агрегированное количество T2 (штуки) QtyT2 *float64 `json:"qtyT2,omitempty"` // QtyT2Batch Агрегированное количество T2 (лоты) QtyT2Batch *float64 `json:"qtyT2Batch,omitempty"` // QtyTFuture Количество (штуки) QtyTFuture *float64 `json:"qtyTFuture,omitempty"` // QtyTFutureBatch Агрегированное количество TFuture (лоты) QtyTFutureBatch *float64 `json:"qtyTFutureBatch,omitempty"` // QtyUnits Количество (штуки) QtyUnits *float64 `json:"qtyUnits,omitempty"` // ShortName Короткое наименование ShortName *string `json:"shortName,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` UnrealisedPl *float64 `json:"unrealisedPl,omitempty"` }
Position defines model for position.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Risk ¶
type Risk struct { // ClientType Тип клиента ClientType *string `json:"clientType,omitempty"` // CorrectedMargin Скорректированная маржа CorrectedMargin *float64 `json:"correctedMargin,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // HasForbiddenPositions Имеются ли запретные позиции HasForbiddenPositions *bool `json:"hasForbiddenPositions,omitempty"` // HasNegativeQuantity Имеются ли отрицательные количества HasNegativeQuantity *bool `json:"hasNegativeQuantity,omitempty"` // InitialMargin Начальная маржа InitialMargin *float64 `json:"initialMargin,omitempty"` // MinimalMargin Минимальная маржа MinimalMargin *float64 `json:"minimalMargin,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // PortfolioEvaluation Общая стоимость портфеля PortfolioEvaluation *float64 `json:"portfolioEvaluation,omitempty"` // PortfolioLiquidationValue Стоимость ликвидного портфеля PortfolioLiquidationValue *float64 `json:"portfolioLiquidationValue,omitempty"` // RiskCategoryId Категория риска RiskCategoryId *int `json:"riskCategoryId,omitempty"` // RiskCoverageRatioOne НПР1 RiskCoverageRatioOne *float64 `json:"riskCoverageRatioOne,omitempty"` // RiskCoverageRatioTwo НПР2 RiskCoverageRatioTwo *float64 `json:"riskCoverageRatioTwo,omitempty"` }
Risk defines model for risk.
type RiskParams ¶
type RiskParams struct { // Format Формат возвращаемого сервером JSON Format *RiskParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
RiskParams defines parameters for Risk.
type RiskParamsExchange ¶
type RiskParamsExchange string
RiskParamsExchange defines parameters for Risk.
const ( RiskParamsExchangeMOEX RiskParamsExchange = "MOEX" RiskParamsExchangeSPBX RiskParamsExchange = "SPBX" )
Defines values for RiskParamsExchange.
type RiskParamsFormat ¶
type RiskParamsFormat string
RiskParamsFormat defines parameters for Risk.
const (
RiskParamsFormatSimple RiskParamsFormat = "Simple"
)
Defines values for RiskParamsFormat.
type RiskRate ¶
type RiskRate struct { // AssetType Тип актива AssetType *string `json:"assetType,omitempty"` // CreatedAt Время добавления ставки риска CreatedAt *string `json:"createdAt,omitempty"` // CurrencyCode Код валюты расчетов CurrencyCode *string `json:"currencyCode,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Id Id записи Id *float64 `json:"id,omitempty"` // Instrument Инструмент Instrument *string `json:"instrument,omitempty"` // IsDirect Является ли зависимость инструмента к базовому активу прямой или обратной. IsDirect *bool `json:"isDirect,omitempty"` // IsMarginal Доступен ли данный инструмент в маржу. Т.е. есть ли он в списке маржинальных инструментов брокера. IsMarginal *bool `json:"isMarginal,omitempty"` // IsShortSellPossible Разрешен ли шорт по бумаге. True если да. IsShortSellPossible *bool `json:"isShortSellPossible,omitempty"` // Isin ISIN инструмента. Если есть. Isin *string `json:"isin,omitempty"` // RateDown Ставка риска понижения цены. Применяется для лонгов. RateDown *float64 `json:"rateDown,omitempty"` // RateSymmetric Симметричная ставка риска. Приведена для справки, не используется RateSymmetric *float64 `json:"rateSymmetric,omitempty"` // RateUp Ставка риска повышения цены. Применяется для шортов. RateUp *float64 `json:"rateUp,omitempty"` // RiskCategoryId Id категории риска RiskCategoryId *float64 `json:"riskCategoryId,omitempty"` // SecurityRiskCategoryId Id категории бумаги для категоризации. SecurityRiskCategoryId *float64 `json:"securityRiskCategoryId"` // SetName Чаще всего будет null. Поле показывает к множеству инструменту принадлежит данный инструмент. SetName *string `json:"setName"` // SetRate Ставка риска множества SetRate *float64 `json:"setRate,omitempty"` // UnderlyingAsset Чаще всего будет null. Поле показывает к какому базовому инструменту принадлежит данный инструмент. UnderlyingAsset *string `json:"underlyingAsset"` // UpdatedAt Время последнего обновления ставки риска UpdatedAt *string `json:"updatedAt,omitempty"` }
RiskRate defines model for riskRate.
type RiskRates ¶
type RiskRates struct { // List Ставка риска List *[]RiskRate `json:"list,omitempty"` // Total Количество записей Total *int `json:"total,omitempty"` }
RiskRates defines model for riskRates.
type RiskRatesParams ¶
type RiskRatesParams struct { // Exchange Биржа Exchange RiskRatesParamsExchange `form:"exchange" json:"exchange"` // Ticker Тикер\код инструмента, ISIN для облигаций Ticker *string `form:"ticker,omitempty" json:"ticker,omitempty"` // RiskCategoryId Id вашей (или той которая интересует) категории риска. Можно получить из запроса информации по клиенту или через кабинет клиента RiskCategoryId *string `form:"riskCategoryId,omitempty" json:"riskCategoryId,omitempty"` // Search Часть Тикера\кода инструмента, ISIN для облигаций. Вернет все совпадения, начинающиеся с Search *string `form:"search,omitempty" json:"search,omitempty"` }
RiskRatesParams defines parameters for RiskRates.
type RiskRatesParamsExchange ¶
type RiskRatesParamsExchange string
RiskRatesParamsExchange defines parameters for RiskRates.
const ( MOEX RiskRatesParamsExchange = "MOEX" SPBX RiskRatesParamsExchange = "SPBX" )
Defines values for RiskRatesParamsExchange.
type RiskRatesResponse ¶
func ParseRiskRatesResponse ¶
func ParseRiskRatesResponse(rsp *http.Response) (*RiskRatesResponse, error)
ParseRiskRatesResponse parses an HTTP response from a RiskRatesWithResponse call
func (RiskRatesResponse) Status ¶
func (r RiskRatesResponse) Status() string
Status returns HTTPResponse.Status
func (RiskRatesResponse) StatusCode ¶
func (r RiskRatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RiskResponse ¶
func ParseRiskResponse ¶
func ParseRiskResponse(rsp *http.Response) (*RiskResponse, error)
ParseRiskResponse parses an HTTP response from a RiskWithResponse call
func (RiskResponse) Status ¶
func (r RiskResponse) Status() string
Status returns HTTPResponse.Status
func (RiskResponse) StatusCode ¶
func (r RiskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Security ¶
type Security struct { // ISIN Идентификатор ценной бумаги согласно стандарту ISO 6166 ISIN *string `json:"ISIN"` // Cancellation Дата и время (UTC) окончания действия Cancellation *string `json:"cancellation,omitempty"` // CfiCode Тип ценной бумаги согласно стандарту ISO 10962 CfiCode *string `json:"cfiCode,omitempty"` // ComplexProductCategory Требуемая категория для осуществления торговли инструментом ComplexProductCategory *string `json:"complexProductCategory"` // Currency Валюта Currency *string `json:"currency,omitempty"` // Description Краткое описание инструмента Description *string `json:"description,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Facevalue Номинальная стоимость Facevalue *float64 `json:"facevalue,omitempty"` // Lotsize Размер лота Lotsize *float64 `json:"lotsize,omitempty"` // Marginbuy Цена маржинальной покупки (заемные средства) Marginbuy *float64 `json:"marginbuy,omitempty"` // Marginrate Отношение цены маржинальной покупки к цене последней сделки Marginrate *float64 `json:"marginrate,omitempty"` // Marginsell Цена маржинальной продажи (заемные средства) Marginsell *float64 `json:"marginsell,omitempty"` // Minstep Минимальный шаг цены Minstep *float64 `json:"minstep,omitempty"` // PriceMax Максимальная цена PriceMax *float64 `json:"priceMax,omitempty"` // PriceMin Минимальная цена PriceMin *float64 `json:"priceMin,omitempty"` // Pricestep Минимальный шаг цены, выраженный в рублях Pricestep *float64 `json:"pricestep,omitempty"` // PrimaryBoard Код режима торгов PrimaryBoard *string `json:"primary_board,omitempty"` Rating *float64 `json:"rating,omitempty"` // Shortname Краткое наименование инструмента Shortname *string `json:"shortname,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` TheorPrice *float64 `json:"theorPrice,omitempty"` TheorPriceLimit *float64 `json:"theorPriceLimit,omitempty"` // TradingStatus Торговый статус инструмента TradingStatus *int `json:"tradingStatus,omitempty"` // TradingStatusInfo Описание торгового статуса инструмента TradingStatusInfo *string `json:"tradingStatusInfo"` // Type Тип Type *string `json:"type,omitempty"` // Volatility Волативность Volatility *float64 `json:"volatility,omitempty"` Yield *string `json:"yield"` }
Security defines model for security.
type ServersInfo ¶
type ServersInfo struct { ВалютныйРынок *[]struct { // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` Tks *string `json:"tks,omitempty"` TradeServersInfo *[]struct { AccountNum *string `json:"accountNum"` Addresses *string `json:"addresses"` Contracts *string `json:"contracts,omitempty"` Market *string `json:"market"` // TradeServerCode Код сервера TradeServerCode *string `json:"tradeServerCode,omitempty"` Type *string `json:"type"` } `json:"tradeServersInfo,omitempty"` } `json:"Валютный Рынок,omitempty"` СрочныйРынок *[]struct { // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` Tks *string `json:"tks,omitempty"` TradeServersInfo *[]struct { AccountNum *string `json:"accountNum"` Addresses *string `json:"addresses"` Contracts *string `json:"contracts,omitempty"` Market *string `json:"market"` // TradeServerCode Код сервера TradeServerCode *string `json:"tradeServerCode,omitempty"` Type *string `json:"type"` } `json:"tradeServersInfo,omitempty"` } `json:"Срочный Рынок,omitempty"` ФондовыйРынок *[]struct { // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` Tks *string `json:"tks,omitempty"` TradeServersInfo *[]struct { AccountNum *string `json:"accountNum"` Addresses *string `json:"addresses"` Contracts *string `json:"contracts,omitempty"` Market *string `json:"market"` // TradeServerCode Код сервера TradeServerCode *string `json:"tradeServerCode,omitempty"` Type *string `json:"type"` } `json:"tradeServersInfo,omitempty"` } `json:"Фондовый Рынок,omitempty"` }
ServersInfo defines model for servers_info.
type Stoporder ¶
type Stoporder struct { // BrokerSymbol Пара Биржа:Тикер BrokerSymbol *string `json:"brokerSymbol,omitempty"` // EndTime Время действия заявки (UTC) EndTime *string `json:"endTime,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Existing True - для данных из "снепшота", то есть из истории. False - для новых событий Existing *bool `json:"existing,omitempty"` // FilledQtyBatch Количество исполненных FilledQtyBatch *float64 `json:"filledQtyBatch,omitempty"` // Id Уникальный идентификатор стоп-заявки Id *float64 `json:"id,omitempty"` // Price Цена(Лимит) Price *float64 `json:"price,omitempty"` // Qty Количество Qty *float64 `json:"qty,omitempty"` // Side Направление сделки. Купля либо продажа. Side *StoporderSide `json:"side,omitempty"` // Status Статус исполнения. На исполнении, исполнена, отменена, отклонена. Status *StoporderStatus `json:"status,omitempty"` // StopPrice Условная цена StopPrice *float64 `json:"stopPrice,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` // Type Тип заявки Type *StoporderType `json:"type,omitempty"` }
Stoporder defines model for stoporder.
type StoporderSide ¶
type StoporderSide string
StoporderSide Направление сделки. Купля либо продажа.
const ( StoporderSideBuy StoporderSide = "buy" StoporderSideSell StoporderSide = "sell" )
Defines values for StoporderSide.
type StoporderStatus ¶
type StoporderStatus string
StoporderStatus Статус исполнения. На исполнении, исполнена, отменена, отклонена.
const ( StoporderStatusCanceled StoporderStatus = "canceled" StoporderStatusFilled StoporderStatus = "filled" StoporderStatusRejected StoporderStatus = "rejected" StoporderStatusWorking StoporderStatus = "working" )
Defines values for StoporderStatus.
type StoporderType ¶
type StoporderType string
StoporderType Тип заявки
const ( StoporderTypeStop StoporderType = "stop" StoporderTypeStoplimit StoporderType = "stoplimit" )
Defines values for StoporderType.
type StoporderWarp ¶
type StoporderWarp struct { // AvgPrice Средняя цена AvgPrice *float64 `json:"avg_price,omitempty"` // BrokerSymbol Пара Биржа:Тикер BrokerSymbol *string `json:"brokerSymbol,omitempty"` // Condition Условие срабатывания more/less Condition *string `json:"condition,omitempty"` // EndTime Время действия заявки (UTC) EndTime *string `json:"endTime,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // ExchangeOrderId Уникальный идентификатор стоп-заявки ExchangeOrderId *float64 `json:"exchangeOrderId,omitempty"` // Existing True - для данных из "снепшота", то есть из истории. False - для новых событий Existing *bool `json:"existing,omitempty"` // Id Уникальный идентификатор стоп-заявки Id *float64 `json:"id,omitempty"` // Portfolio Пара Биржа:Тикер Portfolio *string `json:"portfolio,omitempty"` // Price Цена(Лимит) Price *float64 `json:"price,omitempty"` // Qty Количество (Лоты) Qty *float64 `json:"qty,omitempty"` // QtyBatch Количество (Лоты) QtyBatch *float64 `json:"qtyBatch,omitempty"` // QtyUnits Количество (Штуки) QtyUnits *float64 `json:"qtyUnits,omitempty"` // Side Направление сделки. Купля либо продажа. Side *StoporderWarpSide `json:"side,omitempty"` // Status Статус исполнения. На исполнении, исполнена, отменена, отклонена. Status *StoporderWarpStatus `json:"status,omitempty"` // StopPrice Условная цена StopPrice *float64 `json:"stopPrice,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` // TransTime Время выставления заявки (UTC) TransTime *string `json:"transTime,omitempty"` // Type Тип заявки (stop/stoplimit) Type *StoporderWarpType `json:"type,omitempty"` }
StoporderWarp defines model for stoporderWarp.
type StoporderWarpSide ¶
type StoporderWarpSide string
StoporderWarpSide Направление сделки. Купля либо продажа.
const ( StoporderWarpSideBuy StoporderWarpSide = "buy" StoporderWarpSideSell StoporderWarpSide = "sell" )
Defines values for StoporderWarpSide.
type StoporderWarpStatus ¶
type StoporderWarpStatus string
StoporderWarpStatus Статус исполнения. На исполнении, исполнена, отменена, отклонена.
const ( Canceled StoporderWarpStatus = "canceled" Filled StoporderWarpStatus = "filled" Rejected StoporderWarpStatus = "rejected" Working StoporderWarpStatus = "working" )
Defines values for StoporderWarpStatus.
type StoporderWarpType ¶
type StoporderWarpType string
StoporderWarpType Тип заявки (stop/stoplimit)
const ( StoporderWarpTypeStop StoporderWarpType = "stop" StoporderWarpTypeStoplimit StoporderWarpType = "stoplimit" )
Defines values for StoporderWarpType.
type StopordersWarp ¶
type StopordersWarp = []StoporderWarp
StopordersWarp defines model for stopordersWarp.
type Summary ¶
type Summary struct { // BuyingPower Покупательская способность BuyingPower *float64 `json:"buyingPower,omitempty"` // BuyingPowerAtMorning Покупательская способность на утро BuyingPowerAtMorning *float64 `json:"buyingPowerAtMorning,omitempty"` // Commission Суммарная комиссия (null для Срочного рынка) Commission *float64 `json:"commission"` // InitialMargin Маржа InitialMargin *float64 `json:"initialMargin,omitempty"` // PortfolioEvaluation Ликвидный портфель PortfolioEvaluation *float64 `json:"portfolioEvaluation,omitempty"` // PortfolioLiquidationValue Оценка портфеля PortfolioLiquidationValue *float64 `json:"portfolioLiquidationValue,omitempty"` // Profit Прибыль за сегодня Profit *float64 `json:"profit,omitempty"` // ProfitRate Норма прибыли, % ProfitRate *float64 `json:"profitRate,omitempty"` // RiskBeforeForcePositionClosing Риск до закрытия RiskBeforeForcePositionClosing *float64 `json:"riskBeforeForcePositionClosing,omitempty"` }
Summary defines model for summary.
type Symbol ¶
type Symbol struct { // AccruedInt Начислено AccruedInt *int `json:"accruedInt,omitempty"` // AccruedInterest Начислено AccruedInterest *int `json:"accrued_interest,omitempty"` // Ask Аск Ask *float64 `json:"ask,omitempty"` // Bid Бид Bid *float64 `json:"bid,omitempty"` // Change Разность цены и цены предыдущего закрытия Change *float64 `json:"change,omitempty"` // ChangePercent Относительное изменение цены ChangePercent *float64 `json:"change_percent,omitempty"` // Description Короткое описание на русском языке Description *string `json:"description,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` Facevalue *float64 `json:"facevalue,omitempty"` // HighPrice Максимальная цена HighPrice *float64 `json:"high_price,omitempty"` // LastPrice Последняя цена LastPrice *float64 `json:"last_price,omitempty"` // LastPriceTimestamp UTC-timestamp для значения поля "last_price" LastPriceTimestamp *int64 `json:"last_price_timestamp,omitempty"` // Lotsize Размер лота Lotsize *float64 `json:"lotsize,omitempty"` Lotvalue *float64 `json:"lotvalue,omitempty"` // LowPrice Минимальная цена LowPrice *float64 `json:"low_price,omitempty"` OpenInterest *float64 `json:"open_interest"` // OpenPrice Цена открытия OpenPrice *float64 `json:"open_price,omitempty"` // PrevClosePrice Цена предыдущего закрытия PrevClosePrice *float64 `json:"prev_close_price,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` Type *string `json:"type,omitempty"` // Volume Объём Volume *float64 `json:"volume,omitempty"` Yield *int `json:"yield,omitempty"` }
Symbol defines model for symbol.
type SymbolFutures ¶
type SymbolFutures struct { // AccruedInt Начислено AccruedInt *int `json:"accruedInt"` // AccruedInterest Начислено AccruedInterest *int `json:"accrued_interest"` // Ask Аск Ask *float64 `json:"ask,omitempty"` // Bid Бид Bid *float64 `json:"bid,omitempty"` // Change Разность цены и цены предыдущего закрытия Change *float64 `json:"change"` // ChangePercent Относительное изменение цены ChangePercent *float64 `json:"change_percent"` // Description Короткое описание на русском языке Description *string `json:"description,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` Facevalue *float64 `json:"facevalue,omitempty"` // HighPrice Максимальная цена HighPrice *float64 `json:"high_price,omitempty"` // LastPrice Последняя цена LastPrice *float64 `json:"last_price,omitempty"` // LastPriceTimestamp Время последней цены (UTC) LastPriceTimestamp *int64 `json:"last_price_timestamp,omitempty"` // Lotsize Размер лота Lotsize *float64 `json:"lotsize,omitempty"` Lotvalue *float64 `json:"lotvalue,omitempty"` // LowPrice Минимальная цена LowPrice *float64 `json:"low_price,omitempty"` // OpenPrice Цена открытия OpenPrice *float64 `json:"open_price,omitempty"` // PrevClosePrice Цена предыдущего закрытия PrevClosePrice *float64 `json:"prev_close_price,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` Type *string `json:"type,omitempty"` // Volume Объём Volume *float64 `json:"volume,omitempty"` Yield *int `json:"yield,omitempty"` }
SymbolFutures defines model for symbol_futures.
type Trade ¶
type Trade struct { // Board Код режима торгов Board *string `json:"board,omitempty"` // BrokerSymbol Пара Биржа:Тикер BrokerSymbol *string `json:"brokerSymbol,omitempty"` // Date Дата и время (UTC) закрытия заявки Date *string `json:"date,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // Existing True - для данных из "снепшота", то есть из истории. False - для новых событий Existing *bool `json:"existing,omitempty"` // Id Уникальный идентификатор сделки Id *json.Number `json:"id,omitempty"` // Orderno Идентификатор заявки Orderno *json.Number `json:"orderno,omitempty"` // Price Цена Price *float64 `json:"price,omitempty"` // Qty Количество (лоты) Qty *int `json:"qty,omitempty"` // QtyBatch Количество (лоты) QtyBatch *int `json:"qtyBatch,omitempty"` // QtyUnits Количество (штуки) QtyUnits *int `json:"qtyUnits,omitempty"` // Side Направление сделки. Купля либо продажа. Side *TradeSide `json:"side,omitempty"` // Symbol Тикер (Код финансового инструмента). "[N/A]" используется если symbol не определен. Symbol *string `json:"symbol,omitempty"` }
Trade defines model for trade.
type TradeStatsBySymbolParams ¶
type TradeStatsBySymbolParams struct { // DateFrom Начиная с какой даты отдавать историю сделок DateFrom *openapi_types.Date `form:"dateFrom,omitempty" json:"dateFrom,omitempty"` // From Начиная с какого ID (номера сделки) отдавать историю сделок From *string `form:"from,omitempty" json:"from,omitempty"` // Limit Количество возвращаемых записей (максимум 1000) Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Descending Флаг обратной сортировки выдачи Descending *bool `form:"descending,omitempty" json:"descending,omitempty"` // Format Формат возвращаемого сервером JSON Format *TradeStatsBySymbolParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
TradeStatsBySymbolParams defines parameters for TradeStatsBySymbol.
type TradeStatsBySymbolParamsExchange ¶
type TradeStatsBySymbolParamsExchange string
TradeStatsBySymbolParamsExchange defines parameters for TradeStatsBySymbol.
const ( TradeStatsBySymbolParamsExchangeMOEX TradeStatsBySymbolParamsExchange = "MOEX" TradeStatsBySymbolParamsExchangeSPBX TradeStatsBySymbolParamsExchange = "SPBX" )
Defines values for TradeStatsBySymbolParamsExchange.
type TradeStatsBySymbolParamsFormat ¶
type TradeStatsBySymbolParamsFormat string
TradeStatsBySymbolParamsFormat defines parameters for TradeStatsBySymbol.
const (
TradeStatsBySymbolParamsFormatSimple TradeStatsBySymbolParamsFormat = "Simple"
)
Defines values for TradeStatsBySymbolParamsFormat.
type TradeStatsBySymbolResponse ¶
func ParseTradeStatsBySymbolResponse ¶
func ParseTradeStatsBySymbolResponse(rsp *http.Response) (*TradeStatsBySymbolResponse, error)
ParseTradeStatsBySymbolResponse parses an HTTP response from a TradeStatsBySymbolWithResponse call
func (TradeStatsBySymbolResponse) Status ¶
func (r TradeStatsBySymbolResponse) Status() string
Status returns HTTPResponse.Status
func (TradeStatsBySymbolResponse) StatusCode ¶
func (r TradeStatsBySymbolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TradeStatsParams ¶
type TradeStatsParams struct { // DateFrom Начиная с какой даты отдавать историю сделок DateFrom *openapi_types.Date `form:"dateFrom,omitempty" json:"dateFrom,omitempty"` // From Начиная с какого ID (номера сделки) отдавать историю сделок From *string `form:"from,omitempty" json:"from,omitempty"` // Limit Количество возвращаемых записей (максимум 1000) Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Descending Флаг обратной сортировки выдачи Descending *bool `form:"descending,omitempty" json:"descending,omitempty"` // Format Формат возвращаемого сервером JSON Format *TradeStatsParamsFormat `form:"format,omitempty" json:"format,omitempty"` }
TradeStatsParams defines parameters for TradeStats.
type TradeStatsParamsExchange ¶
type TradeStatsParamsExchange string
TradeStatsParamsExchange defines parameters for TradeStats.
const ( TradeStatsParamsExchangeMOEX TradeStatsParamsExchange = "MOEX" TradeStatsParamsExchangeSPBX TradeStatsParamsExchange = "SPBX" )
Defines values for TradeStatsParamsExchange.
type TradeStatsParamsFormat ¶
type TradeStatsParamsFormat string
TradeStatsParamsFormat defines parameters for TradeStats.
const (
TradeStatsParamsFormatSimple TradeStatsParamsFormat = "Simple"
)
Defines values for TradeStatsParamsFormat.
type TradeStatsResponse ¶
func ParseTradeStatsResponse ¶
func ParseTradeStatsResponse(rsp *http.Response) (*TradeStatsResponse, error)
ParseTradeStatsResponse parses an HTTP response from a TradeStatsWithResponse call
func (TradeStatsResponse) Status ¶
func (r TradeStatsResponse) Status() string
Status returns HTTPResponse.Status
func (TradeStatsResponse) StatusCode ¶
func (r TradeStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionsOrderIdParams ¶
type V2clientordersactionsOrderIdParams struct { // Portfolio Идентификатор клиентского портфеля Portfolio string `form:"portfolio" json:"portfolio"` // Stop Является стоп-заявкой? Stop bool `form:"stop" json:"stop"` // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionsOrderIdParams defines parameters for V2clientordersactionsOrderId.
type V2clientordersactionsOrderIdResponse ¶
type V2clientordersactionsOrderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsDeleteOrderId }
func ParseV2clientordersactionsOrderIdResponse ¶
func ParseV2clientordersactionsOrderIdResponse(rsp *http.Response) (*V2clientordersactionsOrderIdResponse, error)
ParseV2clientordersactionsOrderIdResponse parses an HTTP response from a V2clientordersactionsOrderIdWithResponse call
func (V2clientordersactionsOrderIdResponse) Status ¶
func (r V2clientordersactionsOrderIdResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionsOrderIdResponse) StatusCode ¶
func (r V2clientordersactionsOrderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionsestimateJSONRequestBody ¶
type V2clientordersactionsestimateJSONRequestBody = EstimateOrderViewModel
V2clientordersactionsestimateJSONRequestBody defines body for V2clientordersactionsestimate for application/*+json ContentType.
type V2clientordersactionsestimateResponse ¶
type V2clientordersactionsestimateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EstimateOrderModel }
func ParseV2clientordersactionsestimateResponse ¶
func ParseV2clientordersactionsestimateResponse(rsp *http.Response) (*V2clientordersactionsestimateResponse, error)
ParseV2clientordersactionsestimateResponse parses an HTTP response from a V2clientordersactionsestimateWithResponse call
func (V2clientordersactionsestimateResponse) Status ¶
func (r V2clientordersactionsestimateResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionsestimateResponse) StatusCode ¶
func (r V2clientordersactionsestimateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionsestimateallJSONRequestBody ¶
type V2clientordersactionsestimateallJSONRequestBody = v2clientordersactionsestimateallJSONBody
V2clientordersactionsestimateallJSONRequestBody defines body for V2clientordersactionsestimateall for application/*+json ContentType.
type V2clientordersactionsestimateallResponse ¶
type V2clientordersactionsestimateallResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]EstimateOrderModel }
func ParseV2clientordersactionsestimateallResponse ¶
func ParseV2clientordersactionsestimateallResponse(rsp *http.Response) (*V2clientordersactionsestimateallResponse, error)
ParseV2clientordersactionsestimateallResponse parses an HTTP response from a V2clientordersactionsestimateallWithResponse call
func (V2clientordersactionsestimateallResponse) Status ¶
func (r V2clientordersactionsestimateallResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionsestimateallResponse) StatusCode ¶
func (r V2clientordersactionsestimateallResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionsstopLossJSONRequestBody ¶
type V2clientordersactionsstopLossJSONRequestBody = BodyrequestOrdersActionsStop
V2clientordersactionsstopLossJSONRequestBody defines body for V2clientordersactionsstopLoss for application/json ContentType.
type V2clientordersactionsstopLossLimitJSONRequestBody ¶
type V2clientordersactionsstopLossLimitJSONRequestBody = BodyrequestOrdersActionsStoplimit
V2clientordersactionsstopLossLimitJSONRequestBody defines body for V2clientordersactionsstopLossLimit for application/json ContentType.
type V2clientordersactionsstopLossLimitOrderIdJSONRequestBody ¶
type V2clientordersactionsstopLossLimitOrderIdJSONRequestBody = BodyrequestOrdersActionsStoplimit
V2clientordersactionsstopLossLimitOrderIdJSONRequestBody defines body for V2clientordersactionsstopLossLimitOrderId for application/json ContentType.
type V2clientordersactionsstopLossLimitOrderIdParams ¶
type V2clientordersactionsstopLossLimitOrderIdParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionsstopLossLimitOrderIdParams defines parameters for V2clientordersactionsstopLossLimitOrderId.
type V2clientordersactionsstopLossLimitOrderIdResponse ¶
type V2clientordersactionsstopLossLimitOrderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss }
func ParseV2clientordersactionsstopLossLimitOrderIdResponse ¶
func ParseV2clientordersactionsstopLossLimitOrderIdResponse(rsp *http.Response) (*V2clientordersactionsstopLossLimitOrderIdResponse, error)
ParseV2clientordersactionsstopLossLimitOrderIdResponse parses an HTTP response from a V2clientordersactionsstopLossLimitOrderIdWithResponse call
func (V2clientordersactionsstopLossLimitOrderIdResponse) Status ¶
func (r V2clientordersactionsstopLossLimitOrderIdResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionsstopLossLimitOrderIdResponse) StatusCode ¶
func (r V2clientordersactionsstopLossLimitOrderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionsstopLossLimitParams ¶
type V2clientordersactionsstopLossLimitParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionsstopLossLimitParams defines parameters for V2clientordersactionsstopLossLimit.
type V2clientordersactionsstopLossLimitResponse ¶
type V2clientordersactionsstopLossLimitResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss JSON400 *OrdersActions400 }
func ParseV2clientordersactionsstopLossLimitResponse ¶
func ParseV2clientordersactionsstopLossLimitResponse(rsp *http.Response) (*V2clientordersactionsstopLossLimitResponse, error)
ParseV2clientordersactionsstopLossLimitResponse parses an HTTP response from a V2clientordersactionsstopLossLimitWithResponse call
func (V2clientordersactionsstopLossLimitResponse) Status ¶
func (r V2clientordersactionsstopLossLimitResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionsstopLossLimitResponse) StatusCode ¶
func (r V2clientordersactionsstopLossLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionsstopLossOrderIdJSONRequestBody ¶
type V2clientordersactionsstopLossOrderIdJSONRequestBody = BodyrequestOrdersActionsStop
V2clientordersactionsstopLossOrderIdJSONRequestBody defines body for V2clientordersactionsstopLossOrderId for application/json ContentType.
type V2clientordersactionsstopLossOrderIdParams ¶
type V2clientordersactionsstopLossOrderIdParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionsstopLossOrderIdParams defines parameters for V2clientordersactionsstopLossOrderId.
type V2clientordersactionsstopLossOrderIdResponse ¶
type V2clientordersactionsstopLossOrderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss }
func ParseV2clientordersactionsstopLossOrderIdResponse ¶
func ParseV2clientordersactionsstopLossOrderIdResponse(rsp *http.Response) (*V2clientordersactionsstopLossOrderIdResponse, error)
ParseV2clientordersactionsstopLossOrderIdResponse parses an HTTP response from a V2clientordersactionsstopLossOrderIdWithResponse call
func (V2clientordersactionsstopLossOrderIdResponse) Status ¶
func (r V2clientordersactionsstopLossOrderIdResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionsstopLossOrderIdResponse) StatusCode ¶
func (r V2clientordersactionsstopLossOrderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionsstopLossParams ¶
type V2clientordersactionsstopLossParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionsstopLossParams defines parameters for V2clientordersactionsstopLoss.
type V2clientordersactionsstopLossResponse ¶
type V2clientordersactionsstopLossResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss JSON400 *OrdersActions400 }
func ParseV2clientordersactionsstopLossResponse ¶
func ParseV2clientordersactionsstopLossResponse(rsp *http.Response) (*V2clientordersactionsstopLossResponse, error)
ParseV2clientordersactionsstopLossResponse parses an HTTP response from a V2clientordersactionsstopLossWithResponse call
func (V2clientordersactionsstopLossResponse) Status ¶
func (r V2clientordersactionsstopLossResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionsstopLossResponse) StatusCode ¶
func (r V2clientordersactionsstopLossResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionstakeProfitJSONRequestBody ¶
type V2clientordersactionstakeProfitJSONRequestBody = BodyrequestOrdersActionsStop
V2clientordersactionstakeProfitJSONRequestBody defines body for V2clientordersactionstakeProfit for application/json ContentType.
type V2clientordersactionstakeProfitLimitJSONRequestBody ¶
type V2clientordersactionstakeProfitLimitJSONRequestBody = BodyrequestOrdersActionsStoplimit
V2clientordersactionstakeProfitLimitJSONRequestBody defines body for V2clientordersactionstakeProfitLimit for application/json ContentType.
type V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody ¶
type V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody = BodyrequestOrdersActionsStoplimit
V2clientordersactionstakeProfitLimitOrderIdJSONRequestBody defines body for V2clientordersactionstakeProfitLimitOrderId for application/json ContentType.
type V2clientordersactionstakeProfitLimitOrderIdParams ¶
type V2clientordersactionstakeProfitLimitOrderIdParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionstakeProfitLimitOrderIdParams defines parameters for V2clientordersactionstakeProfitLimitOrderId.
type V2clientordersactionstakeProfitLimitOrderIdResponse ¶
type V2clientordersactionstakeProfitLimitOrderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss }
func ParseV2clientordersactionstakeProfitLimitOrderIdResponse ¶
func ParseV2clientordersactionstakeProfitLimitOrderIdResponse(rsp *http.Response) (*V2clientordersactionstakeProfitLimitOrderIdResponse, error)
ParseV2clientordersactionstakeProfitLimitOrderIdResponse parses an HTTP response from a V2clientordersactionstakeProfitLimitOrderIdWithResponse call
func (V2clientordersactionstakeProfitLimitOrderIdResponse) Status ¶
func (r V2clientordersactionstakeProfitLimitOrderIdResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionstakeProfitLimitOrderIdResponse) StatusCode ¶
func (r V2clientordersactionstakeProfitLimitOrderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionstakeProfitLimitParams ¶
type V2clientordersactionstakeProfitLimitParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionstakeProfitLimitParams defines parameters for V2clientordersactionstakeProfitLimit.
type V2clientordersactionstakeProfitLimitResponse ¶
type V2clientordersactionstakeProfitLimitResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss JSON400 *OrdersActions400 }
func ParseV2clientordersactionstakeProfitLimitResponse ¶
func ParseV2clientordersactionstakeProfitLimitResponse(rsp *http.Response) (*V2clientordersactionstakeProfitLimitResponse, error)
ParseV2clientordersactionstakeProfitLimitResponse parses an HTTP response from a V2clientordersactionstakeProfitLimitWithResponse call
func (V2clientordersactionstakeProfitLimitResponse) Status ¶
func (r V2clientordersactionstakeProfitLimitResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionstakeProfitLimitResponse) StatusCode ¶
func (r V2clientordersactionstakeProfitLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionstakeProfitOrderIdJSONRequestBody ¶
type V2clientordersactionstakeProfitOrderIdJSONRequestBody = BodyrequestOrdersActionsStop
V2clientordersactionstakeProfitOrderIdJSONRequestBody defines body for V2clientordersactionstakeProfitOrderId for application/json ContentType.
type V2clientordersactionstakeProfitOrderIdParams ¶
type V2clientordersactionstakeProfitOrderIdParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionstakeProfitOrderIdParams defines parameters for V2clientordersactionstakeProfitOrderId.
type V2clientordersactionstakeProfitOrderIdResponse ¶
type V2clientordersactionstakeProfitOrderIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss }
func ParseV2clientordersactionstakeProfitOrderIdResponse ¶
func ParseV2clientordersactionstakeProfitOrderIdResponse(rsp *http.Response) (*V2clientordersactionstakeProfitOrderIdResponse, error)
ParseV2clientordersactionstakeProfitOrderIdResponse parses an HTTP response from a V2clientordersactionstakeProfitOrderIdWithResponse call
func (V2clientordersactionstakeProfitOrderIdResponse) Status ¶
func (r V2clientordersactionstakeProfitOrderIdResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionstakeProfitOrderIdResponse) StatusCode ¶
func (r V2clientordersactionstakeProfitOrderIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2clientordersactionstakeProfitParams ¶
type V2clientordersactionstakeProfitParams struct { // XALORREQID Требуется уникальная случайная строка в качестве идентификатора запроса. Если уже приходил запрос с таким идентификатором, то заявка не будет исполнена повторно, а в качестве ответа будет возвращена копия ответа на первый запрос с таким значением идентификатора XALORREQID string `json:"X-ALOR-REQID"` }
V2clientordersactionstakeProfitParams defines parameters for V2clientordersactionstakeProfit.
type V2clientordersactionstakeProfitResponse ¶
type V2clientordersactionstakeProfitResponse struct { Body []byte HTTPResponse *http.Response JSON200 *OrdersActionsStopProfitLoss JSON400 *OrdersActions400 }
func ParseV2clientordersactionstakeProfitResponse ¶
func ParseV2clientordersactionstakeProfitResponse(rsp *http.Response) (*V2clientordersactionstakeProfitResponse, error)
ParseV2clientordersactionstakeProfitResponse parses an HTTP response from a V2clientordersactionstakeProfitWithResponse call
func (V2clientordersactionstakeProfitResponse) Status ¶
func (r V2clientordersactionstakeProfitResponse) Status() string
Status returns HTTPResponse.Status
func (V2clientordersactionstakeProfitResponse) StatusCode ¶
func (r V2clientordersactionstakeProfitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdAllTradesGetAndSubscribeJSONRequestBody ¶
type WSProdAllTradesGetAndSubscribeJSONRequestBody = WsReqAllTradesGetAndSubscribe
WSProdAllTradesGetAndSubscribeJSONRequestBody defines body for WSProdAllTradesGetAndSubscribe for application/json ContentType.
type WSProdAllTradesGetAndSubscribeResponse ¶
type WSProdAllTradesGetAndSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *Alltrades JSON200 *WsResHandledSuccessfully }
func ParseWSProdAllTradesGetAndSubscribeResponse ¶
func ParseWSProdAllTradesGetAndSubscribeResponse(rsp *http.Response) (*WSProdAllTradesGetAndSubscribeResponse, error)
ParseWSProdAllTradesGetAndSubscribeResponse parses an HTTP response from a WSProdAllTradesGetAndSubscribeWithResponse call
func (WSProdAllTradesGetAndSubscribeResponse) Status ¶
func (r WSProdAllTradesGetAndSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdAllTradesGetAndSubscribeResponse) StatusCode ¶
func (r WSProdAllTradesGetAndSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdBarsGetJSONRequestBody ¶
type WSProdBarsGetJSONRequestBody = WsReqBarsGetAndSubscribe
WSProdBarsGetJSONRequestBody defines body for WSProdBarsGet for application/json ContentType.
type WSProdBarsGetResponse ¶
type WSProdBarsGetResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResBarsGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdBarsGetResponse ¶
func ParseWSProdBarsGetResponse(rsp *http.Response) (*WSProdBarsGetResponse, error)
ParseWSProdBarsGetResponse parses an HTTP response from a WSProdBarsGetWithResponse call
func (WSProdBarsGetResponse) Status ¶
func (r WSProdBarsGetResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdBarsGetResponse) StatusCode ¶
func (r WSProdBarsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdInstrumentsGetAndSubscribeV2JSONRequestBody ¶
type WSProdInstrumentsGetAndSubscribeV2JSONRequestBody = WsReqInstrumentsGetAndSubscribeV2
WSProdInstrumentsGetAndSubscribeV2JSONRequestBody defines body for WSProdInstrumentsGetAndSubscribeV2 for application/json ContentType.
type WSProdInstrumentsGetAndSubscribeV2Response ¶
type WSProdInstrumentsGetAndSubscribeV2Response struct { Body []byte HTTPResponse *http.Response JSON200 *WsResHandledSuccessfully }
func ParseWSProdInstrumentsGetAndSubscribeV2Response ¶
func ParseWSProdInstrumentsGetAndSubscribeV2Response(rsp *http.Response) (*WSProdInstrumentsGetAndSubscribeV2Response, error)
ParseWSProdInstrumentsGetAndSubscribeV2Response parses an HTTP response from a WSProdInstrumentsGetAndSubscribeV2WithResponse call
func (WSProdInstrumentsGetAndSubscribeV2Response) Status ¶
func (r WSProdInstrumentsGetAndSubscribeV2Response) Status() string
Status returns HTTPResponse.Status
func (WSProdInstrumentsGetAndSubscribeV2Response) StatusCode ¶
func (r WSProdInstrumentsGetAndSubscribeV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdOrderBookJSONRequestBody ¶
type WSProdOrderBookJSONRequestBody = WsReqOrderBookGetAndSubscribe
WSProdOrderBookJSONRequestBody defines body for WSProdOrderBook for application/json ContentType.
type WSProdOrderBookResponse ¶
type WSProdOrderBookResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResOrderBookGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdOrderBookResponse ¶
func ParseWSProdOrderBookResponse(rsp *http.Response) (*WSProdOrderBookResponse, error)
ParseWSProdOrderBookResponse parses an HTTP response from a WSProdOrderBookWithResponse call
func (WSProdOrderBookResponse) Status ¶
func (r WSProdOrderBookResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdOrderBookResponse) StatusCode ¶
func (r WSProdOrderBookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdOrdersSubscribeJSONRequestBody ¶
type WSProdOrdersSubscribeJSONRequestBody = WsReqOrdersGetAndSubscribe
WSProdOrdersSubscribeJSONRequestBody defines body for WSProdOrdersSubscribe for application/json ContentType.
type WSProdOrdersSubscribeResponse ¶
type WSProdOrdersSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResOrdersGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdOrdersSubscribeResponse ¶
func ParseWSProdOrdersSubscribeResponse(rsp *http.Response) (*WSProdOrdersSubscribeResponse, error)
ParseWSProdOrdersSubscribeResponse parses an HTTP response from a WSProdOrdersSubscribeWithResponse call
func (WSProdOrdersSubscribeResponse) Status ¶
func (r WSProdOrdersSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdOrdersSubscribeResponse) StatusCode ¶
func (r WSProdOrdersSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdPositionsSubscribeJSONRequestBody ¶
type WSProdPositionsSubscribeJSONRequestBody = WsReqPositionsGetAndSubscribe
WSProdPositionsSubscribeJSONRequestBody defines body for WSProdPositionsSubscribe for application/json ContentType.
type WSProdPositionsSubscribeResponse ¶
type WSProdPositionsSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResPositionsGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdPositionsSubscribeResponse ¶
func ParseWSProdPositionsSubscribeResponse(rsp *http.Response) (*WSProdPositionsSubscribeResponse, error)
ParseWSProdPositionsSubscribeResponse parses an HTTP response from a WSProdPositionsSubscribeWithResponse call
func (WSProdPositionsSubscribeResponse) Status ¶
func (r WSProdPositionsSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdPositionsSubscribeResponse) StatusCode ¶
func (r WSProdPositionsSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdQuotesSubscribeJSONRequestBody ¶
type WSProdQuotesSubscribeJSONRequestBody = WsReqQuotesSubscribe
WSProdQuotesSubscribeJSONRequestBody defines body for WSProdQuotesSubscribe for application/json ContentType.
type WSProdQuotesSubscribeResponse ¶
type WSProdQuotesSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResQuotesSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdQuotesSubscribeResponse ¶
func ParseWSProdQuotesSubscribeResponse(rsp *http.Response) (*WSProdQuotesSubscribeResponse, error)
ParseWSProdQuotesSubscribeResponse parses an HTTP response from a WSProdQuotesSubscribeWithResponse call
func (WSProdQuotesSubscribeResponse) Status ¶
func (r WSProdQuotesSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdQuotesSubscribeResponse) StatusCode ¶
func (r WSProdQuotesSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdRisksGetAndSubscribeJSONRequestBody ¶
type WSProdRisksGetAndSubscribeJSONRequestBody = WsReqRisksGetAndSubscribe
WSProdRisksGetAndSubscribeJSONRequestBody defines body for WSProdRisksGetAndSubscribe for application/json ContentType.
type WSProdRisksGetAndSubscribeResponse ¶
type WSProdRisksGetAndSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResRisksGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdRisksGetAndSubscribeResponse ¶
func ParseWSProdRisksGetAndSubscribeResponse(rsp *http.Response) (*WSProdRisksGetAndSubscribeResponse, error)
ParseWSProdRisksGetAndSubscribeResponse parses an HTTP response from a WSProdRisksGetAndSubscribeWithResponse call
func (WSProdRisksGetAndSubscribeResponse) Status ¶
func (r WSProdRisksGetAndSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdRisksGetAndSubscribeResponse) StatusCode ¶
func (r WSProdRisksGetAndSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdSpectraRisksGetAndSubscribeJSONRequestBody ¶
type WSProdSpectraRisksGetAndSubscribeJSONRequestBody = WsReqSpectraRisksGetAndSubscribe
WSProdSpectraRisksGetAndSubscribeJSONRequestBody defines body for WSProdSpectraRisksGetAndSubscribe for application/json ContentType.
type WSProdSpectraRisksGetAndSubscribeResponse ¶
type WSProdSpectraRisksGetAndSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResSpectraRisksGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdSpectraRisksGetAndSubscribeResponse ¶
func ParseWSProdSpectraRisksGetAndSubscribeResponse(rsp *http.Response) (*WSProdSpectraRisksGetAndSubscribeResponse, error)
ParseWSProdSpectraRisksGetAndSubscribeResponse parses an HTTP response from a WSProdSpectraRisksGetAndSubscribeWithResponse call
func (WSProdSpectraRisksGetAndSubscribeResponse) Status ¶
func (r WSProdSpectraRisksGetAndSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdSpectraRisksGetAndSubscribeResponse) StatusCode ¶
func (r WSProdSpectraRisksGetAndSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdStopOrdersSubscribeJSONRequestBody ¶
type WSProdStopOrdersSubscribeJSONRequestBody = WsReqStopOrdersGetAndSubscribe
WSProdStopOrdersSubscribeJSONRequestBody defines body for WSProdStopOrdersSubscribe for application/json ContentType.
type WSProdStopOrdersSubscribeResponse ¶
type WSProdStopOrdersSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResStopOrdersGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdStopOrdersSubscribeResponse ¶
func ParseWSProdStopOrdersSubscribeResponse(rsp *http.Response) (*WSProdStopOrdersSubscribeResponse, error)
ParseWSProdStopOrdersSubscribeResponse parses an HTTP response from a WSProdStopOrdersSubscribeWithResponse call
func (WSProdStopOrdersSubscribeResponse) Status ¶
func (r WSProdStopOrdersSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdStopOrdersSubscribeResponse) StatusCode ¶
func (r WSProdStopOrdersSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdStopOrdersSubscribeV2JSONRequestBody ¶
type WSProdStopOrdersSubscribeV2JSONRequestBody = WsReqStopOrdersGetAndSubscribeV2
WSProdStopOrdersSubscribeV2JSONRequestBody defines body for WSProdStopOrdersSubscribeV2 for application/json ContentType.
type WSProdStopOrdersSubscribeV2Response ¶
type WSProdStopOrdersSubscribeV2Response struct { Body []byte HTTPResponse *http.Response JSON100 *WsResStopOrdersGetAndSubscribeWarp JSON200 *WsResHandledSuccessfully }
func ParseWSProdStopOrdersSubscribeV2Response ¶
func ParseWSProdStopOrdersSubscribeV2Response(rsp *http.Response) (*WSProdStopOrdersSubscribeV2Response, error)
ParseWSProdStopOrdersSubscribeV2Response parses an HTTP response from a WSProdStopOrdersSubscribeV2WithResponse call
func (WSProdStopOrdersSubscribeV2Response) Status ¶
func (r WSProdStopOrdersSubscribeV2Response) Status() string
Status returns HTTPResponse.Status
func (WSProdStopOrdersSubscribeV2Response) StatusCode ¶
func (r WSProdStopOrdersSubscribeV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdSummariesGetAndSubscribeV2JSONRequestBody ¶
type WSProdSummariesGetAndSubscribeV2JSONRequestBody = WsReqSummariesGetAndSubscribeV2
WSProdSummariesGetAndSubscribeV2JSONRequestBody defines body for WSProdSummariesGetAndSubscribeV2 for application/json ContentType.
type WSProdSummariesGetAndSubscribeV2Response ¶
type WSProdSummariesGetAndSubscribeV2Response struct { Body []byte HTTPResponse *http.Response JSON100 *WsResSummariesGetAndSubscribeV2 JSON200 *WsResHandledSuccessfully }
func ParseWSProdSummariesGetAndSubscribeV2Response ¶
func ParseWSProdSummariesGetAndSubscribeV2Response(rsp *http.Response) (*WSProdSummariesGetAndSubscribeV2Response, error)
ParseWSProdSummariesGetAndSubscribeV2Response parses an HTTP response from a WSProdSummariesGetAndSubscribeV2WithResponse call
func (WSProdSummariesGetAndSubscribeV2Response) Status ¶
func (r WSProdSummariesGetAndSubscribeV2Response) Status() string
Status returns HTTPResponse.Status
func (WSProdSummariesGetAndSubscribeV2Response) StatusCode ¶
func (r WSProdSummariesGetAndSubscribeV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdTradesSubscribeJSONRequestBody ¶
type WSProdTradesSubscribeJSONRequestBody = WsReqTradesGetAndSubscribe
WSProdTradesSubscribeJSONRequestBody defines body for WSProdTradesSubscribe for application/json ContentType.
type WSProdTradesSubscribeResponse ¶
type WSProdTradesSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON100 *WsResTradesGetAndSubscribe JSON200 *WsResHandledSuccessfully }
func ParseWSProdTradesSubscribeResponse ¶
func ParseWSProdTradesSubscribeResponse(rsp *http.Response) (*WSProdTradesSubscribeResponse, error)
ParseWSProdTradesSubscribeResponse parses an HTTP response from a WSProdTradesSubscribeWithResponse call
func (WSProdTradesSubscribeResponse) Status ¶
func (r WSProdTradesSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdTradesSubscribeResponse) StatusCode ¶
func (r WSProdTradesSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WSProdUnsubscribeJSONRequestBody ¶
type WSProdUnsubscribeJSONRequestBody = WsReqUnsubscribe
WSProdUnsubscribeJSONRequestBody defines body for WSProdUnsubscribe for application/json ContentType.
type WSProdUnsubscribeResponse ¶
type WSProdUnsubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *WsResHandledSuccessfully }
func ParseWSProdUnsubscribeResponse ¶
func ParseWSProdUnsubscribeResponse(rsp *http.Response) (*WSProdUnsubscribeResponse, error)
ParseWSProdUnsubscribeResponse parses an HTTP response from a WSProdUnsubscribeWithResponse call
func (WSProdUnsubscribeResponse) Status ¶
func (r WSProdUnsubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (WSProdUnsubscribeResponse) StatusCode ¶
func (r WSProdUnsubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WsReqAllTradesGetAndSubscribe ¶
type WsReqAllTradesGetAndSubscribe struct { // Code Тикер Code *string `json:"code,omitempty"` // Depth Если указать, то перед актуальными данными придут данные о последних N сделках. Максимум 5000. Depth *float64 `json:"depth,omitempty"` // Exchange Биржа Exchange *WsReqAllTradesGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqAllTradesGetAndSubscribeFormat `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // IncludeVirtualTrades Указывает, нужно ли отправлять виртуальные (индикативные) сделки IncludeVirtualTrades *bool `json:"includeVirtualTrades,omitempty"` // Opcode Код операции Opcode *WsReqAllTradesGetAndSubscribeOpcode `json:"opcode,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqAllTradesGetAndSubscribe defines model for ws_req_AllTradesGetAndSubscribe.
type WsReqAllTradesGetAndSubscribeExchange ¶
type WsReqAllTradesGetAndSubscribeExchange string
WsReqAllTradesGetAndSubscribeExchange Биржа
const ( WsReqAllTradesGetAndSubscribeExchangeMOEX WsReqAllTradesGetAndSubscribeExchange = "MOEX" WsReqAllTradesGetAndSubscribeExchangeSPBX WsReqAllTradesGetAndSubscribeExchange = "SPBX" )
Defines values for WsReqAllTradesGetAndSubscribeExchange.
type WsReqAllTradesGetAndSubscribeFormat ¶
type WsReqAllTradesGetAndSubscribeFormat string
WsReqAllTradesGetAndSubscribeFormat Формат возвращаемого сервером JSON
const (
WsReqAllTradesGetAndSubscribeFormatSimple WsReqAllTradesGetAndSubscribeFormat = "Simple"
)
Defines values for WsReqAllTradesGetAndSubscribeFormat.
type WsReqAllTradesGetAndSubscribeOpcode ¶
type WsReqAllTradesGetAndSubscribeOpcode string
WsReqAllTradesGetAndSubscribeOpcode Код операции
const (
AllTradesGetAndSubscribe WsReqAllTradesGetAndSubscribeOpcode = "AllTradesGetAndSubscribe"
)
Defines values for WsReqAllTradesGetAndSubscribeOpcode.
type WsReqBarsGetAndSubscribe ¶
type WsReqBarsGetAndSubscribe struct { // Code Тикер Code *string `json:"code,omitempty"` // Delayed Данные c задержкой в 15 минут. Для авторизованых клиентов задержка не применяется. Delayed *string `json:"delayed,omitempty"` // Exchange Биржа Exchange *WsReqBarsGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *string `json:"format,omitempty"` // From Дата и время (UTC) для первой запрашиваемой свечи From *int `json:"from,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqBarsGetAndSubscribeOpcode `json:"opcode,omitempty"` // Tf Длительность таймфрейма в секундах или код ("D" - дни, "W" - недели, "M" - месяцы, "Y" - годы) Tf *WsReqBarsGetAndSubscribeTf `json:"tf,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqBarsGetAndSubscribe defines model for ws_req_BarsGetAndSubscribe.
type WsReqBarsGetAndSubscribeExchange ¶
type WsReqBarsGetAndSubscribeExchange string
WsReqBarsGetAndSubscribeExchange Биржа
const ( WsReqBarsGetAndSubscribeExchangeMOEX WsReqBarsGetAndSubscribeExchange = "MOEX" WsReqBarsGetAndSubscribeExchangeSPBX WsReqBarsGetAndSubscribeExchange = "SPBX" )
Defines values for WsReqBarsGetAndSubscribeExchange.
type WsReqBarsGetAndSubscribeOpcode ¶ added in v0.1.1
type WsReqBarsGetAndSubscribeOpcode string
WsReqBarsGetAndSubscribeOpcode Код операции
const (
BarsGetAndSubscribe WsReqBarsGetAndSubscribeOpcode = "BarsGetAndSubscribe"
)
Defines values for WsReqBarsGetAndSubscribeOpcode.
type WsReqBarsGetAndSubscribeTf ¶
type WsReqBarsGetAndSubscribeTf string
WsReqBarsGetAndSubscribeTf Длительность таймфрейма в секундах или код ("D" - дни, "W" - недели, "M" - месяцы, "Y" - годы)
const ( WsReqBarsGetAndSubscribeTfD WsReqBarsGetAndSubscribeTf = "D" WsReqBarsGetAndSubscribeTfM WsReqBarsGetAndSubscribeTf = "M" WsReqBarsGetAndSubscribeTfN15 WsReqBarsGetAndSubscribeTf = "15" WsReqBarsGetAndSubscribeTfN300 WsReqBarsGetAndSubscribeTf = "300" WsReqBarsGetAndSubscribeTfN3600 WsReqBarsGetAndSubscribeTf = "3600" WsReqBarsGetAndSubscribeTfN60 WsReqBarsGetAndSubscribeTf = "60" WsReqBarsGetAndSubscribeTfW WsReqBarsGetAndSubscribeTf = "W" WsReqBarsGetAndSubscribeTfY WsReqBarsGetAndSubscribeTf = "Y" )
Defines values for WsReqBarsGetAndSubscribeTf.
type WsReqInstrumentsGetAndSubscribeV2 ¶
type WsReqInstrumentsGetAndSubscribeV2 struct { // Code Тикер Code *string `json:"code,omitempty"` // Exchange Биржа Exchange *WsReqInstrumentsGetAndSubscribeV2Exchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqInstrumentsGetAndSubscribeV2Format `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqInstrumentsGetAndSubscribeV2Opcode `json:"opcode,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqInstrumentsGetAndSubscribeV2 defines model for ws_req_InstrumentsGetAndSubscribeV2.
type WsReqInstrumentsGetAndSubscribeV2Exchange ¶
type WsReqInstrumentsGetAndSubscribeV2Exchange string
WsReqInstrumentsGetAndSubscribeV2Exchange Биржа
const (
WsReqInstrumentsGetAndSubscribeV2ExchangeMOEX WsReqInstrumentsGetAndSubscribeV2Exchange = "MOEX"
)
Defines values for WsReqInstrumentsGetAndSubscribeV2Exchange.
type WsReqInstrumentsGetAndSubscribeV2Format ¶
type WsReqInstrumentsGetAndSubscribeV2Format string
WsReqInstrumentsGetAndSubscribeV2Format Формат возвращаемого сервером JSON
const (
WsReqInstrumentsGetAndSubscribeV2FormatSimple WsReqInstrumentsGetAndSubscribeV2Format = "Simple"
)
Defines values for WsReqInstrumentsGetAndSubscribeV2Format.
type WsReqInstrumentsGetAndSubscribeV2Opcode ¶
type WsReqInstrumentsGetAndSubscribeV2Opcode string
WsReqInstrumentsGetAndSubscribeV2Opcode Код операции
const (
InstrumentsGetAndSubscribeV2 WsReqInstrumentsGetAndSubscribeV2Opcode = "InstrumentsGetAndSubscribeV2"
)
Defines values for WsReqInstrumentsGetAndSubscribeV2Opcode.
type WsReqOrderBookGetAndSubscribe ¶
type WsReqOrderBookGetAndSubscribe struct { // Code Тикер Code *string `json:"code,omitempty"` // Depth Глубина стакана. Стандартное и максимальное значение - 20 (20х20). Depth *int `json:"depth,omitempty"` // Exchange Биржа Exchange *WsReqOrderBookGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *string `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqOrderBookGetAndSubscribeOpcode `json:"opcode,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqOrderBookGetAndSubscribe defines model for ws_req_OrderBookGetAndSubscribe.
type WsReqOrderBookGetAndSubscribeExchange ¶
type WsReqOrderBookGetAndSubscribeExchange string
WsReqOrderBookGetAndSubscribeExchange Биржа
const ( WsReqOrderBookGetAndSubscribeExchangeMOEX WsReqOrderBookGetAndSubscribeExchange = "MOEX" WsReqOrderBookGetAndSubscribeExchangeSPBX WsReqOrderBookGetAndSubscribeExchange = "SPBX" )
Defines values for WsReqOrderBookGetAndSubscribeExchange.
type WsReqOrderBookGetAndSubscribeOpcode ¶ added in v0.1.1
type WsReqOrderBookGetAndSubscribeOpcode string
WsReqOrderBookGetAndSubscribeOpcode Код операции
const (
OrderBookGetAndSubscribe WsReqOrderBookGetAndSubscribeOpcode = "OrderBookGetAndSubscribe"
)
Defines values for WsReqOrderBookGetAndSubscribeOpcode.
type WsReqOrdersGetAndSubscribe ¶
type WsReqOrdersGetAndSubscribe struct { // Exchange Биржа Exchange *WsReqOrdersGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqOrdersGetAndSubscribeFormat `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqOrdersGetAndSubscribeOpcode `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqOrdersGetAndSubscribe defines model for ws_req_OrdersGetAndSubscribe.
type WsReqOrdersGetAndSubscribeExchange ¶
type WsReqOrdersGetAndSubscribeExchange string
WsReqOrdersGetAndSubscribeExchange Биржа
const (
WsReqOrdersGetAndSubscribeExchangeMOEX WsReqOrdersGetAndSubscribeExchange = "MOEX"
)
Defines values for WsReqOrdersGetAndSubscribeExchange.
type WsReqOrdersGetAndSubscribeFormat ¶
type WsReqOrdersGetAndSubscribeFormat string
WsReqOrdersGetAndSubscribeFormat Формат возвращаемого сервером JSON
const (
WsReqOrdersGetAndSubscribeFormatSimple WsReqOrdersGetAndSubscribeFormat = "Simple"
)
Defines values for WsReqOrdersGetAndSubscribeFormat.
type WsReqOrdersGetAndSubscribeOpcode ¶
type WsReqOrdersGetAndSubscribeOpcode string
WsReqOrdersGetAndSubscribeOpcode Код операции
const (
OrdersGetAndSubscribeV2 WsReqOrdersGetAndSubscribeOpcode = "OrdersGetAndSubscribeV2"
)
Defines values for WsReqOrdersGetAndSubscribeOpcode.
type WsReqPositionsGetAndSubscribe ¶
type WsReqPositionsGetAndSubscribe struct { // Exchange Биржа Exchange *WsReqPositionsGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *string `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqPositionsGetAndSubscribeOpcode `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqPositionsGetAndSubscribe defines model for ws_req_PositionsGetAndSubscribe.
type WsReqPositionsGetAndSubscribeExchange ¶
type WsReqPositionsGetAndSubscribeExchange string
WsReqPositionsGetAndSubscribeExchange Биржа
const ( WsReqPositionsGetAndSubscribeExchangeMOEX WsReqPositionsGetAndSubscribeExchange = "MOEX" WsReqPositionsGetAndSubscribeExchangeSPBX WsReqPositionsGetAndSubscribeExchange = "SPBX" )
Defines values for WsReqPositionsGetAndSubscribeExchange.
type WsReqPositionsGetAndSubscribeOpcode ¶
type WsReqPositionsGetAndSubscribeOpcode string
WsReqPositionsGetAndSubscribeOpcode Код операции
const (
PositionsGetAndSubscribeV2 WsReqPositionsGetAndSubscribeOpcode = "PositionsGetAndSubscribeV2"
)
Defines values for WsReqPositionsGetAndSubscribeOpcode.
type WsReqQuotesSubscribe ¶
type WsReqQuotesSubscribe struct { // Code Тикер Code *string `json:"code,omitempty"` // Exchange Биржа Exchange *WsReqQuotesSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *string `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *interface{} `json:"opcode,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqQuotesSubscribe defines model for ws_req_QuotesSubscribe.
type WsReqQuotesSubscribeExchange ¶
type WsReqQuotesSubscribeExchange string
WsReqQuotesSubscribeExchange Биржа
const ( WsReqQuotesSubscribeExchangeMOEX WsReqQuotesSubscribeExchange = "MOEX" WsReqQuotesSubscribeExchangeSPBX WsReqQuotesSubscribeExchange = "SPBX" )
Defines values for WsReqQuotesSubscribeExchange.
type WsReqRisksGetAndSubscribe ¶
type WsReqRisksGetAndSubscribe struct { // Exchange Биржа Exchange *WsReqRisksGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqRisksGetAndSubscribeFormat `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *string `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqRisksGetAndSubscribe defines model for ws_req_RisksGetAndSubscribe.
type WsReqRisksGetAndSubscribeExchange ¶
type WsReqRisksGetAndSubscribeExchange string
WsReqRisksGetAndSubscribeExchange Биржа
const (
WsReqRisksGetAndSubscribeExchangeMOEX WsReqRisksGetAndSubscribeExchange = "MOEX"
)
Defines values for WsReqRisksGetAndSubscribeExchange.
type WsReqRisksGetAndSubscribeFormat ¶
type WsReqRisksGetAndSubscribeFormat string
WsReqRisksGetAndSubscribeFormat Формат возвращаемого сервером JSON
const (
WsReqRisksGetAndSubscribeFormatSimple WsReqRisksGetAndSubscribeFormat = "Simple"
)
Defines values for WsReqRisksGetAndSubscribeFormat.
type WsReqSpectraRisksGetAndSubscribe ¶
type WsReqSpectraRisksGetAndSubscribe struct { // Exchange Биржа Exchange *WsReqSpectraRisksGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqSpectraRisksGetAndSubscribeFormat `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqSpectraRisksGetAndSubscribeOpcode `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqSpectraRisksGetAndSubscribe defines model for ws_req_SpectraRisksGetAndSubscribe.
type WsReqSpectraRisksGetAndSubscribeExchange ¶
type WsReqSpectraRisksGetAndSubscribeExchange string
WsReqSpectraRisksGetAndSubscribeExchange Биржа
const (
WsReqSpectraRisksGetAndSubscribeExchangeMOEX WsReqSpectraRisksGetAndSubscribeExchange = "MOEX"
)
Defines values for WsReqSpectraRisksGetAndSubscribeExchange.
type WsReqSpectraRisksGetAndSubscribeFormat ¶
type WsReqSpectraRisksGetAndSubscribeFormat string
WsReqSpectraRisksGetAndSubscribeFormat Формат возвращаемого сервером JSON
const (
WsReqSpectraRisksGetAndSubscribeFormatSimple WsReqSpectraRisksGetAndSubscribeFormat = "Simple"
)
Defines values for WsReqSpectraRisksGetAndSubscribeFormat.
type WsReqSpectraRisksGetAndSubscribeOpcode ¶
type WsReqSpectraRisksGetAndSubscribeOpcode string
WsReqSpectraRisksGetAndSubscribeOpcode Код операции
const (
SpectraRisksGetAndSubscribe WsReqSpectraRisksGetAndSubscribeOpcode = "SpectraRisksGetAndSubscribe"
)
Defines values for WsReqSpectraRisksGetAndSubscribeOpcode.
type WsReqStopOrdersGetAndSubscribe ¶
type WsReqStopOrdersGetAndSubscribe struct { // Exchange Биржа Exchange *WsReqStopOrdersGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqStopOrdersGetAndSubscribeFormat `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqStopOrdersGetAndSubscribeOpcode `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqStopOrdersGetAndSubscribe defines model for ws_req_StopOrdersGetAndSubscribe.
type WsReqStopOrdersGetAndSubscribeExchange ¶
type WsReqStopOrdersGetAndSubscribeExchange string
WsReqStopOrdersGetAndSubscribeExchange Биржа
const (
WsReqStopOrdersGetAndSubscribeExchangeMOEX WsReqStopOrdersGetAndSubscribeExchange = "MOEX"
)
Defines values for WsReqStopOrdersGetAndSubscribeExchange.
type WsReqStopOrdersGetAndSubscribeFormat ¶
type WsReqStopOrdersGetAndSubscribeFormat string
WsReqStopOrdersGetAndSubscribeFormat Формат возвращаемого сервером JSON
const (
WsReqStopOrdersGetAndSubscribeFormatSimple WsReqStopOrdersGetAndSubscribeFormat = "Simple"
)
Defines values for WsReqStopOrdersGetAndSubscribeFormat.
type WsReqStopOrdersGetAndSubscribeOpcode ¶
type WsReqStopOrdersGetAndSubscribeOpcode string
WsReqStopOrdersGetAndSubscribeOpcode Код операции
const (
StopOrdersGetAndSubscribe WsReqStopOrdersGetAndSubscribeOpcode = "StopOrdersGetAndSubscribe"
)
Defines values for WsReqStopOrdersGetAndSubscribeOpcode.
type WsReqStopOrdersGetAndSubscribeV2 ¶
type WsReqStopOrdersGetAndSubscribeV2 struct { // Exchange Биржа Exchange *WsReqStopOrdersGetAndSubscribeV2Exchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqStopOrdersGetAndSubscribeV2Format `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqStopOrdersGetAndSubscribeV2Opcode `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqStopOrdersGetAndSubscribeV2 defines model for ws_req_StopOrdersGetAndSubscribeV2.
type WsReqStopOrdersGetAndSubscribeV2Exchange ¶
type WsReqStopOrdersGetAndSubscribeV2Exchange string
WsReqStopOrdersGetAndSubscribeV2Exchange Биржа
const (
WsReqStopOrdersGetAndSubscribeV2ExchangeMOEX WsReqStopOrdersGetAndSubscribeV2Exchange = "MOEX"
)
Defines values for WsReqStopOrdersGetAndSubscribeV2Exchange.
type WsReqStopOrdersGetAndSubscribeV2Format ¶
type WsReqStopOrdersGetAndSubscribeV2Format string
WsReqStopOrdersGetAndSubscribeV2Format Формат возвращаемого сервером JSON
const (
WsReqStopOrdersGetAndSubscribeV2FormatSimple WsReqStopOrdersGetAndSubscribeV2Format = "Simple"
)
Defines values for WsReqStopOrdersGetAndSubscribeV2Format.
type WsReqStopOrdersGetAndSubscribeV2Opcode ¶
type WsReqStopOrdersGetAndSubscribeV2Opcode string
WsReqStopOrdersGetAndSubscribeV2Opcode Код операции
const (
StopOrdersGetAndSubscribeV2 WsReqStopOrdersGetAndSubscribeV2Opcode = "StopOrdersGetAndSubscribeV2"
)
Defines values for WsReqStopOrdersGetAndSubscribeV2Opcode.
type WsReqSummariesGetAndSubscribeV2 ¶
type WsReqSummariesGetAndSubscribeV2 struct { // Exchange Биржа Exchange *WsReqSummariesGetAndSubscribeV2Exchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqSummariesGetAndSubscribeV2Format `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqSummariesGetAndSubscribeV2Opcode `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqSummariesGetAndSubscribeV2 defines model for ws_req_SummariesGetAndSubscribeV2.
type WsReqSummariesGetAndSubscribeV2Exchange ¶
type WsReqSummariesGetAndSubscribeV2Exchange string
WsReqSummariesGetAndSubscribeV2Exchange Биржа
const (
WsReqSummariesGetAndSubscribeV2ExchangeMOEX WsReqSummariesGetAndSubscribeV2Exchange = "MOEX"
)
Defines values for WsReqSummariesGetAndSubscribeV2Exchange.
type WsReqSummariesGetAndSubscribeV2Format ¶
type WsReqSummariesGetAndSubscribeV2Format string
WsReqSummariesGetAndSubscribeV2Format Формат возвращаемого сервером JSON
const (
WsReqSummariesGetAndSubscribeV2FormatSimple WsReqSummariesGetAndSubscribeV2Format = "Simple"
)
Defines values for WsReqSummariesGetAndSubscribeV2Format.
type WsReqSummariesGetAndSubscribeV2Opcode ¶
type WsReqSummariesGetAndSubscribeV2Opcode string
WsReqSummariesGetAndSubscribeV2Opcode Код операции
const (
SummariesGetAndSubscribeV2 WsReqSummariesGetAndSubscribeV2Opcode = "SummariesGetAndSubscribeV2"
)
Defines values for WsReqSummariesGetAndSubscribeV2Opcode.
type WsReqTradesGetAndSubscribe ¶
type WsReqTradesGetAndSubscribe struct { // Exchange Биржа Exchange *WsReqTradesGetAndSubscribeExchange `json:"exchange,omitempty"` // Format Формат возвращаемого сервером JSON Format *WsReqTradesGetAndSubscribeFormat `json:"format,omitempty"` // Guid Уникальный идентификатор сообщений создаваемой подписки. Все входящие сообщения, соответствующие этой подписке, будут иметь такое значение поля guid. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqTradesGetAndSubscribeOpcode `json:"opcode,omitempty"` // Portfolio Идентификатор клиентского портфеля Portfolio *string `json:"portfolio,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqTradesGetAndSubscribe defines model for ws_req_TradesGetAndSubscribe.
type WsReqTradesGetAndSubscribeExchange ¶
type WsReqTradesGetAndSubscribeExchange string
WsReqTradesGetAndSubscribeExchange Биржа
const (
WsReqTradesGetAndSubscribeExchangeMOEX WsReqTradesGetAndSubscribeExchange = "MOEX"
)
Defines values for WsReqTradesGetAndSubscribeExchange.
type WsReqTradesGetAndSubscribeFormat ¶
type WsReqTradesGetAndSubscribeFormat string
WsReqTradesGetAndSubscribeFormat Формат возвращаемого сервером JSON
const (
WsReqTradesGetAndSubscribeFormatSimple WsReqTradesGetAndSubscribeFormat = "Simple"
)
Defines values for WsReqTradesGetAndSubscribeFormat.
type WsReqTradesGetAndSubscribeOpcode ¶
type WsReqTradesGetAndSubscribeOpcode string
WsReqTradesGetAndSubscribeOpcode Код операции
const (
TradesGetAndSubscribeV2 WsReqTradesGetAndSubscribeOpcode = "TradesGetAndSubscribeV2"
)
Defines values for WsReqTradesGetAndSubscribeOpcode.
type WsReqUnsubscribe ¶
type WsReqUnsubscribe struct { // Guid Уникальный идентификатор подписки, от которой отписываемся. Guid *string `json:"guid,omitempty"` // Opcode Код операции Opcode *WsReqUnsubscribeOpcode `json:"opcode,omitempty"` // Token JWT токен для авторизации Token *string `json:"token,omitempty"` }
WsReqUnsubscribe defines model for ws_req_Unsubscribe.
type WsReqUnsubscribeOpcode ¶
type WsReqUnsubscribeOpcode string
WsReqUnsubscribeOpcode Код операции
const (
Unsubscribe WsReqUnsubscribeOpcode = "unsubscribe"
)
Defines values for WsReqUnsubscribeOpcode.
type WsResBarsGetAndSubscribe ¶
type WsResBarsGetAndSubscribe struct { // Data Сообщение с данными о ценах на рынке (свечи) Data *struct { // Close Цена при закрытии Close *float64 `json:"close,omitempty"` // High Максимальная цена High *float64 `json:"high,omitempty"` // Low Минимальная цена Low *float64 `json:"low,omitempty"` // Open Цена при открытии Open *float64 `json:"open,omitempty"` // Time Время (UTC) (Unix time seconds) Time *int64 `json:"time,omitempty"` // Volume Объём Volume *int `json:"volume,omitempty"` } `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResBarsGetAndSubscribe defines model for ws_res_BarsGetAndSubscribe.
type WsResHandledSuccessfully ¶
type WsResHandledSuccessfully struct { // HttpCode HTTP-код ответа HttpCode *int `json:"httpCode,omitempty"` // Message Информация по созданной/отменённой подписке Message *string `json:"message,omitempty"` // RequestGuid Уникальный идентификатор подписки. Значение во входящем сообщении равно значению поля \"guid\", переданному при установке соединения. RequestGuid *string `json:"requestGuid,omitempty"` }
WsResHandledSuccessfully defines model for ws_res_HandledSuccessfully.
type WsResOrderBookGetAndSubscribe ¶
type WsResOrderBookGetAndSubscribe struct { // Data Данные о запрашиваемом "биржевом стакане" Data *Orderbook `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResOrderBookGetAndSubscribe defines model for ws_res_OrderBookGetAndSubscribe.
type WsResOrdersGetAndSubscribe ¶
type WsResOrdersGetAndSubscribe struct { Data *Order `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResOrdersGetAndSubscribe defines model for ws_res_OrdersGetAndSubscribe.
type WsResPositionsGetAndSubscribe ¶
type WsResPositionsGetAndSubscribe struct { // Data Сообщение с данными о позициях по ценным бумагам и валютным остаткам Data *struct { // AvgPrice Средняя цена сделок по позициям AvgPrice *float64 `json:"avgPrice,omitempty"` // BrokerSymbol Биржа:Тикер BrokerSymbol *string `json:"brokerSymbol,omitempty"` // DailyUnrealisedPl Нереализованная прибыль за день DailyUnrealisedPl *float64 `json:"dailyUnrealisedPl,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` // IsCurrency True для валютных остатков (денег), false - для торговых инструментов IsCurrency *bool `json:"isCurrency,omitempty"` // LotSize Размер лота LotSize *int `json:"lotSize,omitempty"` // Open Позиции на момент открытия (начала торгов) Open *int `json:"open,omitempty"` // OpenQtyBatch Позиции на момент открытия (начала торгов) OpenQtyBatch *int `json:"openQtyBatch,omitempty"` // OpenUnits Позиций на момент открытия (штуки) OpenUnits *int `json:"openUnits,omitempty"` // Qty Количество (лоты) Qty *int `json:"qty,omitempty"` // QtyBatch Количество (лоты) QtyBatch *int `json:"qtyBatch,omitempty"` // QtyT0 Количество на дату "Т0" (штуки) QtyT0 *int `json:"qtyT0,omitempty"` // QtyT0Batch Количество на дату "Т0" (лоты) QtyT0Batch *int `json:"qtyT0Batch,omitempty"` // QtyT1 Количество на дату "Т1" (штуки) QtyT1 *int `json:"qtyT1,omitempty"` // QtyT1Batch Количество на дату "Т1" (лоты) QtyT1Batch *int `json:"qtyT1Batch,omitempty"` // QtyT2 Количество на дату "Т2" (штуки) QtyT2 *int `json:"qtyT2,omitempty"` // QtyT2Batch Количество на дату "Т2" (лоты) QtyT2Batch *int `json:"qtyT2Batch,omitempty"` // QtyTFuture Количество на дату "TFuture" (штуки) QtyTFuture *int `json:"qtyTFuture,omitempty"` // QtyTFutureBatch Количество на дату "TFuture" (лоты) QtyTFutureBatch *int `json:"qtyTFutureBatch,omitempty"` // QtyUnits Количество (штуки) QtyUnits *int `json:"qtyUnits,omitempty"` // ShortName Наименование инструмента ShortName *string `json:"shortName,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` // UnrealisedPl Нереализованная прибыль UnrealisedPl *float64 `json:"unrealisedPl,omitempty"` } `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResPositionsGetAndSubscribe defines model for ws_res_PositionsGetAndSubscribe.
type WsResQuotesSubscribe ¶
type WsResQuotesSubscribe struct { Data *struct { // AccruedInt Начислено AccruedInt *int `json:"accruedInt"` // AccruedInterest Начислено AccruedInterest *int `json:"accrued_interest"` // Ask Аск Ask *float64 `json:"ask,omitempty"` // Bid Бид Bid *float64 `json:"bid,omitempty"` // Change Разность цены и цены предыдущего закрытия Change *float64 `json:"change"` // ChangePercent Относительное изменение цены ChangePercent *float64 `json:"change_percent"` // Description Короткое описание на русском языке Description *string `json:"description,omitempty"` // Exchange Биржа Exchange *string `json:"exchange,omitempty"` Facevalue *float64 `json:"facevalue,omitempty"` // HighPrice Максимальная цена HighPrice *float64 `json:"high_price,omitempty"` // LastPrice Последняя цена LastPrice *float64 `json:"last_price,omitempty"` // LastPriceTimestamp Время последней цены (UTC) LastPriceTimestamp *int64 `json:"last_price_timestamp,omitempty"` // Lotsize Размер лота Lotsize *float64 `json:"lotsize,omitempty"` Lotvalue *float64 `json:"lotvalue,omitempty"` // LowPrice Минимальная цена LowPrice *float64 `json:"low_price,omitempty"` // OpenPrice Цена открытия OpenPrice *float64 `json:"open_price,omitempty"` // PrevClosePrice Цена предыдущего закрытия PrevClosePrice *float64 `json:"prev_close_price,omitempty"` // Symbol Тикер (Код финансового инструмента) Symbol *string `json:"symbol,omitempty"` Type *string `json:"type,omitempty"` // Volume Объём Volume *float64 `json:"volume,omitempty"` Yield *int `json:"yield,omitempty"` } `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResQuotesSubscribe defines model for ws_res_QuotesSubscribe.
type WsResRisksGetAndSubscribe ¶
type WsResRisksGetAndSubscribe struct { Data *Risk `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResRisksGetAndSubscribe defines model for ws_res_RisksGetAndSubscribe.
type WsResSpectraRisksGetAndSubscribe ¶
type WsResSpectraRisksGetAndSubscribe struct { Data *Fortsrisk `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResSpectraRisksGetAndSubscribe defines model for ws_res_SpectraRisksGetAndSubscribe.
type WsResStopOrdersGetAndSubscribe ¶
type WsResStopOrdersGetAndSubscribe struct { Data *Stoporder `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResStopOrdersGetAndSubscribe defines model for ws_res_StopOrdersGetAndSubscribe.
type WsResStopOrdersGetAndSubscribeWarp ¶
type WsResStopOrdersGetAndSubscribeWarp struct { Data *StoporderWarp `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResStopOrdersGetAndSubscribeWarp defines model for ws_res_StopOrdersGetAndSubscribeWarp.
type WsResSummariesGetAndSubscribeV2 ¶
type WsResSummariesGetAndSubscribeV2 struct { // Data Сообщение с данными о позициях по деньгам Data *struct { // BuyingPower Покупательская способность BuyingPower *float64 `json:"buyingPower,omitempty"` // BuyingPowerAtMorning Покупательская способность (на утро) BuyingPowerAtMorning *float64 `json:"buyingPowerAtMorning,omitempty"` // Commission Суммарная комиссия (null для Срочного рынка) Commission *float64 `json:"commission"` // InitialMargin Начальная маржа InitialMargin *float64 `json:"initialMargin,omitempty"` // PortfolioEvaluation Ликвидный портфель PortfolioEvaluation *float64 `json:"portfolioEvaluation,omitempty"` // PortfolioLiquidationValue Оценка портфеля PortfolioLiquidationValue *float64 `json:"portfolioLiquidationValue,omitempty"` // Profit Прибыль Profit *float64 `json:"profit,omitempty"` // ProfitRate Относительная прибыль ProfitRate *float64 `json:"profitRate,omitempty"` // RiskBeforeForcePositionClosing Риск до закрытия RiskBeforeForcePositionClosing *float64 `json:"riskBeforeForcePositionClosing,omitempty"` } `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResSummariesGetAndSubscribeV2 defines model for ws_res_SummariesGetAndSubscribeV2.
type WsResTradesGetAndSubscribe ¶
type WsResTradesGetAndSubscribe struct { Data *Trade `json:"data,omitempty"` // Guid Уникальный идентификатор сообщений подписки. Значение во входящем сообщении равно значению одноимённого поля, переданному при установке соединения. Guid *string `json:"guid,omitempty"` }
WsResTradesGetAndSubscribe defines model for ws_res_TradesGetAndSubscribe.