You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the call to the function:
(GOOG is used as an example for sandbox,
I have a local "orders" variable that is created of Class Order above.
Within this class, I am defining preview_equity_order. Basically, all I am doing is waterfalling variables from local preview_equity_order function to the pyetrade preview_equity_order function.
The following code is called from main program.
the **kwargs within the locally defined preview_equity_order catches all variables from the local call and throws them to the pyetrade preview_equity_order function.
If anyone wants to jump on a Zoom call or discord im more than willing to.
The text was updated successfully, but these errors were encountered:
Hello. I am getting:
Exception: 500 Server Error: Internal Server Error for url
when using preview_equity_order function. With this error, it is giving a hyperlink to this message:
Unauthorized request - invalid Consumer key and/or session tokenHere is my code that uses the Order Module:
class Order:
def init(self,etrade_session) -> None:
self.orders = pyetrade.ETradeOrder(
client_key=etrade_session.consumer_key,
client_secret=etrade_session.consumer_secret,
resource_owner_key=etrade_session.tokens['oauth_token'],
resource_owner_secret=etrade_session.tokens['oauth_token_secret'],
dev=etrade_session.dev,
)
Here is the call to the function:
(GOOG is used as an example for sandbox,
I have a local "orders" variable that is created of Class Order above.
Within this class, I am defining preview_equity_order. Basically, all I am doing is waterfalling variables from local preview_equity_order function to the pyetrade preview_equity_order function.
The following code is called from main program.
the **kwargs within the locally defined preview_equity_order catches all variables from the local call and throws them to the pyetrade preview_equity_order function.
If anyone wants to jump on a Zoom call or discord im more than willing to.
The text was updated successfully, but these errors were encountered: