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
Delete symbol in exchange-core #140
Comments
Hi @mzheravin Pls give me some hints to get out of this issue. Many Thanks |
Not as far as I know but you can fork the code and add a new command to remove symbols |
Hi @esanchezros Thanks for your response. In BatchAddSymbolsCommand, we put the CoreSymbolSpecification object as value and symbolId as key in IntObjectHashMap . After that, SerializationUtils.marshallIntHashMap method which is serialize the IntObjectHashMap object. So now If I try to create BatchDeleteSymbols command to delete the created symbol how would I get that object. I mean the key-pair which was stored in IntObjectHashMap. This is the issue. Many Thanks |
Hi @mzheravin Sir / @esanchezros Sir:
Thanks |
@mzheravin Sir , |
Hey @shanhashcah, Not sure if the repo is maintained any longer but adding this functionality yourself should not be difficult. Have a look at exchange-core/src/main/java/exchange/core2/core/processors/MatchingEngineRouter.java Line 218 in 2f85487
BatchAddSymbolsCommand is processed. You need to do something similar, adding a BatchDeleteSymbolsCommand which will delete the order book by symbolId
|
Hi @esanchezros Sir,
@AllArgsConstructor
} |
Not sure if you need to implement |
Hi:
Is there any class to delete the existing symbol in exchange core. Actually here we have BatchAddSymbolsCommand class through we can add symbol dynamically but how to delete that symbol dynamically? I am search through the code but not getting something like. Pls help me.
Thanks
The text was updated successfully, but these errors were encountered: