Please help contribute to the Reddit categorization project here

    lieutenant_lowercase

    + friends - friends
    16,031 link karma
    6,498 comment karma
    send message redditor for

    [–] Learning how to do fundamental stock analyses with python. lieutenant_lowercase 12 points ago in Python

    He is asking about fundamental stock analysis and you've posted some regression code on stock prices which is not what he is asking for - that's my point.

    I certainly would recommend nobody actually trades on the code you have written as it's a sure fire way to lose money.

    [–] Learning how to do fundamental stock analyses with python. lieutenant_lowercase 1 points ago in Python

    Use Excel not python for fundamental analysis. Making it way more difficult on yourself.

    [–] Pbs Frontline The Retirement Gamble (2013)- documentary revealing how money managers siphon off most of their investors' profits, and what to do about it [CC] (55:38) lieutenant_lowercase -7 points ago in Documentaries

    I don't think it's common knowledge that they take away the vast majority of the investor's profit

    Hedge funds take max of 20%, often lower in performance fees. Traditional asset managers often have performance fees of like 2%. Investments in hedge funds are part of an overall investment strategy that warrants allocation to high risk assets in order to drive returns through diversification.

    none of them can beat index funds

    Clearly you don't know what you are talking about.

    [–] problems to understand parameters in password generator - main() lieutenant_lowercase 1 points ago in learnpython

    Can you not do this?

    def main():
        pwd_temp = password_opt()
        length = pwdlength()
        pwd = pwd_gen(pwd_temp, length)
        return pwd
    

    Also your password_opt function will not work as you are comparing int's with strings in the user_input variable

    [–] Is it good time to buy? lieutenant_lowercase 27 points ago in RocketLeague

    It's fine don't listen to people moaning.

    [–] Python3 code webscraping need help lieutenant_lowercase 1 points ago * (lasted edited 7 days ago) in learnpython

    links saved in the 'links' list

    matching links containing your keyword saved in 'matching_links' list

    keyword = 'hello'
    r = requests.get('YOUR_URL')
    soup = BeautifulSoup(r.text, 'lxml')
    links = [link['href'] for link in soup.findAll('a)]
    matching_links = [link for link in links if keyword in link]
    

    [–] Python / Jython error lieutenant_lowercase 1 points ago in learnpython

    Perhaps because

    if file[-5:] == ".xlsx" or file[-4:] == ".xls":
    

    is not true then

    sheet = wb.getSheetAt(sheetNum)
    

    is never called?

    [–] Jupyter Notebooks: show/hide tables lieutenant_lowercase 2 points ago in learnpython

    If I want to collapse a block of cells I make a heading and then use the collapsible headings extension for Jupyter. To install have a look at this

    https://github.com/ipython-contrib/jupyter_contrib_nbextensions

    You can see the collapsible headings extension in the screenshot at the bottom