Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
So I have an issue that I would like some input on.
I just signed up for VPS with a "full monitoring service" that is supposed to tell me when the VPS is down. An example of how this looks like can be seen at .
Now basically I can add ports to monitor and if a port is down it would send me an email. I tried adding the ports that I know that TS uses (11000, 11001 etc) but those ones randomly can show as being down and sends out a warning even though TS is working fine.
Does anybody have any advice on a good method to check if TS is up and working properly and then get a warning if something is not right.
I was thinking that maybe adding the Remote Desktop Protocol port (3389). Is this a reasonable thing to do? This is a commonly used port and if it is not working it might at least indicate that the internet on the VPS is not working or that the VPS for any other reason is down. I know it wouldn't be optimal but at least it would be something right...?
Regards
Can you help answer these questions from other members on NexusFi?
I know this sounds rudimentary, but here is what I did about 10 years ago with TradeStation. My wife wanted an email notification every time an Alert condition was met in one of her indicators. It was not on VPS, but I think it might work for you anyhow. Let me rephrase what you are trying to do:
You want to know if TS is working
You want to know if your VPS is running
Your VPS provider should, in theory, let you know immediately of an outage. I am about to start using a VPS on Azure (Microsoft) running TradeStation and MultiCharts, so I expect 99.95% uptime, or a maximum 4.38 hours per year of downtime or 21 minutes per month. I expect them to notify me of any problems.
With all that in mind, here is how I would do it:
Write an indicator with an Alert that triggers every n-minutes. The purpose of this indicator is merely to send you an Alert via email
Go to Message Center and setup Email notification
Enable the indicator on one of your charts
Check your email
You should receive an email every n-minutes, all things being equal.
Notification Preferences in TS
If you don't receive emails, then one of the following has happened:
The indicator isn't enabled
Your Alert condition isn't working
TS crashed
VPS is offline/crashed
Your email server is down
If you have it set to send an email every 5 minutes, you will get lots of emails. If you aren't receiving emails, then something is not working and you should check TS and your VPS.
Another alternative:
Install a program on your VPS that monitors TS to see if it crashes (Here is one example.... I cannot vouch for this program, so you're on your own: Application Monitor
Once you set it up, you can have it email you. I'm not sure the alternative will work, as TS appears to me to still be working even when it is obviously crashing (it just locks up). Also, you will need to monitor multiple programs, as TS has multiple processes running in the background (warehouse server, etc.).
Hmm. This is slightly different from what the advice of the poster above right? This seems like a better alternative than sending an email every few minutes as that would be quite a lot of emails...
However how would I make such an indicator that sends an alert if the account has a disconnected status?
I'm sorry I have no idea about the specifics of how to do it in tradestation. I know in Ninjatrader it is easy to do with a custom indicator.
I recommend posting the same question to the tradestation support forums. Especially since tradestation is a paid platform like Ninjatrader, hopefully their technical support team can advise.
Yeah I will give that a try. However lately it feels like they don't really care answering the questions posted in the forums. If you are lucky the support might answer a mail within 1 week. I will give it a try though, thank you!
Thanks, that's another good solution. What happens if TS just locks up? I have that happen sometimes (haven't deployed our VPS, but in process.... maybe by next week). I'm guessing it won't be able to send an alert.
What do you mean by locks up? Like the process (.exe) stops responding? I'd dig deeper into the source of the lock up.
From my own experience, I run NT8 on an azure VM, and have used aws too. The only time I've had a problem was when the program crashed, but the root cause was that I was running on an instance will too little RAM.
If tradestation randomly crashes and there is no solution such as increase memory, then perhaps tradestation is not the right platform to choose.