computeHoldingsPct: Compute the Holdings Percentages

Description Usage Arguments Value

View source: R/Utilities.R

Description

Compute the Holdings Percentages based on long/short shares and prices

Usage

1
computeHoldingsPct(y.shares, x.shares, y.price, x.price)

Arguments

y.shares

y shares

x.shares

x shares

y.price

y price

x.price

x price

Value

A vector of percentages of x and y to be targeted


ivanliu1989/RQuantTrader documentation built on Sept. 13, 2019, 11:54 a.m.