75 lines
4.3 KiB
JSON
75 lines
4.3 KiB
JSON
{
|
|
"type": "Dataset Definition",
|
|
"definition": {
|
|
"text": "A data set is a collection of files stored in the designated location, as per the definitions on the referenced data product in the corresponding data mine."
|
|
},
|
|
"paragraphs": [
|
|
{
|
|
"style": "Block",
|
|
"text": "Content"
|
|
},
|
|
{
|
|
"style": "Text",
|
|
"text": "A good part of what makes datasets easy to consume by other bots is the fact that they are standardized in terms of their structure. It is that structure that is specified in the dataset definitions."
|
|
},
|
|
{
|
|
"style": "Block",
|
|
"text": "Configuring"
|
|
},
|
|
{
|
|
"style": "Title",
|
|
"text": "Dataset Definition Configuration",
|
|
"updated": 1609788319432
|
|
},
|
|
{
|
|
"style": "Subtitle",
|
|
"text": "Properties",
|
|
"updated": 1609788325479
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "codeName is the name of the dataset as used within the code. 'Single-File' is a special value. Use it for datasets that do not depend on Time Frames and that have a timestamp Record Property instead of the regular Begin and End. When this type of datasets are a dependency of Market or Daily datasets, they need the codeName 'Single-File' in order to be found on disk.",
|
|
"updated": 1621100190528
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "type refers to the type of dataset; possible values are market files and daily files.",
|
|
"updated": 1609788409763
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "validTimeFrames refers to the time frames handled by the dataset."
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "filePath sets the path on which files are stored; the proper name of the data mine, the bot and the product need to be entered."
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "fileName sets the name of the files that constitute the dataset."
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "timeFrames sets the name and path of the file indicating which time frames shall be filtered when the users sets a time frames filter."
|
|
},
|
|
{
|
|
"style": "Subtitle",
|
|
"text": "Multi-Time-Frame-Market"
|
|
},
|
|
{
|
|
"style": "Json",
|
|
"text": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\",\n \"timeFrames\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Time.Frames.json\"\n }\n}",
|
|
"updated": 1622230173671
|
|
},
|
|
{
|
|
"style": "Subtitle",
|
|
"text": "Multi-Time-Frame-Daily",
|
|
"updated": 1622230146222
|
|
},
|
|
{
|
|
"style": "Json",
|
|
"text": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n },\n \"timeFrames\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Time.Frames.json\"\n }\n}",
|
|
"updated": 1622230187172
|
|
}
|
|
]
|
|
} |