backtesting.py
Alpaca-API
backtesting.py | Alpaca-API | |
---|---|---|
25 | 81 | |
4,846 | 137 | |
- | 0.0% | |
0.0 | 0.0 | |
about 1 month ago | over 3 years ago | |
Python | ||
GNU Affero General Public License v3.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
backtesting.py
-
Python developers -- what broker and api do you use?
We chose backtesting.py for a backtesting framework. There are several to choose from but that one seems like the most well-supported and actively worked on at the moment.
-
How do you backtest with IBKR Data?
The process might vary a bit based on what you want to trade, but I've had some success with back-testing by using the IBKR API to download historical data for the stocks I want, then plugging in that data to some other back-testing framework, like https://kernc.github.io/backtesting.py/
-
Anyone here built backtest/alpha visualization/exploration dashboard(s)?
https://kernc.github.io/backtesting.py/ offers nice way to zoom backtesting. It has some bugs, but good for visualization.
-
What platform do you use to backtest historical millisecond tick data?
Are there any free trading platform options to import and backtest millisecond historical tick data? Do you use something like https://github.com/kernc/backtesting.py and then translate algorithms into mql4/5 or pinescript?
- GitHub - kernc/backtesting.py: Backtest trading strategies in Python.
-
Where/how do I “import backtesting” and other programs? TY!
But even if you don't know that, you can Google the library to find its documentation and installation instructions - in this case, here where it does indeed tell you to run pip install backtesting.
-
What are your 2022 success stories? It's been a long year. You deserve to brag.
Sure. My strategy is actually very simple using common indicators like MACD and RSI. Most of the code is actually based on https://github.com/kernc/backtesting.py and I use it to check whether I should buy or sell on a particular day. Hope this helps!
- Backtesting.py - interpreting the generated chart
- How hard would this be?
-
Bot development best practices for making backtesting easier?
I'm leaning towards using the backtesting.py library, but from the example on their main page, it looks like you need to program your strategy using their library?
Alpaca-API
-
anyone using Alpaca for long term investing?
Is there anyone using Alpaca for long term and passive investing? I am neither a US nor Europe residence, so it is pretty hard to find a decent broker. I came across alpaca.market https://alpaca.markets/ and noticed that there is zero comission for buying and selling stocks. I know that it has pretty good API especially for developers and day traders, but i am particularly interested in long term passive investing, and not interesting in day trading at all. Is it goog for long term passive investing (buying and holding etfs)?
-
ChatGPT is going to revolutionize the stock market
No worries at all! https://alpaca.markets/ is another route for market data. Real time data is cheaper but it is lacking technical analysis. We used to use it and it's pretty good.
-
Python developers -- what broker and api do you use?
Alpaca: https://alpaca.markets/
-
Python Algotrading with Machine Learning
Access to historical data from Alpaca and Yahoo Finance, or from your own data provider.
-
Ask HN: How Safe Is Alpaca?
I have been looking at https://alpaca.markets/ and wanted to use it to test out some of my API based trading.
What guarantees or structures are in place to make sure it doesn't end up like FTX?
-
Feetr Data Dump: BBBY TENX UNCY LUNR ARDS
Market data is an easier one to answer. We currently use https://alpaca.markets/ and they're pretty good, but we're also looking at https://polygon.io/ as they're the industry leader (but also 2k per month for what we require).
-
Can someone help me make an HTTPS request with an ESP32/How should I do this project?
I'm trying to make an HTTPS request with an ESP32 to this website alpaca.markets. I have the CA cert and I'm using WiFiClientSecure.h. Here's my code, main.cpp is underneath all that.
-
Exportable quote database for simulations?
Or you can sign up for a free account at Alpaca and use their historical data API. Then you can get data on many tickers with one function call.
-
Stock Trading API Provider
Alpaca https://alpaca.markets
-
Best platform for historical intraday API
Check Alpaca Markets
What are some alternatives?
backtrader - Python Backtesting library for trading strategies
yfinance - Download market data from Yahoo! Finance's API
vectorbt - Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
ccxt - A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop - Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥 [UnavailableForLegalReasons - Repository access blocked]
OpenBBTerminal - Investment Research for Everyone, Everywhere.
finnhub-python - Finnhub Python API Client. Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals, global ETFs holdings and alternative data. https://finnhub.io/docs/api
lumibot - Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more
binance-official-api-docs - Official Documentation for the Binance APIs and Streams
gym-anytrading - The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)
trading212-pie-sync - 🍰 Python tool to automate Trading212 pies allocations by syncing to another shared pie or external source