Skip to content

Commit 6c3fb2f

Browse files
author
streamsadmin
committed
rename operators
1 parent b6e659e commit 6c3fb2f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

QuickStart/TradesApp/application/TradesAppCloud.spl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,29 @@ composite TradesAppCloud
3939

4040
}
4141

42-
stream<Quotes> FilteredQuotes = Filter(Quotes)
42+
stream<Quote> FilteredQuotes = Filter(Quotes)
4343
{
4444
param
4545
filter : askprice > 0.0 ;
4646
}
4747

48-
stream<rstring ticker, float64 min, float64 max, float64 average> AverageAskingPrice = Aggregate(FilteredQuotes as inPort0Alias)
48+
stream<rstring ticker, float64 min, float64 max, float64 average> AvgPrice = Aggregate(FilteredQuotes as inPort0Alias)
4949
{
5050
window
5151
inPort0Alias : tumbling, count(5), partitioned ;
5252
param
5353
partitionBy : ticker ;
5454
output
55-
AverageAskingPrice : average = Average(askprice), min = Min(askprice),
55+
AvgPrice : average = Average(askprice), min = Min(askprice),
5656
max = Max(askprice) ;
5757
config
5858
placement : partitionExlocation("input") ;
5959
}
6060

61-
() as PrintAveragePrice = Custom(AverageAskingPrice)
61+
() as PrintAvPrice = Custom(AvgPrice)
6262
{
6363
logic
64-
onTuple AverageAskingPrice :
64+
onTuple AvgPrice :
6565
{
6666
if(average != 0.0l)
6767
{

0 commit comments

Comments
 (0)