tianshanxuester / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
Other
0 stars 0 forks source link

gain/daysGain/marketValue items are not correct in GDataPortfolioData object in Finance API code. #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version: r161
steps:

1. Use GDataQueryFinance class to fetch position feed, and turn on the
return flag:

GDataQueryFinance * mGDataQueryFinance = [GDataQueryFinance
financeQueryWithFeedURL:feedURL];

[mGDataQueryFinance setShouldIncludeReturns:YES];

2. In the callback method, I got a GDataFeedFinancePosition object contains
some GDataEntryFinancePosition objects.

3. In each GDataEntryFinancePosition object, I can get these items:
costBasis,gain,daysGain,marketValue,gainPercentage..etc.

But the following items is not identical the raw xml data:

  * gain
  * daysGain
  * marketValue

Values of them are all same to costBasis, this is not correct.

and I have changed the GDataPortfolioElements.m file, attachment is the
diff result.

Original issue reported on code.google.com by dujun...@gmail.com on 12 Nov 2008 at 8:12

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, this is now fixed in the top-of-trunk on svn.

Original comment by gregrobbins on 12 Nov 2008 at 8:24