08-23-2018, 07:42 PM
(08-23-2018, 04:02 PM)askmike Wrote: ... meaning that now we can simply look at whether the asset is 0 or not to see if there is any exposure.
Just wanted to mention this in case it gets overlooked, but you almost always can't get to exactly 0 asset in Binance due to minimum sell amounts. So I guess you'd need to check if asset < market.minimalOrder.amount