-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Hi there, I've been following the examples provided in the repo but the behaviours are not exactly what I expect - potentially issues.
- [stop market order] It places a limit order and it gets triggered/filled immediately even when the triggger condition is not met - e.g. cur price > trigger price for sell (not acting stop loss). The same behaviour has been observed by dYdX Foundation team as well: Discord link .
- [market order] It places a limit order instead of a market order. On dYdX web UI, you can place a market order so it seems to be an issue on the client. It works, but is a bit misleading.
- [price param] The function signature says it's
intbut it takesfloatas well e.g. forDOGE. It might not be a mandatory parameter for market orders.
I wonder how the order function tells apart (limit) price and trigger price. e.g. How we set STOP LIMIT order? The param conditional_order_trigger_subticks might play the role...but it's not provided in the example.
Metadata
Metadata
Assignees
Labels
No labels
