Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

void changePositionTo(int newPosition, double limitPrice)

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

    void changePositionTo(int newPosition, double limitPrice)

    It would be useful if a function was added to the high-level order management system:

    Code:
         void changePositionTo(int newPosition, double limitPrice)
    which can be called from OnBarUpdate() and results in orders being generated such that the Strategy Position would equal newPosition if all of the orders got filled.

    Please see here for more info on this suggestion and an example implementation (which is not a good implementation)...

    #2
    Hello,


    Thank you for your feedback I have forwarded this to development.


    Thank You.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,227 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    440 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X