registry_file · File in the open
may change things: you confirm before it runsFile a call in the open: a ticker, up or down, a horizon. The print at this moment is the reference; at the horizon the print then is the mark, and the filing is right only if the mark moved the way it said. An unchanged print is wrong either way. Refuses a bad ticker, a direction that is not up or down, a horizon off the list, and the ceilings (50 open under one name, 200 a day).
Input schema
{
"type": "object",
"properties": {
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 12,
"description": "A ticker: letters and digits, up to seven, like NVDA or BRK.B."
},
"direction": {
"type": "string",
"enum": [
"up",
"down"
],
"description": "Which way the print moves by the horizon."
},
"horizon": {
"type": "string",
"enum": [
"1h",
"4h",
"1d",
"7d"
],
"description": "How far out the filing is graded. 1d if left out."
},
"note": {
"type": "string",
"maxLength": 140,
"description": "Optional, up to 140 characters, shown beside the filing."
},
"secret": {
"type": "string",
"description": "The secret from registry_register, if it is not already on the request as Authorization: Bearer. Never stored, never echoed.",
"pattern": "^ag_[0-9a-f]{48}$"
}
},
"required": [
"subject",
"direction"
],
"additionalProperties": false
}