Git Product home page Git Product logo

Comments (3)

jkbrzt avatar jkbrzt commented on June 16, 2024

Hi @DimaVIII, this means the Bitstamp API has changed. They've added a new field (open) to the ticker.

I currently don't have an API key to test it, but it should be easy to fix by yourself:

  1. . virtualenv/bin/activate

  2. Add the open field to the Ticker model class:

        open = PriceField()
    
  3. Make a DB migration file:

    ./manage.py makemigrations
  4. Run the migration on your DB:

    ./manage.py migrate
  5. Try to run the cointrol-trader again.

  6. If there are more unknown field errors, repeat the process.

  7. Open a pull request with your changes.

from cointrol.

lorrp1 avatar lorrp1 commented on June 16, 2024

hi, i have not understood, has cointrol a built-in trading strategy?

from cointrol.

BubaVV avatar BubaVV commented on June 16, 2024

You also need to edit trader/bitstamp.py:

class Ticker(Model):
...
'open' : Decimal,
}

from cointrol.

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.