Open raladev opened 3 years ago
Correction:
collateralization for 5 eth (totalling to 10 eth collateral) is triggered and only on second attempt replacement should be successful
Want to give this a shot? @rsercano
collateralization for 5 eth (totalling to 10 eth collateral) is triggered and only on second attempt replacement should be successful
if i remember correctly u cant ask to collateralize additional amount, you need ask for a total amount.
5 eth order -> coll request for 5 eth -> add 5 qty to the order -> coll request for 10 eth
Correction:
collateralization for 5 eth (totalling to 10 eth collateral) is triggered and only on second attempt replacement should be successful
Want to give this a shot? @rsercano
Sure thing :)
5 eth order -> coll request for 5 eth -> add 5 qty to the order -> coll request for 10 eth
How is that with vector? @erkarl
Let's only work with vector from now on.
Ping @erkarl
5 eth order -> coll request for 5 eth -> add 5 qty to the order -> coll request for 10 eth
That's the way it should be.
Steps to reproduce
buy 5 ETH/BTC 0.011 1
order -> placeorder collateralization is triggered, u need to wait, and place order after thatbuy 5 ETH/BTC 0.011 1
order again -> order placed successfullybuy 10 ETH/BTC 0.011 -r 1
Actual behaviour
order is replaced successfully
Expected behaviour
collateralization for 10 eth is triggered and only on second attempt replacement should be successful
Note
scheduled collateralization works fine, this amount will be collateralized after some time (but it does not work for case when replaced order will be immediately)