Currently when I try to submit a market order on the FLOOP/XRD pair I get an error message in the wallet.
The problem is that we are sending 9999 as the slippage limit, which creates a problem in the component as it calculates a limit price higher than the maximum price available on the pair.
It is better to just set the slippage limit to -1 if we dont want a slippage limit to apply. The component will then set the max/min price to the max/min price available on the orderbook.
I will also fix this bug in the component when I create AlphaDEX v2, but for now we need to use -1 as the slippage value for market orders.
Currently when I try to submit a market order on the FLOOP/XRD pair I get an error message in the wallet.
The problem is that we are sending 9999 as the slippage limit, which creates a problem in the component as it calculates a limit price higher than the maximum price available on the pair.
It is better to just set the slippage limit to -1 if we dont want a slippage limit to apply. The component will then set the max/min price to the max/min price available on the orderbook.
I will also fix this bug in the component when I create AlphaDEX v2, but for now we need to use -1 as the slippage value for market orders.