Giter Site home page Giter Site logo

Comments (4)

sun0x00 avatar sun0x00 commented on August 19, 2024

这个问题我也关注到了,最近没来得及改,我在用的时候过滤了这部分数据,具体原因待查。

from redtorch.

sun0x00 avatar sun0x00 commented on August 19, 2024

最近逆向分析研究了一下CTP底层协议,实现了一个自用的纯Java NIO版本,根据已知的情况判断,无穷大是正常的,主要是在一些字段没有有效数据的时候,采用1.7977e+308填充,例如涨跌停板、结算价未产生等特殊情况,官方没有使用0,主要是为了防止误判,需要自行判断。因此认为这是一个常量,和生成的dll无关。

from redtorch.

frank-4570428 avatar frank-4570428 commented on August 19, 2024

谢谢,我还有个疑问,为何在JAVA里面不能将创建连接等一系列放到一个单独的线程中执行呢。这样我就可以在一个程序里面同时处理多个账户的信息了。
可是当我使用单独的线程处理每个账号时,程序直接就挂掉了。

from redtorch.

sun0x00 avatar sun0x00 commented on August 19, 2024

使用api-jctp时请参考gateway-jctp中的实现,避免临时文件冲突

from redtorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.