bookmark_borderHistorical Timeline of Derivatives

...... Nobody can hope to understand the economic phenomena of any, including the present, epoch, who has not an adequate command of historical facts and an adequate amount of historical sense or of what might be described as historical experience. ........ the historical report cannot be purely economic but must inevitably reflect also "institutional" facts that are not purely economic: therefore it affords the best method for understanding how economic and non-economic facts are related to one another and how the various social sciences should be related to one another. ....... the fact that most of the fundamental errors currently committed in economic analysis are due to lack of historical experience more often than to any other shortcoming of the economist's equipment. History must of course be understood to include fields that have acquired different names as a consequence of specialization, such as prehistoric events and ethnology (anthropology) - Joseph A. Schumpeter, History of Economic Analysis, Elizabeth Boody Schumpeter, ed. (New York: Oxford University Press, 1954), pp. 12-13.

8000 BCE

In Sumer, located in the Tigris and Euphrates river region, a unique accounting method was developed using clay tokens in 8000 B.C. The clay tokens were baked into a spherical sort of envelope and used as a promise to a counterparty to deliver a quantity of goods by a certain date. Based on the timeframe imprinted into the envelope vessel and the tokens themselves, sellers promised to deliver the assets. This exchange essentially functioned as a sort of forward contract, which was settled once the seller delivered their goods by the date baked onto the token.

1750 BCE

“If any one owe a debt for a loan, and a storm prostrates the grain, or the harvest fail, or the grain does not grow for lack of water; in that year he need not give his creditor any grain, he washes his debt-tablet in water and pays no rent for the year.” - 48th law from the Code of Hammurabi.

Hammurabi, who was the king of Babylon devised a code to ensure that farmers having loans on their houses were not required to pay annual interest in the form of grain in the event of crop failure. In such a scenario, farmers' right not to pay interests is similar to what we now-a-days call put options.

1600 CE

Forward and option contracts on tulip bulbs flourish in Holland. Tulip bulb prices collapse in the winter of 1637,
causing significant contract default.

350 BCE

Options to rent olive presses are described in Aristotle’s Politics.

1848 CE

Chicago Board of Trade (CBT) is formed on April 3, 1848, to provide a centralized marketplace for cash and forward transactions in grains.

1865 CE

CBT revamps forward markets by introducing futures contracts on agricultural commodities. These new contracts were standardized contracts in terms of quality, quantity, time & place of delivery, and involved the use of a clearinghouse and a system of margining.

1874 CE

Chicago Produce Exchange (CPE) is formed to trade futures on butter, eggs, poultry, and other perishable products.

1878 CE

London Corn Trade Association introduces the first futures contract in the United Kingdom.

1882 CE

Coffee Exchange (CE) is formed by a group of coffee merchants to trade futures on coffee.

1898 CE

Butter and egg dealers withdraw from the CPE to form the Chicago Butter and Egg Board (CBEB).

1904 CE

Winnipeg Commodity Exchange (WCE) introduces first commodity (oat) futures contracts in Canada.

1933 CE

Commodity Exchange (COMEX) is formed and introduces the first futures contract on a non-agricultural commodity — silver.

1952 CE

London Metal Exchange (LME) lists the first metal (lead) futures contract in October in the U.K.

1961 CE

Chicago Mercantile Exchange (CME) introduces the first futures contract on livestock - frozen pork bellies.

1972 CE

CME introduces the first futures contract written on a financial instrument, which was on foreign currencies.

1973 CE

CBT organizes the Chicago Board Options Exchange (CBOE) for the purpose of trading call options on 16
New York Stock Exchange (NYSE) common stocks.

1975 CE

CBT introduces first interest rate futures contracts — Government National Mortgage Association (GNMA) futures. In the same year in January American Stock Exchange (AMEX) launches call options on stocks.

1977 CE

CBOE and AMEX listed for the first time put options on common stocks are. CBT also launched Treasury bond futures contracts.

1980 CE

The first over-the-counter (OTC) Treasury bond option takes place.

1981 CE

Interest rate swap transaction takes place for the first time over-the-counter (OTC). CME introduces the Eurodollar futures, which is the first cash settlement futures contract.

1991 CE

The notional amount of OTC derivatives trading surpasses exchange-traded derivatives.

1992 CE

Credit derivative contracts begin trading in the OTC market.

2004 CE

CBOE launches futures contract written on CBOE Market Volatility Index (VIX).

bookmark_borderWhy is there a Derivative Market?

WHY IS THERE A DERIVATIVE MARKET?

Why does someone take a long or short position in the derivative contract rather than buying and selling on the spot? The answer to this question, in fact, is the answer to the question: why does the derivative market exist?

First, a derivative contract allows you to delay the purchase or sale of an underlying asset. Rather than buying on the spot, you can buy on some specified future date depending on your expectations about the price movements. If you expect the price to go down in the future, enter into a contract to buy later. You enter into a contract when you expect the price to go up.

Second, when you enter into a derivative contract, you do not pay anything at the initiation of the contract. However, for some contracts like options, you must pay upfront to enter into contracts; but that is far cheaper than the underlying asset (more on options later).

Third, you can either limit or eliminate the downside risk or take advantage of the upside potential, or both at the same time.

Fourth, derivatives make it possible to transfer risk. The underlying of a derivative contract bears several risks. The shares of a firm are associated with the risk of prices going up or down (price risk). A derivative on stock transfers the risk from the seller to the buyer or the seller to the buyer. A bond bears with it risks associated with the interest rate, credit, or currency (if the bond is issued in a different currency than the domestic currency). A derivative instrument written on a bond transfers interest rate risks (interest rate derivatives) or credit risk (credit default swap).

Transferring risk leads to hedging, which is one of the most important aspects of derivatives. If you currently hold 100 shares of Apple Inc., your concern is the risk of prices going down. To offset the risk, you can enter into a derivative contract written on Apple Inc. stock to sell the shares at a price that ensures profits. Here you lock in some prize or profit in the future. By holding the shares, you are faced with some risk exposure. This risk exposure is offset by entering into the derivative contract. If you do not hold any Apple Inc. shares, you don't have any risk exposure to offset.

bookmark_borderTypes of Derivatives markets & Instruments

TYPES OF DERIVATIVE MARKETS

Broadly, there are two types of derivatives markets:

  • Over-the-counter market (OTC): In the OTC market, the derivatives contracts are negotiated privately between parties. There might be a middle party who facilitates such negotiation for commission. There are no specific or particular contract specifications.
  • Organized exchange: In organized exchanges, such as Chicago Mercantile Exchange (CME), New York Mercantile Exchange (NYMEX), and Chicago Board Options Exchange (CBOE), the contract specifications for listed derivatives are standardized. Buyers and sellers in such exchanges trade following the rules specified by the change. Order execution through an exchange facilitates transparency, liquidity, and price discovery.

TYPES OF DERIVATIVE INSTRUMENTS

There are many kinds of derivative instruments. Broadly, we can categorize it into the following types:

  • Forwards: a contractual agreement between two parties over-the-counter to buy or sell a product on a future date at a pre-determined price negotiated today. You do not pay anything upfront.
  • Futures: a contractual agreement between two parties in an organized exchange to buy or sell a product on a future date at a pre-determined price negotiated today. You do not pay anything upfront, but there is a margin requirement.
  • Options: a contractual agreement between two parties over-the-counter or in an organized exchange to buy or sell a product on a future date at a pre-determined price negotiated today. You must pay a premium upfront.
  • Swap: a contractual agreement between two parties over-the-counter to exchange cash flows on a notional principal of an underlying on future dates periodically until maturity.

 

bookmark_borderLong & Short Positions

LONG & SHORT POSITIONS

When someone negotiates a derivative contract to buy the underlying on a future day, he or she is said to have a long position in the contract (example 1). The other side of the contract, the counterparty, is in a short position, Similarly, if you decide to sell something on a future date under the contract your position would be a short position (example 2). The counterparty of the contract would have a long position.

  • The party in the long position benefits from a derivative transaction if the price of the underlying increases in the future (example 1).
  • The party in the short position benefits from a derivative transaction if the price of the underlying decreases in the future (example 2).

 

bookmark_borderWhat is a Derivative?

WHAT IS A DERIVATIVE?

In the spot market, we buy and sell products immediately. In the derivative market, we buy and sell on a future date, but we negotiate contracts today. A derivative is a contractual agreement between two parties to buy or sell a product on a future date at a pre-determined price negotiated today.
The future date is the expiration day of the contract. The contract is valid until its expiration. The product on which the contract is negotiated is called the underlying. The derivative contracts as such are financial products, the underlying of which can be both real or financial assets. In the financial markets, the underlying can be stocks, bonds, foreign currencies, and equity indexes. These are investment assets. In a broader sense, precious metals like gold, silver, copper, and platinum, though they are not financial assets, are considered investment assets. The real assets are commodities like crude oil, heating oil, gas, corn, rice, wheat, cocoa, soybean, sugar, lumber, cotton, hogs, and cattle which can be underlying for the derivative contracts. We call these commodities the consumption assets.

Let's look at the following table to see how the derivative market stands in comparison to the money market and capital market:

Rendered by QuickLaTeX.com

For a better understanding of how a derivative contract works, let's consider the following example:

✓ Example 1
The price of a share of Apple Inc. is $190.92 today. If you want to buy one of Apple Inc. today on the spot, you must pay $190.92. However, today you can negotiate a derivative contract to buy one Apple Inc. share three months from now at $195.50. In this case, the underlying of this derivative contract is one Apple Inc. share, and the contract will expire in three months. You can buy one Apple Inc. share at $195.50 at the expiration date three months from now. This price is called exercise or strike price. In other words, the spot price is $190.92 if you buy today, but the exercise price is $195.50, which you would pay when you buy the share at the expiration of the contract. Under the derivative contract, you postpone your spot purchase today in favor of a future day purchase.


In the above example, if the stock price goes up to $200.00 on the expiration day three months from now, you would not buy the share at the spot price of $200.00 as you can buy cheaper at a price of $195.50 under the derivative agreement. In this case you can save $200.00 - $195.50 = $4.50 per share. Without an agreement, you would have to pay $4.50 more.

If the stock price turns to be $190.50 at expiration, you would have to pay $195.50 under the derivative agreement. In this scenario, you pay $195.50 - $190.50 = $5.00 more per share when compared with spot buying at $190.50. No matter what happens in the market, you would always pay $195.50 under the contract. In other words, you are locked in at a price of $195.50.

Let's consider another example where you want to sell an Apple Inc. share that you own:

✓ Example 2
The price of a share of Apple Inc. is $190.92 today. You may sell one Apple Inc. share today on the spot for $190.92. However, today you can negotiate a derivative contract to sell one Apple Inc. shares three months from now at $195.50, which is the exercise or strike price.

In this example, even if the stock price turns to be $190.50 at expiration, you would be able to sell the share at $195.50 under the derivative agreement. In this scenario, you gain $195.50 - $190.50 = $5.00 more per share when compared with spot selling at $190.50. If the stock price goes up to $200.00 on the expiration day, you still must sell the share at $195.50 under the derivative agreement rather than at the spot price of $200.00. In this case you lose $200.00 - $195.50 = $4.50 per share. In other words, you are locked in at a price of $195.50. No matter what happens in the market, you would always receive $195.50 under the contract.

QUIZ

Let's check your knowledge now:

0
Created on By M. Humayun Kabir

What is Derivative?

1 / 9

The spot market is called _______ ?

2 / 9

A derivative contract is a _________ agreement between two parties to buy or sell an asset on a _________ date at a __________ price negotiated today.

3 / 9

Commodities are __________ assets

4 / 9

Which of the following is the difference between the money market & derivative market?

5 / 9

You entered into a contract to buy a Tesla share at \$1,000 in three months. The current price of a Tesla share is \$980 today. Tesla's share price turns out to be \$880 in three months. What would be the gain from the contact in three months?

6 / 9

You entered into a contract to buy a Tesla share at \$1,000 in three months. The current price of a Tesla share is \$980 today. Tesla's share price turns out to be \$1,000 in three months. What would be the gain from the contact in three months?

7 / 9

You entered into a contract to buy a Tesla share at \$1,000 in three months. The current price of a Tesla share is \$980 today. Tesla's share price turns out to be \$1,080 in three months. What would be the gain from the contact in three months?

8 / 9

You entered into a contract to buy a Tesla share at \$1,000 in three months. The current price of a Tesla share is \$980. Tesla's share price turns out to be \$1,080 in three months. What is the strike price of the contract?

9 / 9

Which of the following is an example of underlying assets?

Your score is

The average score is 0%

0%

BEGINNER'S PYTHON

Let's get into Python:

image.pngPython: Let's start....

In [94]:
exercise_price = 195.50
Price_at_maturity = 200.00
profit = Price_at_maturity - exercise_price
print("Profit = Price at maturity - Exercise price =", profit)
Profit = Price at maturity - Exercise price = 4.5

Rather than writing variable names in long characters, we can also write easily. # sign is used to indicate that this is a comment, not to be executed as python code.

In [7]:
x = 195.50  #Exercise price
st = 200.00 # Price_at_maturity
profit = st - x
profit
Out[7]:
4.5

If we want to the word "Profit=" before 4.5, we can use the print command:

In [69]:
x = 195.50  #Exercise price
st = 200.00 # Price_at_maturity
profit = st - x
print("Profit =", profit) # The word "Profit" is with capital P, but the variable name profit is in small letter.
Profit = 4.5

Our profit is 4.5, which is in float format (number with decimal places). We can convert float into an integer (no decimal places). This is similar to "round" command: we can also write as follows: profit1 = round(profit). Try yourself. If the number is 4.6, it would be rounded to 5. Any number with decimal more than 0.5 is rounded to next digit.

In [68]:
profit1 = int(profit)   # The results 4.5 is a float, we change it into integer. 
profit1
Out[68]:
4
In [71]:
profit_round = round(4.6)  # 4.6 is rounded to 5.
profit_round
Out[71]:
5
In [16]:
profit2 = float(profit)  #Here we revert back to float.
profit
Out[16]:
4.5

Can Python tell me which number is interger, which one float? Yes:

In [17]:
type(4)
Out[17]:
int
In [18]:
type(4.5)
Out[18]:
float
In [20]:
type("Profit") # Here Profit is a string variable.
Out[20]:
str

Let's do some more math calculations:

In [75]:
55 - 45 # subtruction
Out[75]:
10
In [23]:
55 * 5 # multiplication
Out[23]:
275
In [24]:
55 / 5 #division
Out[24]:
11.0

What does happen if you '//' rather than '/'?

In [81]:
57 // 5   # this called floor dividion. Here '//' rounds the result down to the nearest whole number. 
          # Even if we use 58 // 5, we are going to get same result. 
Out[81]:
11

How can we find the value of $5^3$?

In [74]:
5 ** 3 # This is 5 to 5 to the power 3. 
Out[74]:
125

Let's consider float again:

In [26]:
3/2
Out[26]:
1.5
In [27]:
0.3/0.2
Out[27]:
1.4999999999999998
In [29]:
float(0.3/0.2)
Out[29]:
1.4999999999999998
In [30]:
round(0.3/0.2)
Out[30]:
1
In [36]:
m = 0.3/0.2
f"The value in two decimal places is {m:.2f}"     # rounds the number to two decimal places
Out[36]:
'The value in two decimal places is 1.50'
In [37]:
n = 6432168151
f"The value of n is {n:,}"   # the value is expressed by grouping in thousands
Out[37]:
'The value of n is 6,432,168,151'
In [39]:
n = 32442.5864
f"The value of n is {n:,.2f}"   # the value is expressed by grouping in thousands and rounded to two decimal places
Out[39]:
'The value of n is 32,442.59'
In [41]:
f"{242392.5065:.2f}"   # 242392.5065 is rounded to two decimal place
Out[41]:
'242392.51'
In [42]:
f"{242392.5065:,.2f}"  # 242392.5065 is rounded to two decimal place and grouped in thousands
Out[42]:
'242,392.51'
In [43]:
f"${242392.5065:,.2f}"   # rounded to two decimal place, grouped in thousands and use currency sign 
Out[43]:
'$242,392.51'

Percentages

The % sign with 1 before it (1%) displays percentage with one decimal place. It multiplies a number by 100 and displays it in fixed-point format, followed by a percentage sign.

In [46]:
n = 0.75
f"{n:.1%}"   # .1% displays the number as a percentage with one decimal place
Out[46]:
'75.0%'
In [47]:
n = 0.75
f"{n:.2%}"   # .2% displays the number as a percentage with two decimal place
Out[47]:
'75.00%'

What about 5 % 2? It will show the reminder of the division. Here '%' is called modulus, which is used to find the remainder in division.

In [84]:
5 % 2
Out[84]:
1

Square root

If you want to take square root of some number, then you have import math package. Let's do it:

In [92]:
import math
x = 625
y = math.sqrt(x)
print("Square root of x is", y)
Square root of x is 25.0
In [59]:
f"Square root of x is {y:.2f}"
Out[59]:
'Square root of x is 25.20'

We can do the same with numpy package.

In [95]:
import numpy as np  # here we have imported numpy "as np"
x = 625
y = np.sqrt(x)      # since we have imported it as np, we can now use np.sqrt(x). Otherwise, we have to write numpy.sqrt(x). 
y
Out[95]:
25.0

In summary:

Operator Description Syntax
+ Addition x + y
---------- --------------------- ------
Subtraction x – y
---------- --------------------- ------
* Multiplication x * y
---------- --------------------- ------
/ Division (float) x / y
---------- --------------------- -----
// Division (floor) x // y
---------- --------------------- ------
% Modulus: remainder x % y
---------- --------------------- -----
** Power x **y

PRACTICE PYTHON

In the following box you can write codes and evaluate them. Follow the way I have done above.

Tip: Click the arrow on the right side of the cell to evaluate (arrow is shown on mouseover). OR press Shift-ENTER

Don`t copy text!