Question
1. The data in TradeData 2020.csv contains the time in seconds of trades that occurred. Give codes for a Python program that calculates: Access the
1. The data in TradeData 2020.csv contains the time in seconds of trades that occurred. Give codes for a Python program that calculates: Access the link for the data below:
a.) The average inter-trade time.
b.) The probability that the next trade will occur in less than one second.
c.) The probability that the next trade will occur between 3 and 4 seconds.
d.) The number of trades expected to occur in the next minute.
e.) The probability that between 35 and 40 trades, inclusive, will occur in the next minute.
2. The data in TradeData 2020.csv contains the sizes of trades that occurred. Give codes for a Python program that calculates:
a.) The average trade size.
b.) The probability that the next trade be a size of 1.
c.) The probability that the next trade will be between 5 and 10, inclusive.
3. Your team estimates that the cost to build a house will be between $100,000 and $300,000, but most likely to be $150,000.Give codes fora Python program that calculates the probability the house will cost between $150,000 to 200,000.
The link for the TradeDATA 2020:
Trade Data 2020 (1).xlsx
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To solve the given questions well need to load and analyze the data from the TradeData 2020csv file ...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