jkbrzt / cointrol

฿ Bitcoin trading bot with a real-time dashboard for Bitstamp.
https://twitter.com/jakubroztocil
MIT License
1.45k stars 290 forks source link

no column named eur_balance #12

Open khwerhahn opened 6 years ago

khwerhahn commented 6 years ago

Hi,

after launching cointrol-trader the following error message comes up:

table bitstamp_balance has no column named eur_balance

Probably an api change?

schoubi commented 6 years ago

EUR is not available, you should add the column by yourself :

~/Cointrol/cointrol $ sqlite3 cointrol.sqlite3 
sqlite> alter table bitstamp_balance add column eur_balance decimal;
sqlite> alter table bitstamp_balance add column eur_available decimal;
sqlite> alter table bitstamp_balance add column eur_reserved decimal;

For cointrol-trader to work, you also need to add XRP :

sqlite> alter table bitstamp_balance add column xrp_balance decimal;
sqlite> alter table bitstamp_balance add column xrp_available decimal;
sqlite> alter table bitstamp_balance add column xrp_reserved decimal;

But then, interface is a bit messy.... The price in the list of your transactions and orders are effectively in euro, but marked as USD... Last price is USD...