{"repo":"diogomatoschaves/stratestic","free":true,"listed":false,"github":"https://github.com/diogomatoschaves/stratestic","clone":"git clone https://github.com/diogomatoschaves/stratestic.git","description":"A python library for testing and optimizing trading strategies.","language":"Python","stars":58,"topics":["algorithmic-trading","algotrading","backtesting","backtesting-trading-strategies","python","trading","trading-strategies","binance","crypto"],"license":"MIT","category":"trading","readme_excerpt":"Stratestic 📈📊🛠️ The stratestic module is a Python package for backtesting, analysing and optimizing trading strategies. It includes a number of pre-implemented strategies, but it is also possible to create new strategies, as well as to combine them. It provides a general Machine Learning strategy, which can be further tweaked to your specific needs. The basic usage is as simple as importing a backtesting class, a strategy and run the backtest. The backtest can then be refined with optimizations or by incorporating leverage. Overall it offers a powerful way to explore and experiment with different strategies, and to evaluate the performance under different conditions. If you are interested in a trading bot that integrates seamlessly with this library, check out MyCryptoBot. Installation $ pip install stratestic Usage 1. Vectorized Backtesting 2. Iterative Backtesting 3. Backtesting with leverage and margin 3.1. Calculating the maximum allowed leverage 4. Short position model 5. Multi-symbol backtesting 6. Optimization 6.1 Brute Force 6.2 Genetic Algorithm 7. Strategies 7.1. Combined strategies 7.2. Create new strategies 7.3. Machine Learning strategy 8. Financial ML library Vectorized Backtesting The VectorizedBacktester is a backtesting class that allows you to test trading strategies on historical price data. It has the advantage of being faster than the iterative backtesting, but at a cost of flexibility, as it will be hard or outright not possible to accomplish this for","default_branch":null,"files":null,"tree":[],"storefront":"/r/diogomatoschaves","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/diogomatoschaves/stratestic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}