¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Short positions with API v10.xx


 

I'm upgrading my c++ API to 10.18 and I realized that with the new Decimal type, positions are represented as unsigned long long, where they were double before (9.81).? This would mean that short positions are now represented as positive numbers, no? If so, which callback lets me know I have a short position with the new API?? This specifically applies to the position() and updatePortfolio() callbacks.?

This seems like a pretty dumb question - I'm digging through the reference guide to find the answer - but I'm stumped.? Thoughts?


T.

Join [email protected] to automatically receive all group messages.