Skip to content

Instantly share code, notes, and snippets.

@jacmkno
Last active January 2, 2024 07:19
Show Gist options
  • Save jacmkno/27b9a479749112282307e585f3806b76 to your computer and use it in GitHub Desktop.
Save jacmkno/27b9a479749112282307e585f3806b76 to your computer and use it in GitHub Desktop.
Kareken Order Options
// Fields available to open a new position in kraken on a given asset
{
"Order Type": {
"Description": "Type of order for execution",
"Options": {
"Market": {
"description": "Executes at the current market price",
"fields": {}
},
"Limit": {
"description": "Executes the order when price reaches a given value",
"fields": {
"Limit Price": "Target price for activation"
}
},
"Stop Loss": {
"description": "Activates a sell order when the market price reaches a set trigger",
"fields": {
"Trigger Price": "Market price to activate order",
"Distance Percent": "Percent from trigger price for setting stop loss"
}
},
"Stop Loss Limit": {
"description": "Combines stop loss and limit order, triggering at a set price",
"fields": {
"Trigger Price": "Price to activate stop loss limit order",
"Distance Percent for Trigger": "Percent from trigger to activate limit order",
"Limit": "Execution price post-trigger",
"Distance for Limit": "Distance from limit price to set stop loss"
}
},
"Take Profit": {
"description": "Triggers a sell order at a target price for profit",
"fields": {
"Trigger Price": "Price to activate take profit order",
"Distance Percent": "Percent from trigger for setting take profit"
}
},
"Take Profit Limit": {
"description": "Sets a limit order to secure profits, activated at a trigger price",
"fields": {
"Trigger Price": "Price to activate take profit limit order",
"Distance Percent for Trigger": "Percent from trigger to activate limit order",
"Limit": "Execution price post-trigger",
"Distance for Limit": "Distance from limit price to set take profit"
}
},
"Iceberg": {
"description": "Large order divided into smaller, hidden orders",
"fields": {
"Limit Price": "Maximum execution price for hidden quantity"
}
},
"Trailing Stop": {
"description": "Automatically adjusts with market price movement",
"fields": {
"Trailing Offset": "Amount trailing stop follows market price",
"Offset Unit": {
"Description": "Unit for trailing offset",
"Options": ["Percent", "USD"]
}
}
}
}
},
"Action": {
"Description": "Order type: buy or sell",
"Options": ["Buy", "Sell"]
},
"Leverage": {
"Description": "Multiplier for trade value",
"Options": ["None", "2x", "3x", "4x", "5x"]
},
"Quantity": {
"Description": "Trade amount in cryptocurrency",
"Notes": "Subject to minimum and maximum limits."
},
"Reduce Only": {
"Description": "Restricts order to position reduction",
"Options": ["Enable", "Disable"]
},
"Conditional Opposite Order": {
"Description": "This automatically creates an order with opposite sell/buy action, once the original order is partially or fully executed.",
"Options": {
"No": {
"Description": "No conditional order, proceed with standard order."
},
"Limit": {
"description": "Executes at a specific price limit",
"fields": {
"Limit Price": "Execution price for limit order."
}
},
"Stop Loss": {
"description": "Triggers a sell to prevent further losses",
"fields": {
"Trigger Price": "Price to activate stop loss."
}
},
"Take Profit": {
"description": "Executes a sell to secure profits",
"fields": {
"Trigger Price": "Price to activate take profit."
}
},
"Stop Loss Limit": {
"description": "Stop loss order with a specified limit",
"fields": {
"Trigger": "Condition for triggering order.",
"Trigger Price": "Price to activate stop loss limit."
}
},
"Take Profit Limit": {
"description": "Take profit order with a limit price",
"fields": {
"Trigger Price": "Price to activate take profit limit.",
"Limit Price": "Execution price for take profit limit."
}
},
"Trailing Stop": {
"description": "Adjusts sell order in response to price changes",
"fields": {
"Trailing Offset": "Movement amount of trailing stop.",
"Offset Unit": {
"Description": "Unit for trailing offset",
"Options": ["Percent", "USD"]
}
}
}
}
},
"Time in Force": {
"Description": "Order duration before execution or expiry",
"Options": ["Good Till Canceled", "Good Till Date"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment