1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented 200 Stock Limit?

Discussion in 'Stock Trader Closed Suggestions' started by anthony parsons, Jan 11, 2013.

  1. anthony parsons

    anthony parsons Member Showcase Sportsbook Pickem

    At reaching 200 stocks entered, I'm now getting an error that shows whatever is listed as the first stock... so delete one to add one.


     
  2. anthony parsons

    anthony parsons Member Showcase Sportsbook Pickem

    Oops... wrong forum. Stock trader sorry.
     
  3. Bob

    Bob Developer Staff Member

    Did you upgrade to the latest version? I wrote a fix for this to by pass the 200 limit from the API.
     
  4. anthony parsons

    anthony parsons Member Showcase Sportsbook Pickem

    I'm running RC3, yes, which is the latest available via the downloads. Has that version been updated that I need reupload?
     
  5. Bob

    Bob Developer Staff Member

    Ah... this is ONE person with 200 stocks. Ya, the system was not designed for 1 person to have 200 unique stock symbols. Its the same API Limit. Can only query up to 200 unique symbols at one time. Will spend some time on this soon to enhance the addon to handle more than the API limit. Until then, you'll just have to let people know that there is a 200 unique symbol limit.

    Going to move this from Bugs to Suggestions as a request to enhance the addon to over ride the API limitation of 200 symbols.
     
  6. Bob

    Bob Developer Staff Member

    Also going to build in Individual limitations to prevent people from owning more than x amount of unique symbols.
     
  7. Bob

    Bob Developer Staff Member

    Well, I've got it working for me.... I've got close to 300 unique stocks with multiple stock transactions per stock (over 500 transaction records for myself) and I am able to keep on adding without issue.
    I added a few new methods to the Stocks model, modified the portfolio rebuild so that it does it in groups of 150 uniques to bypass the 200 API limit, Paginated the "My Portfolio" page by grouped symbols (ie, if you set it to 10 symbols, it displays all transactions for 10 symbols per page, that way the symbols are not broken up between pages). Same thing when peeking at another members portfolio.

    I should have a release out sometime today to just get this done and out of the way.
     
  8. Bob

    Bob Developer Staff Member

    ok Anthony, this is officially supported now :)
     
    anthony parsons likes this.
  9. anthony parsons

    anthony parsons Member Showcase Sportsbook Pickem

    Nice Bob... will download and upgrade now. Just seen you added branding free options as well. My bad, I had removed those... though just purchased anyway, as I wanted to send you some $$$ for the work you do on improving your products.

    Thanks for being so pro-active with your add ons... it is really appreciated here.
     
    Bob likes this.
  10. Bob

    Bob Developer Staff Member

    Very gracious of you Anthony! No probs on the Brandingfree stuff and thank you!! Let me know if you have any issues with what I just did and how I did the pagination stuff.
     
  11. anthony parsons

    anthony parsons Member Showcase Sportsbook Pickem

    Works like a charm Bob... cheers.
     
    Bob likes this.
  12. Bob

    Bob Developer Staff Member

    Awesome!! Thank you again for your support! means a lot and helps out a ton!
     
    anthony parsons likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.