liquibook icon indicating copy to clipboard operation
liquibook copied to clipboard

Suspicious STOP LOSS logic, comparison seems inverted

Open enewhuis opened this issue 5 years ago • 4 comments

https://github.com/objectcomputing/liquibook/blob/110695cf0a234888555323c94d8b65edb45fe8cf/src/book/order_book.h#L578

This seems to contradict line 553 since if the stop price (here->first) is a better deal than the market price (until) then it definitely is time to panic.

enewhuis avatar May 22 '19 02:05 enewhuis

I can submit a pull request with experimental but complete support for STOP orders if there is any interest and if preparing it doesn't take too much time. I may need to rework and generalize some earlier unrelated enhancements and/or distill another branch for it to be more universally acceptable.

enewhuis avatar May 22 '19 17:05 enewhuis

Hi Eric,

On Wed, May 22, 2019 at 12:56 PM Eric [email protected] wrote:

I can submit a pull request with experimental but complete support for STOP orders if there is any interest and if preparing it doesn't take too much time. I may need to rework and generalize some earlier unrelated enhancements and/or distill another branch for it to be more universally acceptable.

Yes, please do submit a PR with your suggested changes.

Note that OCI, who developed Liquibook and contributed it to open source, is not actively maintaining it anymore. However, it has a broad community of users. It would be great if an individual or an organization in the community would volunteer to take over that stewardship. Please let the community know (via this mailing list) if you're interested.

Cheers!

Steve Totten Principal Software Engineer and Partner

Disruptive solutions for a connected world.™ objectcomputing.com

tottens avatar May 22 '19 18:05 tottens

Sure I can probably do that. It looks like there are already some minor enhancement people would like to see merged to master.

I hereby volunteer.

enewhuis avatar May 22 '19 18:05 enewhuis

Eric,

We're about to transfer ownership of the liquibook repository to you. You should receive an email from GitHub asking you to accept the transfer. If you have any questions about this, you can reach me at [email protected].

Thank you!

Steve Totten Principal Software Engineer and Partner

Disruptive solutions for a connected world.™ tel (314) 579-0066 | mobile (618) 531-6087 objectcomputing.com

On Wed, May 22, 2019 at 1:48 PM Eric [email protected] wrote:

Sure I can probably do that. It looks like there are already some minor enhancement people would like to see merged to master.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/objectcomputing/liquibook/issues/23?email_source=notifications&email_token=ABN3VLZILUDPGJESR3TVQN3PWWIN7A5CNFSM4HOQDI72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV76A6Y#issuecomment-494919803, or mute the thread https://github.com/notifications/unsubscribe-auth/ABN3VL4ZANHHOAYB67XRYE3PWWIN7ANCNFSM4HOQDI7Q .

tottens avatar May 31 '19 07:05 tottens