Transformer Pipeline Module API Reference  6.2.11.309924
Handle market status

Functions

 market.checkopen (var mkt)
 Check whether a symbol is marketed or not. More...
 
 market.setopen (var mkt)
 Set a market open. More...
 
 market.setclosed (var mkt)
 Close a market instantaeously. More...
 

Detailed Description

This package supports the concept of a simple latch for indicating whether a particular market is open. Any logic regarding open/close times should be performed elsewhere

Function Documentation

market.checkopen ( var  mkt)

Check whether a symbol is marketed or not.

Parameters
mkt- Market name
Return values
0- Market isn't open
1- Market is open

This function uses the following db keys on the symbol:

IsMarketed

market.setclosed ( var  mkt)

Close a market instantaeously.

Parameters
mkt- Market name
Returns
Nothing

This function uses the following db keys on the symbol:

IsOpen

market.setopen ( var  mkt)

Set a market open.

Parameters
mkt- Market name
Returns
Nothing

This function uses the following db keys on the symbol:

IsOpen


Generated on Sat Aug 26 2017 12:36:33 for Transformer Pipeline Module API Reference