I attempting to use the plugin in Trade mode to get live prices, but after Zorro connects to the server I am receiving a flood of unknown message type errors:
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
!1: Received unknown msg type: 140
[Stop] at 00:16
Logout.. ok
This is using the following simple script:
void run() {
BarPeriod = 1;
LookBack = 10;
assetAdd("XBTUSD-BMEX");
asset("XBTUSD-BMEX");
vars Prices = series(price(0));
print(TO_WINDOW, "\nPrice: %f", Prices[0]);
}
Am I doing something wrong?