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

add maxTargetVolumePercent #34

Merged
merged 5 commits into from
Dec 29, 2017
Merged

add maxTargetVolumePercent #34

merged 5 commits into from
Dec 29, 2017

Conversation

Connie-Wild
Copy link
Contributor

裁定可能数量に対する目標数量の割合が100%に近い程、約定し難い傾向にあるように感じました。
そこで、maxTargetVolumePercent のパラメータを追加し割合が設定値を下回った場合に、注文を出すように変更を加えてみました。
従来通りの動作が好ましい人は数値を100に設定すれば良いです。
テストスクリプトは作り方がいまいちわからなかったので未作成です。。。
もしよければリクエストを加えて頂けるとうれしいです。

既存のテストスクリプトを考慮して一部修正しました。

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 98.708% when pulling 06f1c18 on Connie-Wild:limit-size into 9f458e6 on bitrinjani:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 98.708% when pulling 849d720 on Connie-Wild:limit-size into 9f458e6 on bitrinjani:master.

@bitrinjani
Copy link
Owner

プルリクありがとうございます。いい変更内容だと思います👍
テストを加えてからマージします。

@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 98.956% when pulling 278af3c on Connie-Wild:limit-size into 9f458e6 on bitrinjani:master.

Copy link
Owner

@bitrinjani bitrinjani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package-lock.jsonはコミットに含める必要はなかったと思います。特に影響ないのでそのままマージします。

@bitrinjani bitrinjani merged commit 7512780 into bitrinjani:master Dec 29, 2017
@Connie-Wild
Copy link
Contributor Author

ありがとうございます!
マージしてもられて嬉しいです!

@Connie-Wild Connie-Wild deleted the limit-size branch December 30, 2017 03:00
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

Successfully merging this pull request may close these issues.

None yet

3 participants