Giter Site home page Giter Site logo

Comments (1)

SamuelGuillemet avatar SamuelGuillemet commented on August 23, 2024

Here is an example of log execution:

21:34:34.236 [QFJ Message Processor] DEBUG (pfe_broker.quickfix_server.ServerApplication) - Received message: BeginString=FIX.4.2|BodyLength=112|MsgType=D|MsgSeqNum=201|SenderCompID=user1|SendingTime=20231212-20:34:34.236|TargetCompID=SERVER|ClOrdID=199|HandlInst=2|OrderQty=1|OrdType=1|Side=2|Symbol=ACGL|TransactTime=20231212-20:34:34|CheckSum=144
21:34:34.236 [QFJ Message Processor] DEBUG (pfe_broker.quickfix_server.ServerApplication) - Received new Single Order
21:34:34.238 [order-stream-d7da1e4c-b8ce-4501-a509-59e6ade1259d-StreamThread-1] DEBUG (pfe_broker.order_stream.OrderIntegrityCheckService) - Checking integrity of order {"username": "user1", "symbol": "ACGL", "quantity": 1, "side": "SELL"}
21:34:34.243 [order-stream-d7da1e4c-b8ce-4501-a509-59e6ade1259d-StreamThread-1] DEBUG (pfe_broker.order_stream.OrderIntegrityCheckService) - Market order {"username": "user1", "symbol": "ACGL", "quantity": 1, "side": "SELL"} accepted
21:34:34.244 [pool-2-thread-1] DEBUG (pfe_broker.market_matcher.MarketDataConsumer) - Reading last stock data for ACGL
21:34:34.247 [pool-2-thread-1] DEBUG (pfe_broker.market_matcher.MarketMatcher) - Matching order {"username": "user1", "symbol": "ACGL", "quantity": 1, "side": "SELL"} with market data {"open": 47.2631, "high": 47.342, "low": 47.2258, "close": 47.3, "volume": 1025}
21:34:34.249 [trade-stream-10ba225d-5bdb-4b5f-a791-381070aaf28a-StreamThread-1] DEBUG (pfe_broker.trade_stream.TradeIntegrityCheckService) - Checking integrity of trade {"order": {"username": "user1", "symbol": "ACGL", "quantity": 1, "side": "SELL"}, "symbol": "ACGL", "price": 47.29999923706055, "quantity": 1}
21:34:34.250 [trade-stream-10ba225d-5bdb-4b5f-a791-381070aaf28a-StreamThread-1] DEBUG (pfe_broker.trade_stream.TradeIntegrityCheckService) - Trade {"order": {"username": "user1", "symbol": "ACGL", "quantity": 1, "side": "SELL"}, "symbol": "ACGL", "price": 47.29999923706055, "quantity": 1} accepted
21:34:34.252 [pool-4-thread-1] DEBUG (pfe_broker.quickfix_server.ServerApplication) - Sending message: BeginString=FIX.4.2|BodyLength=84|MsgType=8|AvgPx=47.29999923706055|CumQty=0|ExecID=799|ExecTransType=2|OrderID=199|OrderQty=1|OrdStatus=2|Side=2|Symbol=ACGL|ExecType=2|LeavesQty=0|CheckSum=112

Figure_1

Experiment:

  • 100 Buy request every 100ms
  • 100 Sell request every 100ms

image

from seak.

Related Issues (4)

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.