NexusFi: Find Your Edge


Home Menu

 





Portfolio Trader Automate Order Execution Tutorial


Discussion in MultiCharts

Updated
    1. trending_up 5,191 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 16 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
LePulp
Newport Beach CA
 
Posts: 13 since Feb 2011
Thanks Given: 2
Thanks Received: 2

Is there any Portfolio Trader Automate Order Execution Tutorial?

I'm evaluating Multicharts to automate my futures portfolio strategy but struggling to put it in live production, i.e. execute the orders from the portfolio trader.

For instance, I'm using MC 12 R3 with CSI continuous historical data, IB real-time data and IB as a broker. The backtest and forward test works fine. Auto trading a symbol from the chart also works fine. But the portfolio trader auto trading (automate order execution) doesn't send any orders. The documentation on the MC wiki is poor, but I sure it should be easy to do it. What I am missing?

Best,

P

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to: Multi Time-Frame Volume Profile?
NinjaTrader
TOS inspired trading simulator
ThinkOrSwim
What a Cool Draw/Markup Tool!
Traders Hideout
Server CPUs and Multicharts 14 or 15 limits
MultiCharts
Cycle Through Ninjatrader Open Windows
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Fighting Addiction and Stops
17 thanks
Big Mike in Ecuador
6 thanks
Just another trading journal: PA, Wyckoff & Trends
6 thanks
Crossing the Abyss: An Adventure Guide by Snax
4 thanks
Want your NinjaTrader indicator created, free?
4 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,441 since Apr 2013
Thanks Given: 491
Thanks Received: 1,634

LePulp,

are you seeing any error messages in the Order & Positions Tracker Logs tabs? Did you check if the code blocks that issue your orders executed in realtime?

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #3 (permalink)
 hughesfleming 
Sliema+Sliema/Malta
 
Experience: None
Platform: Multicharts, Proprietary
Broker: IB,IQFeed,Barcharts.com
Trading: Stocks,Futures
Posts: 40 since Mar 2014
Thanks Given: 87
Thanks Received: 20


LePulp,

Is this an intra-day strategy or one that supposed to start trading on the next trading day?

Regards,

Alex

Reply With Quote
  #4 (permalink)
LePulp
Newport Beach CA
 
Posts: 13 since Feb 2011
Thanks Given: 2
Thanks Received: 2

Alex, it is not an intraday strategy as I'm using daily resolution. So it is supposed to trade in the next day, I left turn out on for a few days, no order was sent. That said, in the chart the limit orders are sent without any problem.



ABCTG,
I do see an error in the log in the portfolio trader but I get the same error in the chart and the auto traders works fine: "10/12/2018 8:59:25 AM" "Error" "Interactive Brokers" "" "-" "Invalid value in field # 6035"

There is no error or any message in the order tab and all positions are flat.


My guess is that is a misconfiguration in the portfolio trader as chart auto-trading is working fine.

For instance, I using the CSI historical data as data1 (tradeable instrument) in the portfolio trader but I mapped the each symbol to the IB real-time data and broker symbol in the main multi-charts application. The MC support instructed me this way, the wiki documentation is not clear enough.

Best,

P

Reply With Quote
  #5 (permalink)
 hughesfleming 
Sliema+Sliema/Malta
 
Experience: None
Platform: Multicharts, Proprietary
Broker: IB,IQFeed,Barcharts.com
Trading: Stocks,Futures
Posts: 40 since Mar 2014
Thanks Given: 87
Thanks Received: 20

LePulp,

I am going to send you a PM with a description about a bug that was confirmed by Multicharts. I am not going to post it here but check that something similar is not happening. It might help or it might not but at least you will be aware of it.

regards,

Alex

Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,441 since Apr 2013
Thanks Given: 491
Thanks Received: 1,634

LePulp,

there is not much to be found in regards to the error expect a brief discussion here: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=8394
Although it appears to point to a miss configuration it's hard to tell if this blocks your orders.

If you can switch to a smaller timeframe for testing on a simulated account and force signals in the entry signals to see if they go through.

Does your money management signal block orders?

Regards,

ABCTG


LePulp View Post
Alex, it is not an intraday strategy as I'm using daily resolution. So it is supposed to trade in the next day, I left turn out on for a few days, no order was sent. That said, in the chart the limit orders are sent without any problem.



ABCTG,
I do see an error in the log in the portfolio trader but I get the same error in the chart and the auto traders works fine: "10/12/2018 8:59:25 AM" "Error" "Interactive Brokers" "" "-" "Invalid value in field # 6035"

There is no error or any message in the order tab and all positions are flat.


My guess is that is a misconfiguration in the portfolio trader as chart auto-trading is working fine.

For instance, I using the CSI historical data as data1 (tradeable instrument) in the portfolio trader but I mapped the each symbol to the IB real-time data and broker symbol in the main multi-charts application. The MC support instructed me this way, the wiki documentation is not clear enough.

Best,

P


Follow me on Twitter Reply With Quote
  #7 (permalink)
LePulp
Newport Beach CA
 
Posts: 13 since Feb 2011
Thanks Given: 2
Thanks Received: 2

I'm not using any MM at this point. I'm testing the simplest system you can think of. But if were the case, the MM would block the order in the forward testing as well, no? Forward testing is working fine.

I will ask MC support a team viewer session. It should be easier to fix if someone sees my configuration.

Finally, it would be great a webinar about MC Portfolio Trader.

Thank you guys,

Best

P

Reply With Quote
  #8 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,441 since Apr 2013
Thanks Given: 491
Thanks Received: 1,634

LePulp,

yes, if forward testing works fine this shouldn't be the problem.

Please post back once a solution is found, as it might be helpful for others, too.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #9 (permalink)
LePulp
Newport Beach CA
 
Posts: 13 since Feb 2011
Thanks Given: 2
Thanks Received: 2

MC support just told me that the Portfolio trader does not support merging historical data and RT data as the MC chart trade does. So the PT doesn't see any real-time data when I use the CSI historical as data1, even if it was merged with RT data in the main app.

They gave two options that I will need to test:
1- use the IB RT as data1 and import the CSI data as ASCII
2 -use IB data as RT and historical (pretty much a deal breaker) .

I thought that MC portfolio trader would be widely used to trade portfolio of futures, it doesn't seem the case. Trading a system of almost 100 instruments from individuals charts are not feasible for me.

Reply With Quote
Thanked by:
  #10 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,441 since Apr 2013
Thanks Given: 491
Thanks Received: 1,634


LePulp,

thank you for posting back.

A third option might be to use another data provider for the real time data other than IB - if they have the data you need of course. This way the merging problem would not occur.

Regards,

ABCTG

Follow me on Twitter Reply With Quote




Last Updated on October 16, 2018


© 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 - Sitemap - Downloads - Top
no new posts