majicl / trading-engine

0 stars 0 forks source link

matcher.Ask<GetPriceResult> expects a GetPrice as query #2

Open majicl opened 3 years ago

majicl commented 3 years ago

https://github.com/majicl/trading-engine/blob/eaedb98f410b80b5f1f02f6d21263403461fd5f7/Program.cs#L22

replace it with: matcher.Ask<GetPriceResult>(new GetPrice() { StockId = "MSFT" })