i tested your connector, great job, just i have one issue.
You implemented dydx connector as market orders,
const type = OrderType.MARKET;
its executing to random prices and not on prices you set as limits.
Because markets on dydx are often not liquid Its just losing a lot of money, Maybe you can switch to limit orders? Maybe as option in config ?
I think you need just change from market to limit this line.
Hello,
i tested your connector, great job, just i have one issue. You implemented dydx connector as market orders,
const type = OrderType.MARKET;
its executing to random prices and not on prices you set as limits. Because markets on dydx are often not liquid Its just losing a lot of money, Maybe you can switch to limit orders? Maybe as option in config ? I think you need just change from market to limit this line.