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 andrewtrades, Today, 04:57 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    6 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    9 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X