When updates "positionprice"?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32555 quote
    Despair
    Blocked
    Master

    Hi,

    I have problems using “positionprice” when i want to use it directly after i opened a position. It then still is zero though a position was opened. So i wonder when it is updated?

    #32574 quote
    Nicolas
    Keymaster
    Master

    Topic moved to correct forum section (ProOrder).

    Positionprice is updated each time you launch an order on the market, so you’ll be able to get the open price of the current order if you correctly use the keyword 🙂

    Take a look at the documentation on the website, maybe it could help you.

    #32605 quote
    Despair
    Blocked
    Master

    I of course read the documentation. 🙂

    Then is maybe what causes the problem that if i launch a market order it will be executed on the following bar so i will get the positionprice 1 bar later, or is it 2 bars later (so that the bar the order was executed on is finished)?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

When updates "positionprice"?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Despair @despair Blocked
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Despair
8 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/19/2017
Status: Active
Attachments: No files
Logo Logo
Loading...