<commit_before>#/bin/sh
# Launch IB Gateway

# IB Controller Sourced-Modified from https://github.com/ib-controller/ib-controller

IBC_PATH=$1   #/Lean/Interactive/IBController
TWS_PATH=$2   #/Lean/Interactive/IBJts 
TWSUSERID=$3
TWSPASSWORD=$4
TWS_MAJOR_VRSN=952
TRADING_MODE=
IBC_INI=$IBC_PATH/IBController.ini
LOG_PATH=$IBC_PATH/Logs

DATE=`date +%Y%m%d%H%M`

# Clean Process Space:
kill -9 `pidof xvfb-run`
kill -9 `pidof java`
kill -9 `pidof Xvfb`

# Launch a virtual screen
Xvfb :1 -screen 0 1024x768x24 2>&1 >/dev/null &
export DISPLAY=:1

# Launch the IB Controller + IB Gateway

APP=GATEWAY<commit_msg>Bumped version of IB TWS Gateway<commit_after>#/bin/sh
# Launch IB Gateway

# IB Controller Sourced-Modified from https://github.com/ib-controller/ib-controller

IBC_PATH=$1   #/Lean/Interactive/IBController
TWS_PATH=$2   #/Lean/Interactive/IBJts 
TWSUSERID=$3
TWSPASSWORD=$4
TWS_MAJOR_VRSN=960
TRADING_MODE=
IBC_INI=$IBC_PATH/IBController.ini
LOG_PATH=$IBC_PATH/Logs

DATE=`date +%Y%m%d%H%M`

# Clean Process Space:
kill -9 `pidof xvfb-run`
kill -9 `pidof java`
kill -9 `pidof Xvfb`

# Launch a virtual screen
Xvfb :1 -screen 0 1024x768x24 2>&1 >/dev/null &
export DISPLAY=:1

# Launch the IB Controller + IB Gateway

APP=GATEWAY
{'fraction_non_alphanumeric': 0.12409347300564061, 'fraction_numerical': 0.038678485092667206, 'mean_word_length': 5.029126213592233, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3101376', 'n_tokens_mistral': 558, 'n_tokens_neox': 511, 'n_words': 116}