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

Find ways to make www/api/*.xml versions more efficient and lightweight #7

Closed
ivoputzer opened this issue Oct 5, 2023 · 1 comment · Fixed by #13
Closed

Find ways to make www/api/*.xml versions more efficient and lightweight #7

ivoputzer opened this issue Oct 5, 2023 · 1 comment · Fixed by #13

Comments

@ivoputzer
Copy link
Collaborator

ivoputzer commented Oct 5, 2023

By using this modified data structure there is a ~23% gain on disk space usage:

	<candle>
		<d>2015-07-20</d>
		<o>277.98</o>
		<h>280</h>
		<l>277.37</l>
		<c>280</c>
		<v>782.88341959</v>
	</candle>

maybe some space could be salved also by minifying the file (get rid of spaces).

@ivoputzer
Copy link
Collaborator Author

✅ This would still be usable on google sheets no problem!

=IMPORTXML("https://finance.codin.xyz/api/ada-eur/1d.xml", "//candle")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant