Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Kelp 'buy' side should use same baseAmount setting #155

Open
nikhilsaraf opened this issue Apr 15, 2019 · 0 comments
Open

Kelp 'buy' side should use same baseAmount setting #155

nikhilsaraf opened this issue Apr 15, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@nikhilsaraf
Copy link
Contributor

thanks @Reidmcc for noting this bug here: #140 (comment)

Describe the bug

If you set your baseAmount for order sizes to be the same as minVolumeBase then the buy side fails because in certain instances (either because of rounding or because of price conversions) it gets a price that is more or less than the baseAmount set.

Expected behavior

I think the correct behavior in this situation is for the bot to always use the same baseAmount for both buy and sell offers. It should always be consistent.

Frequency

The frequency is: Always

Steps To Reproduce

Run the bot and see the amounts for buy vs. sell, they're always different for buy but always correct for sell

Your Environment

v1.6.1 [278b0a971cbf9bcd4c0191be7daf70feac3102c4]

Attachments

mtest_XLM_USD_20190413T134346CDT.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant