By Sid Prasad DAT 301
2025-06-08
By Sid Prasad DAT 301
it is a cool market that includes the top 500 stocks of the USA, it fluctuates depends of market evaluations!
The daily price difference is as:
\[ \Delta_t \;=\; C_t \;-\; O_t \]
index
- \(C_t\) is the closing on day \(t\)
- \(O_t\) is the opening on day \(t\)
The absolute daily price difference is
\[ \lvert \Delta_t \rvert \;=\; \bigl\lvert C_t \;-\; O_t \bigr\rvert \]
where
- \(C_t\) is the closing price on day \(t\)
- \(O_t\) is the opening price on day \(t\)
## Global Markets the global markets can influence it due to trade wars that effects the imports and exports of specific companies
today <- df[1, ]
bar_df <- data.frame(
t = c("Open","High","Low"),
v = c(today$Open, today$High, today$Low)
)
ggplot(bar_df, aes(x = t, y = v)) +
geom_col()
i liked this assignment, i want to break into quantitative trading this will be a useful tool in the future.