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.

43 questions
0
votes
0 answers

E-Trade API Signature Failed

E-trade API documentation is not very clear, unfortunately, and I'm having a hard time generating a valid signature for OAuth authentication. I'm using .NET 5 (core). Here's what I'm getting: HTTP Status 401 - oauth_problem=signature_invalid Does…
Naner
  • 1,220
  • 4
  • 25
  • 39
0
votes
1 answer

Change equity order in etrade api?

Does anyone know how to change an equity order utilizing the etrade API? I can do place order just fine but for some reason changing an equity order seems impossible! I have poured over the documentation and have failed at understanding how to do…
0
votes
1 answer

ETrade api - invalid Consumer key and/or session token

When I attempt to make a request to Etrade's Account List endpoint in sandbox (https://apisb.etrade.com/v1/accounts/list), I am getting an HTTP 401 - "Unauthorized request - invalid Consumer key and/or session token". I don't understand why this…
mark
  • 3,429
  • 7
  • 30
  • 42
0
votes
1 answer

ETrade Authorization API - what are shared secret and token secret?

On the E*Trade authorization api documentation for Get Request Token, it states that the oauth_signature is generated with "the shared secret and token secret". When I generated my sandbox key, I was presented with the following…
mark
  • 3,429
  • 7
  • 30
  • 42
0
votes
1 answer

Getting Quotes from eTrade API in Python3

I'm trying to get quotes from the etrade API. I'm able to list accounts, get transactions, but not get quotes. I've tried removing the accounts and transactions api calls but it makes no difference. I get an "oauth_problem=signature_invalid"…
0
votes
2 answers

How to sign oauth signature for request token with etrade api?

I'm trying to hook into eTrade's API for a project. They use an OAuth v1 flow. I'm running into error's on the very first step of the flow- getting the request token. The info from their doc's can be found here. The error I'm getting is 401- invalid…
Ryne
  • 625
  • 1
  • 5
  • 22
0
votes
0 answers

e*trade API , generating signature

The e*Trade documentation does not make it clear enough how to generate the signature to get the token This is how I understand it: The call need to be made to https://api.etrade.com/oauth/request_token The header : Authorization: OAuth…
Tlink
  • 675
  • 1
  • 8
  • 25
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
  • 285
  • 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,237
  • 1
  • 9
  • 14
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
  • 4,610
  • 8
  • 51
  • 71
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
  • 69,701
  • 17
  • 115
  • 226
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,137
  • 1
  • 13
  • 29
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 :…