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

More accurate simulation #766

Merged
merged 1 commit into from
Dec 15, 2017
Merged

More accurate simulation #766

merged 1 commit into from
Dec 15, 2017

Conversation

FunFR
Copy link
Contributor

@FunFR FunFR commented Nov 29, 2017

I think the changes below make the simulation more accurate

  • "order.price" instead or "orig_price" to compute sim price
  • slippage only for taker order

Try and tell me

@brucetus
Copy link
Contributor

Slippage should only be for maker orders

@FunFR
Copy link
Contributor Author

FunFR commented Dec 1, 2017

I prefer compute the last limit order price which match market price instead of applying slippage to orig_price

Copy link
Owner

@DeviaVir DeviaVir left a comment

Choose a reason for hiding this comment

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

I agree with your thinking here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants