Questions tagged [etrade-api]

The E*TRADE Developer Platform enables E*TRADE customers and developers to create their own investment applications that leverage E*TRADE's extensive market data offerings, order-routing capabilities, and other services.

50 questions
0
votes
2 answers

E-trade: requesting access token, I get signature invalid

1st. step, getting url to verify, and verifier is ok. Using the same method that in the request_token to sign the request, I get "unauthorized", "oauth_problem = signature invalid". I verify the code letter by letter, and I can't find the…
0
votes
0 answers

How to get balances and place an order using Yobit API in python

I'm trying to devolp a pump and dump bot for yobit in python; but i don't understand well how to use their API. Documentation Link ---> https://yobit.net/en/api This doesn't works well and i don't understand what's wrong. class yobit(object): …
Nuclearz
  • 25
  • 6
0
votes
0 answers

How to resolve 401 after getting (a valid) e-trade api access token?

I have been following the dated and limited documentation on the E*Trade developer site and with help from some other stack overflow posts. I am pretty certain that I have retrieved a good access token and secret. I have been following their…
Bryan
  • 295
  • 1
  • 2
  • 9
0
votes
2 answers

How to place OCO order with E*Trade API

Is it possible to place an OCO (One Cancels Other) from the E*Trade Equity API? Here it lists these order types under Placing an Equity Order…
sneilan
  • 1,367
  • 1
  • 10
  • 15
0
votes
1 answer

placechangeequityorder results in "existing open order" error

I successfully submit an equity order to E*Trade using https://etws.etrade.com/order/rest/placeequityorder: 1507910303000001
Jimmy
  • 5,131
  • 9
  • 55
  • 81
0
votes
0 answers

ETrade OAuth callback URL

I am writing an app against the ETrade API. I am following this guide to authorize my app to my account. I can successfully get the request token and authorization URL. At the moment, I print the URL and copy/paste it into my browser. This requires…
Code-Apprentice
  • 81,660
  • 23
  • 145
  • 268
0
votes
1 answer

how to get OptionQuote with ETrade API

I'm trying to get an option quote from Etrade using their Java SDK. I'm currently setup for using the sandbox. here's the code: ProductId prod = callOption.getProduct(); ArrayList symbols = new ArrayList(); // getSymbol returns…
tatmanblue
  • 1,176
  • 2
  • 14
  • 30
0
votes
1 answer

ETrade Java API issue - previewEquityOrder and previewOptionOrder throw an ETWSException

I am working with the ETrade Java API. I was able to use most of the functions but I am having trouble with the previewEquityOrder and the previewOptionOrder functions. Here are the error messages/ exceptions I get when I call these functions: URL :…
0
votes
1 answer

Javascript Etrade API failure

I am trying to create a javascript application and connect to the Etrade API. Interestingly, I succeeded at the harder stuff like Oauth and received my access token and secret, however when I try to access the actual data I get an 'unauthorized…
SeanO
  • 1
  • 1
0
votes
1 answer

Renewing E*TRADE oauth token using DevDefined.OAuth

I successfully use ETRADE's php sdk to create and renew oauth access tokens. However, I also need to be able to use & renew these tokens from a c# application. I tried using the c# oauth library DevDefined OAuth Etrade (just to renew a token).…
Jimmy
  • 5,131
  • 9
  • 55
  • 81
0
votes
2 answers

OAuth callback goes into a loop

I'm trying to authenticate my application with the ETrade API using OAuth. After I redirect the browser to ETrade for the user to authenticate, the callback URL is the same page the user started with (I go back to the same page in order to finish…
user3781239
  • 141
  • 4
  • 13
0
votes
2 answers

Non-static method RequestParamsMain::buildFullURL() should not be called statically

I am using the etrade api which is built upon a lot of classes that call a lot of the functions statically. Hence if I change it to "public static function" I will just keep getting these errors. Here is the full error message: Non-static method…
Bruce
  • 107
  • 1
  • 3
  • 8
0
votes
0 answers

E*Trade API OAuth Issue

I am having an issue with the OAuthClientImpl.getInstance() method that is on line 26. It is spitting out this error message: Exception in thread "main" java.lang.ExceptionInInitializerError at OAuth.main(OAuth.java:26) Caused by:…
Frodgers
  • 95
  • 2
  • 12
0
votes
1 answer

Having Issues with the E*Trade OAuth API (Java)

I'm trying to code a program that will trade stocks in a sandbox environment with the E*Trade API. I am using their sample code as a guideline and currently am getting an issue with the .getAuthorizeURL() method. It says that it is undefined for…
Frodgers
  • 95
  • 2
  • 12
0
votes
1 answer

c++ pass class object by reference?

I am having trouble working with third party dll's, libs and header files. I am trying to call a function and have it return a value with no luck. Here is the function that is suppose to be called. bool COAuthSDK::GetRequestToken(CClientDetails…