Coder Social home page Coder Social logo

Comments (1)

garethdmm avatar garethdmm commented on July 26, 2024

I don't think you could do this today, but it's something that a moderate-scale refactor could probably achieve.

The logic for booting the strategy engine and running a strategy is split between 3-4 modules right now in gryphon.execution

  • app ~ parses command line arguments, dispatches to live_runner
  • live_runner ~ does a lot of clerical work to set up the harness and the tick loop
  • harness/harness ~ main overseer of the strategy

The main effort for such a refactor would be in live_runner, which is quite complex right now. There really are a lot of things that need to be set up in the runtime environment in order to run a strategy.

There may be difficult product questions that come up in such an effort too. Like, does sending SIGINT signal to a strategy still work in jupyter? If not how are we going to control it once it's in operation?

from gryphon.

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.