public static double extractAlgoIntIdOrdinal(java.lang.String input)
Utility method for extracting ordinal number of given AlgoOrder intId.
Should be reflective to AlgoOrderServiceImpl::getNextOrderId
input - AlgoOrder intId
ordinal number extracted from intId String
public static double extractSimpleIntOrderIdOrdinal(java.lang.String intId,
Retrieves ordinal number of given intId.
Current format for Simple intIds is looking like that: "bmx11", where "bmx" is sessionQualifier (lowercase) and 11 is ordinal number of the order
If SimulationOrderServiceImpl was used to place an order, its intId will not contain sessionQualifier, but will use "sim" instead
If provided intId is not parsable as Double, 0.0 will be returned instead
(adapters which rely on UUIDs as intId do not care about ordinals).
intId - input intId
sessionQualifier - sessionQualifier or adapterType which is stamping the intId