Transformer Pipeline Module API Reference
6.2.11.309924
|
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... | |
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
market.checkopen | ( | var | mkt | ) |
Check whether a symbol is marketed or not.
mkt | - Market name |
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.
mkt | - Market name |
This function uses the following db keys on the symbol:
IsOpen
market.setopen | ( | var | mkt | ) |
Set a market open.
mkt | - Market name |
This function uses the following db keys on the symbol:
IsOpen