[go: nahoru, domu]

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

Add a pricing spread function #4731

Closed
nwoolmer opened this issue Jul 1, 2024 · 2 comments
Closed

Add a pricing spread function #4731

nwoolmer opened this issue Jul 1, 2024 · 2 comments
Assignees
Labels
New feature Feature requests SQL Issues or changes relating to SQL execution

Comments

@nwoolmer
Copy link
Contributor
nwoolmer commented Jul 1, 2024

Is your feature request related to a problem?

See #4620

Add a function to calculate the spread betwen asking and bidding prices (i.e difference)

spread(bid, ask) = ask-bid

Describe the solution you'd like.

No response

Describe alternatives you've considered.

No response

Full Name:

Nick Woolmer

Affiliation:

QuestDB

Additional context

No response

@nwoolmer nwoolmer added New feature Feature requests SQL Issues or changes relating to SQL execution labels Jul 1, 2024
@sklarsa
Copy link
Contributor
sklarsa commented Jul 3, 2024

I think this should be spread(bid, ask) = ask - bid

@nwoolmer
Copy link
Contributor Author

Completed, thanks Steve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature Feature requests SQL Issues or changes relating to SQL execution
Projects
None yet
Development

No branches or pull requests

2 participants