NexusFi: Find Your Edge


Home Menu

 





Loss limit - Automatic liquidation - looking for platform


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one xplorer with 2 posts (2 thanks)
    2. looks_two Sheen with 2 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 mattz with 1 posts (2 thanks)
    1. trending_up 3,458 views
    2. thumb_up 6 thanks given
    3. group 2 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
Sheen
London UK
 
Posts: 57 since Jul 2013
Thanks Given: 2
Thanks Received: 20

I am looking to start overnight spread trading. The problem I came across is a lack of a futures platform that would automatically liquidate all positions as soon as PnL reaches a specified loss value.

Does anyone know a platform that would allow this?


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Iran and Israel Stand Down: What $9M in Peace Contracts …
Prediction Markets & Event Contracts
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
Iran Deal "In Review" at 87% on Deadline Day - …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,270 since Sep 2015
Thanks Given: 15,951
Thanks Received: 16,192



Sheen View Post
I am looking to start overnight spread trading. The problem I came across is a lack of a futures platform that would automatically liquidate all positions as soon as PnL reaches a specified loss value.

Does anyone know a platform that would allow this?

This line of code works with CQG (either QTrader or the more expensive IC) products


OTE(@,"<account number>",CURRENT) <= MaxLoss


MaxLoss is a parameter I defined, so as not to hardcode a maximum loss into the condition - you can change the parameter to whatever you want.



By inserting that condition into an 'alert trigger' and setting the alert trigger to Liquidate whenever that condition is met does the trick for me.


Reply With Quote
Thanked by:
  #4 (permalink)
Sheen
London UK
 
Posts: 57 since Jul 2013
Thanks Given: 2
Thanks Received: 20

Many thanks. Do you know if this works even when CQG QTrader is not running?


Reply With Quote
  #5 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,715 since May 2010
Thanks Given: 203
Thanks Received: 2,689


Sheen View Post
I am looking to start overnight spread trading. The problem I came across is a lack of a futures platform that would automatically liquidate all positions as soon as PnL reaches a specified loss value.

Does anyone know a platform that would allow this?

NinjaTrader is capable of doing this with some custom programming.


Follow me on X Reply With Quote
Thanked by:
  #6 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,270 since Sep 2015
Thanks Given: 15,951
Thanks Received: 16,192


Sheen View Post
Many thanks. Do you know if this works even when CQG QTrader is not running?

I may be wrong but I don't believe so, I think that specific code wouldn't work if the platform is not running.


Reply With Quote
Thanked by:
  #7 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,494 since Sep 2010
Thanks Given: 2,442
Thanks Received: 3,801


Sheen View Post
I am looking to start overnight spread trading. The problem I came across is a lack of a futures platform that would automatically liquidate all positions as soon as PnL reaches a specified loss value.

Does anyone know a platform that would allow this?

Why not trade on CQG Q Trader spreads that are recognized by the exchange and set risks on each spread?
You can pull one quote that where you just trade the spread.

I would advise you against programming on a portfolio of spreads if you are not looking supervise it and walk away.

Matt Z
Optimus Futures

There is a substantial risk of loss in future trading. Past performance is not indicative of future results.


Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on August 12, 2016


© 2026 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