University | Singapore University of Social Science (SUSS) |
Subject | FIN311:Mathematics and Programming for Finance |
Question 1
If 𝑍𝑍 = 𝑋𝑋 + 2𝑌𝑌 and 𝑋𝑋 and 𝑌𝑌 are independent random variables that are formulated to be normally distributed with 𝑋𝑋 ∼ 𝑁𝑁(𝜇𝜇𝑥𝑥, 𝜎𝜎𝑥𝑥) and 𝑌𝑌 ∼ 𝑁𝑁(𝜇𝜇𝑦𝑦, 𝜎𝜎𝑦𝑦),
(a) What is the mean and standard deviation of 𝑍𝑍?
(b) Write down the Python function that allows you to evaluate the probability that Z < 2.0, given that you know the mean and variance of Z as 1.5 and 0.6 respectively
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Native Singapore Writers Team
- 100% Plagiarism-Free Essay
- Highest Satisfaction Rate
- Free Revision
- On-Time Delivery
Question 2
Given the following information, assess and show the differences of each data structure listed below.
- pandas data frame
- pandas Series
i | Date | Trader | Price | Asset | Counterparty | Volume |
0 | 26-May-2019 | John | $123.50 | AAPL | Bank X | 2,500 |
1 | 27-May-2019 | David | $23.50 | DBS.SI | Bank Y | 1,200 |
2 | 29-May-2019 | Mary | $123.50 | T | Bank Y | 200 |
3 | 29-May-2019 | David | $1.25 | CCL | Bank X | 2,000 |
If the bank saves the above trading information into a single data frame data where the I column is the index, write down the Python code to retrieve all transactions that involved Bank X in May 2019.
Question 3
If you are bullish about stock T, discuss and appraise whether each of the following strategies is appropriate for yielding the greatest return if you are correct.
Strategy A: Buy stock T
Strategy B: Buy call options on stock T
Question 4
Appraise each of the following statements about the use of hashing in Bitcoin in regards to whether it is correct or incorrect and why it is so.
Statement A: Hashing is used to encrypt the transaction information in a block so that it can later be decrypted.
Statement B: Hashing is used to hide a user’s identity in a transaction.
Question 5
a. Describe and distinguish the differences between a call and a put option. What is an investor’s outlook if he buys a call option? How does his view change when he buys a put option?
- A straddle is a combination of an ATM call and ATM put.
Given:
stock price = $40,
volatility = 45%,
maturity = 6 months,
risk free rate = 3%,
b. Calculate the price of a straddle.
c. Draw the payoff profile of a straddle. What is your market outlook if you buy a straddle?
d. You need to fund the purchase of a straddle with a bank loan charging a rate of 15%. The payment to the bank is made at the maturity date of the options. What must be the stock price at maturity in order for you to profit from your straddle purchase?.
Buy Custom Answer of This Assessment & Raise Your Grades
Question 6
Mark has a trading account in crypto exchange and he has 1.25 bitcoins in his account. When Mark trades using his account, a fixed transaction fee of $5 is imposed if the transaction amount is less than $500. If the transaction is greater than $500, the fee will be 1.0% of the transaction amount. The number of bitcoins he trades is determined by the transaction amount less the transaction fee and the traded price of Bitcoin.
a. Analyze what will the miners do when such a transaction is presented in the blockchain
The prices of Bitcoin, on different dates, are given in a pandas prices data frame as shown, where the date is the index and information is stored in np.datetime64 format. btc and volume give the traded price and volume of bitcoin respectively on the date.
date | btc | volume |
2018-06-01 | 1234 | 34567 |
2018-06-02 | 1235 | 23456 |
2018-06-03 | 1009 | 23056 |
2018-06-06 | 1239 | 23896 |
2018-06-07 | 1385 | 20059 |
b. If Mark transacted $900 to buy bitcoins on the 3-June-2018, calculate
- the transaction price (txn_price) of bitcoin
- the transaction cost (txn_cost) and
- the number of units of bitcoins (txn_units) he has bought after paying for the transaction fee
c. If the transaction of Mark is stored in the following dictionary,
trade = {‘id’ : ‘bvd-294’,
‘txn_date’ : np.datetime64(‘2018-06-03’),
‘txn_amt’ : 900,
‘txn_direction’ : ‘buy’}
include the information calculated in (a) into the trade dictionary. The calculated fields should be derived using information given in the question, data from prices, trade, and suitable Python functions/operations.
Question 7
You are carrying out the automation of the following investment strategy in Python. An initial investment amount of $50,000 is used to acquire Stock A.
Every month, you are prepared to fork out a monthly amount of $1,000. The average price of Stock A in the portfolio is defined as the amount of cash put into the portfolio divided by the total number of units of Stock Anetin the portfolio.
Month | Mkt | Buy/Sell? | Units | Cash | Total | Total | Cash | Av | ||||||
Price | Purchased | spent | Units | Cash | Remaining | Price | ||||||||
spent | ||||||||||||||
0 | 95 | Buy | 526 | 49970 | 526 | 49970 | 30 | 95 | ||||||
1 | 80 | Buy | 12 | 960 | 538 | 50930 | 70 | 94.67 | ||||||
2 | 102 | Sell | -9 | -918 | 529 | 50012 | 70 | 94.54 | ||||||
3 | 84 | Buy | 12 | 1008 | 541 | 51020 | 62 | 94.31 |
Only integer units of stock can be purchased. Any remaining cash is used together with the monthly amount of $1,000 for the subsequent stock purchase.
a. For Month 1, show clearly that 12 units of stocks is purchased, the cash remaining is $70 and the average price of the stock in the portfolio is $94.67.
b. Given the following initialization in Python for your examination, design and write down Python code to calculate the integer units of A purchased with the given initial investment amount. Store the results in a Python list.
init_invt = 50000 monthly_invt = 1000 init_price = 95
c. Given the following Python list of the market price of the stock,
prices = [80, 102, 84, 41, 74, 55, 32, 77, 92, 40, 91, 26]
use a Python _for_ loop to implement and experiment with the investment strategy by composing suitable data structures. Report the final observed average price of A in the portfolio.
Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers
Do you need help with an urgent assignment help? Are the Programming assignments trouble you quite usually? Does the (FIN311) Mathematics and Programming for Finance Assignment seem too hard to solve for you? then Singapore assignment help is the best solution for you. We have hired professionals experts, who have vast experience in developing unique solutions for math assignments at a cheap price.
Looking for Plagiarism free Answers for your college/ university Assignments.
- BUS 304 Assignment: Strategic Analysis of Accounting Standards & Corporate Ethics
- RBP020L056 A Strategic Management Assignment Report: External & Internal Analysis with Strategic Options for Business Growth
- Capital Budgeting Assignment Report: PIONG Corporation Case Study on Risk & Investment Analysis
- BCAF003 Business Accounting Assignment : Temasek Polytechnic Case Study on Transactions, Equity & Trial Balance
- 304SE Energy Systems Assignment: Boiler Efficiency & 3-Bus Power Flow Case Study with Carbon Emission Analysis
- SM9532 International Expansion Strategy Assignment Report: CAGE, PND & AAA Analysis for Global Market Entry
- PSB6023CL Strategy and International Business Simulation Assignment Report: Automotive Case Study on Strategic Decision-Making and Performance Review
- ESG in Maritime Industry Assignment : Literature Review on Environmental, Social and Governance Practices
- CVE2332 Seepage and Flownet Analysis Assignment : Singapore River Cofferdam Case Study for Cost-Effective Sheet Pile Design
- DSWSH MC2 Electronic Security Assignment: Protection in Depth Plan for American International School (AIS) Singapore