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

Load testing wip2 #44

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

joao-ferreira-encora
Copy link

No description provided.

responseTime := time.Now()

localArrival := responseTime
latency := localArrival.Sub(sentTime)

Choose a reason for hiding this comment

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

this latency doesn't seem to be the time from sending the order to the execution report coming back. The flow is asynchronous. After the order is submitted, we need to capture its final response message (i.e. execution report when the order is either filled or cancelled) from the FIX log and check the time spent to fill the order.

mu.Unlock()
}(i)

time.Sleep(time.Second / time.Duration(cfg.OrdersPerSecond))

Choose a reason for hiding this comment

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

Could the cadence be dynamic during a day or even 2 days?

Choose a reason for hiding this comment

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

it can be done

Copy link

@maryhualabs maryhualabs left a comment

Choose a reason for hiding this comment

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

Are you going to push the change to the public repo?

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