jessecooper / pyetrade

Python E-Trade API Wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

any1 has issues getting the request_token?

hz2018tv opened this issue · comments

pretty much failed here

    self.session = OAuth1Session(
        self.consumer_key,
        self.consumer_secret,
        callback_uri=self.callback_url,
        signature_type="AUTH_HEADER",
    )
    # get request token
    self.session.fetch_request_token(self.req_token_url)

also tried etrade official python client, also failed at this step.

havent tried your code, but oauth.get_request_token() will do exactly
self.session = OAuth1Session(
self.consumer_key,
self.consumer_secret,
callback_uri=self.callback_url,
signature_type="AUTH_HEADER",
)
# get request token
self.session.fetch_request_token(self.req_token_url)
it has been failing for me since monday. the above codes had been working for years till this monday.

update.
it works again without any code change after a couple of days. seems to be an etrade problem.

seems to be an etrade problem.