calc_mrgn: Calculate initial margin on opening trades

Description Usage

Description

calc_mrgn calculates the opening margin required depending on strategy type

Usage

1
2
3
calc_mrgn(strat = NULL, prc = NULL, spstrk = NULL, lpstrk = NULL,
  scstrk = NULL, lcstrk = NULL, spcred = NULL, lpcred = NULL,
  sccred = NULL, lccred = NULL, qty = 1, shares = 100)

themechanicalbear/options.data documentation built on May 31, 2019, 9:48 a.m.