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,355 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?
The Week Ahead -- CPI Wednesday With Oil Past $90, PPI L …
Traders Hideout
Tradeify 3.0 Overhauls Futures Prop Firm Model -- One-Ti …
Funded Trading Evaluation Firms
Iran War Prediction Markets: Ceasefire 16%, Ground Invas …
Prediction Markets & Event Contracts
Coinbase Launches Regulated Crypto Futures Across 26 Eur …
Cryptocurrency
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,233 since Sep 2015
Thanks Given: 15,885
Thanks Received: 16,118



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,688


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,233 since Sep 2015
Thanks Given: 15,885
Thanks Received: 16,118


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,799


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