| | |
| | | gpcode_manager.WantBuyCodesManager().sync() |
| | | print("want_list after",gpcode_manager.WantBuyCodesManager().list_code_cache()) |
| | | elif type_ == "white_list": |
| | | print("white_list before", l2_trade_util.WhiteListCodeManager().list_code_cache()) |
| | | print("white_list before", l2_trade_util.WhiteListCodeManager().list_codes_cache()) |
| | | l2_trade_util.WhiteListCodeManager().sync() |
| | | print("white_list after", l2_trade_util.WhiteListCodeManager().list_code_cache()) |
| | | print("white_list after", l2_trade_util.WhiteListCodeManager().list_codes_cache()) |
| | | elif type_ == "black_list": |
| | | print("black_list before", l2_trade_util.BlackListCodeManager().list_code_cache()) |
| | | print("black_list before", l2_trade_util.BlackListCodeManager().list_codes_cache()) |
| | | l2_trade_util. BlackListCodeManager().sync() |
| | | print("black_list after", l2_trade_util.BlackListCodeManager().list_code_cache()) |
| | | print("black_list after", l2_trade_util.BlackListCodeManager().list_codes_cache()) |
| | | elif type_ == "pause_buy_list": |
| | | print("pause_buy_list before", gpcode_manager.PauseBuyCodesManager().list_code_cache()) |
| | | gpcode_manager.PauseBuyCodesManager().sync() |