Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Retrieve overnight rates (swaps) http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=83&t=57299 |
Page 1 of 1 |
Author: | SFXbernhard [ Thu 26 Mar, 2020, 12:27 ] |
Post subject: | Retrieve overnight rates (swaps) |
There is a function called getOvernights() - Method in interface com.dukascopy.api.system.ITesterClient https://www.dukascopy.com/client/javado ... ernights-- It returns the current Overnights object https://www.dukascopy.com/client/javado ... ights.html The Overnights class has methods to ask current swap rates (overnights). This is great. Unfortunately this works only from the ITesterClient and there you have to enter the current values by hand before you start back testing. In the current JForex API I only found the constructor Overnights() of Overnights, but then all values are filled with very old default values. These are the current overnight rates: https://www.dukascopy.com/swiss/english ... alculator/ Please implement a method so we can retrieve these rates by the JForex API. |
Page 1 of 1 |