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

Fixes #84 - TradingStrategy as Spring bean #85

Merged
merged 2 commits into from
Jan 2, 2018

Conversation

kuceraf
Copy link
Contributor

@kuceraf kuceraf commented Dec 24, 2017

Geminy exchange is up again so all IT tests are passing.

When this PR merged it could be possible use Spring features in TradingStrategy impl. I do my best to keep it backwards compatible with your original dependency injection framework (which in my opinion is very good). But it can be complicated to maintain and support two approaches to DI in future.

Fell free to improve/change my code in any way.

Merry Christmas ;)

@gazbert
Copy link
Owner

gazbert commented Dec 24, 2017

Thanks for this Filip!

I'm getting a release out today, but will definitely take look at this over the holidays.

I agree with you, I think Spring DI is the way to go long term... same for the exchange adapters too. If I knew Spring at the time, I would have saved myself a lot of work!

We should look to deprecate the legacy DI framework in a future release early next year. I don't think it'll be too much work to migrate the adapters.

Happy Christmas to you too!

@gazbert
Copy link
Owner

gazbert commented Jan 2, 2018

Had a quick review and it looks good Filip!

Am just rebasing the branch before merging the PR...

We'll need to update the docs too: README, example strat javadoc, strat XML and XSD - to recommend Spring bean approach going forwards, but we'll continue to support the legacy method. I should get this done this week and we can go for a release this weekend :-)

@gazbert gazbert merged commit 4802247 into gazbert:master Jan 2, 2018
@gazbert gazbert self-assigned this Jan 2, 2018
@gazbert gazbert removed their assignment Jan 2, 2018
@kuceraf kuceraf deleted the rm_enhancement_84 branch January 6, 2018 15:08
@kuceraf
Copy link
Contributor Author

kuceraf commented Jan 6, 2018

Thanks for the verificatoin.
Happy to contribute to this great project...

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

Successfully merging this pull request may close these issues.

None yet

2 participants