Code Monkey home page Code Monkey logo

Comments (2)

virtadpt avatar virtadpt commented on May 24, 2024 1

Best practice would be to clone the stock price agent, and have one copy in each scenario. It would also be easier because the agent would be emitting events to two separate chains of agents; with a single copy of the agent every connected agent would get the same events, and probably trigger at the same time. You don't want that because you'll get spurious events constantly.

However, to do it the way you're thinking, you could do it with a couple of Scheduler Agents. You could use one to execute the stock price agent every five minutes between 0900 and 1800 (*/5 8-18 * * 1-5). Have your e-mail digest agent run at, say, 0901 with another Scheduler Agent (which gives the event time to propagate). The agent network that does the statistical analysis (spike detection, et al) could just run whenever an event hits.

from huginn.

killermouse0 avatar killermouse0 commented on May 24, 2024

@virtadpt very clear, thank you for your help!

from huginn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.