get trade from db