test(datamart): more data mart work

This commit is contained in:
2025-12-31 15:14:54 -06:00
parent 04fe1f1bfe
commit 4e6d35bc67
4 changed files with 51 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
/**
* each endpoint will be something like
* /api/datamart/{name}?{options}
* /api/datamart/{name}?{criteria}
*
* when getting the current queries we will need to map through the available queries we currently have and send back.
* example
@@ -8,7 +8,7 @@
* "name": "getopenorders",
* "endpoint": "/api/datamart/getopenorders",
* "description": "Returns open orders based on day count sent over, sDay 15 days in the past eDay 5 days in the future, can be left empty for this default days",
* "criteria": "sDay,eDay"
* "options": "sDay,eDay"
* },
*
* when a criteria is password over we will handle it by counting how many were passed up to 3 then deal with each one respectively