Spaces:
Running
Running
Download solana-clock/js/data-sol.js from Ethscriptions/POLS: direct link, hf CLI and curl.
- Browser
- Download file 15.2 kB
-
https://huggingface.co/spaces/Ethscriptions/POLS/resolve/main/solana-clock/js/data-sol.js
- Command line
-
hf download hf://spaces/Ethscriptions/POLS/solana-clock/js/data-sol.js
-
curl -L -o data-sol.js https://huggingface.co/spaces/Ethscriptions/POLS/resolve/main/solana-clock/js/data-sol.js
15.2 kB
| // SOL/USD daily close — snapshot from Surf data API (market-price, symbol=SOL, time_range=max) | |
| // 2020-04-10 → 2026-10-07, 2372 points, one per day. | |
| export const SOL_START = "2020-04-10"; | |
| export const SOL_T0 = 1586476800; | |
| export const SOL_PRICES = [0.744,0.955,0.786,0.856,0.791,0.66,0.631,0.694,0.657,0.677,0.608,0.53,0.573,0.692,0.623,0.622,0.651,0.64,0.568,0.656,0.743,0.694,0.716,0.713,0.686,0.666,0.651,0.616,0.608,0.609,0.602,0.542,0.515,0.533,0.553,0.571,0.557,0.594,0.616,0.648,0.628,0.579,0.606,0.637,0.608,0.547,0.602,0.573,0.589,0.574,0.577,0.584,0.57,0.581,0.565,0.587,0.587,0.657,0.625,0.619,0.669,0.654,0.647,0.571,0.594,0.609,0.585,0.569,0.585,0.582,0.62,0.684,0.648,0.672,0.731,0.708,0.736,0.712,0.742,0.712,0.804,0.855,0.858,0.832,0.775,0.768,0.781,0.694,0.708,0.753,0.796,0.851,0.917,0.922,1.013,1.174,1.149,1.286,0.869,0.981,0.967,0.922,0.873,0.979,1.043,1.056,0.996,1.254,1.576,1.783,1.785,1.658,1.686,1.538,1.538,1.736,1.799,1.87,1.758,2.195,2.083,2.479,2.664,3.137,3.306,3.755,3.734,3.417,3.178,3.376,3.111,3.332,2.907,3.206,2.93,3.02,3.32,3.348,3.257,3.553,3.436,4.014,3.956,4.445,4.658,4.332,4.171,3.522,3.535,2.614,3.082,2.912,2.47,3.638,3.466,3.427,3.33,3.223,3.264,2.918,2.542,2.883,3.069,3.026,2.866,2.769,2.916,2.837,3.131,3.194,3.129,3.173,2.952,2.946,2.902,2.862,2.623,2.539,2.516,2.653,2.173,2.304,2.368,2.535,2.404,2.42,2.581,2.404,2.316,2.27,2.135,2.202,2.213,2.057,1.885,1.886,1.949,1.958,1.912,1.791,1.682,1.705,1.518,1.43,1.438,1.543,1.607,1.471,1.412,1.393,1.403,1.918,2.02,2.153,2.03,2.261,1.997,1.909,2.017,1.92,2.046,2.264,2.204,2.121,2.078,2.105,2.38,2.166,2.277,2.276,2.262,1.906,1.86,1.889,1.92,1.96,1.98,2.123,2.098,1.854,1.979,1.851,1.83,1.664,1.662,1.577,1.444,1.494,1.563,1.591,1.756,1.782,1.677,1.697,1.668,1.553,1.542,1.494,1.201,1.366,1.446,1.329,1.306,1.521,1.68,1.539,1.511,1.843,1.803,2.185,2.421,2.171,1.933,2.379,3.23,3.408,3.471,3.115,3.621,3.521,3.28,3.258,3.428,3.834,3.791,3.609,3.719,2.992,3.345,3.505,3.631,3.701,4.041,3.701,3.824,3.837,4.233,4.247,4.593,5.257,5.739,6.409,6.709,6.088,6.668,7.893,7.83,9.062,9.193,9.225,8.716,8.712,8.84,8.292,8.249,9.026,11.48,10.04,11.08,14.43,15.26,17.46,13.78,13.67,13.19,13.06,15.02,13.99,14.07,13.1,12.65,13.08,13.89,13.66,14.9,14.22,16.03,14.58,15.31,14.5,14.18,13.8,14.33,14.26,14.19,14.25,14.34,14.79,14.17,13.6,12.99,14.78,16.53,18.01,18.89,19.19,19.47,19.05,19.76,22.42,23.97,23.03,25.1,26.66,26.98,27.72,26.81,27.91,28.53,27.53,26.49,27.82,25.31,24.93,32.35,31.55,31.75,32.5,38.97,37.49,41.1,47.73,44.28,43.18,44.89,42.55,42.86,49.66,46.92,45.33,42.58,44.91,43.43,43.01,45.73,44.37,42.96,44.61,42.25,41.15,42.76,43.24,47.17,46.84,55.99,35.61,44.9,38.7,31.41,24.72,31.16,30.02,35.69,33.65,29.1,27.4,28.59,32.65,31.0,34.13,39.62,37.27,39.73,42.38,38.53,41.4,42.11,41.05,35.91,36.56,38.84,39.7,39.48,39.59,39.3,36.67,35.37,35.37,26.42,26.85,30.89,31.43,29.19,29.72,31.87,33.15,33.82,35.59,33.52,34.1,34.58,34.38,33.08,34.31,36.68,32.95,33.5,31.91,32.15,30.95,29.16,31.32,28.43,26.31,26.8,26.8,24.62,23.7,26.78,27.74,28.57,28.69,28.33,28.16,28.1,27.88,31.25,32.28,36.24,34.14,33.17,34.03,35.79,37.39,39.53,39.54,37.81,38.72,40.69,41.73,41.15,44.65,44.12,53.59,62.22,64.14,73.53,73.09,78.54,74.01,73.1,75.8,70.68,71.67,75.82,88.01,96.69,94.02,110.14,108.61,111.08,128.48,145.79,139.31,142.02,164.2,173.63,189.0,188.23,178.91,178.67,174.93,169.06,158.82,158.6,152.11,148.33,170.14,153.15,133.15,123.53,148.18,150.28,139.49,136.42,135.97,135.75,131.04,135.5,141.24,161.53,169.46,172.93,167.29,164.29,154.11,154.36,158.81,156.88,147.88,144.89,152.3,148.52,150.05,162.63,157.68,159.73,157.23,156.31,177.28,189.32,197.38,198.54,203.22,210.74,200.25,183.65,195.43,200.42,194.33,202.66,203.62,220.92,242.34,248.71,237.41,258.93,250.92,248.71,239.41,233.35,234.54,230.38,241.74,239.89,238.12,219.75,219.22,196.46,215.87,218.44,232.64,215.92,222.03,205.84,210.07,192.23,192.55,200.61,204.35,208.43,229.36,233.52,212.17,201.26,196.75,194.38,190.11,194.32,181.62,168.69,171.64,173.53,154.78,161.24,178.38,176.92,175.42,182.84,179.77,174.6,179.82,178.51,190.54,190.59,192.49,198.23,195.77,177.48,171.49,172.6,170.06,178.96,176.32,170.63,168.07,155.26,150.71,136.97,142.12,141.35,135.87,140.9,151.79,146.3,146.45,147.81,147.89,140.09,141.68,135.58,127.85,111.93,94.65,99.19,91.84,94.67,92.13,89.78,91.42,96.35,93.5,99.44,110.44,102.01,101.61,112.28,113.96,115.26,117.79,113.54,114.11,106.37,96.39,95.98,93.12,96.55,104.84,101.93,93.56,90.04,91.49,90.92,83.3,86.51,84.99,89.36,92.83,90.28,85.66,99.64,98.54,101.01,95.62,88.27,89.69,84.61,82.11,82.27,87.94,82.91,80.79,81.42,78.83,81.32,82.9,87.86,87.77,89.92,92.35,88.63,88.54,90.42,94.9,102.25,98.62,101.7,106.88,106.2,111.23,120.5,122.74,134.43,132.54,136.76,132.39,126.69,113.15,118.64,109.99,113.1,111.67,99.88,103.29,105.07,100.85,101.5,102.27,100.33,102.42,108.45,105.54,101.65,100.59,100.87,99.17,101.29,95.71,98.36,98.15,94.09,85.02,89.74,87.63,85.88,92.82,84.72,81.76,79.03,75.4,65.43,66.26,47.81,43.61,49.74,52.54,58.85,53.7,57.28,50.73,52.06,49.58,50.34,52.77,50.18,49.61,47.97,43.65,41.18,44.41,44.95,47.2,45.78,40.09,40.82,38.28,38.96,38.46,42.3,39.45,38.85,39.97,37.12,33.93,30.75,28.46,29.48,34.87,30.01,30.74,31.9,34.25,35.38,36.15,34.14,38.19,42.18,42.25,39.42,38.56,35.33,33.96,33.19,32.94,33.4,33.44,36.77,35.41,37.05,38.51,38.28,38.1,36.67,33.45,32.8,34.93,37.12,37.38,39.54,38.69,43.39,44.89,42.07,43.05,40.61,40.04,40.97,36.71,36.25,40.26,42.95,42.08,43.8,42.43,41.81,39.95,38.63,38.93,40.53,40.09,40.66,42.29,40.38,42.42,42.82,45.4,46.62,44.93,43.85,43.2,40.53,39.61,35.92,35.31,36.52,35.48,35.71,35.0,35.34,31.79,31.57,30.5,32.51,31.44,31.47,31.62,31.28,31.12,32.3,32.14,30.95,32.79,33.6,34.7,35.14,35.07,37.37,33.0,34.08,33.1,32.23,33.74,31.13,32.67,31.41,30.8,32.46,33.71,33.44,32.32,33.87,32.74,33.32,33.9,33.28,32.45,32.1,32.95,34.12,34.06,33.37,32.86,32.61,32.92,31.9,30.8,31.16,30.49,30.02,29.62,30.16,31.24,30.14,28.87,28.12,28.11,28.05,29.26,28.29,30.97,31.3,30.58,32.05,32.87,32.92,32.59,32.23,30.81,30.84,33.76,36.84,32.75,29.61,24.36,14.12,17.91,16.67,14.68,13.24,14.08,14.38,14.34,13.68,13.31,12.89,12.35,11.89,12.48,14.41,14.6,14.04,14.18,14.14,13.35,13.36,14.16,13.52,13.79,13.33,13.75,13.86,14.3,13.52,13.69,13.61,13.58,13.43,13.31,13.87,14.15,14.02,12.31,12.52,12.41,11.95,12.29,12.15,11.82,11.8,11.47,11.41,11.38,11.09,9.76,9.693,9.893,9.967,9.993,11.27,13.36,13.44,13.43,13.54,13.1,14.36,16.47,16.2,16.4,16.6,18.32,24.19,22.93,23.58,22.91,21.05,21.41,25.55,24.65,24.23,24.34,22.78,24.55,24.38,24.43,23.99,26.08,23.98,23.95,25.03,24.3,24.68,24.31,23.51,22.73,23.84,23.2,20.46,20.17,20.84,21.48,20.78,21.84,23.88,22.21,23.22,23.46,24.95,26.17,24.93,24.14,23.93,23.07,22.36,23.25,22.68,21.88,22.51,21.98,21.41,21.01,20.97,20.62,20.24,18.41,17.34,18.22,18.06,20.35,20.51,20.93,19.34,19.82,21.66,21.44,21.96,22.29,22.72,21.51,22.29,20.8,20.59,20.98,19.93,20.48,21.11,20.55,21.19,21.1,20.56,20.47,20.94,20.97,20.62,20.47,20.05,20.29,20.91,23.02,23.85,24.45,24.75,24.1,25.35,24.57,24.87,22.71,22.18,21.27,21.81,21.47,21.39,21.91,21.29,22.35,23.37,23.18,22.8,21.99,22.28,22.23,21.74,22.83,21.95,21.87,20.64,20.68,20.94,20.22,20.91,20.85,20.96,21.0,20.67,21.07,20.35,20.35,20.29,19.61,19.54,20.03,19.21,19.25,19.36,20.41,20.81,20.58,21.25,20.83,20.5,21.27,21.17,21.82,20.05,20.38,18.63,18.89,17.36,15.65,15.54,15.2,15.03,14.48,14.76,15.3,15.63,15.45,16.05,16.64,17.26,16.65,17.14,16.64,16.96,16.26,16.61,15.98,18.03,18.86,18.7,19.46,19.26,19.13,18.99,19.78,21.51,21.86,21.33,21.31,22.08,21.97,26.03,26.72,27.45,27.38,26.85,25.55,26.35,25.36,25.52,24.53,24.78,23.37,23.28,25.17,25.08,24.82,25.16,24.26,23.72,24.06,23.14,22.62,22.78,22.63,23.17,23.08,24.22,24.37,24.6,24.59,24.89,24.23,25.15,23.9,22.8,21.74,21.33,21.88,21.78,21.21,20.55,21.71,21.01,20.4,20.27,20.78,20.55,21.78,20.82,19.73,19.31,19.49,19.57,19.5,20.26,19.61,19.89,19.6,19.43,18.23,17.73,17.92,18.39,18.85,19.16,19.12,18.82,19.64,20.03,20.3,19.46,19.43,19.48,19.35,19.39,19.02,19.12,19.97,20.28,21.38,23.88,23.37,23.57,23.13,22.69,23.43,23.29,23.24,22.1,22.1,22.01,21.3,21.84,22.0,21.91,23.97,23.95,23.42,25.04,27.06,29.37,29.02,31.95,30.18,32.43,32.75,31.75,31.66,32.82,34.95,38.48,41.35,40.18,39.48,42.36,41.18,42.13,43.07,43.11,45.36,56.66,56.34,56.17,51.9,56.84,65.57,57.75,58.4,58.52,61.33,56.5,52.18,57.54,56.59,56.88,58.83,57.64,55.04,58.2,59.3,59.23,59.8,63.79,63.03,61.55,60.89,61.96,67.82,74.94,72.24,74.73,70.36,68.51,70.7,75.61,72.45,73.55,70.88,74.26,72.99,81.91,93.84,97.97,107.95,112.72,120.87,112.6,106.97,101.99,106.02,101.83,101.57,109.56,106.54,98.66,104.91,99.94,93.8,89.21,97.8,99.41,101.99,99.92,91.55,95.67,94.18,94.28,97.64,101.81,94.23,93.24,92.62,90.99,83.62,84.2,88.74,86.9,92.12,94.22,95.96,101.59,101.5,97.0,97.69,100.48,97.84,95.44,95.61,96.85,101.01,102.76,107.0,109.08,107.57,111.93,112.61,116.96,113.66,110.38,108.83,112.19,111.43,108.4,105.31,101.93,99.82,104.17,103.4,109.95,108.35,117.75,125.5,129.96,129.75,130.48,133.28,125.56,130.72,144.05,145.18,144.74,144.36,148.71,150.98,163.81,176.39,183.81,181.47,201.81,195.78,169.71,191.67,179.38,174.05,172.64,183.75,189.09,190.76,185.98,189.42,192.02,194.29,202.34,192.45,181.37,185.23,184.08,174.39,178.81,179.47,180.62,172.38,173.37,172.38,153.34,138.8,151.02,138.33,136.45,131.87,142.2,142.59,151.13,148.57,157.03,154.72,147.64,144.89,139.16,141.15,137.95,137.79,126.7,134.63,137.72,143.78,146.26,145.79,152.87,148.05,142.13,152.7,146.09,145.36,143.52,147.28,141.98,158.31,159.1,169.53,172.45,170.04,186.53,178.1,176.87,176.19,167.68,168.42,163.32,169.98,168.67,168.12,166.91,165.69,166.02,163.17,164.92,171.68,173.4,170.12,162.32,157.9,162.14,158.99,149.38,155.02,147.24,143.05,145.37,151.16,143.25,137.43,135.51,133.4,134.57,133.56,128.56,132.2,136.59,136.76,149.24,139.72,139.99,146.37,146.61,153.81,140.57,127.53,134.26,143.33,131.45,139.63,141.39,141.71,135.81,139.43,141.95,147.26,159.62,160.47,155.69,159.15,169.21,173.66,184.52,178.9,172.77,178.05,171.87,183.1,183.53,184.91,182.8,178.93,171.75,167.77,152.67,142.8,138.36,129.67,144.32,144.73,162.98,156.32,154.1,141.25,146.39,146.79,143.75,142.57,138.97,141.97,142.45,144.23,142.28,142.74,143.23,153.25,160.74,158.97,157.03,146.87,143.85,140.0,138.04,135.34,128.65,135.0,127.46,133.61,129.38,125.0,127.72,130.14,134.99,135.71,132.49,136.18,139.05,137.21,131.48,131.35,131.53,134.62,142.85,146.71,149.51,144.74,144.86,152.78,148.0,155.56,157.69,156.81,158.53,152.8,145.09,140.28,136.75,143.19,142.63,146.48,143.93,143.35,139.29,138.94,145.48,146.47,147.58,157.49,154.9,154.26,150.39,154.92,159.63,167.01,166.11,167.46,171.04,177.16,164.56,170.62,176.65,178.32,179.36,174.98,168.3,166.19,166.13,162.41,157.7,166.84,187.04,196.07,199.79,200.19,210.18,222.68,212.11,215.38,209.49,218.76,215.87,237.8,239.83,238.09,235.96,256.93,256.79,255.07,253.19,234.11,230.87,241.31,237.6,243.66,237.8,237.13,225.65,234.57,228.94,236.88,237.09,238.74,237.25,217.32,213.65,227.43,227.01,224.4,219.88,224.24,216.63,223.17,205.85,193.44,194.32,181.14,180.26,189.96,197.14,197.36,188.24,183.78,194.81,189.39,190.95,189.13,193.88,207.97,217.79,216.59,213.46,218.5,202.25,197.37,185.5,187.62,188.05,188.44,182.94,187.49,206.17,211.14,219.66,262.09,251.14,242.48,250.32,256.99,254.45,253.58,256.27,240.88,235.19,227.04,228.31,238.82,231.6,213.7,202.95,216.2,206.96,196.13,189.52,191.86,199.5,200.53,200.27,198.02,196.58,194.4,199.71,194.63,188.26,177.69,169.31,169.26,176.07,168.27,172.13,168.04,141.96,143.91,135.19,137.56,147.98,143.44,177.46,142.33,144.34,146.38,143.28,139.18,136.88,126.47,118.26,125.61,126.44,123.15,133.5,135.82,126.12,128.04,125.14,136.09,127.53,128.32,128.41,132.62,140.98,143.7,137.19,138.37,129.55,124.45,124.68,124.63,126.65,117.65,117.21,122.69,120.17,105.91,106.94,105.5,119.05,112.77,121.41,132.24,128.22,129.43,126.16,131.37,134.68,134.06,139.69,137.75,136.4,148.83,151.14,152.38,150.94,149.21,148.18,147.84,146.44,147.67,150.86,148.07,146.76,143.93,146.76,146.94,147.21,163.88,172.76,177.61,173.02,174.33,183.63,176.48,169.0,167.69,165.96,172.37,166.78,168.53,173.97,179.58,174.3,176.04,175.42,174.76,176.61,172.14,166.82,156.46,156.82,157.68,156.88,155.55,153.48,144.53,147.93,150.06,152.48,161.08,165.07,161.03,152.6,148.61,144.72,152.81,150.92,147.71,146.36,147.07,140.06,135.06,131.68,144.65,145.92,143.56,139.02,142.12,150.79,153.32,154.96,146.86,152.29,152.43,147.71,147.59,151.92,148.85,151.82,157.22,163.76,162.99,160.67,161.16,162.28,163.99,173.87,176.24,177.35,176.94,181.25,196.27,205.19,189.57,182.53,186.62,184.83,188.53,183.08,181.21,177.81,172.08,162.75,158.42,161.85,169.24,163.97,168.01,175.25,176.86,180.23,182.69,174.96,191.79,201.63,192.78,185.7,189.74,191.52,183.04,176.28,187.6,180.44,200.34,204.27,205.89,187.2,195.91,202.93,214.4,205.08,202.78,200.23,197.13,209.11,210.74,202.49,203.43,200.28,206.44,214.33,217.33,224.05,228.69,242.22,242.57,240.23,234.22,236.92,244.71,247.6,238.56,239.56,236.45,220.46,213.7,211.62,193.41,204.82,203.56,210.75,212.92,208.86,221.88,234.78,233.04,228.01,228.52,232.63,220.39,229.09,220.95,188.79,177.98,197.21,208.61,202.58,193.98,184.68,182.15,187.65,187.79,189.72,185.72,180.09,191.41,193.52,193.93,200.02,198.77,194.3,194.07,184.5,187.17,186.32,187.67,165.89,155.2,162.47,155.06,161.69,157.8,164.41,167.38,154.66,153.26,144.6,138.99,139.27,137.14,130.81,140.62,136.72,133.61,128.57,127.55,130.58,138.35,138.93,143.02,140.85,137.4,136.02,133.83,126.67,138.67,144.83,139.02,133.23,132.26,131.96,133.23,137.89,136.37,136.47,132.3,133.17,129.5,127.72,129.1,123.17,119.53,126.19,125.78,126.02,125.83,124.03,122.46,120.02,122.19,124.67,125.15,123.12,124.83,124.52,126.96,132.32,133.3,134.43,138.0,140.83,136.2,138.38,135.87,135.84,139.32,139.07,145.74,146.51,142.38,144.91,143.68,135.5,133.41,126.11,129.73,128.5,127.45,127.39,118.66,124.19,127.21,125.37,117.88,117.48,105.49,100.88,104.39,97.63,92.06,78.4,86.98,87.54,87.24,86.8,82.98,79.56,78.63,84.46,88.16,86.29,86.58,85.34,81.76,82.65,84.8,85.46,78.75,78.27,79.16,88.08,86.08,82.04,84.67,83.74,86.75,87.05,91.07,88.95,84.73,83.62,81.88,85.02,85.9,86.56,86.91,88.14,88.22,92.84,95.89,94.89,90.12,89.14,89.88,86.94,86.51,91.62,90.96,91.8,86.56,83.01,82.11,81.39,82.45,83.04,81.21,79.05,80.43,80.91,82.54,80.14,85.74,82.53,83.3,84.81,84.93,81.49,86.64,83.82,84.96,89.1,88.83,86.17,83.51,85.29,86.04,86.93,86.14,86.22,86.2,86.94,84.81,84.05,83.04,83.04,83.75,84.26,83.84,84.08,86.3,89.17,88.43,92.01,93.14,96.41,97.25,94.29,91.12,92.12,89.2,86.52,85.18,85.32,84.19,86.06,87.17,84.31,85.67,85.22,84.98,83.67,82.33,82.04,81.98,82.69,82.34,81.16,74.14,71.54,68.81,63.63,62.18,66.42,66.8,64.92,63.18,66.82,66.78,68.88,71.22,73.95,73.46,71.98,69.65,69.68,73.18,72.42,71.85,69.61,67.95,67.63,71.81,70.4,71.27,75.01,73.56,77.36,80.62,82.29,81.7,81.52,81.89,80.59,77.79,77.99,78.07,76.72,76.87,74.93,77.81,77.24,75.27,75.0,75.48,76.31,77.75,78.09,77.94,75.85,73.91,74.48,76.69,74.14,73.77,73.61,74.46,72.79,71.89,73.55,73.49,73.71,73.99,72.63,73.62,75.96,76.21,75.92,76.22,75.56,76.2,75.34,75.28,74.55,75.97,77.0,85.33,87.65,93.69,93.88,95.41,98.87,96.58,102.05,109.18,104.11,105.59,101.68,103.01,99.97,100.39,103.96,101.93,103.17,106.49,103.77,103.36,101.57,98.63,102.39,101.75,99.33,102.51,96.87,98.54,101.57,112.7,111.02,111.15,118.87,118.51,114.99,117.01,122.08,121.38,121.96,118.82,119.09,118.04,118.38,118.59,119.6,121.52,120.76,117.19]; | |