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

fix documentation and modify get_positions child function of Pyrobot … #2

Closed charleswwilson closed 3 years ago

charleswwilson commented 3 years ago

…class

going through this file found a couple of what seem to be old methods in the documentation and when I used the get_positions() method it would pull my account but repeat one position over and over again. after moving the position_dict = {} into the for loop it stopped overwriting the positions from my account.

areed1192 commented 3 years ago

Thanks for identifying this and integrating the fix.