pyetrade icon indicating copy to clipboard operation
pyetrade copied to clipboard

Python E-Trade API Wrapper

Results 29 pyetrade issues
Sort by recently updated
recently updated
newest added

anyone else having trouble connecting? After providing credentials, I get a blank response rather than the usual 5 character code

I was able to work in the sandbox, but for prod, I went through the full process of getting my PROD API approved (filled out survey, signed usage agreement), and...

question

What are you inputting on verification code. Because if I enter say abc or 123 it doesnt take. Where to get this value from. oauth.get_request_token is giving me back this...

I tried pyetrade api wraper and custom request model for previewing and placing trade equity order but place order responding with following error For your protection, we have timed out...

` orders = pyetrade.ETradeOrder( consumer_key, consumer_secret, oauth_token, oauth_token_secret, dev=True ) #print(orders.list_orders(accountID, resp_format='json')) orders.place_equity_order(resp_format='json',clientOrderId='33ad33f3fdc',priceType='MARKET',accountId=accountID,symbol='GOOG',orderAction='BUY',quantity='10000',marketSession='REGULAR',orderTerm='GOOD_FOR_DAY')` This is the code I have but I get a "400 Client Error: Bad Request for url:...

enhancement

Hi, I'm reading this doc: https://apisb.etrade.com/docs/api/order/api-order-v1.html#/definitions/OrderDetail conditionType | string | The type of comparison to be used in a conditional order (contingent orders are not supported in API currently) |...

question

Jesse, can you add a sample for complete placing LIMIT equity order .

docs
Stale

Getting 'Missing required parameters' error below if not all(param in kwargs for param in mandatory): --> 135 raise OrderException 136 137 if kwargs["priceType"] == "STOP" and "stopPrice" not in kwargs...

question

with this parameter: ``` [ place_equity_order()] {'accountId': 'xxx', 'symbol': 'STLD', 'orderAction': 'SELL', 'clientOrderId': xxx, 'priceType': 'TRAILING_STOP_CNST', 'offsetType': 'TRAILING_STOP_CNST', 'offsetValue': '0.66', 'trailPrice': '0.66', 'stopPrice': '64.49', 'allOrNone': False, 'quantity': 50, 'orderTerm': 'GOOD_UNTIL_CANCEL',...

docs
Stale

` orders.place_equity_order('json', accountId = 'XX', symbol=symbol, orderAction='SELL_SHORT', clientOrderId=uuid.uuid4().hex, priceType='LIMIT', limitPrice=float(price), quantity=int(float(qty)), marketSession='EXTENDED', orderTerm='GOOD_FOR_DAY')` send: b'{"PreviewOrderRequest": {"orderType": "EQ", "clientOrderId": "d0068a1b51fb46fc94dca56cab49bacd", "Order": {"accountId": "XXX", "symbol": "UCO", "orderAction": "SELL_SHORT", "clientOrderId": "d0068a1b51fb46fc94dca56cab49bacd", "priceType": "LIMIT",...

question