Skip to main content

One strategy and its current target-weight book

GET/signals/strategies/{id}

book is the newest book the source produced that Treasures has finished acting on, or null when there is none yet (or the newest one cannot be read; an older book is never substituted). as_of is when Treasures ingested the book, not the date of the underlying filing or disclosure.

book_hash identifies the book's contents (the set of ticker: weight pairs). Sources that restate an unchanged portfolio daily produce a new signal_id with the same book_hash, so compare hashes to know whether the weights moved.

Weights are decimal strings that sum to at most one; cash_weight is the remainder.

Requires your general (tik_) key; a reporting key is refused.

Request​

Responses​

OK