areed1192 / python-trading-robot

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

key error #29

Open regholl opened 2 years ago

regholl commented 2 years ago

Traceback (most recent call last): File "e:\python-trading-robot\samples\trading_robot.py", line 222, in trading_robot.execute_signals( File "e:\python-trading-robot\pyrobot\robot.py", line 721, in execute_signals trade_obj: Trade = trades_to_execute[symbol]['buy']['trade_func'] KeyError: 'buy'