Question: Problem Statement A Currency broker company has asked us to build a system that notifies them when a currency pair rate reaches the target rate.

 Problem Statement A Currency broker company has asked us to build

Problem Statement A Currency broker company has asked us to build a system that notifies them when a currency pair rate reaches the target rate. User configures the currency pair and target rate The URL to get the Rates in XML form: "http://rates.fxcm.com/RatesXML" Example of the rate Rate Symbol-"EURUSD"> 1.38022?d Ask 1.38042 KHigh>1.38266 Lo>1.37634 Direction>e 10:42:43 Here "Bid" is the current rate. "Ask" is the suggested sell rate. "High" is day high, "Low" is day low, "Direction" is 1-up, -1->down, >no change compared to last rate, and "Last" is the time for last tick Design considerations: 1. You will need a parser to parse the XML. There are several examples online 2. Start with hard coded user configuration. For example. Pair EURUSD, Target rate: 1.381 3. Make it user entry once you have working code 4. You will periodically check the rates, consider using a schedular 4. For notification, we will assume that there is a system that will be called to notify users. You only display on the screen if target has been reached Answer these questions: Discuss what design patterns you will use Problem Statement A Currency broker company has asked us to build a system that notifies them when a currency pair rate reaches the target rate. User configures the currency pair and target rate The URL to get the Rates in XML form: "http://rates.fxcm.com/RatesXML" Example of the rate Rate Symbol-"EURUSD"> 1.38022?d Ask 1.38042 KHigh>1.38266 Lo>1.37634 Direction>e 10:42:43 Here "Bid" is the current rate. "Ask" is the suggested sell rate. "High" is day high, "Low" is day low, "Direction" is 1-up, -1->down, >no change compared to last rate, and "Last" is the time for last tick Design considerations: 1. You will need a parser to parse the XML. There are several examples online 2. Start with hard coded user configuration. For example. Pair EURUSD, Target rate: 1.381 3. Make it user entry once you have working code 4. You will periodically check the rates, consider using a schedular 4. For notification, we will assume that there is a system that will be called to notify users. You only display on the screen if target has been reached Answer these questions: Discuss what design patterns you will use

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!