在 kdb 中创建一个新的链式 RDB

发布于 01-09 16:44 字数 185 浏览 2 评论 0原文

我是否能够创建一个新的链式 RDB,仅订阅一张表的当前 RDB?或者我只能订阅TP或链式TP?

我正在考虑创建一个链式 RDB 进行计算,但无法在链式 RDB 中拥有另一个相同的表。计算基于交易,它必须在 5-10 分钟内遍历同一交易品种的所有记录。不确定最好的方法是什么。

如果是订阅RDB,需要在RDB中加载uq才能订阅吗?

Am I able to create a new chained RDB that subscribes to current RDB for one table only?? or I can only subscribe to TP or chained TP only?

I am thinking to create a chained RDB for calculations, but cannot afford to have another same table in chained RDB. The calculation is based on trades, it has to go through all records within like 5-10 minutes for the same symbol. Not sure what is the best way to do it.

If it is to subscribe to RDB, do I need to load u.q in RDB to make it subscrible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷离°2025-01-16 16:44:35

我会订阅 TP/chainedTP,而不是尝试将您的 RDB 本身转换为发布者。您可以从 TP/chainedTP 订阅单个表,它应该能够很好地处理额外的订阅(如果不能,那么您的系统会出现更大的问题)。

您的新进程可以有一个计时器,并使用 .z.ts 运行定期计算,并可能在每次使用后擦除交易数据。

I would subscribe to the TP/chainedTP rather than trying to convert your RDB into a publisher itself. You can subscribe to an individual table from the TP/chainedTP and it should be well able to handle the additional subscription (if it isn't then your system has bigger problems).

Your new process can have a timer and use .z.ts to run periodic calculations and perhaps wipe the trade data after each use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文