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)
How can i calculate the total percentage change in a portfolio(assume 100 buy in)if i have a list which shows each percentage change of each trade?
I am using the following code but I am missing something
percentagechange = [-2.704974336321264, -9.75579724548381, 161.1083287764476, -2.3049580623481725, -3.2221603096622586, -2.03531529638451, -6.4...
Paddy Connolly
Votes: 0
Answers: 2
My array is not staying within the bounds
I am trying to find the max Sharpe ratio portfolio within an efficient frontier using a 4 asset portfolio. For some reason when I go to discover the required weights of each asset to reach the MSR, I ...
KeyError
Votes: 0
Answers: 0
Crypto protfolio tracker in googlesheets
Background:
I created a crypto portfolio tracker with googlesheets to see it together with my stock portfolio.For stocks, googlesheets has a built-in formula to show the stock's current value.
For cry...
Zselé
Votes: 0
Answers: 1
How to make a random list with a sum of 1 with minimum and maximum limits for each element?
I'm currently working on a long-short portfolio optimization project with python.
The thing is that I have to generate a list that has a sum of 1 and each element of the list should be larger or equal...
gejyn14
Votes: 0
Answers: 1