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

Is this it stable? #14

Open
centny opened this issue Sep 3, 2021 · 5 comments
Open

Is this it stable? #14

centny opened this issue Sep 3, 2021 · 5 comments

Comments

@centny
Copy link

centny commented Sep 3, 2021

  • there is not example?
  • there is not apidoc?
  • there is not feature list?
@github-actions
Copy link

github-actions bot commented Sep 3, 2021

Message that will be displayed on users' first issue

@centny
Copy link
Author

centny commented Sep 3, 2021

the code is panic when parralel running in server.go

	var pairBook *engine.OrderBook
	if val, ok := e.book[req.GetPair()]; ok {
		pairBook = val
	} else {
		pairBook = engine.NewOrderBook()
		e.book[req.GetPair()] = pairBook
	}

@roman-wb
Copy link

@centny order matching for every one pair currency or stock share should running in one goroutine/thread

@ianeinser
Copy link

@centny order matching for every one pair currency or stock share should running in one goroutine/thread

Hi @roman-wb ,

can you be more specific? would you share the code?

regards

@sudhanshu-pantelwar
Copy link
Member

@ianeinser : you can check the following link to test the engine:
#13 (comment)

Also there are test files associated with each order type.

Will update the README soon.

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

4 participants