How to close a position on Kraken Futures
This guide will walk you through the various methods for closing a position on Kraken Futures using Tradoflow.
Manual close
If you know the exact details of your open position, , you can manually create an opposing template to close or equalize that position using the Template functionality in Tradoflow.
For example, if you hold a long position for XBTUSD with a quantity of 1, you can close it by sending a signal with the following parameters:
{
"symbol": "XBTUSD",
"side": "Sell",
"type": "Market",
"tif": "gtc",
"userId": "abc",
"quantity": "1",
"event": "placeOrder"
}Automatic Close Using the "Close Position" Event
If you are unsure of the exact details of your open position, you can use the "Close position" event in the Template-page. Tradoflow will automatically determine the correct parameters to create an opposing template and close the position.
You simply need to generate the signal:
{
"symbol": "XBTUSD",
"userId": "abc"
"event": "closePosition"
}Closing All Positions on Kraken Futures
The third option is to close all open positions on Kraken Futures using the "Close All Positions" button available on the Connections- page in Tradoflow. Use this option with caution, as it will close all of your open positions simultaneously.