Skip to content

[Warning!] ETrade API *sever* bug: Stop Price and Trailing Stop Parameter are swapped! #57

@mw66

Description

@mw66

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', 'marketSession': 'REGULAR'}

I saw the placed order is:

STLD
Initial Stop Price: 0.66
Trailing Stop Parameter: 64.49 point(s) below bid

This is ridiculous: the Initial Stop Price and Trailing Stop Parameter are swapped!

I contacted ETrade customer service, this is what they said:

The current trailing stop price is set in "stopPrice" field

I cannot believe it, looks like they are not going to fix their bugs!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions