Kraken advanced orders
See original GitHub issue- OS: Linux
- Programming Language version: Python 3.7.2
- CCXT version: 1.18.456
- Exchange: Kraken
- Method: create_order
I’m trying to create a stoploss limit order, but I get the following error: ExchangeError: kraken {"error":["EGeneral:Invalid arguments:ordertype"]}
This is my setup:
pair = "BTC/EUR"
ordertype = "stop-loss-limit"
amount = 0.005
price = 4000
price2 = 0.99 * 4000
params = {"trading_agreement": "agree", "validate": True, "price2": price2}
krk.create_order(pair, ordertype, "sell", amount, price, params=params)
Market and limit orders work fine, just like “normal” stop-loss
orders. Any idea why this could be? Other types, like stop-loss-profit
, throw the same error. Seems any order type that has more than one hyphen.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Order types - Kraken Support
Order types · Price terminology · Market and limit orders · Stop loss orders · Stop loss limit orders · Take profit orders...
Read more >Summary of order options - Kraken Support
To access the order forms, click New Order (under the Trade tab on your account screen). Then click Simple or Advanced depending on...
Read more >Futures Order Types - Kraken Support
Futures Order Types · Trigger Entry. Trigger entry orders allow you to enter a position using a trigger order, similar to a Stop...
Read more >WebSocket API - advanced order types - Kraken Support
Our WebSocket API supports a variety of order types, including the following five basic order types: Market Limit Stop Loss Take Profit...
Read more >Other order options - Kraken Support
In addition to common order options available on exchanges, Kraken offers additional order options for advanced traders. The other order options offer you ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Damn, seems like you’re right. I was only going off the Kraken docs, assuming they were correct…
Will do that…
@iuvbio ok, i’d close this for now, if you don’t mind, feel free to reopen it if needed, or just ask further questions if any. We’ll be happy if you followup with your findings here )