Peruttu

FOREX rollover financing calculations in php

I want this project done VERY soon.

I'm having a hard time with the math to calculate FOREX financing.

I'm trying to use the information provided by my broker, OANDA (Shown below, but my results don't add up because their information is very vague).

I will provide a simple php of 353 lines (including comments and example data). The actual code in question is around 100 lines. However, you may need to have access to current Forex data in order to check your results, unless you are very confidant that you know how to do these calculations. If you can't obtain currency Forex data, then I will work with you by plugging in the current data on my end to check your results.

I may pay another person who you do not know to check the results and let me know when you have the correct calculations.

I'm attaching the php file that I want you to complete. There is no sensitive information in this file, so I don't mind uploading it here so you can look at it.

FROM:[login to view URL]

"

For a long position:

Financing Charges on Base = units * ({BASE} Interest Rate %) * (Time in years) * ({BASE}/Primary Currency)

Financing Charges on Quote = (converted units) * ({QUOTE} Interest Rate %) * (Time in years) * ({QUOTE}/Primary Currency)

Total Financing = Financing Charges on Base - Financing Charges on Quote

For a short position:

Financing Charges on Quote = (converted units) * ({QUOTE} Interest Rate %) * (Time in years) * ({QUOTE}/Primary Currency)

Financing Charges on Base = units * ({BASE} Interest Rate %) * (Time in years) * ({BASE}/Primary Currency)

Total Interest = Financing Charges on Quote - Financing Charges on Base

"

Taidot: Talousmarkkinat, Matematiikka, PHP

Näytä lisää: rollover carry trade, fxcm rollover calculation, learn fx, forex financing, forex liquidity, forex intermediate, forex beginner, low liquidity forex, php mail message order details, php change data order displayed, php mysql change order, php script money order form, php ajax purchase order, php freelance complete websites, php sample code order entry, php list move order tutorial, virtuemart complete order page, show working calculations php, php ajax change order, list price calculations php

Tietoa työnantajasta:
( 0 arvostelua ) Louisville, United States

Projektin tunnus: #19348730