Replies: 4 comments
-
FYI, I switched to the stable version (10.30.1v) and I am able to connect to live now! Closing this issue, thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi! Unfortunately, I was incorrect here. I am still having issues, but here is a little more information. The issue seems to be using both as trading_mode. TRADING_MODE is set to 'live': connecting to the live port (4003) works and does not result in a Read Only connection. TRADING_MODE is set to 'both': connecting to the live port (4003) does NOT work and results in a Read Only connection. My goal is to connect with a paper account on port 4004 and a live account on port 4003. It does not matter which connection is made first. I am still using the stable version: 10.30.1v Again, I have the following settings in my environment vars: The ib-gateway log looks like this as soon as I connect with the live account on port 4003. I am ensuring to change the ClientID on each connection, based on connection time.
I would really appreciate any help, and please let me know if I should include any more information I haven't already. |
Beta Was this translation helpful? Give feedback.
-
please follow the steps on #245 , make sure you are using the sample docker-compose.yml as it's tested and works. I can't help much with the information provided. please send the information required in #245 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response @gnzsnz ! I was able to replicate this locally by leaving the Read-Only API checkbox checked and running my program normally. This box popped up, and I am seeing an identical error I am seeing on AWS (I am running the image in an AWS ECS task container and I'm connecting to it with my program, which is running in a separate container in the same task. I'm connecting with localhost:4003). Is the correct setting to have the Docker image close this box
Sorry if I'm missing something here, but it seems the setting ReadOnlyAPI somehow reverts back to yes, even though I mark it as no. Please let me know if there's anything I can do! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I believe I have everything configured to disable the Read Only API mode on my live connection however, it is still not working. I always receive this error:
Error -1 321 Error validating request.-'b_' : cause - The API interface is currently in Read-Only mode.
Here is my log from the IB-gateway:
I have the ReadOnlyAPI set to no, and the AcceptIncomingConnectionAction set to accept:
I am using the latest image: 10.36.1c. I'm not sure if I'm missing anything here, but I would really appreciate any help!! Thank you!
Beta Was this translation helpful? Give feedback.
All reactions