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