QDMS is a client/server system for acquiring, storing, managing, and distributing low-frequency historical and real-time data, written in C#.
The server acts as a broker between clients and external data sources, as well as a local database of historical data. It runs headless (Linux or Windows, Docker image included) and is managed through its HTTP API.
A client library is provided which can access the server either locally or over a network, to request data/metadata, schedule jobs, etc. Get the client library on NuGet:
For bug reports, feature requests, etc. use either the GitHub issue tracker or gitter chat.
- Manage metadata on stocks, options, futures, CFDs, cryptocurrencies, etc.
- Stream real time OHLC & tick data to your applications.
- Download historical and real time data from external data sources and store it locally.
- Download and store earnings announcements, dividends, economic releases.
- Generate continuous futures data.
- Schedule automatic data updates.
| Data Source | Historical Data supported | Real Time Data supported |
|---|---|---|
| Interactive Brokers | ✅ | ✅ |
| Binance | ✅ | ✅ |
| FRED (Federal Reserve Economic Data) | ✅ | |
| Tiingo (end of day) | ✅ |
Adding more sources is easy and contributions are welcome.
Requirements: .NET 10 and PostgreSQL, or just Docker.
cd deploy
cp .env.example .env # set POSTGRES_PASSWORD and QDMS_API_KEY
docker compose up -d --build
Or run src/QDMS.Host directly (dotnet run --project src/QDMS.Host), configured through appsettings.json or environment variables
(ConnectionStrings__Qdms, Qdms__apiKey, ...). The database schema is created and migrated on startup.
Clients connect on port 5559 (HTTP) and 5555/5556/5557 (ZeroMQ).
Tests need Docker (they start a throwaway Postgres): dotnet test QDMS.slnx.
Here's a rough overview of the architecture of QDMS. More details can be found in architecture.md.
If you wish to contribute, just fork the repo and send a pull request with your changes. Try to send pull requests that are dealing just with one topic - that makes reviewing easier. Or just create create an issue and we can discuss your great ideas!
This product is licensed under the 3-Clause BSD License.