From e1f348a3f73a23b285831919a7972cd616dbb65e Mon Sep 17 00:00:00 2001
From: sak2n21 <sak2n21@soton.ac.uk>
Date: Mon, 8 May 2023 21:37:39 +0800
Subject: [PATCH] (Commit Message) all ask price data plot file

---
 allaskprice_plot.plt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 allaskprice_plot.plt

diff --git a/allaskprice_plot.plt b/allaskprice_plot.plt
new file mode 100644
index 0000000..a6f65f0
--- /dev/null
+++ b/allaskprice_plot.plt
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+set terminal png
+set output 'allaskprice_plot.png'
+set datafile separator ","
+set xlabel 'time'
+set xdata time
+set timefmt '%Y-%m-%d %H%M%S'
+set format x '%Y-%m-%d %H:%M:%S'
+set ylabel 'price/$'
+set xrange ['2023-05-04 23:00:00':'2023-05-05 01:00:00']
+set yrange ['0.00':'2500.00']
+set xtics rotate
+set autoscale y
+set title 'Live ask price in every 10 minutes'
+plot "goldask.csv" u 2:1 t "goldaskprice" w linespoints,"silverask.csv" u 2:1 t "silevraskprice" w linespoints,"palladiumask.csv" u 2:1 t "palladiumaskprice" w linespoints, "platinumask.csv" u 2:1 t "platinumaskprice" w linespoints
+
-- 
GitLab