Please do some work on the documentation.

Created at 13 Nov 2016, 02:09
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!
kdcp999's avatar

kdcp999

Joined 09.10.2016

Please do some work on the documentation.
13 Nov 2016, 02:09


I find that I am having to test or "try out" things that should be in the docs - 

/api/reference/positions/find

as an example - what doees that method return when a label is NOT found?

You are using "var" here - which is the only clue I have that in a negative case this would probably return a bool of  false?
Maybbe a "-1" even?  This is basic stuff that the documentation should really be providing. - I shouldn't have to guess this.
I find my self having to search(Google or use Visual Studio autocomplete) for little things that should be in the documenattion. 

var position = Positions.Find("myLabel");

 

I'm putting this here beecause it's a serious documentation issue and not a suggestion or idea. 


Many thanks.

 

David


@kdcp999