How i can check, that Pending Orders exits ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #55474 quote
    chr1234
    Participant
    New

    Hi,

    i will place a new order ONLY when no pending orders exists !

    How i can check in my Pro Order Code,

    • how much pending orders exists, or
    • exits pending order Yes/No ? 
    • (optional: only with state: “on Market”) ?

    Thx

    Christian

    #55494 quote
    Nicolas
    Keymaster
    Master

    A pending order only last 1 bar, and the code is read only once per bar, so you don’t need to check if the order is still here, because it has already elapsed. 

    #55574 quote
    chr1234
    Participant
    New

    Thx Nicolas

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

How i can check, that Pending Orders exits ?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
chr1234 @chr1234 Participant
Summary

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

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