View source: R/personal_functions.R
Min.Sell.Buy.Price | R Documentation |
This function gives you the minimum sell price after you buy or the minimum buy price after you sell with a selected fee percentage which makes you break even after the fee.
Min.Sell.Buy.Price(Price, Fee.Per = 0.1, Round = 2)
Price |
numeric. Buy or sell price. |
Fee.Per |
numeric. Fee percentage. Default is 0.1. |
Round |
numeric. Decimal rounding. Default is 2. |
This is a personal function of the package author. So, it won't make sense to others.
Two messages: one for BUY Price, one for SELL Price.
Min.Sell.Buy.Price(Price = 60)
Min.Sell.Buy.Price(Price = 60, Fee.Per = 0.08)
Min.Sell.Buy.Price(Price = 60, Fee.Per = 0.1, Round = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.