| com.nodelab.equity | ![]() |
com.nodelab.0.10180
Instance of Type
Inheriting from Calculator
| Type data | Value |
| org.uninode.Type.displayPattern | a {att:org.uninode.Node.type} |
| org.uninode.Resource.resourceType | |
| org.uninode.Resource.label | |
| org.uninode.Resource.resourceOf | List{} |
| org.uninode.Listable.resources | Reference[org.uninode.Listable.resources] of com.nodelab.equity.Trades |
| Attribute summary | Defined in | Uninode® Id | Properties | Default | |
| Reference[org.uninode.Listable.resources] | resources | Listable | org.uninode.0.2001 | type | |
| String | toString This is the display string. | Node | org.uninode.0.102 | ||
| Type | type The type of an object determines the behaviour and attributes of the object. | Node | org.uninode.0.101 | ||
| String | uri | Node | org.uninode.0.103 | ||
| String | label | Resource | org.uninode.0.2041 | type | |
| List[Type] | resourceOf | Resource | org.uninode.0.2042 | type | |
| Signature | resourceType This defines the type of resource. It can be 'view', 'adapter' or 'action' | Resource | org.uninode.0.2043 | type | |
| Script summary |
com.nodelab.0.10385/*
aBaliPluginTable tableAspect value = #trades ifTrue: [
list := List new.
list add: self name , ' '.
list addAll: #('' '' '' '').
from := aBaliPluginTable display dimHistory focus daysStart.
to := aBaliPluginTable display dimHistory focus daysEnd.
buyVol := 0.
buyValue := 0.
env := aBaliPluginTable display envDimensions.
last := self valueAspect: #value environment: env.
self musician
tradesFrom: from
to: to
block: [:an |
list add: ((BaliTime fromTimestamp: (an at: 1)) printType: #minute) , ' '.
list add: ((an at: 2) isNil ifFalse: [an at: 2] ifTrue: ['']) , ' '.
list add: ((an at: 3) isNil ifFalse: [an at: 3] ifTrue: ['']) , ' '.
list add: (GotheTools formatFloat: (an at: 4) digits: 2) , ' '.
list add: (GotheTools formatInteger: (an at: 5)) , ' '].
aBaliPluginTable tableList: (TwoDList on: list columns: 5).
aBaliPluginTable table columnLabelsFormats: #right.
aBaliPluginTable table elementFormats: #right.
aBaliPluginTable table columnLabelsArray: #('time ' 'buyer ' 'seller ' 'price ' 'volume ').
^nil].
*/
|