Skip to content

Commit

Permalink
🚀🚀🚀 update all result 🎯🏆🏆
Browse files Browse the repository at this point in the history
  • Loading branch information
shifufx committed Oct 26, 2022
1 parent 72288a5 commit 1917af6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 41 deletions.
79 changes: 41 additions & 38 deletions _posts/2022-09-1-september-result.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,45 +49,48 @@ excerpt: "Based on September"
| | |SELL |1673 |1660 |13 | :heavy_check_mark: | |
| | | | TOTAL TRADE | | |144 |67.5 |

## Total Trade

<canvas id="myChart" width="400" height="400"></canvas>
<div id="container" style="width:100%; height:400px;"></div>

<script>
var ctx = document.getElementById('myChart').getContext('2d');
var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
datasets: [{
label: '# of Votes',
data: [12, 19, 3, 5, 2, 3],
backgroundColor: [
'rgba(255, 99, 132, 0.2)',
'rgba(54, 162, 235, 0.2)',
'rgba(255, 206, 86, 0.2)',
'rgba(75, 192, 192, 0.2)',
'rgba(153, 102, 255, 0.2)',
'rgba(255, 159, 64, 0.2)'
],
borderColor: [
'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
],
borderWidth: 1
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
<script>

document.addEventListener('DOMContentLoaded', function () {
const chart = Highcharts.chart('container', {
chart: {
type: 'line'
},
title: {
text: 'Trade With Shifu FX'
},
xAxis: {
categories: ['Take Profit', 'Stop Loss', 'OFF'],
},
yAxis: {
title: {
text: 'PIP'
}
}]
}
}
});
},
tooltip: {
valueSuffix: 'pip'
},
series: [{
name: 'Take Profit',
data: [0, 45, 67, 144],
lineWidth: 3,
color: '#07ed16'
}, {
name: 'Stop Loss',
data: [0, 32, 44, 67],
lineWidth: 3,
color: '#ed1307'
}, {
name: 'OFF',
data: [0, 2, 3 ],
lineWidth: 3,
}

],
});
});
</script>
11 changes: 8 additions & 3 deletions _posts/2022-10-1-october-result.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,20 @@ document.addEventListener('DOMContentLoaded', function () {
},
series: [{
name: 'Take Profit',
data: [0, 174],
data: [0, 70, 129, 184],
lineWidth: 3,
color: '#07ed16'
}, {
name: 'Stop Loss',
data: [0, 95],
data: [0, 21 , 41, 95],
lineWidth: 3,
color: '#ed1307'
}],
}, {
name: 'OFF',
data: [0],
lineWidth: 3,
}
],
});
});
</script>

0 comments on commit 1917af6

Please sign in to comment.