Module trase.tools.pcs.traders.digest

Functions

def break_down_multi_line_files()

Find multi-line trader match suggestion files and break them into single line files.

def digest_group_names(filter_prefix=None, autocommit=True, cnx=None, cur=None)

Read suggested default group name changes from s3 bucket trase-traders. If filter_prefix is provided, only suggestions with name starting with the prefix are included.

def digest_rejected_matches(filter_key_prefix=None, auto=False, cnx=None, cur=None)
def digest_trader_matches(filter_name_prefix=None, filter_key_prefix=None, random=True, autocommit=True, cnx=None, cur=None)

Read suggested matches from s3 bucket trase-traders. If filter_name_prefix is provided, only suggestions with name starting with the prefix are included. If filter_key_prefix is provided, only suggestions with s3 key containing the prefix are included.

def digest_trader_names(filter_prefix=None, autocommit=True, cnx=None, cur=None)

Read suggested default trader name changes from s3 bucket trase-traders. If filter_prefix is provided, only suggestions with name starting with the prefix are included.

def insert_rejected_match(name_1, name_2, autocommit=True, cnx=None, cur=None)
def show_suggested_matches()