Description Usage Arguments Value Author(s)
This will provide the trades & their corresponding quantities, how they would be if all the capital was reinvested. Capital gained can be utilized to increase the traded quantity according to the given trade parameters.
1 2 | reinvest.trades(t, initCapital, stopCapital, buffCapital = 0, incrCapital,
initQty, incrQty, maxQty = 10000)
|
initCapital |
- Initial capital required |
stopCapital |
- Capital threshhold, below which trading would be stopped & warning would be added |
buffCapital |
- buffer capital, This would be saved before increasing the trade quantity |
incrCapital |
- One Unit of incremental Capital, Each unit of incrCapital gives capacity to increase one unit of incrQty |
initQty |
- Initial Quantity |
incrQty |
- One unit of incremental quantity |
maxQty |
- maximum quantity that can be traded. It will act as a roof irrespective of capital |
- Returns the new trades that would have been executed with incremental capital. New stats to be applied on this if stats to be observed.
Siva Sunku
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.