Module common

Module common 

Source

Functions§

apply_kind_color
Apply color coding to order kind cells
apply_status_color
Apply color coding to status cells based on status type
create_centered_cell
Create a centered cell with optional bold formatting
create_emoji_field_row
Create a field/value row with emoji field
create_error_cell
Create a red error cell for “no data found” messages
create_field_value_header
Create a standard field/value table header
create_field_value_row
Create a field/value row for tables
create_standard_table
Create a standard table with UTF8_FULL preset and dynamic arrangement
format_timestamp
Format timestamp to human-readable string
print_amount_info
Print amount information
print_fiat_code
Print fiat code information
print_info_line
Print a simple info line with consistent formatting
print_info_message
Print an info message with consistent formatting
print_key_value
Print a key-value pair with consistent formatting
print_no_data_message
Print a no-data message with consistent formatting
print_order_count
Print order count information
print_order_info
Print order information with consistent formatting
print_order_status
Print order status information
print_payment_method
Print payment method information
print_premium
Print premium information
print_required_amount
Print required amount information
print_section_header
Print a standard section header with title and separator
print_success_message
Print a success message with consistent formatting
print_trade_index
Print trade index information