12
Follow
3
Followers
"時間:" + _D())
上記の文は,ホストのマシンで,例えば,シンガポールのサーバーで,UTCの時間のように表示されていますが,シンガポールの現地時間は北京と同じです.
backopentime = new Date()
Log("backopentime=", backopentime)
ログは,このような時間値ではなく, 2022-03-06 23:29:17 のような正規の時間形式を示しています:updateTime":1646356161044,この値はどうやって表示されるのですか?
プログラムでこの時間値を記録する必要があるため,もしプログラムが再起動したときに再起動できる場合,この時間値を変更するために手動入力が必要な場合は,2022-03-06 23:29:17ではなく1646356161044のような数値を入力する必要があります.
-- 記録する
_G("backopentime", backopentime)
-- 回復しました
backopentime = _G("backopentime")
ありがとうございました
Related Recommendations
Built-In Function_Cross Analysis and InstructionsHow to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engine
Comment
All comments (5)
- 1
