-
letYourMoneyGrow.com started the topic Screen fractional Scaling in Ubuntu and Spyder start from Python in the forum Quantitative Methods and Programming 4 years, 11 months ago
The default GUI in Ubuntu20 allows to scale all screens but does not allow separate settings per monitor. To circumvent:
sudo apt-get install gdm3
sudo dpkg-reconfigure gdm3
Note: gdm3 is also not perfect but better than nothing.Starting Spyder from Python (without conda env)
$python
from spyder.app import start
start.main() -
letYourMoneyGrow.com started the topic Installing R4 on Ubuntu – steps after core installation in the forum Quantitative Methods and Programming 4 years, 11 months ago
There are enough good manuals on howto install R4 on Ubuntu20, my favorite one is https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-20-04-de (in German).
However, if you then install packages, you will likely get failures due to missing libraries.
So what you definitely have to do is
sudo apt install…[Read more] -
letYourMoneyGrow.com started the topic Turbo boost XEON – some useful links in the forum Quantitative Methods and Programming 4 years, 11 months ago
general discussion: useful command grep MHz /proc/cpuinfo
enabling turbo mode on SuperMicro X10DRi mainboard
-
letYourMoneyGrow.com started the topic How to confuse R with a stock ticker in the forum Quantitative Methods and Programming 5 years, 2 months ago
First try for Apple (AAPL)
> ohlc = quantmod::getSymbols(“AAPL”, auto.assign = FALSE)
> sd(quantmod::dailyReturn(ohlc))
[1] 0.02033598So far, so good.
Now try for OPEN (“OPENDOOR TECHNOLOGIES INC”)
> ohlc = quantmod::getSymbols(“OPEN”, auto.assign = FALSE)
> sd(quantmod::dailyReturn(ohlc))
Error in Delt_(getFirst(xx[1]), getLast(xx[ep[2]]), type…[Read more] -
letYourMoneyGrow.com started the topic Setuping Jupyter Notebook for R 4.0 in Conda in the forum Quantitative Methods and Programming 5 years, 5 months ago
-
letYourMoneyGrow.com started the topic plotting a heatMap with R – package akima in the forum Quantitative Methods and Programming 5 years, 6 months ago
library(akima)
library(fields)
mhu = aggregate(hu$ret, by=list(hu$sGrow1, hu$sGrow2), FUN=mean)
names(mhu)=c("ret", "sGrow1", "sGrow2")
s <- interp(mhu$ret,mhu$sGrow1,mhu$sGrow2)
image.plot(s)
-
letYourMoneyGrow.com replied to the topic How to use R behind a proxy to get data from Yahoo.Finance and Quandl in the forum Quantitative Methods and Programming 7 years, 7 months ago
One can also figure out the proxy configuration as follows:
1) run command prompt (cmd) as administrator
2) netsh winhttp show proxy -
letYourMoneyGrow.com replied to the topic Removing dead sources in Debian properly in the forum Quantitative Methods and Programming 7 years, 10 months ago
And then fix the problem like this
# grep -ri stable /etc
/etc/apt.conf.d/99myDefaultRelease:APT::Default-Release “stable”;So changing that file to “jessie” would fix it in my case (as I’m on jessie.)
(in my case the filename in /etc/apt.conf.d/ was…[Read more]
-
letYourMoneyGrow.com started the topic Removing dead sources in Debian properly in the forum Quantitative Methods and Programming 7 years, 10 months ago
As I tried to install Java on a Server running under Debian Linux, I broke my source list and got http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found by attempts to run sudo apt-get update
Deleting the line http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/jessie/main/binary-amd64/ from…[Read more]
-
letYourMoneyGrow.com started the topic Python-PyCharm: Interactive debugging in console in the forum Quantitative Methods and Programming 8 years, 6 months ago
Being an long-time R user I got used to debug my R-Scripts in console (for whatever reasons I rarely use breakpoints in R-Studio). Programming in Python I would of course prefer to have both. It is possible e.g. in PyCharm IDE:
0) set a breakpoint, debug your file
1) switch to console window
2) click on command prompt icon
3) execute arbitrary…[Read more] -
letYourMoneyGrow.com started the topic Remove quotes from text file – replace in Python3 in the forum Quantitative Methods and Programming 8 years, 7 months ago
Sometimes if you create a dataframe with rbind() in R and then save it by write.table() to a text file, all entries (numeric too) will be put in double quotes.
To remove them one can use the following Python3 script, which is especially useful if you have a lot of files.
[Read more]
import os
filePath = "/path/to/dir"
arr = os.listdir(filePath)
for fileName… -
letYourMoneyGrow.com replied to the topic GoPro (instead of ETF) – bankrupcy risk in the forum JuniorDepot 8 years, 8 months ago
Hello Hans,
thank you for your insightful comment.
Yes, as we explicitly mentioned in our blogpost, we tried to explain Elle (in a suitable manner for a 7y-kid) that GoPro does not earn money (although it does produce good action cameras).But ok, let a girl have some action :). Finally, even if she makes a loss with this investment, it will be…[Read more]
-
letYourMoneyGrow.com replied to the topic GoPro (instead of ETF) – bankrupcy risk in the forum JuniorDepot 8 years, 8 months ago
That is really a point!
However, for American stocks they are fortunately small: slightly more than €0.5 per trade.
We announced that we set a stoploss by -20%.
If we, for simplicity, assume that we also take profit by +20%, we need the probability to win to be at least 53% just to stay breakeven. Indeed: 0.53*97.56*1.2 + (1-0.53)*97.56*0.8 = 9…[Read more] -
letYourMoneyGrow.com replied to the topic GoPro (instead of ETF) – bankrupcy risk in the forum JuniorDepot 8 years, 8 months ago
Hi Esterkin,
well, yes, we did warn Elle about the bankruptcy risk (or, literally, that “GoPro may spend more money that it earns selling its cameras”). But there is also a chance that the stock price will (more than) double, so we did allow this trade (we would not if it were a definite falling knife).
And even if GoPro goes bankrupt, the…[Read more] -
letYourMoneyGrow.com started the topic Read before posting – LaTeX & source code in the forum Quantitative Methods and Programming 9 years, 10 months ago
To write formulas please use LaTeX. Write [latexpage] before writing a formula.
Example
[latexpage]
$W_t = W_0 \exp{rt}$will result in
[latexpage]
$W_t = W_0 \exp{rt}$ -
letYourMoneyGrow.com and
Oleksi Tkachenko are now friends 9 years, 11 months ago
FinViz - an advanced stock screener (both for technical and fundamental traders)
