orders.php
Helper functions that retrieve orders.
Tags
Table of Contents
Functions
- check_order_amount_min_max() : mixed
- Checks if the amount to be traded is within admin limits.
- ensure_market_filled_orders() : mixed
- Ensure that no orders that are filled are stuck in "open" status
Functions
check_order_amount_min_max()
Checks if the amount to be traded is within admin limits.
    
                    check_order_amount_min_max(int $currency_id, float $amount) : mixed
        If the exchange rate is not known, it will succeed silently.
Parameters
- $currency_id : int
- 
                    The currency transacted 
- $amount : float
- 
                    The amount transacted. 
Tags
ensure_market_filled_orders()
Ensure that no orders that are filled are stuck in "open" status
    
                    ensure_market_filled_orders(mixed $table_name_orders) : mixed
    
        Parameters
- $table_name_orders : mixed