From d48f1083b06303a915b945c2e496dc310a236c36 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Mon, 5 Jul 2021 00:56:32 -0600 Subject: [PATCH] updated leverage.md --- docs/leverage.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/leverage.md b/docs/leverage.md index eee1d00bb..9a420e573 100644 --- a/docs/leverage.md +++ b/docs/leverage.md @@ -1,10 +1,3 @@ -An instance of a `Trade`/`LocalTrade` object is given either a value for `leverage` or a value for `borrowed`, but not both, on instantiation/update with a short/long. - -- If given a value for `leverage`, then the `amount` value of the `Trade`/`Local` object is multiplied by the `leverage` value to obtain the new value for `amount`. The borrowed value is also calculated from the `amount` and `leverage` value -- If given a value for `borrowed`, then the `leverage` value is left as None - For shorts, the currency which pays the interest fee for the `borrowed` currency is purchased at the same time of the closing trade (This means that the amount purchased in short closing trades is greater than the amount sold in short opening trades). -For longs, the currency which pays the interest fee for the `borrowed` will already be owned by the user and does not need to be purchased - -The interest fee is paid following the closing trade, or simultaneously depending on the exchange +For longs, the currency which pays the interest fee for the `borrowed` will already be owned by the user and does not need to be purchased. The interest is subtracted from the close_value of the trade.