Announcement

Collapse
No announcement yet.

orderID & Trade

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

  • orderID & Trade

    Good Morning All,

    I have a question regarding Trade.buy (etc) and setting the variable orderid. If I have the code do this:

    var orderid = Trade.buyLimit(limitPrice, sSymbol, nQty);

    will this line then send out an order while I give orderid that value?

    Muchas gracias

  • #2
    Originally posted by AndresPR View Post
    Good Morning All,

    I have a question regarding Trade.buy (etc) and setting the variable orderid. If I have the code do this:

    var orderid = Trade.buyLimit(limitPrice, sSymbol, nQty);

    will this line then send out an order while I give orderid that value?

    Muchas gracias
    No need to reply...setting the variable as the Trade sends out the orders.

    Comment


    • #3
      Originally posted by AndresPR View Post
      Good Morning All,

      I have a question regarding Trade.buy (etc) and setting the variable orderid. If I have the code do this:

      var orderid = Trade.buyLimit(limitPrice, sSymbol, nQty);

      will this line then send out an order while I give orderid that value?

      Muchas gracias
      Hi
      OrderId will be generated and assigned by esignal
      Your statement will send the order to the broker
      You can use ordereId later to refer to this particular order
      Regards
      a

      Comment

      Working...
      X