Closed DimaVIII closed 6 years ago
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:
. virtualenv/bin/activate
Add the open
field to the Ticker
model class:
open = PriceField()
Make a DB migration file:
./manage.py makemigrations
Run the migration on your DB:
./manage.py migrate
Try to run the cointrol-trader
again.
If there are more unknown field
errors, repeat the process.
Open a pull request with your changes.
hi, i have not understood, has cointrol a built-in trading strategy?
You also need to edit trader/bitstamp.py:
class Ticker(Model):
...
'open' : Decimal,
}
Hello,
if I'm starting cointrol-trader, I'm getting following error, what doses this mean?