Login Page - Create Account

Support Board


Date/Time: Thu, 03 Jul 2025 14:26:09 +0000



Post From: sc.GetSessionPosition(PositionData) not working

[2015-07-31 17:29:39]
CustomIndicators - Posts: 126
I want to retrieve my current position, how many contracts I have going long, short, or if its flat. To test this out, I'm trying to get that value, and put it into the message log to be sure that the returned values are what I intend. I'm having some trouble with this code, yet I thought I did it correctly. Where did I go wrong?

I've uploaded an image to this message to show you whats going on in VS.

Thanks
imageErrors.png / V - Attached On 2015-07-31 17:28:37 UTC - Size: 79.29 KB - 321 views
Attachment Deleted.