tradestation-python-api icon indicating copy to clipboard operation
tradestation-python-api copied to clipboard

A Python Client library for the TradeStation API.

Results 12 tradestation-python-api issues
Sort by recently updated
recently updated
newest added

What do you exactly pip install?

Tradestation has changed authentication from auth2 to auth0 Guardian. This library still uses auth2, Can you please update the authentication

Can an example be provided on how to submit a futures order.

Hello Mr Reed As always thank you very much for your work on these APIs they are nothing short of awesome. While trying to obtain historical data using stream_bars_back I...

- Fix datetime attribute error that prevents any request - Fix wrong request serialisation, that breaks stream_bars_back method - More accurate type definition for stream_bars_back

Hi Alex, I was experiencing a few issues with getting account orders. I made the changes below to the client.py in order to return the correct information. Changed the **page_number**...

I am trying to get 1min bars since 06-10-2021: res = ts_client.stream_bars_start_date( symbol='AMZN', interval=1, unit='Minute', start_date='06-10-2021', session='Default' ) generates: BAD REQUEST - STATUS CODE: 401 RESPONSE URL: https://sim-api.tradestation.com/v2/stream/barchart/AMZN/1/Minute/06-14-2021?sessionTemplate=Default RESPONSE HEADERS:...

The [official API docs](https://tradestation.github.io/api-docs/#operation/searchSymbols) reference `/v2/data/symbols/search/{criteria}` for looking up equities, options, and futures. Has this endpoint not yet been implemented in this python API, or is there some alternative recommendation...

Line 640 # grab the response. response = self._handle_requests( url=url_endpoint, method='get', args=params ) return response Changed to: headers = self.headers() # grab the response. response = self._handle_requests( url=url_endpoint, method='get', headers=headers,...