Definitions:
Option types:
Call: buyer purchase a right (not an obligation) to buy an
underlying asset by the given date with a predifined (strike) price;
a buyer expect that a price of underlying asset is going to
increase.
Put: buyer purchase a right (not an obligation) to sell an underlying asset by
the given date with a predifned (strike) price; a buyer expects that a price of
underlying asset is going to decrease.
- Underlying asset - share, bond etc.
- Option is a secondary financial instrument (derivative) when the buyer is buying a right to make a purchase or a sale in a given period of time of a certain underlying asset (bond, share etc. )
- Settlement price the average (usually weighted) trading price of the
underlying security at the trading day.
- Closing price is a price at the end of the trading day.
- Low price is the lowest price of the trading day
- High price is the highest price of the trading day.
- Openning price is a price at the openning of trading day.
- Volatility is a measure of the variability of an option price during the day, it characterize how much risks is associated with a given option.
- Bet price the difference between strike price and closing price for put options; difference between closing price and strike price for call options.
All above metioned characterisitcs are alow you to create diversified portofolio to mitigate the risks go broke and maximize expected profit
R-code:
mutate(col.name = experession)
creates a column with col.name which equals to the expression
select(col.name1, col.name2, ...)
selects col.name1, col.nam2, ... columns from the data.frame
select(-col.name)
- remove frome data.frame col.name column
lag(ts, n)
gets a time series ts
and shifts underlying dates by n time units
%>%
- connect sequence of operations on data.frame (mutate, select etc.) into one line
unique
- chooses only unique combinations of columns
optiontype = as.double(optiontype == "put"))
- create optiontype
column, with every cell of column equals either 1
if it is put
option or 0
if it has any other value.
Time seris:
Except of ARIMA you can use exponential smoothing algorithms (like Holt-Winters, state-space) or Recurrent Neural Networks, etc.