Login Page - Create Account

Support Board


Date/Time: Mon, 09 Nov 2026 04:11:23 +0000



Post From: sc.PriceValueToTicks() function can't handle negative values

[2022-07-21 18:06:24]
DabbaDo - Posts: 150
This method returns an unsigned int, so it returns UINT_MAX (almost) when given a negative price (e.g. from TICK-NYSE)

Maybe not a bug, but a bit surprising.

FWIW,
Dale