I need a formula for arbitrage without percentages since it is a stock exchange the…
- User
I need a formula for arbitrage without percentages since it is a stock exchange the problem is that one of the values is money and the other is a commodity. I need help to make a conclusion for how much profit I can make for every 1 dollar ( let's say A-Dollars , B-Commodity )
- Assistant
In a situation where you're involved in arbitrage between two markets, one for currency (A-Dollars) and one for a commodity (B-Commodity), you can use the following approach to calculate potential profit from arbitrage.
- User
example: buying commodity B:A 4:1 / Selling Commodity 4:1.25
- Assistant
Let's break down your example where you’re looking at arbitrage between two markets for a commodity priced as follows:
- Buying Price (B:A): You can buy the commodity for 4 A-Dollars (let's assume that's the currency).
- Selling Price (4:1.25): You can sell the same commodity for 1.25 A-Dollars.
- User
no I bought 4 pieces for 1 so I made 0.25$
- Assistant
Thank you for clarifying your example. Let's break it down with your provided numbers:
Given:
- Buying: You bought 4 pieces of the commodity for 1 A-Dollar.
- Selling: You sold those 4 pieces for 1.25 A-Dollars.
Calculation:
-
Cost to Buy:
- You bought 4 pieces for 1 A-Dollar. So, the cost per piece is: [ \text{Cost per piece} = \frac{1 \text{ A-Dollar}}{4 \text{ pieces}} = 0.25 \text{ A-Dollars per piece} ]
- User
If I wanted to write a formula for excel but depending on the commodity either the dollar price fluctuates or the commodity does how would I got about writing it ? do I need 2 more values depending on which one is fluctuating ?
- Assistant
- User
excel func to get a value from another cell simple
- Assistant
In Excel, if you want to retrieve a value from another cell, you can use a simple reference formula.
Basic Cell Reference
- Direct Cell Reference:
- If you want to get the value from, say, cell A1 into cell B1, you would simply go to cell B1 and type:
excel
=A1
- If you want to get the value from, say, cell A1 into cell B1, you would simply go to cell B1 and type:
Example Steps:
- Click on the cell B1 where you want the value to appear.
- Type:
excel
=A1 - Press Enter.
Now, the value in cell A1 will be displayed in cell B1. If the value in A1 changes, B1 will automatically update to reflect that change.
Using Named Ranges (optional)
If you often refer to the same cell or range of cells, you can make things clearer by using named ranges:
-
Define a Name:
- Direct Cell Reference: