Open pjz opened 9 years ago
take a look at the broker currencies record.
yours should be currencies=USD,BNL
While that does end up getting BNL listed in the side bar, clicking 'Ledger' still results in being logged out - though this time, it then attempts to re-log-in from the #start page, which either: 1) fails if you're trying to log in as the admin, so you get the 'bad username or password' popup or 2) works if you're logging in as a user...but then you end up on the 'Order Book' page again.
Okay, so now I've tried backing out all those changes... and I'm still getting signed out in the same way. I've nuked the sqlite databases and rebuilt them using the basic demo.ini
, but I still get kicked back to the main login screen if I try and navigate to any other 'page' than the basic Order Book.
I'm in the process of trying to figure out how to adapt bitex to handle trading pure equities. To start I added (to
config/bootstrap/demo.ini
):under
[currencies]
:and under
[instruments]
:...with my thinking being that it might be okay to just set up a fake currency that can't be traded and is, essentially, 'shares of BNL' that happen to be purchased using BNLUSD. Sadly, doing this causes the frontend to... misbehave. Trying to change the Market dropdown in the sidebar from BTC / USD to 'Buy 'N Large instrument' causes a logout. As does just trying to go to the ledger.
Hints? help? What did I overlook?