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

614 in memory increases #615

Merged
merged 20 commits into from
Jun 11, 2019
Merged

Conversation

bitphage
Copy link
Collaborator

@bitphage bitphage commented Jun 7, 2019

See #614 for details

May be used in case someone needs to log RPC exchange on the node side.
When tests/__init__.py is present, pytest adds root directory to
PYTHONPATH, so tests can use imports `from dexbot.foo import bar`;
otherwise, `pip install -e .` is needed. See doc for details:

https://docs.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules
Closest order caclulation was a bit wrong which caused an error with new
in-memory caclulation logic.
Prevent moving liquidity away from center in valley and neutral modes.

Closes: Codaone#444, Codaone#586
Don't allow too small increase steps in mountain mode. This will reduce
number of calculations.

Closes: Codaone#585
Because we're now calculating increased orders in memory, it's a good
idea to reduce min_increase_factor to allow more smooth distribution of
profits.
Some tests were broken after increase logic related changes, this fixes
them.
test_increase_order_sizes_neutral_smaller_closest_orders is working if
some approximation allowed.
@joelvai joelvai merged commit ab6a7ff into Codaone:devel Jun 11, 2019
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.

2 participants