filled amount fix
This commit is contained in:
@@ -176,7 +176,7 @@ const orders = computed(()=>{
|
||||
})
|
||||
st.start = dateString(st.start)
|
||||
const fmtX18 = {decimals: 18, width: 256, signed: false};
|
||||
st.filled = st.amountIsInput ? st.filledIn : st.filledOut
|
||||
st.filled = o.amountIsInput ? st.filledIn : st.filledOut
|
||||
st.avg = BigInt(st.filled) === 0n ? null :
|
||||
FixedNumber.fromValue(status.filledOut, 0, fmtX18)
|
||||
.div(FixedNumber.fromValue(status.filledIn, 0, fmtX18))
|
||||
|
||||
Reference in New Issue
Block a user