Skip to main content

Module trade_markers

Module trade_markers 

Source

Structs§

TradeRecord
A unified trade record aggregated from thinking logs and paper fills.

Functions§

action_to_side
Map a decision action string to a normalised side (“buy” or “sell”). Returns None for actions that are not trades (e.g. “hold”).
parse_timestamp_to_unix
Parse an ISO-8601 / RFC-3339 timestamp string to a Unix timestamp in seconds. Returns None if the string cannot be parsed.