Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding the Data api #9

Open
ishanthilina opened this issue Oct 17, 2013 · 2 comments
Open

Question regarding the Data api #9

ishanthilina opened this issue Oct 17, 2013 · 2 comments

Comments

@ishanthilina
Copy link
Member

Currently the API retrieve the data for a company's transaction data is as follows.

getTradingData (DataType type, String symbol,  Date startingDate,            TradingDataAttribute[] attributes, int numOfRows)

Consider a scenario where I request for the Sampath ticker data from 12th of October 2012 2 hours 30 minutes 44 seconds. And I ask for 100 rows. So my paramters for the getTradingData would be as follows.

  • type - Ticker data
  • startingDate - 12th of October 2012 2 hours 30 minutes 44 seconds
  • numOfRows - 100

What if there were more than 100 events related to Sampath in that second? How can I know that there were more values, but only 100 was returned?

@ishanthilina
Copy link
Member Author

I understand that this can be solved by requesting a large number of rows.

Please do understand that I'm not asking for a fix for this, just asking for others opinion to check whether I am missing anything 😄

@rajithsiriwardana
Copy link
Member

push to version 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants