calc-rtd
Real-time data from Excel RTD servers, in LibreOffice Calc. Same formula as in Excel. Website: https://andreydani.github.io/calc-rtd/ (Português)
=RTD("Vendor.ProgID";;"TOPIC1";"TOPIC2")
Many market-data terminals and industrial tools feed live values to spreadsheets through an
RTD (RealTimeData) server made for Microsoft Excel. LibreOffice Calc has no RTD function,
so those formulas do not work there. calc-rtd adds the function to Calc and talks to the
vendor's RTD server on your behalf.
Download and install
You need Windows, LibreOffice 6.4 or later (tested on 24.2) and the RTD server your data vendor installs.
- Download
calc-rtd-win64.oxtfrom the latest release. - In LibreOffice, open Tools > Extensions, click Add and select the file.
- Restart LibreOffice (close the Quickstarter too, if you use it).
That is all. If your formulas show a "not registered" error, your RTD server is a 32-bit one:
install calc-rtd-win32.oxt instead.
Use
Type the formula in a cell exactly as you would in Excel:
=RTD("Vendor.ProgID";;"ACME";"LAST")
Want to see it working before involving any vendor? This one needs nothing else:
=RTD("calcrtd.sim";;"clock")
More built-in test formulas:
=RTD("calcrtd.sim";;"counter";0.2) 1, 2, 3... every 0.2 s
=RTD("calcrtd.sim";;"random";10;20) random number between 10 and 20
=RTD("calcrtd.sim";;"walk";"ACME";38.5) random walk starting at 38.5
=RTD("calcrtd.sim";;"echo";"hello") fixed text
What the cells can show
| Cell shows | Meaning |
|---|---|
#N/A |
Waiting for the first value, as in Excel. The very first start takes a few seconds. |
#RTD: bridge offline |
The helper program could not be started or reached. Check that your antivirus did not block calc-rtd-bridge.exe. |
#RTD: bridge not found |
Only with calc-rtd.oxt (no executable inside): calc-rtd-bridge was not found. Install it with pip install calc-rtd and restart LibreOffice. |
When the helper program does not start, %APPDATA%\calc-rtd\bridge.log says what was tried and
what went wrong.
| #RTD: ... | A message from the RTD server or about it, for example an unknown ProgID. |
| #NAME? | The extension is not installed, or the formula was copied from Excel (see below). |
Good to know
- Copying from Excel. Cells copied from Excel arrive as
=_xlfn.RTD(...)and show#NAME?, because that is how Excel puts the function on the clipboard. Fix them all at once with Edit > Find & Replace: search for_xlfn., replace with nothing, and choose "Search in: Formulas". The same goes for RTD formulas in an opened.xlsxfile. Save your work as.ods. - Do not use "Run as administrator". Start LibreOffice the normal way, like the program that feeds your RTD server. Otherwise the server fails with "Class not registered".
- Security warnings. The extension includes a small helper program
(
calc-rtd-bridge.exe) that is not code-signed, so Windows SmartScreen or your antivirus may warn about it. It is built from this repository by GitHub Actions. If you prefer not to run it, installcalc-rtd.oxt(no executable inside) together with Python 3.9+ andpip install calc-rtd. - Windows only. RTD servers are a Windows technology. On Linux and macOS only the
calcrtd.simtest formulas work. - Your vendor's rules still apply. Some vendors tie their RTD server to Excel or restrict how their data may be used; check their terms.
How it works, in one paragraph
The extension provides the RTD function. The first time it is used, it starts a helper
program (the "bridge") in the background; the bridge loads the vendor's RTD server and plays
the part Excel normally plays, passing every update to Calc. The bridge only accepts
connections from your own user account on your own computer, and it closes about a minute
after LibreOffice does.
Details, diagnostics and development notes are in docs/TECHNICAL.md, and the version history in CHANGELOG.md. Problems and questions: open an issue.
Also a Python library
The part that talks to RTD servers works on its own, without LibreOffice:
from calc_rtd import RtdSession
with RtdSession() as rtd:
rtd.subscribe("Vendor.ProgID", ["ACME", "LAST"])
for update in rtd.updates():
print(update.value)
pip install calc-rtd, then see Using RTD servers from Python.
About
calc-rtd is an independent open-source project under the MIT license. It is not affiliated
with or endorsed by Microsoft or The Document Foundation, and contains no Microsoft code: it
implements the client side of the publicly documented IRtdServer interface. Microsoft and
Excel are trademarks of the Microsoft group of companies; LibreOffice is a trademark of
The Document Foundation.
Metadata
Release files for calc-rtd 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| calc_rtd-0.2.1.tar.gz | 34.2 kB | With provenance | Details for calc_rtd-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| calc_rtd-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for calc_rtd-0.2.1-py3-none-any.whl |
Total release size: 65.1 kB
Release files / calc_rtd-0.2.1.tar.gz
| Download URL | calc_rtd-0.2.1.tar.gz |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b89696ccaa5d096c4834ad8fedf63db7ea102054ebafc8e2ceb3e642be26f409
|
|
BLAKE2b-256 checksum How to use checksums |
86bb55c22537a6c65b9aca53c3b24af4c80ce0645e6c915eb2e780a87bec0b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logRelease files / calc_rtd-0.2.1-py3-none-any.whl
| Download URL | calc_rtd-0.2.1-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d52d9a8771e24c9f544b5868abea76d9e3c436654a578fbde3451b60312c79d
|
|
BLAKE2b-256 checksum How to use checksums |
65710db3b27c173b91dfd389f83e8808f50c52daa610540a8a1a9dca533323e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logSecurity for calc-rtd 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for calc_rtd-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.