Automated trading on VPS - Traders Hideout | futures io social day trading
futures io futures trading


Automated trading on VPS
Updated: Views / Replies:40,555 / 90
Created: by edgefirst Attachments:4

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 4  
 
Thread Tools Search this Thread
 

Automated trading on VPS

  #1 (permalink)
Elite Member
Las Cruces, NM
 
Futures Experience: Advanced
Platform: Tradestation, NinjaTrader
Broker/Data: TradeStation, Mirus/ZenFire
Favorite Futures: NG, Gold
 
Posts: 22 since Sep 2009
Thanks: 150 given, 53 received

Automated trading on VPS

It appears that there are some interests on running automated strategies on VPS. I am creating this thread to share experiences and to find help related to VPS.

First, VPS stands for Virtual Private Server. From a trader's point of view, it is like your own PC located in a data center in a remote place (under the hood, you are sharing a multi-CPU 64-bit server with many other people with their own VPS but there are clear boundaries between VPS's).

I have a few strategies running now on VPS. The hosting company is called commercial network services (CNS http://www.commercialnetowrkservices.com). They have a product called "Trader's Desktop" that is tailored for the needs of traders. It seems that the biggest problem with the conventional VPS is the random reboots which cause interruptions to trading. They guarantee that the reboot time will not be in regular trading hours (of US markets, not sure for European and Asian markets but you can always ask the support).

You can use Remote Desktop Connection in Windows XP to access your TD. When you are connected, it opens a window that looks like a new windows desktop. You have administrator rights to install programs and tweak system settings. You can even restart the desktop--you will be logged out but can log on again in a few minutes. They have some nice video tutorials that can be found here: http://helpdesk.commercialnetworkservices.net/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=152

The basic system configuration (system resource) is 5GB of hard disk space, 5GB/mo. of network traffic and 384MB of memory. The cost is ~$32 per month. You can add more resources at additional cost (for example, ~$2.5/mo. for each additional 128MB memory block).

I found that the 5GB network traffic is more than plenty. For the past 20 days, the total traffic of my TD is less than 2 MB! I guess they only count outgoing traffic.

The operating system on Trader's Desktop is 64-bit Windows Server 2003. Here are the software packages I have run on the platform:

- Interactivebroker's TradersWorkstation (TWS). You will have to install Java JRE to run it.

- NinjaTrader 6.5 (with broker connection to TWS)

- Tradestation 8.6 b2525. I have seen on the web that Tradestation had problems with Windows Server 2003 but TS 8.6 works fine on my TD.


Tips:

- This looks obvious: If you trade futures on NYBOT or NYMEX, choose a TD in the NY data center. CNS has also other locations (one in San Diego and one in Europe).

- The basic 384MB memory is not enough. If your estimated maximum memory usage is 800MB, add to 1024MB for the first month or two. You can always cut it down if you feel it is too plenty. However, if your program cannot allocate memory when it needs, it will abort and that can create a lot of risk for traders.

- This is important: you might want (and I strongly recommend) to encrypt the connection between your local PC and your TD. The security issue is discussed in this excellent link:
Securing Remote Desktop for Windows XP
Follow the instructions and you should be ok.


These are all I can think of at this moment. Please share your experience:
-- with high-frequency trading robots (my strategies are mostly inter-day)
-- with other hosting companies
-- report success or failure of running trading software on certain operating systems

Comments are welcome.


Last edited by edgefirst; September 22nd, 2009 at 04:48 AM.
Reply With Quote
 
  #2 (permalink)
Elite Member
Wrocław, Poland
 
Futures Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 321 given, 605 received

Thanks edgefirst, that was very informative.
Some time ago I was actually looking into some VPS offering companies but I couldn't really find anything (with a decent price cap) I could trust.
I was wondering about the RAM size. From your own experience how much RAM will just single instance of running strategy on NinjaTrader consume? Have you ever run out of memory with 1gb of RAM?

Also, are there any other VPS users who can share their own experiences with the company you suggested or any other VPS providers?

Many thanks again edgefirst!

Reply With Quote
 
  #3 (permalink)
Elite Member
Las Cruces, NM
 
Futures Experience: Advanced
Platform: Tradestation, NinjaTrader
Broker/Data: TradeStation, Mirus/ZenFire
Favorite Futures: NG, Gold
 
Posts: 22 since Sep 2009
Thanks: 150 given, 53 received



gregid View Post
Thanks edgefirst, that was very informative.
Some time ago I was actually looking into some VPS offering companies but I couldn't really find anything (with a decent price cap) I could trust.
I was wondering about the RAM size. From your own experience how much RAM will just single instance of running strategy on NinjaTrader consume? Have you ever run out of memory with 1gb of RAM?

Also, are there any other VPS users who can share their own experiences with the company you suggested or any other VPS providers?

Many thanks again edgefirst!

You are welcome. I am glad that my post can be of help of other people.

You will probably need 90MB to run NinjaTrader with a single strategy. You will also need a lot of memory for TWS if you use IB as your broker.

I am using 896MB at this time because I have to run Tradestation, Ninja, and TWS. Most of the time 768MB is ok but then I must be very careful if I want to open any other applications. So I added one more 128MB block just to be safe.

Reply With Quote
 
  #4 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received


edgefirst View Post
You are welcome. I am glad that my post can be of help of other people.

You will probably need 90MB to run NinjaTrader with a single strategy. You will also need a lot of memory for TWS if you use IB as your broker.

I am using 896MB at this time because I have to run Tradestation, Ninja, and TWS. Most of the time 768MB is ok but then I must be very careful if I want to open any other applications. So I added one more 128MB block just to be safe.

No, you don't need too much RAM for TWS, if you use it just as a bridge between NT and IB. No charts, no market scanner, no Level 2, no Option Trader, etc, etc, and your TWS will live with its 256 mb. And you can also tune the Java launcher for allowing less memory to be used.

Reply With Quote
The following 4 users say Thank You to sam028 for this post:
 
  #5 (permalink)
 Vendor: www.probabletrades.com 
OC, California, USA
 
Futures Experience: Advanced
Platform: IB/TWS, NinjaTrader, thinkorswim
Favorite Futures: stocks, options, futures, VIX
 
shodson's Avatar
 
Posts: 1,859 since Jun 2009
Thanks: 480 given, 3,254 received

Since most people trade futures on Globex, which is run by the CME, which is based in Chicago, wouldn't you want your server to be in Chicago instead of New York?

Reply With Quote
 
  #6 (permalink)
Elite Member
Las Cruces, NM
 
Futures Experience: Advanced
Platform: Tradestation, NinjaTrader
Broker/Data: TradeStation, Mirus/ZenFire
Favorite Futures: NG, Gold
 
Posts: 22 since Sep 2009
Thanks: 150 given, 53 received


sam028 View Post
No, you don't need too much RAM for TWS, if you use it just as a bridge between NT and IB. No charts, no market scanner, no Level 2, no Option Trader, etc, etc, and your TWS will live with its 256 mb. And you can also tune the Java launcher for allowing less memory to be used.


Hello Sam, thanks for the suggestion. I tried and unchecked all those unwanted features in TWS' "Feature Selector", but the memory usage appeared to remain the same. Am I missing anything here?

Reply With Quote
 
  #7 (permalink)
Elite Member
Las Cruces, NM
 
Futures Experience: Advanced
Platform: Tradestation, NinjaTrader
Broker/Data: TradeStation, Mirus/ZenFire
Favorite Futures: NG, Gold
 
Posts: 22 since Sep 2009
Thanks: 150 given, 53 received


shodson View Post
Since most people trade futures on Globex, which is run by the CME, which is based in Chicago, wouldn't you want your server to be in Chicago instead of New York?

Yes, CME traders would want their VPS located in Chicago. Unfortunately, CNS does not offer Chicago as an option. I trade energies most of the time so NY location is just perfect.

Reply With Quote
 
  #8 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received


edgefirst View Post
Hello Sam, thanks for the suggestion. I tried and unchecked all those unwanted features in TWS' "Feature Selector", but the memory usage appeared to remain the same. Am I missing anything here?

My server is a Linux machine, 1gb ram, with TWS and a lot of other things, and I didn't try to explore the limits (remove swap space, write a program which use a lot of ram to see how TWS like it, ...), so no clear answers. And there is memory and memory, if your TWS seems to need 512mb, maybe if a part of it is swapped-out, it still working fine.
Their is only one way to know that, testing in real conditions and see how it goes.

Reply With Quote
 
  #9 (permalink)
 Vendor: www.probabletrades.com 
OC, California, USA
 
Futures Experience: Advanced
Platform: IB/TWS, NinjaTrader, thinkorswim
Favorite Futures: stocks, options, futures, VIX
 
shodson's Avatar
 
Posts: 1,859 since Jun 2009
Thanks: 480 given, 3,254 received


shodson View Post
Since most people trade futures on Globex, which is run by the CME, which is based in Chicago, wouldn't you want your server to be in Chicago instead of New York?

Quoting myself (hah!)...

In pursuit of my further interest in hosting my strats closer to the action with lower latency, I contacted my broker (Mirus) if they knew of any hosting providers close to or near ZenFire since they are providing my data feed. They say they offer a service that runs on ZenFire's network that might be interesting to some of you. Here's their response...

Tip
Mirus offers TradeAssist at the Order Desk, in which you could host your systems on the Zen-Fire network at the exchange for execution. You would have view only access into your account from NinjaTrader or the Risk Management software. The Trade Desk would monitor the systems to ensure everything is running properly. You would also have access to them via Instant Message and/or by phone for any modifications you would like to make at anytime. We can sign a non-disclousre agreement as well. Commissions are slightly higher for this service at $7 per Round Turn, but we believe it's a more cost effective solution than leasing rack space or hosting a server locally. The exchange is located in downtown Chicago, but the data center where the exchange host resides is near 300 Cermak blvd, near Soldier Field and McCormick Place. The only other option would be to lease the rack space from Zen-Fire at the data center, which would cost upwards of $5k-$10k per month for those services.



Last edited by shodson; October 12th, 2009 at 07:16 PM.
Reply With Quote
 
  #10 (permalink)
Elite Member
Austin, TX
 
Futures Experience: Advanced
Platform: NT/Matlab
Broker/Data: Interactive Brokers
Favorite Futures: FX majors
 
sefstrat's Avatar
 
Posts: 285 since Jun 2009
Thanks: 20 given, 749 received



shodson View Post
lease the rack space from Zen-Fire at the data center, which would cost upwards of $5k-$10k per month for those services.

LOL $5-10k / month!!

That is highway robbery.. I pay $120/month for 4U rackspace (colocation), 100Mbps pipe with unlimited data, 20ms ping times to rithmic (hosts of zenfire)

If it were located in chicago I might get around 10ms ping time or less

A strategy which can take advantage of those extra 10-15ms would be extremely complex and likely require special low latency hardware too (ie FPGA implementations).

I am pretty certain that those kind of low latency strategies are highly inefficient also. I suspect the only reason institutions use them is because they are accountable for other peoples money therefore they have predefined (low) levels of risk they are allowed to take on, the shorter the time horizon you are looking at the more accurately you can gauge risk so they use the low latency stuff to engage in statistical arbitrage of sorts.

Reply With Quote
The following 2 users say Thank You to sefstrat for this post:

Reply



futures io > > > Automated trading on VPS

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Renko Automated Trading Apig NinjaTrader 4 May 21st, 2015 11:55 AM
automated trading with esignal ALFASSY eSignal 4 July 21st, 2011 02:54 PM
Markets with the Most Automated Trading!!! RJay Traders Hideout 6 April 2nd, 2011 12:02 PM
The allure of automated trading Big Mike Psychology and Money Management 33 March 26th, 2011 11:00 AM


All times are GMT -4. The time now is 11:05 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-13 in 0.15 seconds with 20 queries on phoenix via your IP 54.227.51.103