|
JFOREX-1921 Custom period selection for historical testing |
[syedrizwanm]
|
Post subject: JFOREX-1921 Custom period selection for historical testing |
Post rating: 0
|
Posted: Thu 10 Jun, 2010, 08:47
|
|
User rating: 0
Joined: Thu 10 Jun, 2010, 08:35 Posts: 5
|
Can we still get to have a custom period selection for historical testing?, detecting it automatically is good, but sometimes you need to see it working on lower timeframes.
|
|
|
|
|
API Support
|
Post subject: Re: JFOREX-1921 Custom period selection for historical testi |
Post rating: 0
|
Posted: Fri 09 Jul, 2010, 09:11
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Could you please explain what you mean?
|
|
|
|
|
[Phantal]
|
Post subject: Re: JFOREX-1921 Custom period selection for historical testi |
Post rating: 0
|
Posted: Fri 09 Jul, 2010, 16:45
|
|
User rating: 0
Joined: Fri 07 May, 2010, 02:59 Posts: 61
|
He means custom periods for bars, eg, 7 minute charts, or 23 minute charts.
I haven't looked into whether there's a mechanism for feeding charts, strategies, or indicators your own custom bars. I'm guessing it isn't doable right now, I couldn't even find a way to instantiate a bar object in java; the API only exposes the IBar interface. When you try to use (reflection?) in java to get the name of the type you have a handle to when you have a handle to a bar object, it is some weird class name like: com.dukascopy.api.something.somethingelse.a.g.b.c.a.e.b
However, ignoring those concerns, generating data for custom periods is easy. 7 minute charts = 5 min + 2 min. 23 minute = 15 + 5 + (3 1min bars), or 30min - 5min - (2 1min).
-Brian
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|