Close Long

Notes:
Changing Open to Close, all "From"s are changed to "To"s;
premiumFromin "Close Long" has the same length as thepremiumToin "Open Long". Also, sincetokenFromOwedis capped atpremiumFrom, the minimumamountSpentis(collateralFrom - amountFromAdd).
Last updated