rogeryoung

@rogeryoung (0)
rogeryoung
rogeryoung
shared a Post
11 months ago
1
help with a control flow tool
Ask
I have been trying very hard to get the following lines of code to be looped over with a control flow statement. It seemed like the while loop would b
Read full post
xxpertHacker
xxpertHacker Just a tip, you might want to make the float(bucket + .35...) and float(bucket - .15...) into seperate variables for reuse and readability. Otherwise this would just be a (kinda large) if statement: if vtival float(bucket -.15bucket) or tltval float(bucket -.15bucket) or iauval float(bucket -.15bucket) or shyval float(bucket -.15bucket) { stop(); } else { // nothing } `11 months ago
SixBeeps
SixBeeps You could use an if-statement for that. Just stick those conditions in and stop the program if the condition is met: if (vtival < float(...)): quit() Do more if the condition wasn't met 11 months ago
rogeryoung
rogeryoung
shared a Post
9 months ago
1
I need help with a control flow tool
Ask
The idea of the following Repl (program) is to maintain a portfolio with an allocation in 4 ETF's to 25% within set bands. If any of the bands are exc
No. 3 Permanent Portfolio Rebalance Present
Python
InvisibleOne
InvisibleOne I believe it should be if vtival > float(bucket + .35bucket or vtival > float(bucket -.15bucket)): do something pass elif (tltval float(bucket-.15*bucket)): do something else pass elif # so on `9 months ago
rogeryoung
rogeryoung
shared a Post
2 years ago
automatic input of quotes from the internet
Ask
Is there any way I can program the computer to get stock quotes from the internet and input them into my program automatically so I do not have to do
No. 1 Permanent Portfolio Program trial
Python
SixBeeps
SixBeeps The yfinance package is completely free to use, and it's relatively easy. You just need to install the yfinance and lxml packages and use them accordingly. I made this sketch Repl that demonstrates yfinance.2 years ago
rogeryoung
rogeryoung
shared a Post
6 months ago
1
importing quotes from Yahoo does not work in my program any more
Ask
I have been using the following code to import quotes from Yahoo finance and now it does not work. Does anyone know how to import quotes from Yahoo no
No. 3 Permanent Portfolio Rebalance Present
Python