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

Failing test test_allocate_asset_limiting_on_buy_side, mode neutral #739

Closed
bitphage opened this issue Mar 16, 2020 · 0 comments
Closed

Comments

@bitphage
Copy link
Collaborator

tests/strategies/staggered_orders/test_staggered_orders_complex.py::test_allocate_asset_limiting_on_buy_side[config0-neutral]

        elif worker.mode == 'neutral':
>           assert worker.buy_orders[0]['base']['amount'] == pytest.approx(
                worker.buy_orders[1]['base']['amount'] * math.sqrt(1 + worker.increment),
                rel=(10 ** -worker.market['base']['precision']),
            )
E           assert 1.077 == 3.2611846390537287 ± 3.3e-03
E             -1.077
E             +3.2611846390537287 ± 3.3e-03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant