areed1192 / python-trading-robot

A trading robot, that can submit basic orders in an automated fashion using the TD API.
MIT License
527 stars 311 forks source link

Papertrading - Caution #5

Closed tmcquaig closed 3 years ago

tmcquaig commented 3 years ago

Papertrading does not appear to be supported for TD Ameritrade API but rather only for thinkorswim.

From https://developer.tdameritrade.com/content/authentication-faq "Note that a Paper Money account on the thinkorswim trading platform is only available through thinkorswim. Thinkorswim is a separate environment from our API. There is not a paper money feature available through our API."

areed1192 commented 3 years ago

Yes, that is correct. TD Ameritrade does not offer paper trading through their API currently. The paper trading functionality currently in the python package is only used to mimic trading. No actual orders are submitted when you put it in paper trading mode, what instead happens is auto-generated orders are produced.

Now, this won't fit everyone's needs, especially if you're more concerned about orders being filled. However, the intent of this functionality is purely to see whether it can effectively identify the signals, submit orders, and then continue with checking signals.