new module:ct-trading /grid /Trade Model Row Source()
A RowSource
for displaying trades within a grid.
Methods
trade Created(oTrade Factory, oTrade)
Notifies the listener that a trade has been created using the given factory.
Parameters:
Name | Type | Description |
---|---|---|
oTradeFactory |
module:ct-trading |
The trade factory used to create the trade. |
oTrade |
module:ct-trading |
The newly created trade. |
trade Removed(oTrade, sTrade ID)
Notifies the listener that a trade has been removed.
Parameters:
Name | Type | Description |
---|---|---|
oTrade |
module:ct-trading |
The removed trade. |
sTradeID |
String | The Id for oTrade |