I think Jordan Redner wrote:
[Charset Windows-1252 unsupported, filtering to ASCII...]
> I'm trying to use Jess as a financial engine to generate alerts based on
> equity fields such as,
> 
> symbol, last trade, eps, pe
> 
> I want to be able to set specific rules such as IBM last trade > 100, MSFT
> eps > 1.0
> 
> I've setup a deftemplate for the fields I want but I'm having a hard time
> coming up with a simple rule that says trigger when multiples of the (facts)
> are true, instead of just a single fact being true.


Not sure what you are asking for -- just something like this, which
fires when both of the conditions described above are satisfied?

(defrule rule-1
   (stock (symbol ibm) (last-trade ?t&(> ?t 100)))
   (stock (symbol msft) (eps ?e&(> ?e 1.0)))
   =>
   ... )


> 
> Can someone give me guidance on this please?  I'd really appreciate a little
> shove in the right direction on this because I think what I want to do is a
> good application for Jess.
> 
> 
> Thanks so much in advance.
> 
> 
> Jordan Redner
> 

---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to