Unless I comment out the emulator call, I get an error on the line below:
// listMarketBook post-processing
// orderProjection and matchedProjection are filled by emulator
// for all the markets in bet emulation mode
if (self.method === "listMarketBook" && self.isSuccess) {
//ERROR ON LINE BELOW
// emulator.onListMarketBook(self.response.result);
}
I am not using any form of emulation mode.
I fixed this in this commit, but as I haven't worked with the emulation, I'm not sure this is correct:
Unless I comment out the emulator call, I get an error on the line below:
I am not using any form of emulation mode.
I fixed this in this commit, but as I haven't worked with the emulation, I'm not sure this is correct:
https://github.com/PaulGrimshaw/betfair/commit/0682bfca26715b0f9fb7492b6f00c9bcbdcccf33