kalshi-typescript
Version:
Official TypeScript SDK for the Kalshi API
418 lines (417 loc) • 28.5 kB
TypeScript
/**
* Kalshi Trade API Manual Endpoints
* Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
*
* The version of the OpenAPI document: 3.6.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import { type RequestArgs, BaseAPI } from '../base';
import type { AmendOrderRequest } from '../models';
import type { AmendOrderResponse } from '../models';
import type { BatchCancelOrdersRequest } from '../models';
import type { BatchCancelOrdersResponse } from '../models';
import type { BatchCreateOrdersRequest } from '../models';
import type { BatchCreateOrdersResponse } from '../models';
import type { CancelOrderResponse } from '../models';
import type { CreateOrderRequest } from '../models';
import type { CreateOrderResponse } from '../models';
import type { DecreaseOrderRequest } from '../models';
import type { DecreaseOrderResponse } from '../models';
import type { GetOrderQueuePositionResponse } from '../models';
import type { GetOrderQueuePositionsResponse } from '../models';
import type { GetOrderResponse } from '../models';
import type { GetOrdersResponse } from '../models';
/**
* OrdersApi - axios parameter creator
*/
export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* Endpoint for amending the max number of fillable contracts and/or price in an existing order. Max fillable contracts is `remaining_count` + `fill_count`.
* @summary Amend Order
* @param {string} orderId Order ID
* @param {AmendOrderRequest} amendOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
amendOrder: (orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for cancelling up to 20 orders at once.
* @summary Batch Cancel Orders
* @param {BatchCancelOrdersRequest} batchCancelOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCancelOrders: (batchCancelOrdersRequest: BatchCancelOrdersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for submitting a batch of orders. Each order in the batch is counted against the total rate limit for order operations. Consequently, the size of the batch is capped by the current per-second rate-limit configuration applicable to the user. At the moment of writing, the limit is 20 orders per batch.
* @summary Batch Create Orders
* @param {BatchCreateOrdersRequest} batchCreateOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCreateOrders: (batchCreateOrdersRequest: BatchCreateOrdersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for canceling orders. The value for the orderId should match the id field of the order you want to decrease. Commonly, DELETE-type endpoints return 204 status with no body content on success. But we can\'t completely delete the order, as it may be partially filled already. Instead, the DeleteOrder endpoint reduce the order completely, essentially zeroing the remaining resting contracts on it. The zeroed order is returned on the response payload as a form of validation for the client.
* @summary Cancel Order
* @param {string} orderId Order ID
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
cancelOrder: (orderId: string, subaccount?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for submitting orders in a market. Each user is limited to 200 000 open orders at a time.
* @summary Create Order
* @param {CreateOrderRequest} createOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createOrder: (createOrderRequest: CreateOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for decreasing the number of contracts in an existing order. This is the only kind of edit available on order quantity. Cancelling an order is equivalent to decreasing an order amount to zero.
* @summary Decrease Order
* @param {string} orderId Order ID
* @param {DecreaseOrderRequest} decreaseOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
decreaseOrder: (orderId: string, decreaseOrderRequest: DecreaseOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for getting a single order.
* @summary Get Order
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrder: (orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for getting an order\'s queue position in the order book. This represents the amount of orders that need to be matched before this order receives a partial or full match. Queue position is determined using a price-time priority.
* @summary Get Order Queue Position
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePosition: (orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Endpoint for getting queue positions for all resting orders. Queue position represents the number of contracts that need to be matched before an order receives a partial or full match, determined using price-time priority.
* @summary Get Queue Positions for Orders
* @param {string} [marketTickers] Comma-separated list of market tickers to filter by
* @param {string} [eventTicker] Event ticker to filter by
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePositions: (marketTickers?: string, eventTicker?: string, subaccount?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Restricts the response to orders that have a certain status: resting, canceled, or executed.
* @summary Get Orders
* @param {string} [ticker] Filter by market ticker
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
* @param {number} [minTs] Filter items after this Unix timestamp
* @param {number} [maxTs] Filter items before this Unix timestamp
* @param {string} [status] Filter by status. Possible values depend on the endpoint.
* @param {number} [limit] Number of results per page. Defaults to 100. Maximum value is 200.
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrders: (ticker?: string, eventTicker?: string, minTs?: number, maxTs?: number, status?: string, limit?: number, cursor?: string, subaccount?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* OrdersApi - functional programming interface
*/
export declare const OrdersApiFp: (configuration?: Configuration) => {
/**
* Endpoint for amending the max number of fillable contracts and/or price in an existing order. Max fillable contracts is `remaining_count` + `fill_count`.
* @summary Amend Order
* @param {string} orderId Order ID
* @param {AmendOrderRequest} amendOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
amendOrder(orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AmendOrderResponse>>;
/**
* Endpoint for cancelling up to 20 orders at once.
* @summary Batch Cancel Orders
* @param {BatchCancelOrdersRequest} batchCancelOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCancelOrders(batchCancelOrdersRequest: BatchCancelOrdersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchCancelOrdersResponse>>;
/**
* Endpoint for submitting a batch of orders. Each order in the batch is counted against the total rate limit for order operations. Consequently, the size of the batch is capped by the current per-second rate-limit configuration applicable to the user. At the moment of writing, the limit is 20 orders per batch.
* @summary Batch Create Orders
* @param {BatchCreateOrdersRequest} batchCreateOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCreateOrders(batchCreateOrdersRequest: BatchCreateOrdersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchCreateOrdersResponse>>;
/**
* Endpoint for canceling orders. The value for the orderId should match the id field of the order you want to decrease. Commonly, DELETE-type endpoints return 204 status with no body content on success. But we can\'t completely delete the order, as it may be partially filled already. Instead, the DeleteOrder endpoint reduce the order completely, essentially zeroing the remaining resting contracts on it. The zeroed order is returned on the response payload as a form of validation for the client.
* @summary Cancel Order
* @param {string} orderId Order ID
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
cancelOrder(orderId: string, subaccount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelOrderResponse>>;
/**
* Endpoint for submitting orders in a market. Each user is limited to 200 000 open orders at a time.
* @summary Create Order
* @param {CreateOrderRequest} createOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createOrder(createOrderRequest: CreateOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrderResponse>>;
/**
* Endpoint for decreasing the number of contracts in an existing order. This is the only kind of edit available on order quantity. Cancelling an order is equivalent to decreasing an order amount to zero.
* @summary Decrease Order
* @param {string} orderId Order ID
* @param {DecreaseOrderRequest} decreaseOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
decreaseOrder(orderId: string, decreaseOrderRequest: DecreaseOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DecreaseOrderResponse>>;
/**
* Endpoint for getting a single order.
* @summary Get Order
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrder(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderResponse>>;
/**
* Endpoint for getting an order\'s queue position in the order book. This represents the amount of orders that need to be matched before this order receives a partial or full match. Queue position is determined using a price-time priority.
* @summary Get Order Queue Position
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePosition(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderQueuePositionResponse>>;
/**
* Endpoint for getting queue positions for all resting orders. Queue position represents the number of contracts that need to be matched before an order receives a partial or full match, determined using price-time priority.
* @summary Get Queue Positions for Orders
* @param {string} [marketTickers] Comma-separated list of market tickers to filter by
* @param {string} [eventTicker] Event ticker to filter by
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePositions(marketTickers?: string, eventTicker?: string, subaccount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderQueuePositionsResponse>>;
/**
* Restricts the response to orders that have a certain status: resting, canceled, or executed.
* @summary Get Orders
* @param {string} [ticker] Filter by market ticker
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
* @param {number} [minTs] Filter items after this Unix timestamp
* @param {number} [maxTs] Filter items before this Unix timestamp
* @param {string} [status] Filter by status. Possible values depend on the endpoint.
* @param {number} [limit] Number of results per page. Defaults to 100. Maximum value is 200.
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrders(ticker?: string, eventTicker?: string, minTs?: number, maxTs?: number, status?: string, limit?: number, cursor?: string, subaccount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrdersResponse>>;
};
/**
* OrdersApi - factory interface
*/
export declare const OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* Endpoint for amending the max number of fillable contracts and/or price in an existing order. Max fillable contracts is `remaining_count` + `fill_count`.
* @summary Amend Order
* @param {string} orderId Order ID
* @param {AmendOrderRequest} amendOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
amendOrder(orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<AmendOrderResponse>;
/**
* Endpoint for cancelling up to 20 orders at once.
* @summary Batch Cancel Orders
* @param {BatchCancelOrdersRequest} batchCancelOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCancelOrders(batchCancelOrdersRequest: BatchCancelOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchCancelOrdersResponse>;
/**
* Endpoint for submitting a batch of orders. Each order in the batch is counted against the total rate limit for order operations. Consequently, the size of the batch is capped by the current per-second rate-limit configuration applicable to the user. At the moment of writing, the limit is 20 orders per batch.
* @summary Batch Create Orders
* @param {BatchCreateOrdersRequest} batchCreateOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCreateOrders(batchCreateOrdersRequest: BatchCreateOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchCreateOrdersResponse>;
/**
* Endpoint for canceling orders. The value for the orderId should match the id field of the order you want to decrease. Commonly, DELETE-type endpoints return 204 status with no body content on success. But we can\'t completely delete the order, as it may be partially filled already. Instead, the DeleteOrder endpoint reduce the order completely, essentially zeroing the remaining resting contracts on it. The zeroed order is returned on the response payload as a form of validation for the client.
* @summary Cancel Order
* @param {string} orderId Order ID
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
cancelOrder(orderId: string, subaccount?: number, options?: RawAxiosRequestConfig): AxiosPromise<CancelOrderResponse>;
/**
* Endpoint for submitting orders in a market. Each user is limited to 200 000 open orders at a time.
* @summary Create Order
* @param {CreateOrderRequest} createOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createOrder(createOrderRequest: CreateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrderResponse>;
/**
* Endpoint for decreasing the number of contracts in an existing order. This is the only kind of edit available on order quantity. Cancelling an order is equivalent to decreasing an order amount to zero.
* @summary Decrease Order
* @param {string} orderId Order ID
* @param {DecreaseOrderRequest} decreaseOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
decreaseOrder(orderId: string, decreaseOrderRequest: DecreaseOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<DecreaseOrderResponse>;
/**
* Endpoint for getting a single order.
* @summary Get Order
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderResponse>;
/**
* Endpoint for getting an order\'s queue position in the order book. This represents the amount of orders that need to be matched before this order receives a partial or full match. Queue position is determined using a price-time priority.
* @summary Get Order Queue Position
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePosition(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderQueuePositionResponse>;
/**
* Endpoint for getting queue positions for all resting orders. Queue position represents the number of contracts that need to be matched before an order receives a partial or full match, determined using price-time priority.
* @summary Get Queue Positions for Orders
* @param {string} [marketTickers] Comma-separated list of market tickers to filter by
* @param {string} [eventTicker] Event ticker to filter by
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePositions(marketTickers?: string, eventTicker?: string, subaccount?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderQueuePositionsResponse>;
/**
* Restricts the response to orders that have a certain status: resting, canceled, or executed.
* @summary Get Orders
* @param {string} [ticker] Filter by market ticker
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
* @param {number} [minTs] Filter items after this Unix timestamp
* @param {number} [maxTs] Filter items before this Unix timestamp
* @param {string} [status] Filter by status. Possible values depend on the endpoint.
* @param {number} [limit] Number of results per page. Defaults to 100. Maximum value is 200.
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrders(ticker?: string, eventTicker?: string, minTs?: number, maxTs?: number, status?: string, limit?: number, cursor?: string, subaccount?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetOrdersResponse>;
};
/**
* OrdersApi - object-oriented interface
*/
export declare class OrdersApi extends BaseAPI {
/**
* Endpoint for amending the max number of fillable contracts and/or price in an existing order. Max fillable contracts is `remaining_count` + `fill_count`.
* @summary Amend Order
* @param {string} orderId Order ID
* @param {AmendOrderRequest} amendOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
amendOrder(orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AmendOrderResponse, any, {}>>;
/**
* Endpoint for cancelling up to 20 orders at once.
* @summary Batch Cancel Orders
* @param {BatchCancelOrdersRequest} batchCancelOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCancelOrders(batchCancelOrdersRequest: BatchCancelOrdersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchCancelOrdersResponse, any, {}>>;
/**
* Endpoint for submitting a batch of orders. Each order in the batch is counted against the total rate limit for order operations. Consequently, the size of the batch is capped by the current per-second rate-limit configuration applicable to the user. At the moment of writing, the limit is 20 orders per batch.
* @summary Batch Create Orders
* @param {BatchCreateOrdersRequest} batchCreateOrdersRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
batchCreateOrders(batchCreateOrdersRequest: BatchCreateOrdersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchCreateOrdersResponse, any, {}>>;
/**
* Endpoint for canceling orders. The value for the orderId should match the id field of the order you want to decrease. Commonly, DELETE-type endpoints return 204 status with no body content on success. But we can\'t completely delete the order, as it may be partially filled already. Instead, the DeleteOrder endpoint reduce the order completely, essentially zeroing the remaining resting contracts on it. The zeroed order is returned on the response payload as a form of validation for the client.
* @summary Cancel Order
* @param {string} orderId Order ID
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
cancelOrder(orderId: string, subaccount?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelOrderResponse, any, {}>>;
/**
* Endpoint for submitting orders in a market. Each user is limited to 200 000 open orders at a time.
* @summary Create Order
* @param {CreateOrderRequest} createOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createOrder(createOrderRequest: CreateOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrderResponse, any, {}>>;
/**
* Endpoint for decreasing the number of contracts in an existing order. This is the only kind of edit available on order quantity. Cancelling an order is equivalent to decreasing an order amount to zero.
* @summary Decrease Order
* @param {string} orderId Order ID
* @param {DecreaseOrderRequest} decreaseOrderRequest
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
decreaseOrder(orderId: string, decreaseOrderRequest: DecreaseOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DecreaseOrderResponse, any, {}>>;
/**
* Endpoint for getting a single order.
* @summary Get Order
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrder(orderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderResponse, any, {}>>;
/**
* Endpoint for getting an order\'s queue position in the order book. This represents the amount of orders that need to be matched before this order receives a partial or full match. Queue position is determined using a price-time priority.
* @summary Get Order Queue Position
* @param {string} orderId Order ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePosition(orderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderQueuePositionResponse, any, {}>>;
/**
* Endpoint for getting queue positions for all resting orders. Queue position represents the number of contracts that need to be matched before an order receives a partial or full match, determined using price-time priority.
* @summary Get Queue Positions for Orders
* @param {string} [marketTickers] Comma-separated list of market tickers to filter by
* @param {string} [eventTicker] Event ticker to filter by
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrderQueuePositions(marketTickers?: string, eventTicker?: string, subaccount?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrderQueuePositionsResponse, any, {}>>;
/**
* Restricts the response to orders that have a certain status: resting, canceled, or executed.
* @summary Get Orders
* @param {string} [ticker] Filter by market ticker
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
* @param {number} [minTs] Filter items after this Unix timestamp
* @param {number} [maxTs] Filter items before this Unix timestamp
* @param {string} [status] Filter by status. Possible values depend on the endpoint.
* @param {number} [limit] Number of results per page. Defaults to 100. Maximum value is 200.
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
* @param {number} [subaccount] Subaccount number (0 for primary, 1-32 for subaccounts)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getOrders(ticker?: string, eventTicker?: string, minTs?: number, maxTs?: number, status?: string, limit?: number, cursor?: string, subaccount?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrdersResponse, any, {}>>;
}