## krakenfutures{docsify-ignore} **Kind**: global class **Extends**: Exchange * [fetchMarkets](#fetchmarkets) * [fetchOrderBook](#fetchorderbook) * [fetchTickers](#fetchtickers) * [fetchTrades](#fetchtrades) * [createOrder](#createorder) * [createOrders](#createorders) * [editOrder](#editorder) * [cancelOrder](#cancelorder) * [cancelOrders](#cancelorders) * [cancelAllOrders](#cancelallorders) * [cancelAllOrdersAfter](#cancelallordersafter) * [fetchOpenOrders](#fetchopenorders) * [fetchClosedOrders](#fetchclosedorders) * [fetchCanceledOrders](#fetchcanceledorders) * [fetchMyTrades](#fetchmytrades) * [fetchBalance](#fetchbalance) * [fetchFundingRates](#fetchfundingrates) * [fetchFundingRateHistory](#fetchfundingratehistory) * [fetchPositions](#fetchpositions) * [fetchLeverageTiers](#fetchleveragetiers) * [transfer](#transfer) * [setLeverage](#setleverage) * [fetchLeverages](#fetchleverages) * [fetchLeverage](#fetchleverage) * [watchOrderBookForSymbols](#watchorderbookforsymbols) * [watchTicker](#watchticker) * [watchTickers](#watchtickers) * [watchBidsAsks](#watchbidsasks) * [watchTrades](#watchtrades) * [watchTradesForSymbols](#watchtradesforsymbols) * [watchOrderBook](#watchorderbook) * [watchPositions](#watchpositions) * [watchOrders](#watchorders) * [watchMyTrades](#watchmytrades) * [watchOrders](#watchorders) ### fetchMarkets{docsify-ignore} Fetches the available trading markets from the exchange, Multi-collateral markets are returned as linear markets, but can be settled in multiple currencies **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An array of market structures **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-instrument-details-get-instruments | Param | Type | Required | Description | | --- | --- | --- | --- | | params | object | No | exchange specific params | ```javascript krakenfutures.fetchMarkets ([params]) ``` ### fetchOrderBook{docsify-ignore} Fetches a list of open orders in a market **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An [order book structure](https://docs.ccxt.com/#/?id=order-book-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-market-data-get-orderbook | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | Unified market symbol | | limit | int | No | Not used by krakenfutures | | params | object | No | exchange specific params | ```javascript krakenfutures.fetchOrderBook (symbol[, limit, params]) ``` ### fetchTickers{docsify-ignore} fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - an array of [ticker structures](https://docs.ccxt.com/#/?id=ticker-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-market-data-get-tickers | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string> | Yes | unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.fetchTickers (symbols[, params]) ``` ### fetchTrades{docsify-ignore} Fetch a history of filled trades that this account has made **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An array of [trade structures](https://docs.ccxt.com/#/?id=trade-structure) **See** - https://docs.futures.kraken.com/#http-api-trading-v3-api-market-data-get-trade-history - https://docs.futures.kraken.com/#http-api-history-market-history-get-public-execution-events | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | Unified CCXT market symbol | | since | int | No | Timestamp in ms of earliest trade. Not used by krakenfutures except in combination with params.until | | limit | int | No | Total number of trades, cannot exceed 100 | | params | object | No | Exchange specific params | | params.until | int | No | Timestamp in ms of latest trade | | params.paginate | boolean | No | default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params) | | params.method | string | No | The method to use to fetch trades. Can be 'historyGetMarketSymbolExecutions' or 'publicGetHistory' default is 'historyGetMarketSymbolExecutions' | ```javascript krakenfutures.fetchTrades (symbol[, since, limit, params]) ``` ### createOrder{docsify-ignore} Create an order on the exchange **Kind**: instance method of [krakenfutures](#krakenfutures) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-send-order | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified market symbol | | type | string | Yes | 'limit' or 'market' | | side | string | Yes | 'buy' or 'sell' | | amount | float | Yes | number of contracts | | price | float | No | limit order price | | params.reduceOnly | bool | No | set as true if you wish the order to only reduce an existing position, any order which increases an existing position will be rejected, default is false | | params.postOnly | bool | No | set as true if you wish to make a postOnly order, default is false | | params.clientOrderId | string | No | UUID The order identity that is specified from the user, It must be globally unique | | params.triggerPrice | float | No | the price that a stop order is triggered at | | params.stopLossPrice | float | No | the price that a stop loss order is triggered at | | params.takeProfitPrice | float | No | the price that a take profit order is triggered at | | params.triggerSignal | string | No | for triggerPrice, stopLossPrice and takeProfitPrice orders, the trigger price type, 'last', 'mark' or 'index', default is 'last' | ```javascript krakenfutures.createOrder (symbol, type, side, amount[, price]) ``` ### createOrders{docsify-ignore} create a list of trade orders **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - an [order structure](https://docs.ccxt.com/#/?id=order-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-batch-order-management | Param | Type | Description | | --- | --- | --- | | orders | Array | list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params | ```javascript krakenfutures.createOrders (orders, [undefined]) ``` ### editOrder{docsify-ignore} Edit an open order on the exchange **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An [order structure](https://docs.ccxt.com/#/?id=order-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-edit-order | Param | Type | Required | Description | | --- | --- | --- | --- | | id | string | Yes | order id | | symbol | string | Yes | Not used by Krakenfutures | | type | string | Yes | Not used by Krakenfutures | | side | string | Yes | Not used by Krakenfutures | | amount | float | Yes | Order size | | price | float | No | Price to fill order at | | params | object | No | Exchange specific params | ```javascript krakenfutures.editOrder (id, symbol, type, side, amount[, price, params]) ``` ### cancelOrder{docsify-ignore} Cancel an open order on the exchange **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An [order structure](https://docs.ccxt.com/#/?id=order-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-cancel-order | Param | Type | Required | Description | | --- | --- | --- | --- | | id | string | Yes | Order id | | symbol | string | Yes | Not used by Krakenfutures | | params | object | No | Exchange specific params | ```javascript krakenfutures.cancelOrder (id, symbol[, params]) ``` ### cancelOrders{docsify-ignore} cancel multiple orders **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - an list of [order structures](https://docs.ccxt.com/#/?id=order-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-batch-order-management | Param | Type | Required | Description | | --- | --- | --- | --- | | ids | Array<string> | Yes | order ids | | symbol | string | No | unified market symbol | | params | object | No | extra parameters specific to the exchange API endpoint EXCHANGE SPECIFIC PARAMETERS | | params.clientOrderIds | Array<string> | No | max length 10 e.g. ["my_id_1","my_id_2"] | ```javascript krakenfutures.cancelOrders (ids[, symbol, params]) ``` ### cancelAllOrders{docsify-ignore} Cancels all orders on the exchange, including trigger orders **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Response from exchange api **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-cancel-all-orders | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | str | Yes | Unified market symbol | | params | dict | No | Exchange specific params | ```javascript krakenfutures.cancelAllOrders (symbol[, params]) ``` ### cancelAllOrdersAfter{docsify-ignore} dead man's switch, cancel all orders after the given timeout **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - the api result **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-dead-man-39-s-switch | Param | Type | Required | Description | | --- | --- | --- | --- | | timeout | number | Yes | time in milliseconds, 0 represents cancel the timer | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.cancelAllOrdersAfter (timeout[, params]) ``` ### fetchOpenOrders{docsify-ignore} Gets all open orders, including trigger orders, for an account from the exchange api **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An array of [order structures](https://docs.ccxt.com/#/?id=order-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-order-management-get-open-orders | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | Unified market symbol | | since | int | No | Timestamp (ms) of earliest order. (Not used by kraken api but filtered internally by CCXT) | | limit | int | No | How many orders to return. (Not used by kraken api but filtered internally by CCXT) | | params | object | No | Exchange specific parameters | ```javascript krakenfutures.fetchOpenOrders (symbol[, since, limit, params]) ``` ### fetchClosedOrders{docsify-ignore} Gets all closed orders, including trigger orders, for an account from the exchange api **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An array of [order structures](https://docs.ccxt.com/#/?id=order-structure) **See**: https://docs.futures.kraken.com/#http-api-history-account-history-get-order-events | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | Unified market symbol | | since | int | No | Timestamp (ms) of earliest order. | | limit | int | No | How many orders to return. | | params | object | No | Exchange specific parameters | ```javascript krakenfutures.fetchClosedOrders (symbol[, since, limit, params]) ``` ### fetchCanceledOrders{docsify-ignore} Gets all canceled orders, including trigger orders, for an account from the exchange api **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: An array of [order structures](https://docs.ccxt.com/#/?id=order-structure) **See**: https://docs.futures.kraken.com/#http-api-history-account-history-get-order-events | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | Unified market symbol | | since | int | No | Timestamp (ms) of earliest order. | | limit | int | No | How many orders to return. | | params | object | No | Exchange specific parameters | ```javascript krakenfutures.fetchCanceledOrders (symbol[, since, limit, params]) ``` ### fetchMyTrades{docsify-ignore} fetch all trades made by the user **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<Trade> - a list of [trade structures](https://docs.ccxt.com/#/?id=trade-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-historical-data-get-your-fills | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified market symbol | | since | int | No | *not used by the api* the earliest time in ms to fetch trades for | | limit | int | No | the maximum number of trades structures to retrieve | | params | object | No | extra parameters specific to the exchange API endpoint | | params.until | int | No | the latest time in ms to fetch entries for | ```javascript krakenfutures.fetchMyTrades (symbol[, since, limit, params]) ``` ### fetchBalance{docsify-ignore} Fetch the balance for a sub-account, all sub-account balances are inside 'info' in the response **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: A [balance structure](https://docs.ccxt.com/#/?id=balance-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-account-information-get-wallets | Param | Type | Required | Description | | --- | --- | --- | --- | | params | object | No | Exchange specific parameters | | params.type | string | No | The sub-account type to query the balance of, possible values include 'flex', 'cash'/'main'/'funding', or a market symbol * defaults to 'flex' * | | params.symbol | string | No | A unified market symbol, when assigned the balance for a trading market that matches the symbol is returned | ```javascript krakenfutures.fetchBalance ([params]) ``` ### fetchFundingRates{docsify-ignore} fetch the current funding rates **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<Order> - an array of [funding rate structures](https://docs.ccxt.com/#/?id=funding-rate-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-market-data-get-tickers | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string> | Yes | unified market symbols | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.fetchFundingRates (symbols[, params]) ``` ### fetchFundingRateHistory{docsify-ignore} fetches historical funding rate prices **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<object> - a list of [funding rate structures](https://docs.ccxt.com/#/?id=funding-rate-history-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-historical-funding-rates-historical-funding-rates | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified symbol of the market to fetch the funding rate history for | | since | int | No | timestamp in ms of the earliest funding rate to fetch | | limit | int | No | the maximum amount of [funding rate structures](https://docs.ccxt.com/#/?id=funding-rate-history-structure) to fetch | | params | object | No | extra parameters specific to the api endpoint | ```javascript krakenfutures.fetchFundingRateHistory (symbol[, since, limit, params]) ``` ### fetchPositions{docsify-ignore} Fetches current contract trading positions **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Parsed exchange response for positions **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-account-information-get-open-positions | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string> | Yes | List of unified symbols | | params | object | No | Not used by krakenfutures | ```javascript krakenfutures.fetchPositions (symbols[, params]) ``` ### fetchLeverageTiers{docsify-ignore} retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - a dictionary of [leverage tiers structures](https://docs.ccxt.com/#/?id=leverage-tiers-structure), indexed by market symbols **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-instrument-details-get-instruments | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string>, undefined | Yes | list of unified market symbols | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.fetchLeverageTiers (symbols[, params]) ``` ### transfer{docsify-ignore} transfers currencies between sub-accounts **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: a [transfer structure](https://docs.ccxt.com/#/?id=transfer-structure) **See** - https://docs.futures.kraken.com/#http-api-trading-v3-api-transfers-initiate-wallet-transfer - https://docs.futures.kraken.com/#http-api-trading-v3-api-transfers-initiate-withdrawal-to-spot-wallet | Param | Type | Required | Description | | --- | --- | --- | --- | | code | string | Yes | Unified currency code | | amount | float | Yes | Size of the transfer | | fromAccount | string | Yes | 'main'/'funding'/'future', 'flex', or a unified market symbol | | toAccount | string | Yes | 'main'/'funding', 'flex', 'spot' or a unified market symbol | | params | object | No | Exchange specific parameters | ```javascript krakenfutures.transfer (code, amount, fromAccount, toAccount[, params]) ``` ### setLeverage{docsify-ignore} set the level of leverage for a market **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - response from the exchange **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-multi-collateral-set-the-leverage-setting-for-a-market | Param | Type | Required | Description | | --- | --- | --- | --- | | leverage | float | Yes | the rate of leverage | | symbol | string | Yes | unified market symbol | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.setLeverage (leverage, symbol[, params]) ``` ### fetchLeverages{docsify-ignore} fetch the set leverage for all contract and margin markets **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - a list of [leverage structures](https://docs.ccxt.com/#/?id=leverage-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-multi-collateral-get-the-leverage-setting-for-a-market | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string> | No | a list of unified market symbols | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.fetchLeverages ([symbols, params]) ``` ### fetchLeverage{docsify-ignore} fetch the set leverage for a market **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - a [leverage structure](https://docs.ccxt.com/#/?id=leverage-structure) **See**: https://docs.futures.kraken.com/#http-api-trading-v3-api-multi-collateral-get-the-leverage-setting-for-a-market | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified market symbol | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.fetchLeverage (symbol[, params]) ``` ### watchOrderBookForSymbols{docsify-ignore} watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - A dictionary of [order book structures](https://docs.ccxt.com/#/?id=order-book-structure) indexed by market symbols **See**: https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string> | Yes | unified array of symbols | | limit | int | No | the maximum amount of order book entries to return | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchOrderBookForSymbols (symbols[, limit, params]) ``` ### watchTicker{docsify-ignore} watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - a [ticker structure](https://docs.ccxt.com/#/?id=ticker-structure) **See**: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified symbol of the market to fetch the ticker for | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchTicker (symbol[, params]) ``` ### watchTickers{docsify-ignore} watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - a [ticker structure](https://docs.ccxt.com/#/?id=ticker-structure) **See**: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified symbol of the market to fetch the ticker for | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchTickers (symbol[, params]) ``` ### watchBidsAsks{docsify-ignore} watches best bid & ask for symbols **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - a [ticker structure](https://docs.ccxt.com/#/?id=ticker-structure) **See**: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string> | Yes | unified symbol of the market to fetch the ticker for | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchBidsAsks (symbols[, params]) ``` ### watchTrades{docsify-ignore} get the list of most recent trades for a particular symbol **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<object> - a list of [trade structures](https://docs.ccxt.com/#/?id=public-trades) **See**: https://docs.futures.kraken.com/#websocket-api-public-feeds-trade | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified symbol of the market to fetch trades for | | since | int | No | timestamp in ms of the earliest trade to fetch | | limit | int | No | the maximum amount of trades to fetch | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchTrades (symbol[, since, limit, params]) ``` ### watchTradesForSymbols{docsify-ignore} get the list of most recent trades for a list of symbols **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<object> - a list of [trade structures](https://docs.ccxt.com/#/?id=public-trades) **See**: https://docs.futures.kraken.com/#websocket-api-public-feeds-trade | Param | Type | Required | Description | | --- | --- | --- | --- | | symbols | Array<string> | Yes | unified symbol of the market to fetch trades for | | since | int | No | timestamp in ms of the earliest trade to fetch | | limit | int | No | the maximum amount of trades to fetch | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchTradesForSymbols (symbols[, since, limit, params]) ``` ### watchOrderBook{docsify-ignore} watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - A dictionary of [order book structures](https://docs.ccxt.com/#/?id=order-book-structure) indexed by market symbols **See**: https://docs.futures.kraken.com/#websocket-api-public-feeds-book | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified symbol of the market to fetch the order book for | | limit | int | No | not used by krakenfutures watchOrderBook | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchOrderBook (symbol[, limit, params]) ``` ### watchPositions{docsify-ignore} watch all open positions **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<object> - a list of [position structure](https://docs.ccxt.com/en/latest/manual.html#position-structure) **See**: https://docs.futures.kraken.com/#websocket-api-private-feeds-open-positions | Param | Type | Description | | --- | --- | --- | | symbols | Array<string>, undefined | list of unified market symbols | | params | object | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchPositions (symbols, params[]) ``` ### watchOrders{docsify-ignore} watches information on multiple orders made by the user **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<object> - a list of [order structures](https://docs.ccxt.com/#/?id=order-structure) **See** - https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders - https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders-verbose | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | not used by krakenfutures watchOrders | | since | int | No | not used by krakenfutures watchOrders | | limit | int | No | not used by krakenfutures watchOrders | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchOrders (symbol[, since, limit, params]) ``` ### watchMyTrades{docsify-ignore} watches information on multiple trades made by the user **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: Array<object> - a list of [trade structures](https://docs.ccxt.com/#/?id=trade-structure) **See**: https://docs.futures.kraken.com/#websocket-api-private-feeds-fills | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | unified market symbol of the market orders were made in | | since | int | No | the earliest time in ms to fetch orders for | | limit | int | No | the maximum number of order structures to retrieve | | params | object | No | extra parameters specific to the exchange API endpoint | ```javascript krakenfutures.watchMyTrades (symbol[, since, limit, params]) ``` ### watchOrders{docsify-ignore} watches information on multiple orders made by the user **Kind**: instance method of [krakenfutures](#krakenfutures) **Returns**: object - a object of wallet types each with a balance structure [https://docs.ccxt.com/#/?id=balance-structure](https://docs.ccxt.com/#/?id=balance-structure) **See**: https://docs.futures.kraken.com/#websocket-api-private-feeds-balances | Param | Type | Required | Description | | --- | --- | --- | --- | | symbol | string | Yes | not used by krakenfutures watchBalance | | since | int | No | not used by krakenfutures watchBalance | | limit | int | No | not used by krakenfutures watchBalance | | params | object | No | extra parameters specific to the exchange API endpoint | | params.account | string | No | can be either 'futures' or 'flex_futures' | ```javascript krakenfutures.watchOrders (symbol[, since, limit, params]) ```