AxonFramework / Axon-trader Domain model
Domain model
The Trader is an application that simulates trading stock items for companies. Users provided stock items they want to sell, others indicate they want to buy stock items. If you want to learn more about the possibilities of the application please go to the User guide.
This page describes the different Entities of the application:
Company – Is the entity that can make stock items available. They also give the indication for the value of stock items when they hit the market.
Portfolio – Is the entity that contains money and stock items. Using a portfolio a user can start a Buy transaction or a sell transaction. The portfolio also has the responsibility to reserve money for buy orders and reserve stock items for sell orders. The portfolio has a reference to the User.
Transaction – The entity maintaining the state of an order. Using the transaction, the systems knows whether an order is accepted, cancelled, executed or maybe partially executed. The transaction has a reference to the OrderBook the Buy or Sell transaction was created for. The transaction also has a reference to the Portfolio the that started the transaction.
OrderBook – Entity controlling the match making between buy and sell orders. An OrderBook entity maintains the list of buy orders and sell orders. When new orders arrive, the OrderBook stores them and checks if there is a match between the new order and one or multiple other orders. An OrderBook is related to a Company and represents one type of stock item.
Order – Entity object containing the data required to do the match making of orders for a certain stock item. Each order has a reference to the transaction the order was created by.
Users – Entities representing the users of the system.
The diagram below gives an idea of the relations between the different entities.
The Trader is an application that simulates trading stock items for companies. Users provided stock items they want to sell, others indicate they want to buy stock items. If you want to learn more about the possibilities of the application please go to the User guide.
This page describes the different Entities of the application:
Company – Is the entity that can make stock items available. They also give the indication for the value of stock items when they hit the market.
Portfolio – Is the entity that contains money and stock items. Using a portfolio a user can start a Buy transaction or a sell transaction. The portfolio also has the responsibility to reserve money for buy orders and reserve stock items for sell orders. The portfolio has a reference to the User.
Transaction – The entity maintaining the state of an order. Using the transaction, the systems knows whether an order is accepted, cancelled, executed or maybe partially executed. The transaction has a reference to the OrderBook the Buy or Sell transaction was created for. The transaction also has a reference to the Portfolio the that started the transaction.
OrderBook – Entity controlling the match making between buy and sell orders. An OrderBook entity maintains the list of buy orders and sell orders. When new orders arrive, the OrderBook stores them and checks if there is a match between the new order and one or multiple other orders. An OrderBook is related to a Company and represents one type of stock item.
Order – Entity object containing the data required to do the match making of orders for a certain stock item. Each order has a reference to the transaction the order was created by.
Users – Entities representing the users of the system.
The diagram below gives an idea of the relations between the different entities.
他怎麼就能這樣得出一個domian model 呢?
相關文章
- 一點疑惑:different from domain model and domain entityAI
- Grails + EJB Domain ModelsAI
- 對於domain model的包名的疑惑AI
- 關於暴露業務模型(Exposed Domain Model Pattern)2模型AI
- 關於暴露業務模型(Exposed Domain Model Pattern)1模型AI
- 最近看了下axonframework,請教下EventStoreFramework
- 請教:能介紹一下Domain Model(域建模)嗎?AI
- 域名(domain)AI
- eminent domainAI
- 撥開迷霧,找回自我:DDD 應對具體業務場景,Domain Model 到底如何設計?AI
- document.domainAI
- Change domain timeAI
- 請教:能介紹一下您的三件寶中的Domain Model(域建模)嗎?AI
- Cookie domain 屬性CookieAI
- document.domain用法AI
- 建立weblogic domainWebAI
- AutoPeftModel、AutoModel、PeftModel
- 遷移學習(DIFEX)《Domain-invariant Feature Exploration for Domain Generalization》遷移學習AI
- Unix domain socket 簡介AI
- Programming languages Domain summaryAI
- machine learning model(algorithm model) .vs. statistical modelMacGo
- 《nginx 配置之——domain 轉 path》NginxAI
- pages bookmarks for machine learning domainMacAI
- Error Domain=kAFAssistantErrorDomain Code=7ErrorAI
- wildfly 21的domain配置AI
- javascreipt cookie的domain和pathJavaCookieAI
- 閒侃Domain Logic PatternsAI
- 去掉DB_DOMAIN的方法AI
- DB_DOMAIN Initialization Parameter (88)AI
- SpringMVC裡的Model、Map、ModelMap以及ModelAndViewSpringMVCView
- ModelViewSet-modelserializerView
- 論文解讀(CDCL)《Cross-domain Contrastive Learning for Unsupervised Domain Adaptation》ROSAIASTAPT
- 遷移學習(DCCL)《Domain Confused Contrastive Learning for Unsupervised Domain Adaptation》遷移學習AIASTAPT
- what is conversion exit defined in ABAP domainAI
- cookie path路徑與domain域CookieAI
- Video教程的Domain設計IDEAI
- 使用Domain-Driven建立Hypermedia APIAIAPI
- domain object 呼叫 repository 與 eventStoreAIObject