¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Re: commandsend.sh failed
Here is the content of the commandsend.sh #!/bin/bash # Sends a command to the specified instance of IBC, for example to cause it # to initiate a tidy closedown or restart of TWS or Gateway # You must
By Lam Kenneth · #2035 ·
commandsend.sh failed
Hi, the group manager, commandsend.sh RESTART /home/kenneth/IBC/commandsend.sh: line 26: ::============================ ==================================================: command not found Trying
By Lam Kenneth · #2034 ·
Re: IBC Version 3.16.0
Fwiw, happy to report that the new autorestart works like a dream, what a fantastic achievement Richard. Hopefully means I won't get woken at 3am by pushover telling me to re-athenticate gateway
By Mark Murari · #2033 ·
Re: IBC Version 3.16.0
Fully understand. Thanks Richard, currently testing the latest release with your Python code (slightly modified with the changes suggested). Mark
By Mark Murari · #2032 ·
Re: IBC Version 3.16.0
Mark You asked: I don't know if you plan to apply a default port and IP setting in config.ini in the next release to allow scripts to work off the bat or this will be left blank. Should I wait for
By Richard L King · #2031 ·
Re: IBC Version 3.16.0
EDIT - inconsistent use of names in last post: import socket import time # The address and port of the local IBC command server TCP_IP = '127.0.0.1' #localhost TCP_PORT = {tbc as in config.ini} # The
By Mark Murari · #2030 ·
Re: IBC Version 3.16.0
Hi Richard, Fwiw this is my localhost version using socket. Very similar to yours except I prefer context managers and f strings which true pythomistas will insist makes it more pythonic (in case you
By Mark Murari · #2029 ·
Re: IBC Version 3.16.0
Thanks Max!
By Mark Murari · #2028 ·
Re: IBC Version 3.16.0
Mark As it happens, today I worked out a Python script for sending commands to IBC (see below): this was as part of an ongoing discussion relating to an issue in the IBC repository on Github. I¡¯m
By Richard L King · #2027 ·
Re: IBC Version 3.16.0
Hi Mark, as far as I know, you need to configure those yourself explicitly. See the file config.ini, section #8 "IBC Command Server Settings" and the settings under this section * CommandServerPort *
By IBHero · #2026 ·
Re: IBC Version 3.16.0
Working quite slowly through my upgrade todo list, I am luckily at the point where I am trying to enable the recent restart function in Linux (via python). This python code should work but and
By Mark Murari · #2025 ·
IBC version 3.16.2
I've released version 3.16.2 of IBC, which you can get here: https://github.com/IbcAlpha/IBC/releases/tag/3.16.2 This release provides two enhancements: * IBC now detects situations where more than
By Richard L King · #2024 ·
Re: Why isnt my IBC auto logging in?
Thanks for the super in-depth explanation, read through it all. actually it works now that I¡¯ve deleted it, thank you!
By alvinneo.w@... · #2023 ·
Re: Why isnt my IBC auto logging in?
TLDR: it¡¯s worth reading and understanding what follows, but the short statement as to what you should do is: Delete the C:\Jts\1021\eaofclieeefbgmdpbdlnlhmkkmpicenmpaafhpoo folder As Mattias says,
By Richard L King · #2022 ·
Re: Why isnt my IBC auto logging in?
Hi, sticking my nose in here. If you check out the following lines in the logfile it sure looks like a restart issue: Finding autorestart file autorestart file found at
By @MattiasLindsjo · #2021 ·
Re: Why isnt my IBC auto logging in?
Hi, Here you go. Log file, and also the login screen that it's stuck at. Userpass/Trading Mode is in the?C:\Users\admin\Documents\IBC\config.ini file
By alvinneo.w@... · #2020 ·
Re: Why isnt my IBC auto logging in?
Ok, but the log file you quoted yesterday was definitely a restart situation, and not what you¡¯re talking about here. So send me the correct logfile. Sent: 09 March 2023 03:13 To: [email protected]
By Richard L King · #2019 ·
Re: Why isnt my IBC auto logging in?
Hey thanks for your reply! It's not an auto restart issue. Referring to when I just log in. Starting the batch file, it opens TWS automatically but it never fills up the user/pass, regardless how long
By alvinneo.w@... · #2018 ·
Re: Why isnt my IBC auto logging in?
[In future, please don¡¯t quote logfiles in your posts. Just attach the logfile to it, the WHOLE logfile. Quoting it just makes life more difficult for me, and uses more of my time to help solve your
By Richard L King · #2017 ·
Re: IBC Version 3.16.0
No change at IB. IBC now deals correctly with auto-restart, so you don¡¯t need to manually re-authenticate or do 2FA or anything during the week. Richard Sent: 08 March 2023 07:48 To:
By Richard L King · #2016 ·