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

need to sort table else label appears wrong end #267

Open
ryanhamilton opened this issue Nov 15, 2024 · 0 comments
Open

need to sort table else label appears wrong end #267

ryanhamilton opened this issue Nov 15, 2024 · 0 comments

Comments

@ryanhamilton
Copy link
Contributor

PI:acos -1f;
// Cauchy distribution simulator
rcauchy:{[n;loc;scale]loc + scale * tan PI * (n?1.0) - 0.5};
n:20000; // Number of data points
// Trade table with Cauchy distributed price series
trade:([] time:09:00:00.000+asc 20000?(15:00:00.000-09:00:00.000);
          sym:`AAA;
          price:abs 100f + sums rcauchy[20000;0.0;0.001] );
`time xdesc trade

WIthout desc it goes:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant