5 messages in com.googlegroups.google-finance-apis[Google Finance APIs] Need help crea...
FromSent OnAttachments
sivaJan 13, 2009 1:42 am 
Doug ChimentoJan 13, 2009 10:48 am 
sivaJan 15, 2009 12:31 am 
Doug ChimentoJan 15, 2009 11:32 am 
SchultzterFeb 17, 2009 7:26 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[Google Finance APIs] Need help creating transactionsActions...
From:siva (reso@gmail.com)
Date:Jan 13, 2009 1:42:42 am
List:com.googlegroups.google-finance-apis

Hi All,

I hope this is this is the correct place to post my question if not please transfer it to a correct place.

I am a newbie using google finance api using this api i want to create transactions in a portfolio. I have written the sample code to create a transaction. When i run the code it is creating a transaction in the google finance account but it is giving the following exception.

com.google.gdata.util.ServiceException: Internal Server Error No position exists with ticker GOOG

I have gone through the api and came to know that passing all the information while creating transaction is sufficient to create a position. i am passing all the values while creating the transaction. Here i am giving the line at which i am getting the error.

TransactionEntry tEntry=FinanceUtilities.makeTransactionEntry (transactionType, "2009-01-13", "1000.0", "141.14", "200.0", "USD", "this is transaction4"); TransactionEntry tEntry1=myService.insert(new URL(tranrequesturl), tEntry);

in the second line i am getting the error.

Please guide me in this regard so that i can rectify the error.

Sorry for my poor english.

Thanks in Advance, Sivaram