NexusFi: Find Your Edge


Home Menu

 





Looking for a Solution to Position Sizing


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one realcapri with 2 posts (0 thanks)
    2. looks_two pooh with 1 posts (0 thanks)
    3. looks_3 bwdtrading with 1 posts (1 thanks)
    4. looks_4 svuhmed with 1 posts (0 thanks)
    1. trending_up 2,739 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Looking for a Solution to Position Sizing

  #1 (permalink)
 pooh 
Shanghai, China
 
Experience: Intermediate
Platform: MetaTrader, TWS
Trading: ES
Posts: 30 since Jul 2014
Thanks Given: 62
Thanks Received: 10

Hello everybody,

I'm looking for a solution to automate position sizing based on defined risk (% of capital). It should work this way: when I place the order, after I set the stop loss level, it automatically calculates the order size and sends the order to TWS. I need it to work with futures, stocks and forex. I'm looking at two options:

1) A system/tool that has two-way data exchange with TWS. It retrieves market data and contract details data from TWS. You place order with this system/tool by setting order type, buy or sell, price, stopless and TP level, it calculates the order size and transmit the order to TWS.

2) I already coded some MT4 scripts for order placement and those scripts calculate order size automatically. For this option I need a data bridge between MT4 and TWS that supports two way communication: transmit market data and contract details from TWS to MT4 and transmit order from MT4 to TWS.

Can anyone suggest a system or tool to do the job ?

Thanks in advance !

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Exit Strategy
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
23 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
bwdtrading
Chattanooga TN/USA
 
Posts: 13 since Sep 2014
Thanks Given: 5
Thanks Received: 2

I use IB and have looked into automating some strategies and I think it is possible to do what you want through the API feature of TWS.

If you look in IB Marketplace on the their website you will find a section that lists some programmers who are probably capable of doing what you want but it may be costly.

Unfortunately I do not know of anything existing or free that will accomplish your goal. There are some companies that advertise their software in IB Marketplace and say they have automated trading capabilities but you would just have to research them to see if you can find one that does what you are specifically wanting to do.

Sorry I could not be more help but maybe this will get you looking in the right place for some options.

Good Luck

Reply With Quote
Thanked by:
  #3 (permalink)
 svuhmed 
Edinburgh, UK
 
Experience: Intermediate
Platform: ninja
Trading: eurusd
Posts: 22 since Jan 2010
Thanks Given: 8
Thanks Received: 15


have not used either so can't vouch for whether they work but may be worth looking into

MTIBBridge: MetaTrader - InteractiveBrokers Interface Application

MTPredictor.com | Control Your Trading Risk and Win

Reply With Quote
  #4 (permalink)
realcapri
Johor/Malaysia
 
Posts: 13 since Aug 2014
Thanks Given: 3
Thanks Received: 1

I'm also looking for a solution to the aforesaid matter for position sizing & a way to predetermine SL risked $ & TP profit $, prior trade submission. Is there any way to do that? Hope some TWS veterans could advice.

Thanks.

Reply With Quote
  #5 (permalink)
realcapri
Johor/Malaysia
 
Posts: 13 since Aug 2014
Thanks Given: 3
Thanks Received: 1


realcapri View Post
I'm also looking for a solution to the aforesaid matter for position sizing & a way to predetermine SL risked $ & TP profit $, prior trade submission. Is there any way to do that? Hope some TWS veterans could advice.

Thanks.


Hi all TWS registered user, I've posted a feature poll request for position sizing purpose in TWS. Please visit IB's site at the following link to vote for that feature if you want to position size easier within TWS. However do note only registered user of IB live trading account may vote..

TWS feature poll request link: https://www.interactivebrokers.com/en/general/poll/?sid=10355


Although I'll prefer to have position sizing capability incorporated into chart trading directly, something like how Position Sizer is for ninjatrader. But due to the concern that IB may not even consider my request for something as complex as Position Sizer, I decided to request for something much easier. Hope IB's developers implement this asap. It'll make position sizing so much easier without relying on some paid 3rd party programs..

Thanks all.

Reply With Quote




Last Updated on November 3, 2014


© 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