---
title: "JournalSecurity class"
url: "https://reference.aspose.com/finance/python-net/aspose.finance.ofx.investment/journalsecurity/"
product: "Aspose.Finance for Python via .NET API References"
---


## JournalSecurity class

Journaling security holdings between subaccounts within the same investment account.



**Inheritance:** [JournalSecurity](/finance/python-net/aspose.finance.ofx.investment/journalsecurity) → 
[AbstractInvestmentTransaction](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransaction) → 
[AbstractInvestmentTransactionBase](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransactionbase)



The JournalSecurity type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [JournalSecurity()](/finance/python-net/aspose.finance.ofx.investment/journalsecurity/__init__/#) | Initializes a new instance of [JournalSecurity](/finance/python-net/aspose.finance.ofx.investment/journalsecurity) class. |


### Properties
| Property | Description |
| :- | :- |
| [investment_transaction](/finance/python-net/aspose.finance.ofx.investment/journalsecurity/investment_transaction) | Gets or sets the [AbstractInvestmentTransaction.investment_transaction](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransaction#investment_transaction). |
| [security_id](/finance/python-net/aspose.finance.ofx.investment/journalsecurity/security_id) | Gets or sets the [JournalSecurity.security_id](/finance/python-net/aspose.finance.ofx.investment/journalsecurity#security_id). |
| [sub_account_to](/finance/python-net/aspose.finance.ofx.investment/journalsecurity/sub_account_to) | Gets or sets the sub-account that security or cash is being transferred to. |
| [sub_account_from](/finance/python-net/aspose.finance.ofx.investment/journalsecurity/sub_account_from) | Gets or sets the sub-account that security or cash is being transferred from. |
| [units](/finance/python-net/aspose.finance.ofx.investment/journalsecurity/units) | Gets or sets the units. For security-based actions other than stock splits. Shares for stocks, mutual funds, and others. Face value for bonds. Contracts for options. |


### See Also

* module [aspose.finance.ofx.investment](../)
* class [AbstractInvestmentTransaction](/finance/python-net/aspose.finance.ofx.investment/abstractinvestmenttransaction)
