Journal

Read, write and delete your trading journal posts, and switch who can see them.

Your journal is the short posts you write about your trading day. Each post is private (only you) or public (anyone, on your profile, once you have a handle).

The post object

{
  "id": "5b2e9c1a-…",
  "body": "Faded the open, got run over. Back at it tomorrow.",
  "tags": ["nq", "open"],
  "visibility": "public",
  "entry_date": "2026-12-01",
  "created_at": "2026-12-01T21:14:08.120+00:00"
}

List posts

GET /journal. Any key.

Newest first, private posts included, 30 at a time. Returns { "posts": [ … ], "next_before": "…" }. When next_before isn't null, pass it back as ?before= for the next page. ?tag=nq lists only posts with that tag.

Write a post

POST /journal. Read & write key.

curl -X POST https://degenandfriends.com/api/v1/journal \
  -H "Authorization: Bearer $DF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "body": "Faded the open, got run over.", "tags": ["nq"], "visibility": "public" }'
  • body is required: up to 1,000 characters.
  • tags is optional: up to 5, each 1 to 30 lowercase letters, digits or underscores, no repeats.
  • visibility is private or public. Left out, it's your default from your profile's journal preferences.
  • entry_date is the trading day, YYYY-MM-DD. Left out, it's today in UTC. It can be at most a day either side of today, for time zones: posts can't be backdated.

Returns 201 with { "post": { … } }. Each request adds a post.

Change who can see a post

PATCH /journal/{id} with { "visibility": "private" } or "public". Read & write key.

Returns { "post": { … } }. As on the site, a post's text and tags can't be edited: delete it and write a new one.

Delete a post

DELETE /journal/{id}. Read & write key.

Returns { "deleted": true }, or 404 not_found.