You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the offset validation against a tick size is not taking into account the priceFactor (market/asset decimals ratio)
Observed behaviour
example:
pegged order pegged to mid price with offset 100 in market decimals.
market has one more decimals than asset so price factor = 0.1
tickSize is 100 (in asset!)
this setting shouldn't be allowed as the effective offset is actually 10 which is lower than the market tick size.
Expected behaviour
pegged offset should be validated against a tickSize in asset units.
Steps to reproduce
1. Submit `xyz` transaction
2. With this payload
3. Query `abc` API
4. Observe the error
Software version
v0.76.4
Failing test
No response
Jenkins run
No response
Configuration used
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Problem encountered
the offset validation against a tick size is not taking into account the priceFactor (market/asset decimals ratio)
Observed behaviour
example:
pegged order pegged to mid price with offset 100 in market decimals.
market has one more decimals than asset so price factor = 0.1
tickSize is 100 (in asset!)
this setting shouldn't be allowed as the effective offset is actually 10 which is lower than the market tick size.
Expected behaviour
pegged offset should be validated against a tickSize in asset units.
Steps to reproduce
Software version
v0.76.4
Failing test
No response
Jenkins run
No response
Configuration used
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: