|
Broker Positions |
Top Previous Next |
|
Very often, you will not get the exact fill that a historical simulation might assume when trading an actual account. This is to be expected. Sometimes you forget to roll a contract when the underlying data source rolls to a new month. Other times, your broker may fill an incorrect order or you may enter an order incorrectly.
To enable these positions and have them insert into the test, use the User Broker Positions global parameter.
The Broker Positions screen lets you tell Trading Blox what your actual positions are so that Trading Blox can generate orders using those existing positions rather than using positions based on historical testing assumptions. Although it should be noted that a preferred approach for many traders is to match their actual trading to the simulation. So in other words, let the simulation create the positions and make sure your broker positions match the system.
Enter your actual positions, fills, and quantities that you have with your broker.
These positions get inserted into the test on the Order Date specified, and any existing positions will be exited as a result. You can enter a quantity of zero to lock out any further positions in this instrument. You can enter a position of OUT to exit any existing positions on the Order date.
NOTE: Positions entered here are locked -- so subsequent exits in the system code will not cause an exit of these positions. Entering a subsequent position of "OUT" will exit the position. The order generation report will still have new entries and exits as needed for this positions. The order generation is not locked, just the simulation fill process.
Position Elements Each position entry consists of the following items:
YYYY-MM-DD. YYYYMMDD YYMMDD MM/DD/YY MM/DD/YYYY
HHMM format
Rolling from one month to the next Enter only your current actual positions. So when you roll, keep the entry date and symbol the same, but change the delivery month and adjust the entry price and stop price by the spread amount. Since these prices are relative to the current month, you need to adjust them accordingly.
Old position: GC, delivery month 200704, entry date 20070305, entry price 640, initial stop 635, position long, quantity 10. GCK07 is at 655 and GCJ07 is at 653 on the close the day of the roll, so the spread is +$2. New position: GC, delivery month 200705, entry date 20070305, entry price 642, initial stop 637, position long, quantity 10.
|