What are some typical uses for complex event processing

Assignment Help Basic Computer Science
Reference no: EM13832204

QUESTION 1. What are some typical uses for complex event processing applications? Give examples and elaborate on the possibilities.

QUESTION 2. Find the date of the BTC stock when closing price is greater than 0.1 and less than 20.

QUESTION 3. What is the difference between doing aggregated queries (AVG/SUM/MAX/ETC) in standard databases and stream databases?

QUESTION 4. For each non-overlapping 100 tick interval of the BTC stock, find the minimum and maximum weighted price in the interval.

QUESTION 5. Extend the previous query so that it now also shows the difference between the minimum and maximum weighted price for each interval.

QUESTION 6. Find the total weighted price of all stock tick events in each non-overlapping 100 tick interval of the BTC stock.

QUESTION 7. Find the dates and minimum weighted price for the BTC stock for each, non-overlapping 30 tick interval. Be aware that this is trickier than anticipated. (Double check that prices corresponds to correct dates!)

QUESTION 8. What are patterns and pattern operators? What does the every and followed-by (->) patterns do? Explain the difference between the following:

every A -> B
A -> every B
every A -> every B
every (A -> B)

QUESTION 9. Find all the start and stop dates with volume, when the weighted price of the BTC stock increases more than 100 times and volume increases by 40%.

QUESTION 10. What is technical analysis? What is algorithmic trading?

QUESTION 11. We claim that a good buying date for the BTC stock is the date after which the stock has a lower weighted price than a date before it (not necessarily right before), and the volume has increased by 70% as that same earlier date. Vice versa, a good selling date is when the stock has three times increased weighted price than a date before it (not necessarily right before) and a 70% increase in volume. Find the buy dates and closing prices and the sell dates and closing prices to test this hypothesis. Was the trading algorithm successful? Assume you always buy 1 and sell 1 share, and that you always have enough shares to sell even if you did not buy all of them, how much did this algorithm earn or loose? HINT: OR, not AND

QUESTION 12. This question is an extension to question 11, therefor you should solve question 11 before you solve this.
We will now try a different algorithm for buying and selling BTC stocks. This algorithm will be based on trend following, which is an investment strategy based on technical analysis of market prices, rather than on of the fundamental strengths of the companies. We will try to take
advantage of the market trends by observing the current direction and using this to decide whether to buy or sell. The strategy is simple: If we see that the weighted price and closing prices are going up over three days, we buy. Example: If we have an event of three days (not necessarily adjacent days), Monday, Tuesday and Wednesday. If we see that the weighted price has increased from Monday to Tuesday and
then again from Tuesday to Wednesday, and in addition the closing price on Wednesday is larger than Monday, we buy. And vice versa for selling, if we see that the weighted price has gone down from Monday to Tuesday and then again from Tuesday to Wednesday, and in addition the closing price on Wednesday is larger than the closing price on Monday, we sell

QUESTION 13. What are pattern guards? Why cannot the timer:within pattern guard be used in simulated environments? What alternatives exist to control time and dates?

QUESTION 14. Find the start date, stop date and weighted prices when the BTC stock value has decreased by three times within a 15 day period, e.g. suppose from 2014-06-09 to 2014-06-24 the weighted price has gone down from 15 to 5.

QUESTION 15. What are variables in Esper and how can they be used to hold and change state? Give examples!

QUESTION 16. Write your own trading algorithm and use it to find buy and sell dates. No hard-coding of dates or numbers are allowed! Use the knowledge you have on Esper to write your query of choice. If you want to change the Java files, you are allowed to, but you do not have to (e.g. needed for multiple queries).

QUESTION 17. What did you struggle with during this exercise? Was it the provided code's fault, Esper's or your own fault? What was different from working with regular database systems?

Reference no: EM13832204

Questions Cloud

Esper is a component for complex event processing : Esper is a component for complex event processing (CEP). We use Esper in this exercise to learn about stream database systems and complex event processing. The scenario used in the exercise is building a stock trading robot. The events (ticks) are..
How family panning policies would change the steady : How family panning policies would change the steady state in a Solow model. A. Draw the initial diagram. B. Suppose that the family planning policies lowered the fertility rate. Which curve or curves will this shift?
Determine the spectroscopy of unknowns : In this Case assignment, you will determine the spectroscopy of unknowns at:
Why are many of the large industrialized nations : Each of the 5 questions needs at least a one paragraph answer and a citation.1. Why are many of the large industrialized nations (e.g., U.S., U.K., France, & Japan) running continuingly large federal deficits and what must be done to avoid default?
What are some typical uses for complex event processing : What are some typical uses for complex event processing applications? Give examples and elaborate on the possibilities. Find the date of the BTC stock when closing price is greater than 0.1 and less than 20.
The classifications from richardson and gosnay : Make sure to choose a company that has a lot of information available, as you will need to analyze many different aspects of this company's marketing strategy while writing up your Modules 1-4 papers.  It is best to choose a large and well known comp..
Ultradense chips for android products : 10. "IBM is investing $3 billion in a private-public partnership with New York State, GlobalFoundries, Samsung and equipment vendors," to create ultradense computer chips (John Markoff, New York Times, July 9, 2015). TOTALLY MADE-UP SCENARIO: Suppose..
Discuss where valid instruments come from : Discuss where valid instruments come from. Part of your explorations must deal withchecking the validity of instruments and what the consequences of weak instruments are.
Characterize the buying behavior of a business : Describe at least 3 things that characterize the buying behavior of a business or organization. State what type of business or organization you are discussing if you are focusing on some specific organization/company

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Prompt the user to enter a string

Prompt the user to enter a string, and using a loop, count and output the number of vowels, and consonants the string contains. (find methods from class Character to help you.)

  What is the target audience of the app

What is the target audience of the APP. What stands out about the design of the APP. What stands out about the content of the APP

  Physical transmission options, such as fiber optic

Physical transmission options, such as fiber optic, to provide connectivity for the stores. Wireless connectivity options, standards, and infrastructure to provide laptop connectivity. Satellite or point-to-point options should be explored.

  Critical issues related to it governance-determine

Read the scenario below and identify the critical issues related to IT Governance and determine how you would resolve the issues. Write a 3 page paper that addresses the following issues:

  File name according to the section of the assignment

File name according to the section of the assignment

  create a version of a carnival game

assignment, your job is to create a version of a carnival game in which mechanical dogs race along a track. The racing game is called DogTrack. DogTrack is also the name of the java source file you must submit to complete the assignment. The DogTrack..

  Create a if function formula to determatine

Create a if function formula to determatine which boats include a stove with galley. Boats must be able to seat 8 or more people to have stove in the galley.

  Under what circumstances will it fail

will the above function compile in C++? Is it correct? Under what circumstances will it fail and how should it be corrected?

  This thesis artefact is flexible

This thesis artefact is flexible in a sense that helper can use any other sort of tools to accomplish the task as long as it matches with the aim but please, let me know how he/ she going to do it.

  Design and test using logic works a dual-output function

Design and test using Logic Works a dual-output function to implement a full-adder in Sum-of-Products form. Show the transistor count on your schematic. For bonus points optimize the circuit to minimize transistor count

  Compare and contrast freeware and shareware

Compare and contrast freeware, shareware and commercial software. What are the characteristics of each? Discuss examples.

  Each letter of a three-letter word stored in memory

Write an LC3 program that "increments" each letter of a three-letter word stored in memory following the program. 'a' becomes 'd', 'n' becomes 'q', 'z' becomes 'c', etc. Make sure you comment your code! This is the Julius Caesar Cipher. Assume that a..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd