diff --git a/tradealerter/brokerages/weBull_api.py b/tradealerter/brokerages/weBull_api.py index ba6cbf1..9abe020 100644 --- a/tradealerter/brokerages/weBull_api.py +++ b/tradealerter/brokerages/weBull_api.py @@ -108,7 +108,7 @@ def format_order(self, order:dict): yer, mnt, day = order['orders'][0]['optionExpireDate'].split("-") otype = order['orders'][0]['optionType'][0].upper() symbol = f"{order['orders'][0]['symbol']}_{mnt}{day}{yer[2:]}{otype}{order['orders'][0]['optionExercisePrice']}".replace(".00","") - symbol = self.fix_symbol(symbol, "out") + symbol = self.fix_symbol(symbol, "in") orderStrategyType = order['optionStrategy'].upper() else: symbol = order['orders'][0]['symbol'] diff --git a/tradealerter/configurator.py b/tradealerter/configurator.py index 672a696..8daa3e9 100644 --- a/tradealerter/configurator.py +++ b/tradealerter/configurator.py @@ -8,8 +8,8 @@ config_path = package_dir + '/config.ini' if not os.path.exists(config_path): - print("\033[91mWARNING: DiscordAlertsTrader/config.ini not found. \033[0m") - print("\033[91mWARNING: Rename DiscordAlertsTrader/config_example.ini to DiscordAlertsTrader/config.ini. \033[0m") + print("\033[91mWARNING: tradealerter/config.ini not found. \033[0m") + print("\033[91mWARNING: Rename tradealerter/config_example.ini to tradealerter/config.ini. \033[0m") print("\033[91mWARNING: Reverting to config_example.ini for now (might be necessary for testing). \033[0m") config_path = package_dir + '/config_example.ini'