|
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.
Period.TICK |
c112
|
Post subject: Period.TICK |
Post rating: 0
|
Posted: Thu 02 Jan, 2014, 19:23
|
|
User rating: 1
Joined: Thu 02 Jan, 2014, 19:06 Posts: 16 Location: ThailandThailand
|
Why is there this period in the API? and what time length is it? how is it used? also is Period.ONE_SEC the shortest period accepted in history and indicators methods?
|
|
|
|
 |
API Support
|
 |
Post subject: Re: Period.TICK |
Post rating: 0
|
Posted: Fri 03 Jan, 2014, 09:23
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
c112
|
Post subject: Re: Period.TICK |
Post rating: 0
|
Posted: Sat 04 Jan, 2014, 02:38
|
|
User rating: 1
Joined: Thu 02 Jan, 2014, 19:06 Posts: 16 Location: ThailandThailand
|
|
|
|
 |
API Support
|
Post subject: Re: Period.TICK |
Post rating: 0
|
Posted: Mon 06 Jan, 2014, 08:14
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
c112 wrote: Please use the approach which is described in wiki - the one with IFeedListener, as it provides you maximum flexibility.
|
|
|
|
 |
c112
|
Post subject: Re: Period.TICK |
Post rating: 0
|
Posted: Wed 08 Jan, 2014, 18:06
|
|
User rating: 1
Joined: Thu 02 Jan, 2014, 19:06 Posts: 16 Location: ThailandThailand
|
ok noted. Feed is much better and flexible than the default onBar method in IStrategy, you could remove it in the future maybe
|
|
|
|
 |
tcsabina
|
Post subject: Re: Period.TICK |
Post rating: 0
|
Posted: Thu 09 Jan, 2014, 13:01
|
|
User rating: 164
Joined: Mon 08 Oct, 2012, 10:35 Posts: 676 Location: NetherlandsNetherlands
|
c112 wrote: you could remove it in the future maybe  Just because you don't find it useful, maybe there are other users out there who indeed using this method, don't you think so? 
|
|
|
|
 |
API Support
|
Post subject: Re: Period.TICK |
Post rating: 0
|
Posted: Thu 09 Jan, 2014, 13:25
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Removal of any method from an interface would cause all current implementations fail to compile. Hence, all existing strategies would need to get rewritten and recompiled. So, obviously, we are not going to do this.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|