Files
FX-ML-Trading-Engine/QuantTrader/execution/__pycache__/order_store.cpython-312.pyc
T

10 lines
2.1 KiB
Plaintext
Raw Normal View History

2025-11-14 22:56:44 +00:00
Ë
m idãó`dZddlmZddlZddlmZddlmZddlm Z ddl
m Z Gdd «Z y)
z*Simple JSONL order store for audit/replay.é)Ú annotationsN)Úasdict)ÚPath)ÚIterable)Ú OrderParamscó&eZdZdddZddZddZy) Ú
OrderStorecórt|«|_|jjjdd¬«y)NT)ÚparentsÚexist_ok)rÚpathÚparentÚmkdir)Úselfr
s úP/Users/chuan/Documents/Projects/FX_Backtest/QuantTrader/execution/order_store.pyÚ__init__zOrderStore.__init__s*ܘ“JˆŒ Ø ‰ ×Ñ×Ñ t°dÐÕcóÔd|it|«¥}|jjdd¬«5}|jt j
|«dz«ddd«y#1swYyxYw)order_idÚutf-8©ÚencodingÚ
)rr
ÚopenÚwriteÚjsonÚdumps)rrÚparamsÚrecordÚfhs rÚappendzOrderStore.appendsQؘ9¬&°«.Ð9ˆØ
Y‰Y^‰^˜C¨'ˆ