This Trading Blox feature provides a screen editing option to add or draw/remove capital from a trading account. This ability can be set to happen automatically, or entered earlier. To enter manually, the date the amount change is required so the simulation process will know when to implement the transaction.
As part of the automatic transaction features are some TB commands can be scripted to add or remove amounts as the scripted logic condition becomes satisfied.
Capital Additions and Draws Editor:
Access to the dialog where the information can be seen can be displayed from the main screen's Editor group item shown here.
This editor allows new capital amounts values to be added to existing amounts or removed. Capital transactions are accumulated in their own file and can be reported and associated with the Global Suite Parameter Fees Control.
Values for an add or a draw amount can be created by keyboard entry using this dialog. Each record requires the user to enter a transaction date and an amount that is to be added or removed. Comments are not required, but often enable better understanding.
When transaction values are recorded through testing, they will always be on a test date that matches one of the simulation's test dates. All transaction are applied as one of the last transaction updates performed in the After Trade Day script section.
The After Trade Day script section is updated for every test date during the range of a simulation's test range.
How each Add or Draw value affects the trading account is determined by the +/- sign that is enter with each records value. A +/- a + sign adds value and a - sign removes value.
When the Global Suite Parameter's Fees Parameters section is enabled, it can be enabled when parameter option Use Capital Adds Draws is enabled so the Fees transactions appear the Capital Adds Draws transaction record file.
Each time a capital value is added or removed, the Capital Adds Draws file is updated. As capital record transactions are recorded, and each transaction record date is on a matching test date, the transaction on that date is recognized and can change the equity amount.
Capital Add Draw records for each system is kept in the Trading Blox default Data folder created during program installation. However, it can be changed using the Data Section of the Preferences Editor:
The contents of the Capital Adds Draw file will displayed as shown for each program mentioned:
File display in Notepad: |
Spreadsheet display: |
|||||||||||||||||||||
Version,7 Date,Amount,Comment 20090105,-2500, 20100105,-2500, 20110105,2500, 20120105,-2500, 20130104,4500, |
|
The table shows a file example of how the information is contained in a Capital Adds Draw file.
Script Syntax:
Syntax: |
---|
value = test.capitalAddsDrawsTotal |
Parameter: |
Description: |
---|---|
<none> |
See above property description above, and Return results below. |
Example: |
---|
' Access current running total of Capital Adds & Draws |
Return: |
---|
Capital Adds & Draws: , -500 (Using a script for the above returns this amount) |
Links: |
---|
See Also: |
|
Edit Time: 9/12/2020 9:50:00 AM |
Topic ID#: 119 |