<commit_before><div ng-show="vm.activities.length" layout="row">
    <b flex="10">Ticket</b>
    <b flex="25">Type</b>
    <b flex="10">Market</b>
    <b flex="5">Units</b>
    <b flex="10">Price</b>
    <b flex="10">Interest</b>
    <b flex="5">Profit</b>
    <b flex="10">Balance</b>
    <b flex="10">Date/Time</b>
</div>

<md-content>

    <md-card ng-repeat="activity in vm.activities">

        <div layout="row">
            <span flex="10">{{ activity.id }}</span>
            <span flex="25">{{ activity.type }}</span>
            <span flex="10">{{ activity.instrument }}</span>
            <span flex="5">{{ activity.units | number }}</span>
            <span flex="10">{{ activity.price }}</span>
            <span flex="10">{{ activity.interest }}</span>
            <span flex="10">{{ activity.pl | number:4 }}</span>
            <span flex="10">{{ activity.accountBalance | number:2 }}</span>
            <span flex="10">{{ activity.time | date:"MMM d, HH:mm" }}</span>
        </div>

    </md-card>

    <md-card ng-show="!vm.activities.length">
        No activities.
    </md-card>

</md-content>
<commit_msg>Add color classes to profit, pl in activity view.<commit_after><div ng-show="vm.activities.length" layout="row">
    <b flex="10">Ticket</b>
    <b flex="25">Type</b>
    <b flex="10">Market</b>
    <b flex="5">Units</b>
    <b flex="10">Price</b>
    <b flex="10">Interest</b>
    <b flex="5">Profit</b>
    <b flex="10">Balance</b>
    <b flex="10">Date/Time</b>
</div>

<md-content>

    <md-card ng-repeat="activity in vm.activities">

        <div layout="row">
            <span flex="10">{{ activity.id }}</span>
            <span flex="25">{{ activity.type }}</span>
            <span flex="10">{{ activity.instrument }}</span>
            <span flex="5">{{ activity.units | number }}</span>
            <span flex="10">{{ activity.price }}</span>
            <span flex="10" ng-class="activity.interest >= 0 ? 'highlight-green' : 'highlight-red'">
                {{ activity.interest }}
            </span>
            <span flex="10" ng-class="activity.pl >= 0 ? 'highlight-green' : 'highlight-red'">
                {{ activity.pl | number:4 }}
            </span>
            <span flex="10">{{ activity.accountBalance | number:2 }}</span>
            <span flex="10">{{ activity.time | date:"MMM d, HH:mm" }}</span>
        </div>

    </md-card>

    <md-card ng-show="!vm.activities.length">
        No activities.
    </md-card>

</md-content>

{'fraction_non_alphanumeric': 0.22186495176848875, 'fraction_numerical': 0.028938906752411574, 'mean_word_length': 2.391008174386921, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 97, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5510152', 'n_tokens_mistral': 892, 'n_tokens_neox': 843, 'n_words': 174}