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

Commits on May 11, 2019

  1. Add example logging.ini

    May be used in case someone needs to log RPC exchange on the node side.
    bitphage committed May 11, 2019
    Configuration menu
    Copy the full SHA
    5109386 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2019

  1. Configuration menu
    Copy the full SHA
    799549e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e283a69 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Configuration menu
    Copy the full SHA
    393afeb View commit details
    Browse the repository at this point in the history
  2. Fix unused variables

    bitphage committed May 22, 2019
    Configuration menu
    Copy the full SHA
    25ebe82 View commit details
    Browse the repository at this point in the history
  3. Restore tests/__init__.py to be able to run via pytest

    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
    bitphage committed May 22, 2019
    Configuration menu
    Copy the full SHA
    927a5f0 View commit details
    Browse the repository at this point in the history
  4. Set shared bitshares instance in tests

    This is a workaround for
    bitshares/python-bitshares#234
    bitphage committed May 22, 2019
    Configuration menu
    Copy the full SHA
    4da0ba9 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2019

  1. Configuration menu
    Copy the full SHA
    b5433a9 View commit details
    Browse the repository at this point in the history
  2. Fix closest order calculation for neutral mode

    Closest order caclulation was a bit wrong which caused an error with new
    in-memory caclulation logic.
    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    8142113 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca5eb8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1884606 View commit details
    Browse the repository at this point in the history
  5. Fix typo

    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    b9257b3 View commit details
    Browse the repository at this point in the history
  6. Refactor orders increase logic

    Prevent moving liquidity away from center in valley and neutral modes.
    
    Closes: Codaone#444, Codaone#586
    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    cc3f895 View commit details
    Browse the repository at this point in the history
  7. Update furthest order increase in mountain mode

    Don't allow too small increase steps in mountain mode. This will reduce
    number of calculations.
    
    Closes: Codaone#585
    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    3b35b6c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1a8d9df View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3713398 View commit details
    Browse the repository at this point in the history
  10. Reduce min_increase_factor

    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.
    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    cbbb7c3 View commit details
    Browse the repository at this point in the history
  11. Fix SO tests

    Some tests were broken after increase logic related changes, this fixes
    them.
    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    3990521 View commit details
    Browse the repository at this point in the history
  12. A bit cleaner log message

    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    7e3f79c View commit details
    Browse the repository at this point in the history
  13. Enable previosly xfailed test

    test_increase_order_sizes_neutral_smaller_closest_orders is working if
    some approximation allowed.
    bitphage committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    ab6a7ff View commit details
    Browse the repository at this point in the history