eiten | Statistical and Algorithmic Investing Strategies | Portfolio library

 by   tradytics Python Version: Current License: GPL-3.0

kandi X-RAY | eiten Summary

kandi X-RAY | eiten Summary

eiten is a Python library typically used in Web Site, Portfolio applications. eiten has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

Figures for this github repositories. Folder to keep your stock lists that you want to use to create your portfolios. A bunch of strategies implemented in python. Backtesting module that both backtests and forward tests all portfolios. Module for loading data from yahoo finance. Main file that takes in a bunch of arguments and generates several portfolios for you. Simulator that uses historical returns and monte carlo to simulate future prices for the portfolios. Manages the strategies implemented in the 'strategies' folder.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              eiten has a medium active ecosystem.
              It has 2534 star(s) with 297 fork(s). There are 95 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 14 open issues and 8 have been closed. On average issues are closed in 36 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of eiten is current.

            kandi-Quality Quality

              eiten has 0 bugs and 0 code smells.

            kandi-Security Security

              eiten has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              eiten code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              eiten is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              eiten releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              eiten saves you 286 person hours of effort in developing the same functionality from scratch.
              It has 692 lines of code, 51 functions and 12 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed eiten and discovered the below as its top functions. This is intended to give you an instant insight into eiten implemented functionality, and help decide if they suit your requirements.
            • Run strategies for a given strategy
            • Get market index and future price
            • Draws the plot
            • Download data from yf
            • Generate the portfolio using the best Sharpe ratio
            • Selects weights from the return_matrix
            • Perform mutation of genes
            • Performs crossover on a population
            Get all kandi verified functions for this library.

            eiten Key Features

            No Key Features are available at this moment for eiten.

            eiten Examples and Code Snippets

            No Code Snippets are available at this moment for eiten.

            Community Discussions

            QUESTION

            Use HTML tags in XML file and display/recognize them later as HTML
            Asked 2018-Nov-06 at 13:59

            I'm trying to use HTML Tags inside an xml file which is later used in a view to display the content. My Problem, the HTML tags are passed as plain String eventhough I escaped all necessary Characters appropriately.

            ...

            ANSWER

            Answered 2018-Nov-06 at 13:59

            It is still not clear what is your problem and what is your goal.

            Let me try to do some attempt to help you.

            First thing - you have data:

            Source https://stackoverflow.com/questions/53083632

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install eiten

            Let us see how we can use all the strategies given in the toolkit to build our portfolios. The first thing you need to do is modify the stocks.txt file in the stocks folder and add the stocks of your choice. It is recommended to keep the list small i.e anywhere between 5 to 50 stocks should be fine. We have already put a small stocks list containing a bunch of tech stocks like AAPL, MSFT, TSLA etc. Let us build our portfolios now. This is the main command that you need to run. This command will use last 5 years of daily data excluding the last 90 days and build several portfolios for you. Based on those portfolios, it will then test them on the out of sample data of 90 days and show you the performance of each portfolio. Finally, it will also compare the performance with your choice of market index which is QQQ here. Let's dive into each of the parameters in detail.
            is_test: The value determined if the program is going to keep some separate data for future testing. When this is enabled, the value of future_bars should be larger than 5.
            future_bars: These are the bars that the tool will exclude during portfolio building and will forward test the portfolios on the excluded set. This is also called out of sample data.
            data_granularity_minutes: How much granular data do you want to use to build your portfolios. For long term portfolios, you should use daily data but for short term, you can use hourly or minute level data. The possible values here are 3600, 60, 30, 15, 5, 1. 3600 means daily.
            history_to_use: Whether to use a specific number of historical bars or use everything that we receive from yahoo finance. For minute level data, we only receive up to one month of historical data. For daily, we receive 5 years worth of historical data. If you want to use all available data, the value should be all but if you want to use smaller history, you can set it to an integer value e.g 100 which will only use the last 100 bars to build the portfolios.
            apply_noise_filtering: This uses random matrix theory to filter out the covariance matrix from randomness thus yielding better portfolios. A value of 1 will enable it and 0 will disable it.
            market_index: Which index do you want to use to compare your portfolios. This should mostly be SPY but since we analyzed tech stocks, we used QQQ.
            only_long: Whether to use long only portfolio or enable short selling as well. Long only portfolios have shown to have better performance using algorithmic techniques.
            eigen_portfolio_number: Which eigen portfolio to use. Any value between 1-5 should work. The first eigen portfolio (1) represents the market portfolio and should act just like the underlying index such as SPY or QQQ. The second one is orthogonal and uncorrelated to the market and poses the greatest risk and reward. The following ones have reduced risk and reward. Read more on eigen-portfolios.
            stocks_file_path: File that contains the list of stocks that you want to use to build your portfolio.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/tradytics/eiten.git

          • CLI

            gh repo clone tradytics/eiten

          • sshUrl

            git@github.com:tradytics/eiten.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Reuse Pre-built Kits with eiten

            Consider Popular Portfolio Libraries

            pyfolio

            by quantopian

            leerob.io

            by leerob

            developerFolio

            by saadpasta

            PyPortfolioOpt

            by robertmartin8

            eiten

            by tradytics

            Try Top Libraries by tradytics

            surpriver

            by tradyticsPython