<commit_before>from decimal import Decimal
from amaascore.core.amaas_model import AMaaSModel


class PositionPNL(AMaaSModel):

    def __init__(self, asset_manager_id, book_id, asset_id, period, quantity,
                 business_date, pnl_timestamp, pnl_status='Active',
                 total_pnl=None, asset_pnl=None, fx_pnl=None, 
                 unrealised_pnl=None, realised_pnl=None,
                 message=None, *args, **kwargs):
        self.asset_manager_id = asset_manager_id
        self.asset_id = asset_id
        self.book_id = book_id
        self.period = period
        self.business_date = business_date
        self.realised_pnl = realised_pnl
        self.unrealised_pnl = unrealised_pnl
        self.total_pnl = total_pnl
        self.asset_pnl = asset_pnl<commit_msg>fixed a typo<commit_after>from decimal import Decimal
from amaascore.core.amaas_model import AMaaSModel


class PositionPNL(AMaaSModel):

    def __init__(self, asset_manager_id, book_id, asset_id, period, 
                 business_date, pnl_timestamp, pnl_status='Active',
                 total_pnl=None, asset_pnl=None, fx_pnl=None, 
                 unrealised_pnl=None, realised_pnl=None, quantity=None,
                 message=None, *args, **kwargs):
        self.asset_manager_id = asset_manager_id
        self.asset_id = asset_id
        self.book_id = book_id
        self.period = period
        self.business_date = business_date
        self.realised_pnl = realised_pnl
        self.unrealised_pnl = unrealised_pnl
        self.total_pnl = total_pnl
        self.asset_pnl = asset_pnl
{'fraction_non_alphanumeric': 0.07219083490269931, 'fraction_numerical': 0.0, 'mean_word_length': 2.7069767441860466, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6255604', 'n_tokens_mistral': 519, 'n_tokens_neox': 509, 'n_words': 93}