Hi This key is used - brokerageactid = m_account.value("kmm-brokerage-account").toUtf8() in two places, but, as far as I can see, it never gets set, so the following tests will always fail, or so it seems. Am I missing something? Should it be set, or should the instruction be removed? Allan