Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A Portfolio Management System generates a set of Orders throughout the day that need - to - be traded on a - market. An Order
A Portfolio Management System generates a set of Orders throughout the day that needtobe traded on a market. An Orderneeds tobe traded within minutes. Each trade has an associated transaction cost, let's say $ Design a system thatwould minimize the transaction cost by grouping similar Orders.
: BUY GOOG
: BUY MSFT
: SELL GOOG
: BUY GS
: SELL MSFT
: SELL MSFT
Example Output:
: SELL GOOG
: BUY MSFT
: BUY GS
: SELL MSFT
Total.cost : $
: BUY GOOG
: BUY MSFT
: BUY MSFT
: BUY GS
: SELL GOOG
: SELL GOOG
: BUY GS
: SELL GS
: BUY MSFT
Example Output:
: BUY GOOG
: BUY MSFT
: BUY GS
: SELL GOOG
: SELL MSFT
Total.cost : $
Use Python to answer it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started