When calling placeorder.py from the examples, I get this error
TWS Error - 321: Error validating request:-'le' : cause - You must specify an account.
Failed to fill order
I was wondering if anyone knew how to fix it. I think I need to specify the account somewhere. I am using a demo account and there is a list of 2 accounts in my TWS under accounts.
I can get historic data from the TWS but unable to place orders.
When calling placeorder.py from the examples, I get this error
TWS Error - 321: Error validating request:-'le' : cause - You must specify an account. Failed to fill order
I was wondering if anyone knew how to fix it. I think I need to specify the account somewhere. I am using a demo account and there is a list of 2 accounts in my TWS under accounts.
I can get historic data from the TWS but unable to place orders.