Description Usage Arguments Value
Calculate the amount of margin in use each day during the study. Can be used as a decision point on if new positions can be opened
1 | margin_use(sy, st, en, marg)
|
sy |
character string representing stock symbol for group and join later |
st |
character string understood by lubridate ymd to represent open date of trade |
en |
character string understood by lubridate ymd to represent closing date of trade |
marg |
numeric of the margin at open for this position |
dataframe of dates when position was open including stock symbol and margin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.