Description Usage Arguments Value
calc_PIC()
calculates daily price impact cost for
a stock using wind tick data.
1 | calc_PIC(tick_data)
|
tick_data |
A data frame. The tick data come from Wind. This function needs the columns "code", "time", "price", "ask10", "ask9", "ask8", "ask7", "ask6", "ask5", "ask4", "ask3", "ask2", "ask1", "bid1", "bid2", "bid3", "bid4", "bid5", "bid6", "bid7", "bid8", "bid9", "bid10", "asize10", "asize9", "asize8", "asize7", "asize6", "asize5", "asize4", "asize3", "asize2", "asize1", "bsize1", "bsize2", "bsize3", "bsize4", "bsize5", "bsize6", "bsize7", "bsize8", "bsize9", "bsize10". |
A numeric scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.