• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orders function needs additional instrument parameter

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

    Orders function needs additional instrument parameter

    The orders function from the DLL is not very usefull for Tradestation users. As you know TS has a limit of 500 chars in the strings returned from a DLL. I use very long order IDs like so: "BUY-LE H2-T35-1538-35-STOPLIMIT-58.46-58.59". In a very volatile date I can generated a large number of orders. Having an Id of about 40 characters it limits the maximum number of orders that I can get back from this function. I basically can not use it because I do not know in a deterministic maner if I have gotten all orders. Also I usually interested in the order of a single instrument since I am calling the function from a particular chart and I do not care about the other symbols at that moment. I believe that adding an additional function or modifying the current one will enhance the API very much. Having two functions like showing below should be added to the DLL.

    string Orders(string account,string symbol)
    string Orders(string account)

    Moscu

    #2
    Yes we are aware of this TS limitation. Thanks for your suggestion, we will consider this for a future version.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by JTizz, Today, 12:55 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by fafichuli, Today, 11:21 AM
    6 responses
    24 views
    0 likes
    Last Post fafichuli  
    Started by DTSSTS, Today, 10:48 AM
    3 responses
    17 views
    0 likes
    Last Post DTSSTS
    by DTSSTS
     
    Started by teafortwo, 08-03-2020, 02:05 PM
    5 responses
    66 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by JustinOfNazareth, Today, 10:27 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Working...
    X