Mariam History Added

This commit is contained in:
Luis Fernando Molina committed 2018-02-27 16:59:45 +01:00
1 parent e5da034b1f
commit 59662fe76a
7 files changed
+156 -4

No files matched your search

Binary file not shown.
+98
View File
@@ -355,6 +355,104 @@ function newEcosystem() {
sas: '?sv=2017-04-17&ss=f&srt=sco&sp=r&se=2018-12-31T19:28:33Z&st=2018-02-22T11:28:33Z&spr=https&sig=YaprSp9zO%2Fsz0nPPWwPMqPACxZTnYhSWKApfun%2Bfez4%3D',
fileUri: 'https://' + 'aatom' + '.file.core.windows.net'
}
},
{
codeName: "AAMariam",
displayName: "Mariam",
type: "Trading",
version: {
number: "1.0.0",
status: "Mantained", // Discontinued
},
products: {
product: [{
codeName: "Trading History",
displayName: "Mariam Trading History",
description: "General information about Mariam trading history.",
storageAccount: "aamariam",
filePath: "@Exchange/Mariam/dataSet.V1/Output/Trading-Process",
fileName: "Execution.History.json",
exchangeList: {
exchange: [{
name: "Poloniex",
datetimeRange: {
minDatetime: "2017-02-19 19:15:00.000 GMT+0000",
maxDatetime: "2018-02-13 10:10:00.000 GMT+0000"
}
}]
},
layers: {
layer: [{
codeName: "Trading History",
displayName: "Mariam Trading History",
exchangeList: ["Poloniex"],
validPeriods: ["24-hs", "12-hs", "08-hs", "06-hs", "04-hs", "03-hs", "02-hs", "01-hs"],
plotter: {
devTeam: "AAMasters",
repo: "AAMariam-Plotter",
moduleName: "History",
target: "Timeline"
}
}]
}
}, {
codeName: "Trading Details",
displayName: "Mariam Trading Details",
description: "Detailed information about Mariam execution.",
storageAccount: "aamariam",
filePath: "@Exchange/Mariam/dataSet.V1/Output/Trading-Process//@Year/@Month/@Day/@Hour/@Minute",
fileName: "Execution.Context.json",
exchangeList: {
exchange: [{
name: "Poloniex",
datetimeRange: {
minDatetime: "2017-02-19 19:15:00.000 GMT+0000",
maxDatetime: "2018-02-13 10:10:00.000 GMT+0000"
}
}]
},
layers: {
layer: [{
codeName: "Trading Details",
displayName: "Mariam Trading Details",
exchangeList: ["Poloniex"],
validPeriods: ["24-hs", "12-hs", "08-hs", "06-hs", "04-hs", "03-hs", "02-hs", "01-hs"],
plotter: {
devTeam: "AAMasters",
repo: "AAMariam-Plotter",
moduleName: "Details",
target: "Timeline"
}
}]
}
}]
},
processes:
{
process: [{
name: "Trading-Process",
description: "Read trades files and generates one minute candles and volumes files for each day."
}]
},
directDependencies: [],
directDependents: [],
collaboratorsList: [],
github: {
org: "AAMasters",
repos: {
repo: [{
name: "AABruce",
description: "Produces two data-sets with candles and volumes for all markets at all exchanges.",
openIssues: 0,
openPullRequests: 0,
contributors: 1
}]
}
},
storage: {
sas: '?sv=2017-07-29&ss=f&srt=sco&sp=r&se=2018-12-30T23:44:52Z&st=2018-02-25T15:44:52Z&spr=https&sig=0pzOTcVAAOkgH7C4KmA1Rbs15kyjvVC1XFCsLQYjXKU%3D',
fileUri: 'https://' + 'aamariam' + '.file.core.windows.net'
}
}
]
}
+2
View File
@@ -34,6 +34,8 @@ function newFileCloud() {
filePath = filePath.replace("@Year", pDatetime.getUTCFullYear());
filePath = filePath.replace("@Month", pad(pDatetime.getUTCMonth() + 1, 2));
filePath = filePath.replace("@Day", pad(pDatetime.getUTCDate(), 2));
filePath = filePath.replace("@Hour", pad(pDatetime.getUTCHours(), 2));
filePath = filePath.replace("@Minute", pad(pDatetime.getUTCMinutes(), 2));
}
+18 -1
View File
@@ -14,6 +14,8 @@ function newChartLayersPanel() {
OLIVIA_VOLUMES: 'Olivia Volumes',
TOM_CANDLE_STAIRS: 'Tom Candle-Stairs',
TOM_VOLUME_STAIRS: 'Tom Volume-Stairs',
MARIAM_TRADE_HISTORY: 'Mariam Trades History',
MARIAM_TRADES_DETAILS: 'Mariam Trades Details',
ATH: 'All-time Highs and Lows',
HIGH_LOWS: 'High and Lows',
FORECAST: 'Forecast',
@@ -63,7 +65,22 @@ function newChartLayersPanel() {
var buttonPosition;
var buttonNames = [LAYER_NAMES.OLIVIA_CANDLES, LAYER_NAMES.OLIVIA_VOLUMES, LAYER_NAMES.TOM_CANDLE_STAIRS, LAYER_NAMES.TOM_VOLUME_STAIRS, LAYER_NAMES.ATH, LAYER_NAMES.HIGH_LOWS, LAYER_NAMES.FORECAST, LAYER_NAMES.ORDER_BOOKS, LAYER_NAMES.CANDLE_STAIRS, LAYER_NAMES.VOLUME_STAIRS, LAYER_NAMES.BUY_SELL_BALANCE, LAYER_NAMES.LINEAR_REGRESION_CURVE];
var buttonNames = [
LAYER_NAMES.OLIVIA_CANDLES,
LAYER_NAMES.OLIVIA_VOLUMES,
LAYER_NAMES.TOM_CANDLE_STAIRS,
LAYER_NAMES.MARIAM_TRADES_DETAILS,
LAYER_NAMES.MARIAM_TRADE_HISTORY,
LAYER_NAMES.MARIAM_TRADE_HISTORY,
LAYER_NAMES.ATH,
LAYER_NAMES.HIGH_LOWS,
LAYER_NAMES.FORECAST,
LAYER_NAMES.ORDER_BOOKS,
LAYER_NAMES.CANDLE_STAIRS,
LAYER_NAMES.VOLUME_STAIRS,
LAYER_NAMES.BUY_SELL_BALANCE,
LAYER_NAMES.LINEAR_REGRESION_CURVE
];
var lastY = 5;
buttons = [];
+34 -2
View File
@@ -191,7 +191,7 @@ function newTimelineChart() {
layerAAMastersAATomCandleStairs.container.frame.position.x = timelineChart.container.frame.width / 2 - layerAAMastersAATomCandleStairs.container.frame.width / 2;
layerAAMastersAATomCandleStairs.container.frame.position.y = timelineChart.container.frame.height / 2 - layerAAMastersAATomCandleStairs.container.frame.height / 2;
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.OLIVIA_CANDLES);
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.TOM_CANDLE_STAIRS);
layerAAMastersAATomCandleStairs.initialize(DEFAULT_EXCHANGE, DEFAULT_MARKET, INITIAL_DATE, INITIAL_TIME_PERIOD, layerStatus, onOliviaCandlesInitialized);
@@ -223,7 +223,7 @@ function newTimelineChart() {
layerAAMastersAATomVolumeStairs.container.frame.position.x = timelineChart.container.frame.width / 2 - layerAAMastersAATomVolumeStairs.container.frame.width / 2;
layerAAMastersAATomVolumeStairs.container.frame.position.y = timelineChart.container.frame.height / 2 - layerAAMastersAATomVolumeStairs.container.frame.height / 2;
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.OLIVIA_VOLUMES);
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.TOM_VOLUME_STAIRS);
layerAAMastersAATomVolumeStairs.initialize(DEFAULT_EXCHANGE, DEFAULT_MARKET, INITIAL_DATE, INITIAL_TIME_PERIOD, layerStatus, onOliviaVolumeStairsInitialized);
@@ -238,6 +238,38 @@ function newTimelineChart() {
/* AAMasters AAMariam Trading History */
let layerAAMastersAAMariamTradingHistory = newAAMastersAAMariamTradingHistory();
function loadVolumeStairs() {
layerAAMastersAAMariamTradingHistory.container.displacement.parentDisplacement = timelineChart.container.displacement;
layerAAMastersAAMariamTradingHistory.container.zoom.parentZoom = timelineChart.container.zoom;
layerAAMastersAAMariamTradingHistory.container.frame.parentFrame = timelineChart.container.frame;
layerAAMastersAAMariamTradingHistory.container.parentContainer = timelineChart.container;
layerAAMastersAAMariamTradingHistory.container.frame.width = timelineChart.container.frame.width * 1;
layerAAMastersAAMariamTradingHistory.container.frame.height = timelineChart.container.frame.height * 1;
layerAAMastersAAMariamTradingHistory.container.frame.position.x = timelineChart.container.frame.width / 2 - layerAAMastersAAMariamTradingHistory.container.frame.width / 2;
layerAAMastersAAMariamTradingHistory.container.frame.position.y = timelineChart.container.frame.height / 2 - layerAAMastersAAMariamTradingHistory.container.frame.height / 2;
layerStatus = chartLayersPanel.getLayerStatus(chartLayersPanel.layerNames.MARIAM_TRADE_HISTORY);
layerAAMastersAAMariamTradingHistory.initialize(DEFAULT_EXCHANGE, DEFAULT_MARKET, INITIAL_DATE, INITIAL_TIME_PERIOD, layerStatus, onOliviaVolumeStairsInitialized);
function onOliviaVolumeStairsInitialized() {
addLayers();
splashScreenNeeded = false; // This is when we dont need a splash screen anymore!
}
}
/* All Time Layer */
/*
+3
View File
@@ -10,6 +10,9 @@
<script type="text/javascript" src="AAMasters/AATom/CandleStairs.js"></script>
<script type="text/javascript" src="AAMasters/AATom/VolumeStairs.js"></script>
<script type="text/javascript" src="AAMasters/AAMariam/History.js"></script>
<script type="text/javascript" src="AAMasters/AAMariam/Details.js"></script>
<script type="text/javascript" src="Ecosystem.js"></script>
<script type="text/javascript" src="FileServer.js"></script>
<script type="text/javascript" src="FileCloud.js"></script>
+1 -1
View File
@@ -30,7 +30,7 @@ function onContent (error, result) {
return;
*/
let debugMode = false;
let debugMode = true;
let githubPages = new Map;
//'use strict';