Giter VIP home page Giter VIP logo

godce's People

Contributors

oldfritter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

godce's Issues

这个系统没有注册的接口么?

直接调取登陆接口提示 Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'users.id) WHERE (identities.source = ?) AND (identities.symbol = ?) ORDER BY `us' at line 1
{"time":"2021-07-20T15:49:27.18575+08:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:9990","method":"POST","uri":"/api/web/v1/users/login","user_agent":"PostmanRuntime/7.28.1","status":400,"error":"code: 2026; msg: error_code.2026","latency":3451003,"latency_human":"3.451003ms","bytes_in":403,"bytes_out":61}

撮合的问题

Hi,
想问一个关于撮合的问题,假设我们有用户A挂单OrderA,用户B挂单OrderB

  1. 用户B提单后先到matching,然后到trading exchange,等待strike
  2. 用户A取消订单
  3. 先到matching,再到order processer,处理快,订单状态为0
  4. 第一步开始执行,strike,这时候校验订单A,返回失败
  5. 因为用户B的订单已经从order book移除,再没有机会撮合

原始数据

你好,作者,请问有没有原始数据,方便给一份吗?谢谢。。

性能问题

撮合结束之后,会成交,这地方会有大量的数据操作,这样会导致整体撮合的性能下降,这地方有优化的空间吗?

Match question

From the project, Benefit a lot! Would you help to answer a question?
For example we have UserA with OrderA and UserB with Ordre B, and the volume is the same

  1. Matching finished, and push the amqp message to trade_executer, and wait to execute
  2. UserA cancel the order
  3. the UserA volume is zero, and will be failure when strike
  4. In this case, OrderB is already removed from the order book, and it will never be matched.

Should i misunderstanding the logic, would you help to answer how the peatio handle this logic now?

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.