https://ninjatrader.com/support/help...ormatprice.htm
seems at odds when compared to other help guide pages.
How so?
1. This page mentions an optional bool parameter, but the Syntax section
does not show the additional overload method. (Other pages, such
as this one, show the syntax of all additional overload methods.)
2. This page is ordered differently -- most help pages show the Syntax
section above Parameters, but this page has Syntax below Parameters.
3. Also, a logical disconnect exists between the definition of FormatPrice
and the purpose of the optional bool parameter. I mean, if the definition
of FormatPrice is "returns a price value as a string which will be formatted
to the nearest tick size" why is there an optional bool parameter who's
description says "when true will round the price value to the nearest tick
size" ... which begs the question: in order to meet the method's definition,
isn't this optional parameter always true? So, what does it do when it is false?
When false, will this optional bool parameter invalidate the method's stated
definition? The optional bool parameter needs a better explanation and a
more complete example.
Comment