make_order_pct: Make Orders based on Portfolio Percent

Description Usage Arguments Value

View source: R/Utilities.R

Description

Make orders based on portfolio percentages

Usage

1
2
make_order_pct(initial.capital, capital, holdings, prices, current.shares, pct,
  brokerage = 0.001)

Arguments

initial.capital

total capital to invest

capital

current capital in hand

holdings

current holdings in dollar values for symbol

prices

current prices of symbol

current.shares

current number of units of symbol

pct

target percent of total portfolio to invest

brokerage

brokerage fees in percentage

Value

A list of updated values for current status of the symbol


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