vectorbt
Alpaca-API
Our great sponsors
vectorbt | Alpaca-API | |
---|---|---|
5 | 81 | |
3,711 | 137 | |
- | -0.7% | |
6.0 | 0.0 | |
2 days ago | over 3 years ago | |
Python | ||
GNU General Public License v3.0 or later | - |
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.
vectorbt
-
Is there any python libraries to backtest buy and sell signals with dates?
For exactly this I use this https://github.com/polakowo/vectorbt it’s really a powerful tool and you can tons of things with it. Recently the developer decided to maintain it but not adding new features, which from now on will be released on the pro version. However, the free version is still very valuable, incredibly fast and suitable for basic to intermediate tasks.
-
Why Building a Trading Algorithm is More Than Just the Algorithm - 3 Things
It’s super easy to get up and running with code. With the rise of data science as a field, datasets are far and wide. Accessible from just about any venue. Take a look at Kaggle, QuiverQuant, Yahoo Finance, or even directly from the brokerages and exchanges. Developers can easily download data directly as a .csv or .json and quickly get up and running by utilizing frameworks like backtesting.py or vectorbt. “Great, it seems like I can get up and running and I’ll have an awesome money making trading algorithm in no time”.... unfortunately, wrong. Why is this wrong? Well, simulation is NOT the real world. The real world is not a CSV file—the real world is a stream of events. Cause and effect. The real world works in a fashion where new data comes in, you make a decision, and then you figure it out, not “I have all of this data, let me run this all through time and figure it out”. Indeed, the data sources that you get in real-time are almost completely different from the data sources you use in simulation. Rather than .csv you use WebSockets; rather than QuiverQuant you use APIs; rather than backtesting frameworks you use more robust, event driven packages. Without it, you’re stuck duplicating code, rewriting it into an event-based system, and ultimately using that to go into production, and who knows if your code is going to change along the way.
- Vectorbt – Find your trading edge
-
Repost with explanation - OOS Testing cluster
I second the idea of looking through software optimization, but there is no need to jump right to C. I would look at something like vectorbt. You get the speed of C running under the hood while staying in Python for your back testing code
-
Looking for active python backtesting framework
However, it's not the fastest framework. If you need speed, and are good with the data science tool chain in python and the concept of flattening loops into vectorized operations, check out vector-bt. I haven't gotten a chance to play with it yet, but I'm definitely going to as soon as I find some spare time. It seems like a great option with a nicely modernized approach.
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
backtesting.py - :mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.
ccxt - A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
fast-trade - low code backtesting library utilizing pandas and technical analysis indicators
OpenBBTerminal - Investment Research for Everyone, Everywhere.
jesse - An advanced crypto trading bot written in Python
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
zipline - Zipline, a Pythonic Algorithmic Trading Library
binance-official-api-docs - Official Documentation for the Binance APIs and Streams
OctoBot - Open source crypto trading bot
trading212-pie-sync - 🍰 Python tool to automate Trading212 pies allocations by syncing to another shared pie or external source