|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Last formed bar |
EduardoBasilio
|
Post subject: Last formed bar |
Post rating: 0
|
Posted: Sun 08 Jan, 2012, 20:43
|
|
User rating: -
|
I"m having the following error: com.dukascopy.api.JFException: "to" parameter can't be greater than the time of the last formed bar for this instrument
"To" parameter I'm using is 2012-01-06T20:59:00.000Z, this is supposed to be the start of the last "ONE_MIN" bar, once I'm trying to update my BD during the weekend, before operating time. Once in a while this error occurs for one or another instrument but not for all of them.
Do you have any idea on how can I contour this problem?
Thanks a lot.
Eduardo.
|
|
|
|
 |
API Support
|
Post subject: Re: Last formed bar |
Post rating: 0
|
Posted: Mon 09 Jan, 2012, 12:53
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Do you launch the strategy from JForex client or Standalone? Which instrument are you using? Could you please provide a code snippet with which you read the last bar?
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|