API documentation mistakes

Created at 04 Nov 2015, 14:42
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
CT

ctid205024

Joined 04.11.2015

API documentation mistakes
04 Nov 2015, 14:42


"We will modify the previous example to create two market orders with different labels."

You then go ahead and create two orders with exactly the same label. 

http://cl.ly/image/061h3N07370v

 


@ctid205024
Replies

ctid205024
04 Nov 2015, 14:43

The log output is incorrect. 

http://cl.ly/image/2r1v1t183y3w

 


@ctid205024

ctid205024
04 Nov 2015, 14:47

"On each incoming new bar, the cBot will look for the order with ...." and yet you implement the functionality on the OnTick() method and not on the OnBar(). 

It should say "On each incoming new tick"... 

 


@ctid205024

Spotware
04 Nov 2015, 23:33

Dear Trader,

Thank you for pointing them out to us. We will update them.

Regarding your post about the log, could you please tell us why do you believe that the log is wrong?


@Spotware

ctid205024
04 Nov 2015, 23:39

RE:

There are two Print statements and the log only shows one. 

I can't test this my self because I can't create new indicators due to this problem (/forum/calgo-support/7092) 

 

Spotware said:

Dear Trader,

Thank you for pointing them out to us. We will update them.

Regarding your post about the log, could you please tell us why do you believe that the log is wrong?

 


@ctid205024