NexusFi: Find Your Edge


Home Menu

 





Server side order handling


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one MXASJ with 4 posts (10 thanks)
    2. looks_two NetTecture with 4 posts (4 thanks)
    3. looks_3 nanobiotech with 3 posts (0 thanks)
    4. looks_4 max-td with 2 posts (0 thanks)
    1. trending_up 10,672 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

  #1 (permalink)
 
nanobiotech's Avatar
 nanobiotech 
Brisbane, Australia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus/Zen-Fire
Trading: CL
Posts: 670 since Jun 2009
Thanks Given: 134
Thanks Received: 430

I watched Barry Taylor's blog video today on server-side order handling Catastrophe and Server Side Order Handling

Although Internet connection or power failure etc may be relatively rare these days (but here in Brisbane power interruptions are annoyingly common with summer storms), we may all eventually experience the drama of losing connection with a trade in progress.

I am evolving Big Mike's Hurley automated strategy that sets profit targets and a stoploss then moves the stoploss using "GetCurrentAsk" or "GetCurrentBid" with the trade when price hits a defined profit target.

I recall somewhere that NT places automated orders as OCO orders, therefore during a trade the profit targets and stoplosses should be resident on the server side not just my client side. Is this correct? If so, does this also apply when the stoploss is moved using GetCurrentAsk or GetCurrentBid?

What happens with discretionary NT trades if you don't enter with OCO orders?

Nano

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #3 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927


hi Nano,

speaking for with NT + zenfire :

if an OCO is sended out of NT -then its physicaly as hard orders at the exchange + NT cancels one if the other is filled.

if NT / inet is down - both orders stay physicaly as hard orders at the exchange
there is no server who holds this OCO - funcion. its only on YOUR PC.

in case of loosing NT / inet - you have to call your broker + cancel the open orders manualy.

this is the same with ATMs in discrtionary trading - the orders are physicaly as hard orders at the exchange + stay there
if you lose connection and if the Long-profit target is filled there is still your stopLoss resting as a Short Order then.

same here : - you have to call your broker + cancel the open orders manualy.

there is no server solution with NT + zenfire.

i think IB has some things sitting on servers like the OCOs

-

max-td
Reply With Quote
  #4 (permalink)
 
nanobiotech's Avatar
 nanobiotech 
Brisbane, Australia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus/Zen-Fire
Trading: CL
Posts: 670 since Jun 2009
Thanks Given: 134
Thanks Received: 430


max-td View Post
hi Nano,

speaking for with NT + zenfire :

if an OCO is sended out of NT -then its physicaly as hard orders at the exchange + NT cancels one if the other is filled.

if NT / inet is down - both orders stay physicaly as hard orders at the exchange
there is no server who holds this OCO - funcion. its only on YOUR PC.

in case of loosing NT / inet - you have to call your broker + cancel the open orders manualy.

this is the same with ATMs in discrtionary trading - the orders are physicaly as hard orders at the exchange + stay there
if you lose connection and if the Long-profit target is filled there is still your stopLoss resting as a Short Order then.

same here : - you have to call your broker + cancel the open orders manualy.

there is no server solution with NT + zenfire.

i think IB has some things sitting on servers like the OCOs

-

Thanks max-td

I'm NT-Zenfire as well and use Mirus as broker. I always assumed that which is why I have Mirus' phone number in a prominent place at my computer.

Nano

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

From: Where do your orders reside? - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

Zen-Fire
Orders in a state "Accepted" or "Working" are at the exchange. If the exchange does not support a specific order type, the order will be active on the Zen-Fire servers.
OCO (One Cancels Other) functionality is simulated on your local PC.

Vision Financial Markets
Orders in a state "Accepted" or "Working" are at the exchange. If the exchange does not support a specific order type, the order will be active on the Vision Financial servers.
OCO (One Cancels Other) functionality is simulated on your local PC.

Interactive Brokers
Orders in a state "Accepted" or "Working" are at the exchange or on IB's servers in situations where the exchange does not have native support for an order type.
OCO (One Cancels Other) functionality is natively supported on their servers.

Patsystems
Orders in a state "Working" are at the exchange.
Orders in a state "Accepted" are locally simulated on your PC.
OCO (One Cancels Other) functionality is simulated on your local PC.

PFGBEST.com
Orders in a state "Accepted" or "Working" are at the exchange or on their servers
OCO (One Cancels Other) functionality is simulated on your local PC.

Trading Technologies
Orders in a state "Accepted" or "Working" are at the exchange. If the exchange does not support a specific order type, the order will be active on the FCM's Trading Technology servers.
OCO (One Cancels Other) functionality is simulated on your local PC.

MB Trading
Orders in a state "Accepted" or "Working" are at the exchange or on MBT's servers in situations where the exchange does not have native support for an order type.
OCO (One Cancels Other) functionality is simulated on your local PC.

GAIN Capital/Forex.com
Orders in a state "Accepted" or "Working" are on GAIN Capital/Forex.com servers.
OCO (One Cancels Other) functionality is simulated on your local PC.

TD Ameritrade
Orders in a state "Accepted" or "Working" are either at the exchange or on TDA servers.
OCO (One Cancels Other) functionality is natively supported on their servers.

FuturesBetting
Orders in a state "Accepted" or "Working" are at the exchange. If the exchange does not support a specific order type, the order will be active on their servers.
OCO (One Cancels Other) functionality is simulated on your local PC.

Reply With Quote
  #6 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

i understand it like this :

the orders with Target + SL go out + are at the exchange cause they are working+regular orders.

only the OCO-functionality - that means the cancelation of one if the other is filled - this funtion stays in useser PC.

but both - target + SL - are out there in the market first.

would you confirm this MX ?

max-td
Reply With Quote
  #7 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,443 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,603

To possibly clarify...

With Zen Fire, if you have an open position with both a profit target and a stop loss order, and then you lose internet/power, etc etc...

Here is what can happen, worst case:

a) Your profit target _or_ your stop loss gets hit.
b) Instead of your OCO order for the other side (stop or profit target, opposite of (a) respectively) being cancelled, it remains!
c) Market moves down, and you get filled into a NEW position from (b).
d) You now have a new open position with NO stop and NO target whatsoever.

Excited yet?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #8 (permalink)
 
nanobiotech's Avatar
 nanobiotech 
Brisbane, Australia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus/Zen-Fire
Trading: CL
Posts: 670 since Jun 2009
Thanks Given: 134
Thanks Received: 430

Oh Sh..................................................ivers!!!!!!!!!!!!!!!!!!!!

Nano

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

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.

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


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

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