Module trase.tools.pcs.traders.reports
Functions
def get_trader_tree_string(group_id, trader_label_ids, no_labels=False, emphasize_node_ids=None, countries=True, cur=None)-
Print trader hierarchy
emphasize_node_idscan be provided as a tuple (node_id, color) or a dictionary {node_id: color} def print_trader_group_report(group_name, year=None, cur=None)def print_trader_report_by_ids(trader_ids, year=None, activities=False, cur=None)def print_trader_report_by_label(label, year=None, activities=False, cur=None)def print_trader_report_by_trase_id(trase_id, year=None, activities=False, cur=None)def show_trader_activities(node_id, year=None, cur=None)def show_trader_group_membership(trader_id, cur=None)-
Show changes of group membership over time for trader.
def show_trader_tree(node_id, year=None, month=None, day=None, all_years=False, no_labels=False, only_traders=None, emphasize_node_ids=None, countries=True, cur=None)