Author Topic: Trade number limits for pairs in a portfolio  (Read 2077 times)

tcima

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Trade number limits for pairs in a portfolio
« on: October 14, 2021, 06:25:32 pm »
Hello,

I'm testing PTL Trader on a paper account, and it seems okay so far.

I'm wondering how many pairs can be traded at the same time in a bound portfolio.
Are there any limitations assigned by IB for the number of data feed?

tcima
« Last Edit: October 14, 2021, 06:37:39 pm by tcima »

tcima

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Re: Trade number limits for pairs in a portfolio
« Reply #1 on: October 14, 2021, 10:49:48 pm »
I checked with IB site, and the limit may be 100 for standard data subscription.
That means 50 pairs at maximum.

Am I correct?

admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 336
  • Karma: +13/-0
    • Pair Trading Lab
Re: Trade number limits for pairs in a portfolio
« Reply #2 on: October 15, 2021, 06:11:00 am »
Yes, correct. I think the limit is slightly lower, PTL Trader subscribes to 2 or 3 symbols internally to detect market holidays...

tcima

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Re: Trade number limits for pairs in a portfolio
« Reply #3 on: October 15, 2021, 06:43:24 am »
Thank you for your comment, Karma.

I learned a lot of things about PTL Trader in the last few days.
I look forward to finding how the app works in real trade.

tcima

tcima

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Re: Trade number limits for pairs in a portfolio
« Reply #4 on: October 18, 2021, 05:51:18 pm »
Hi,

I happened to see the following IB's page on Historical Data Limitations:
https://interactivebrokers.github.io/tws-api/historical_limitations.html

They say that "Making more than 60 requests within any ten minute period" for historical data triggers Pacing Violation.
When I start up PTL Trader, it seems the app is sending historical data requests to TWS API.
In this case, is the number of pairs in a portfolio limited to 30 (60 legs in total) because of IB's Pacing Violation?

admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 336
  • Karma: +13/-0
    • Pair Trading Lab
Re: Trade number limits for pairs in a portfolio
« Reply #5 on: October 22, 2021, 08:07:43 am »
The PTL Trader app handles this gracefully. When requests are rejected because of pacing violation they are retried in > 10 minutes so at the end all symbols are covered. So this limitation at IB side does not impose any real limitation for the portfolio size.

tcima

  • Newbie
  • *
  • Posts: 42
  • Karma: +0/-0
Re: Trade number limits for pairs in a portfolio
« Reply #6 on: October 22, 2021, 03:52:14 pm »
How nice!
How thoughtful!

Thanks for your comment.  :)