Skip to content

v0.3.1

Latest

Choose a tag to compare

@usevelque usevelque released this 07 Oct 00:26

JavaScript client for the Velque program. Matches velque-program v0.1.0, market layout tag 9.

npm install github:usevelque/velque-sdk#v0.3.1
  • velque-sdk/client: builders for all twelve instructions, decoders for the market, the window book and the Day book, session and Nasdaq clock helpers, the ScaledUiAmount multiplier for Token-2022 stocks.
  • velque-sdk/clearing: the clearing rule ported line for line from the program, and replay to check a cleared window against what the program recorded.
  • velque-sdk/reference: the reference price from the last Nasdaq trade. Two sources must agree, Jupiter is the cross-check when only one answers.