NexusFi: Find Your Edge


Home Menu

 





Server side order handling


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one NetTecture with 4 posts (4 thanks)
    2. looks_two MXASJ with 4 posts (10 thanks)
    3. looks_3 nanobiotech with 3 posts (0 thanks)
    4. looks_4 max-td with 2 posts (0 thanks)
    1. trending_up 10,686 views
    2. thumb_up 15 thanks given
    3. group 6 followers
    1. forum 17 posts
    2. attach_file 0 attachments




 
Search this Thread

Server side order handling

  #11 (permalink)
 MXASJ 
Asia
 
Experience: Beginner
Platform: NinjaTrader, TOS
Posts: 796 since Jun 2009
Thanks Given: 109
Thanks Received: 800


NetTecture View Post
There is an alternative, which is what I do at the moment: do NOT TRADE FROM HOME SImple.

I have a couple of servers in a data center and I run a virtual machine on one of them only for trading. The risk is a lot less when you sit on the end of redundant connections in the range of 7x Gbit and behind batteries supporting you half an hour and threee diesel generators, on top of dual power supplies coming in with 120kvolt on two sides of the building

I hear you bro! There is a NT strategy I'm starting code that phones home... literally. If a remote NT session loses connectivity to me, it gracefully flattens everything.

Got that tip from a friend in the HF space who swears its better not to fly at all then to fly blind.

I'm not there yet (broker co-lo), but I will be.

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
How to apply profiles
Traders Hideout
 
  #12 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010

I am not borker coloing either. I just happen to ave 4 servers in a colocation facility One of them virtualization heavy

Reply With Quote
  #13 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629



MXASJ View Post
I hear you bro! There is a NT strategy I'm starting code that phones home... literally. If a remote NT session loses connectivity to me, it gracefully flattens everything.

Got that tip from a friend in the HF space who swears its better not to fly at all then to fly blind.

I'm not there yet (broker co-lo), but I will be.

<a bit off-topic>
This is close to what I used for high-availibility clusters: server #1 send its status to server #2, and #2 to #1. If a failover is needed, and server #2 don't know in which state is server #1, it will power-off or reset it, it's called STONITH (Shoot The Other Node In The Head), to avoid dual-brain syndrone (each machine thinks the other one is dead, so starting the same applications, mounting the same disks, etc, very bad idea...).
In the real world, after few hundreds of failover, the conclusion is that was a good idea.

So it's not the same application, but I agree 100%, "better not fly at all than flying blind" .

</a bit off-topic>

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
  #14 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


MXASJ View Post
There are some posts here somewhere from Mike on dual-homed routers for using multiple ISPs.

That's up there with a good UPS across EVERYTHING you need to close positions (computers, monitors, modems, routers, etc) yourself, and a phone or two to call your broker for help if needed (or confirm you are flat and have no open orders).

Be prepared. And test.

Boring trading day? Shut off your power while you have a low risk open position on, call your broker and ask him to flatten everything and cancel all open orders.

If you plan and prepare for those kinds of failures it helps. Consider it another aspect of risk management.

All very good suggestions ... I have that type of setup + actually have 4 UPS units ganged together + test them monthly as well
... except I need to go to the step of having another machine loaded with NT and mirror the working machine ... I have already (months ago mind you) had to call my broker twice due to a localized problem, to flatten my account ... now I dont monitor ES anymore and I dont have NT freeze up on me when the markets go crazy .... oh welll ... nothing lost

TJ

Reply With Quote
  #15 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91


NetTecture View Post
There is an alternative, which is what I do at the moment: do NOT TRADE FROM HOME SImple.

I have a couple of servers in a data center and I run a virtual machine on one of them only for trading. The risk is a lot less when you sit on the end of redundant connections in the range of 7x Gbit and behind batteries supporting you half an hour and threee diesel generators, on top of dual power supplies coming in with 120kvolt on two sides of the building


Hello

Could give more information about your setup. If I understand, your application is running using MC, Ninja or another software on an outside, virtual server.

Very interesting as I'm afraid to autotrade from home. I'm not gear like those proffessional servers

Martin

Reply With Quote
  #16 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010


arjfca View Post
Hello

Could give more information about your setup. If I understand, your application is running using MC, Ninja or another software on an outside, virtual server.

Very interesting as I'm afraid to autotrade from home. I'm not gear like those proffessional servers

Martin

Well here we go.

I have half a rack in a data center which is pretty empty since the last server refurbishing for now.

FOR NOW my data center side server consists of:
* An old server (4gb, dual core, 4 discs) that serves are physical domain controller and management point
* A low midrange server consisting of 2x4 core opterons, 64gb RAM with a currently 12 disc subsystem running Hyper-V (january planned upgrade: another 5 discs).
* About 2 dozen virtual machines, among them some windows 7 desktops (development, trading), some hosting insfrastructure, exchagne etc. but also some machines that form the backbone of a market database.

Plus a switch, a layer 3 switch (hardware based router) and empty space.

THe main server is slowly filling up the memory, so I will soonish get another server (1 rack unit, 2 nodes, each 2x4 cores, 64gb ram).

In the office I have another 2 servers running on AMD desktop chips with soon both 16gb RAM and 8 discs each forming my development backbone (code archve, build servers etc.) as well as quite some data archive.

Note that my "trading operation" is attached to a small IT company and the infrastructure is merged. SO, some of the stuff actually are our internal email and video conferencing system etc.

Basically,

* Get a server
* Put in virtualization
* Install computers into this.

Reply With Quote
  #17 (permalink)
 MXASJ 
Asia
 
Experience: Beginner
Platform: NinjaTrader, TOS
Posts: 796 since Jun 2009
Thanks Given: 109
Thanks Received: 800

@NetTecture whats your view about having a VM facing your broker/clearing engine vs. dedicated hardware for medium frequency stuff (75 R/Ts a day on CME)?

Thanks for your thoughts.

Reply With Quote
  #18 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010


MXASJ View Post
@ NetTecture whats your view about having a VM facing your broker/clearing engine vs. dedicated hardware for medium frequency stuff (75 R/Ts a day on CME)?

Thanks for your thoughts.

It depends on your strategies. VM's react slower due to the permanent proces switching. We talk of delays in the range of 55ms here.

I fyou try to do HFT, this may not work. OTOH I still have not figured out even an idea to do HFT without colocation, and even then I really miss a proper trading idea.

If you have slower algorithms, VMS have a LOT of advantages, like system stability (no driver updates in the more complex OS, only on the hyper-visor). I am pretty much on a VM for everything, including VOIP stuff. Works like a charm. The ability to easily rescale requirements is NICE.

Reply With Quote




Last Updated on December 11, 2010


© 2024 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 - Privacy Policy - Downloads - Top
no new posts