com.nodelab.equity

Type HugeTrades

com.nodelab.0.10178
Instance of Type
Inheriting from Calculator

Type dataValue
org.uninode.Type.displayPatterna {att:org.uninode.Node.type}
org.uninode.Resource.resourceType
org.uninode.Resource.label
org.uninode.Resource.resourceOfList{}
org.uninode.Listable.resourcesReference[org.uninode.Listable.resources] of com.nodelab.equity.HugeTrades

Attribute summaryDefined inUninode® IdPropertiesDefault
Reference[org.uninode.Listable.resources]resourcesListableorg.uninode.0.2001type
StringtoString
This is the display string.
Nodeorg.uninode.0.102
Typetype
The type of an object determines the behaviour and attributes of the object.
Nodeorg.uninode.0.101
StringuriNodeorg.uninode.0.103
StringlabelResourceorg.uninode.0.2041type
List[Type]resourceOfResourceorg.uninode.0.2042type
SignatureresourceType
This defines the type of resource. It can be 'view', 'adapter' or 'action'
Resourceorg.uninode.0.2043type

Method summaryDefined inOverridesProperties
voidactivateListable
voiddesignEditor(WidgetWorkspace ws)Listable
voidgenerateScript(ScriptGenerationInfo info)
Prepare and generate initialization code
ScriptGenerator
voidinstanceScript(ScriptGenerationInfo info)
return either variable name (like 'ave1', found in info), or a constructor call (new ...)
ScriptGenerator
BooleanisResourceOf(Listable listable, Signature aspect)Mixabletype
ListablemixOn(Mixable mix)Mixable
ListablemixWith(Mixable mix)Mixable
StringresourceStringListableintrospection
voidcom.nodelab.java.view.ActivateViewListable
Intcom.nodelab.java.view.ActorCountView
Actorcom.nodelab.java.view.ActorForSoView
Actorcom.nodelab.java.view.AddSourceSoView
voidcom.nodelab.java.view.ConstructorView
voidcom.nodelab.java.view.DesignViewWWView
Dimensioncom.nodelab.java.view.DimensionAtInView
Intcom.nodelab.java.view.DimensionCountView
Dimensioncom.nodelab.java.view.DimensionTypeTyView
voidcom.nodelab.java.view.DragMouseReReReReView
voidcom.nodelab.java.view.GenerateScriptSIViewScriptGenerator
Actorcom.nodelab.java.view.GetActorInView
voidcom.nodelab.java.view.InstallView
voidcom.nodelab.java.view.InstanceScriptSIViewScriptGenerator
Booleancom.nodelab.java.view.IsPerpetualView
voidcom.nodelab.java.view.PrepareView
Collection[Type]com.nodelab.java.view.RequiredDimensionsView
Scenecom.nodelab.java.view.SceneView
WidgetWorkspacecom.nodelab.java.view.WorkspaceView

Script summary
com.nodelab.0.10383
/*

	self tableAspect value = #hugeTrades ifTrue: [

		list := List new.

		self server report: 'Looking for huge trades...'.

		self server

			database: (self server databaseAt: #noodle)

			execute: 'exec baliHugeTrades @from = "' , 

				self server now daysStart asSybaseString , 
				'", @to = "' , 
				self server now daysEnd asSybaseString , '"'
			columns: 7
			answerBlock: [:an | 
				sec := self server element: (an at: 3) asSymbol.
				list addLast: (an at: 1).
				list addLast: (an at: 2).
				sec isNil
					ifFalse: [list addLast: sec name]
					ifTrue: [list addLast: (an at: 3)].
				list addLast: (an at: 4) printString.
				list addLast: (an at: 5) asDouble printString.
				list addLast: (((an at: 6) / 100000) rounded / 10) asDouble printString , '"'.
				list addLast: (BaliTime fromTimestamp: (an at: 7)) asSybaseString].
		self tableList: (TwoDList on: list columns: 7).
		self server report: ''.
		self table columnLabelsArray: #('buyer' 'seller' 'security' 'volume' 'price' 'value' 'time')].
	(list isNil and: [self firstSource notNil]) ifTrue: [self firstSource setTableFor: self].
	widths := List new.
	self table tableView isNil ifTrue: [^nil].
	gc := self table tableView graphicsContext.
	1 to: self tableList columnSize do: [:col |
		width := gc widthOfString: (self table columnLabels value at: col).
		1 to: self tableList rowSize do: [:row |
			width := width max: (gc widthOfString: (self tableList at: col@row))].
		widths add: width + 10].
	self table columnWidths: widths.
	self table selectionInTable tableHolder value: self tableList.
	self redrawDone.! !


*/