Achieving desired fx exposure with using minimum pairs possible
Achieving desired fx exposure with using minimum pairs possible
Loading saved threads...
nily · External communityPost link
External question — Quantitative Finance Stack Exchange
Author: nily
Original post: https://quant.stackexchange.com/questions/44937
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Let say my algorithm tells me to get the following positions through opening fx positions:
CUR NET POSITIONS
GBP 236.96379
USD -310.58000
CHF 0.02000
There are 2 ways to achieve this:
Long 1000 GBP/USD, Long 1000 USD/CHF and Long 1000 CHF/GBP given the rates are 1.310580(GBPUSD),0.999980(USDCHF) and 0.763036(CHFGBP)
Long 236.96379 GBP/USD and Short 0.02 USDCHF. same rates.
So I replicated the same pl but the first option uses more capital and positions meanwhile the second one is optimal.
I want to develop an optimization that tries to satisfy my required currency positions by using as little forex pairs as possible and minimize the absolute value of exposure as well. I read that Bellman-Ford equations can be helpful in finding the shortest possible way but most of the examples try to find a triangular arbitrage instead of the optimization I am after. Are there any examples out there that I can use or any resource, an idea will be helpful.
Quote
Report
XYQ · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: XYQ
Original post: https://quant.stackexchange.com/a/44946
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
if you form a transform matrix from the input to the output currency position. This will be a problem to solve linear equations。the matrix condition number is very big. actually one eigen value is almost zero. so you solution has one degree of freedom. you can add additonal constrain to solve it like minimal trading position
Quote
Report
Post Reply
Checking account access…