connector-x
Alpaca-API
connector-x | Alpaca-API | |
---|---|---|
11 | 81 | |
1,786 | 137 | |
2.5% | 0.0% | |
9.1 | 0.0 | |
6 days ago | over 3 years ago | |
Rust | ||
MIT License | - |
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.
connector-x
-
How moving from Pandas to Polars made me write better code without writing better code
This was originally a blocker, however, we managed to set up a multi-stage Docker build to build from source. Here is the Github issue where we, along with community members, managed to solve it.
-
I used multiprocessing and multithreading at the same time to drop the execution time of my code from 155+ seconds to just over 2+ seconds
There's packages like connector-x and polars that do a lot of what you're mentioning out of the box. I used these two to massively speed up an SQLalchemy + Pandas based ETL in the past as well.
-
Rust in Data Science?
Thanks for sharing connector-x, I will also start to use it. I wonder if there are a list of tools like that. I know Ruff, Polars, pydantic-core.
-
Querying Postgres Tables Directly from DuckDB
I was trying https://github.com/sfu-db/connector-x and hacking around with this https://github.com/spitz-dan-l/postgres-binary-parser but it turned out that a COPY to csv using asyncpg and then converting to parquet was the fastest.
-
An alternativt to TradingView ?
if you store the OHLC data in a relational database, use connector-x to load the data into pandas dataframe
-
Python and ETL
For SQL reading I'd really recommend connector-x, they do a great job preventing unneeded serialization and don't have to go through python.
- Fastest library to load data from DB to DataFrames
-
Waiting for your data loading from database to dataframes?
Indeed, currently we do not support persistent connections among different queries. We target more on the bulk loading scenario where the bottleneck is caused by the data size and the connection construction overhead is negligible. However, one possible solution to the problem is to expose our connection pool object that we use inside Rust to users, so the next call could reuse the same pool. We do not plan for this yet, but happy to see whether this is a common need! Feel free to open an issue in our github repo: https://github.com/sfu-db/connector-x
Feel free to ask any questions here or open an issue in our github repo: https://github.com/sfu-db/connector-x . You can also join our discord community: https://discord.com/invite/xwbkFNk and ask question under connector channel!
- ConnectorX: The fastest tool to load data from databases to dataframes
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?
polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust
yfinance - Download market data from Yahoo! Finance's API
Rudderstack - Privacy and Security focused Segment-alternative, in Golang and React
ccxt - A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
lightweight-charts - Performant financial charts built with HTML5 canvas
OpenBBTerminal - Investment Research for Everyone, Everywhere.
mmr - Python based algorithmic trading platform for Interactive Brokers
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
postgres-binary-parser - Cython implementation of a parser for PostgreSQL's COPY WITH BINARY format
binance-official-api-docs - Official Documentation for the Binance APIs and Streams
duckdb - DuckDB is an in-process SQL OLAP Database Management System
trading212-pie-sync - 🍰 Python tool to automate Trading212 pies allocations by syncing to another shared pie or external source