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

New demo market #2128

Merged
merged 12 commits into from
Mar 6, 2023
Merged

New demo market #2128

merged 12 commits into from
Mar 6, 2023

Conversation

texodus
Copy link
Member

@texodus texodus commented Mar 5, 2023

Adds a new Perspective examples market, a JS only reimagining of #1277. This multi-process example implements order clearing, expiration and pricing as Perspective queries.

Demo here!

Other fixes in this branch:

  • Adds min and max aggregate functions. Unlike low and high aggregates, these are always recalculated, which means they track the range for the current dataset (as opposed to all data entries to ever exist in the dataset, even if they've been updated or removed).
  • Fixed bug which printed the string "null" over null label points in "X/Y Scatter" charts.
  • Fixed Candlestick and OHLC charts to allow <4 columns, where the missing fields are omitted (in the case of high/low) or synthesized (as the next open in the case of close).
  • Fix charts to only grow extents on update(), which leads to a less janky visual experience when the dataset changes range quickly. The range is reset on any interaction.
  • Fix load() to not overwrite default column on 2nd+ calls if they have already been set.
  • Fix drag & draop implementation on iOS (remove mobile-drag-drop polyfill and adapt native HTML5 drag/drop behavior to work on iOS).
  • Add query_columns() method to Table, which emulates view() + to_columns() + delete() in a single event loop dispatch.

Screenshot 2023-03-05 at 11 19 02 AM

@texodus texodus added the documentation Improvements/bugs/changes to documentation label Mar 5, 2023
@texodus texodus marked this pull request as ready for review March 6, 2023 15:02
@texodus texodus merged commit ed93aa3 into master Mar 6, 2023
@texodus texodus deleted the market-demo branch March 6, 2023 17:39
@texodus texodus mentioned this pull request Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements/bugs/changes to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants