Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on ListMarketBook #14

Open
PaulGrimshaw opened this issue Nov 24, 2015 · 2 comments
Open

Error on ListMarketBook #14

PaulGrimshaw opened this issue Nov 24, 2015 · 2 comments

Comments

@PaulGrimshaw
Copy link

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:

https://github.com/PaulGrimshaw/betfair/commit/0682bfca26715b0f9fb7492b6f00c9bcbdcccf33

@PaulGrimshaw PaulGrimshaw changed the title Error on ListMaketBook Error on ListMarketBook Nov 24, 2015
@adilatilgan
Copy link

+1 you should comment it otherwise you got an error

@AlexanderTserkovniy
Copy link

Please consider my pull request, it fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants