<div wire:poll.1s>
@if($showClass)
    @if($showClass == 'bid-price')
        <div class="{{ $model->has_bid_changed ? ($model->old_bid < $model->bid ? 'price-up' : 'price-down') : '' }}">
            {{ $value }}
        </div>
    @elseif($showClass == 'ask-price')
        <div class="{{ $model->has_ask_changed ? ($model->old_ask < $model->ask ? 'price-up' : 'price-down') : '' }}">
            {{ $value }}
        </div>
    @elseif($showClass == 'order-pl')
        <div class="{{ $model->getPLStatus() }}">
            {{ $value }}
        </div>
    @endif
@else
    <div>
        {{ $value }}
    </div>
@endif
</div>