|
Trading Objects represent real-world objects used in trading, the instrument object represents a tradeable market, the broker represents the broker who takes your orders, etc.
Blox Basic scripts use the Trading Objects to access information and to affect the trading simulation. The Trading Objects used in Trading Blox Builder are:
|
|
|
instrument
|
|
represents a given market or tradeable instrument to access pricing, position information, and to filter trading
|
broker
|
|
represents a broker and is used to enter orders with their stops
|
system
|
|
represents the system itself and is used to access system-level information such as the total equity
|
order
|
|
contains information about the order used in the Can Fill Order script
|
test
|
|
represents the test and is used to obtain test-level information like the start and end dates
|
block
|
|
represents the current Trading Block and is generally only used for debugging purposes
|
fileManager
|
|
used to read and write files
|
script
|
|
used to access custom user scripts
|
email Manager
|
|
used to send emails from scripting
|
chart
|
|
used to create custom charts
|
|