Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position.Close(SignalName) documentation?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Position.Close(SignalName) documentation?

    Hello,

    I found the object Position referenced in the documentation. It is accessible within OnBarUpdate.

    IntelliType shows there is a signature of Position.Close(SignalName).

    Is it correct to assume this is to close the position?

    Many Thanks, Caesar.

    #2
    Hello Skechers,

    If you are using a strategy the correct way to close a position would be to submit an exit using the approach you are using, for example in the managed approach you can use ExitLong. The Close method for the position object is not documented so I am unaware if that may have any problems when being used from a strategy.

    Comment


      #3
      Many Thanks Jesse, I'll keep with ExitLong and ExitShort then.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      71 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      143 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      76 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      47 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      51 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X