unrealized pnl auto stop: Van Tharp R vs other lucrative portfolio techniques

Learn the Secret

Get  our 2 Free Books

Get these now which land directly to their inbox.
Invalid email address
(Last Updated On: December 10, 2018)


This was an email on my opinion on trying to code this

This is pertaining to scenarios like this:

Correct it’s Van Tharp strategy. It’s an evaluation for risk to reward when taking a trade based on a return along with position sizing. Do you think this is something you can code in the system for Working with Interactive Brokers API? It’s basically getting interactive brokers to trail an unrealized PNL. So no matter how many positions I decide to buy it would mass sell on market if I lose -$150 but also trail the unrealized PNL by “R” increments to help for 
1. Positions gain +$150 unrealized PNL auto stop  $0.00 for breakeven all trades closed on a market order then lock account for the day.
2. Positions gain +$300 unrealized PNL auto stop +$150 all trades closed on a market order then lock account for the day. 
3. Positions gain $450 unrealized PNL auto stop +$300 all trades closed on a market order the lock account for the day. 
So example 2 would be a 1R and example 3 would be a 2R. The reason for locking the account is to stop over trading and keep tighter restraints on picking the best entry. 

R is explained here:


This is reference to this book:


NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
This entry was posted in Quant Analytics and tagged , , , , , , , on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at youtube.com/quantlabs