NexusFi: Find Your Edge


Home Menu

 





Got an error in tradestation: Error:elsystem.UserException


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one toucan94506bm with 3 posts (4 thanks)
    2. looks_two Sivon with 2 posts (1 thanks)
    3. looks_3 ABCTG with 1 posts (2 thanks)
    4. looks_4 thiagonogueiratra with 1 posts (0 thanks)
    1. trending_up 719 views
    2. thumb_up 7 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
Sivon
Tokyo, Tokyo
 
Posts: 3 since Jun 2023
Thanks Given: 4
Thanks Received: 1

Hi, I'm using my own indicator for trading and recently I got an error (see screenshot) after my order being placed and fullfilled.After the error my indicator automatically turning off. The error message is Error:elsystem.UserException: Trade Manager GetTMSessionInterface.CreateInstance function failed
Found nothing in the documentation or on google. Maybe somebody knows what the problem might be. Thank you!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
New York Stock Exchange to Launch NYSE Texas
Stocks and ETFs
Building models w/Neuroshell and Adaptatrade
Platforms and Indicators
My funded futures (mffu)
Funded Trading Evaluation Firms
Using multiple Versions of the same DLL in MC.Net
MultiCharts
Requesting replay data for...
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Machine Learning Journal
41 thanks
Is the WH trying to engineer a recession? This Wall Stre …
15 thanks
Demark Indicator
3 thanks
OpenAIs Deep Research - finance/trading related prompts
3 thanks
Daytrading ES & NQ
3 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

Sivon,

according to the official TS forum other users are experiencing a similar error message from time to time. You might be able to find some temporary solutions in the forum, and according to the thread below the issue should be fixed (check John's statement from end of January this year) in an upcoming update.
https://community.tradestation.com/Discussions/Topic.aspx?Topic_ID=177438

If you do not want to wait for the fix I would suggest rewriting your code to access the information you need using OOEL instead of Trade Manager Get commands.

Regards,

ABCTG


Sivon View Post
Hi, I'm using my own indicator for trading and recently I got an error (see screenshot) after my order being placed and fullfilled.After the error my indicator automatically turning off. The error message is Error:elsystem.UserException: Trade Manager GetTMSessionInterface.CreateInstance function failed
Found nothing in the documentation or on google. Maybe somebody knows what the problem might be. Thank you!

Attachment 338665


Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
toucan94506bm
danville ca usa
 
Posts: 82 since Aug 2015
Thanks Given: 50
Thanks Received: 79



Sivon View Post
Hi, I'm using my own indicator for trading and recently I got an error (see screenshot) after my order being placed and fullfilled.After the error my indicator automatically turning off. The error message is Error:elsystem.UserException: Trade Manager GetTMSessionInterface.CreateInstance function failed
Found nothing in the documentation or on google. Maybe somebody knows what the problem might be. Thank you!

Attachment 338665

I had the same error using old placeorder command

I am still on update 1205 and so far they haven't fixed this problem in the current releases so I am staying on 1205 for as long as I can. I stumbled on a work around if you are still on 1205. I have 2 desktops. After opening trade station I close the desktop that causes the error and reopen it.. It works without the error.

Hope this helps

Toucan


Reply With Quote
Thanked by:
  #4 (permalink)
thiagonogueiratra
rio de janeiro
 
Posts: 1 since Jan 2024
Thanks Given: 0
Thanks Received: 0

Yes


Reply With Quote
  #5 (permalink)
Sivon
Tokyo, Tokyo
 
Posts: 3 since Jun 2023
Thanks Given: 4
Thanks Received: 1


toucan94506bm View Post
I had the same error using old placeorder command

I am still on update 1205 and so far they haven't fixed this problem in the current releases so I am staying on 1205 for as long as I can. I stumbled on a work around if you are still on 1205. I have 2 desktops. After opening trade station I close the desktop that causes the error and reopen it.. It works without the error.

Hope this helps

Toucan

It helped, thank you very much!


Reply With Quote
Thanked by:
  #6 (permalink)
toucan94506bm
danville ca usa
 
Posts: 82 since Aug 2015
Thanks Given: 50
Thanks Received: 79


Sivon View Post
It helped, thank you very much!

im glad it worked for you too... let me know if you update to a later version that works without this problem. i'm staying on 1205 until im sure they have solved it. if i ever update to a later version and it doesn't work, i cant return to 1205. i will let you know when i update to a good version.

take care
toucan


Reply With Quote
Thanked by:
  #7 (permalink)
toucan94506bm
danville ca usa
 
Posts: 82 since Aug 2015
Thanks Given: 50
Thanks Received: 79


Sivon View Post
It helped, thank you very much!

i updated to 1225 and they have solved the problem

cheers
toucan


Reply With Quote
Thanked by:




Last Updated on May 20, 2024


© 2025 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts