python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Compute t-statistic for average monthly returns
I have created a trading strategy and computed the monthly returns of it. I have a list of 12 monthly returns, since I have a 1-years period.
Furthermore, I computed the average monthly return for the...
user17717499
Votes: 0
Answers: 0
Pandas converting string elements into multi index components
I have a DataFrame like this:
pd.read_csv("https://raw.githubusercontent.com/fja05680/sp500/master/S%26P%20500%20Historical%20Components%20%26%20Changes(03-14-2022).csv")
out:
date ...
Kevin Li
Votes: 0
Answers: 2
Apply customized functions in pandas groupby and panel data
I have a panel data as follows:
volume VWAP open close high low n ticker date
time
2021-09-02 09:30:00 597866 ...
Kevin Li
Votes: 0
Answers: 1
How can I print the Dates of an equity in quantmod package in R?
I want to load the 5 years history of Tesla equity from quanatmod package in R.Doing so I have :
tsla <- quantmod::getSymbols("TSLA", from = base::as.Date("2017-01-01"), to = ba...
Homer Jay Simpson
Votes: 0
Answers: 2