{"id":43162,"date":"2026-06-22T21:45:47","date_gmt":"2026-06-23T02:45:47","guid":{"rendered":"https:\/\/library-staging.tradingtechnologies.com\/doc\/calculating-realized-and-unrealized-p-l-2\/"},"modified":"2026-06-22T21:45:47","modified_gmt":"2026-06-23T02:45:47","slug":"calculating-realized-and-unrealized-p-l-2","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/ja\/calculating-realized-and-unrealized-p-l-2\/","title":{"rendered":"\u5b9f\u73fe\u640d\u76ca\u3068\u975e\u5b9f\u73fe\u640d\u76ca\u306e\u8a08\u7b97"},"content":{"rendered":"<div><!--  \n\n<h3>Setting Excel throttle limits<\/h3>\n\n --><\/p>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u306e\u6570\u5f0f\u306f\u3001\u5b9f\u73fe\u640d\u76ca\u3068\u975e\u5b9f\u73fe\u640d\u76ca\u306e\u4e21\u65b9\u3092\u8a08\u7b97\u3059\u308b\u306e\u306b\u6700\u9069\u306a\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u81ea\u5206\u306e\u53d6\u5f15\u30b9\u30bf\u30a4\u30eb\u306b\u57fa\u3065\u3044\u3066\u3053\u308c\u3089\u306e\u5024\u3092\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u73fe\u640d\u76ca\u3068\u975e\u5b9f\u73fe\u640d\u76ca\u3092\u8a08\u7b97\u3059\u308b\u306b\u306f\u3001\u8a72\u5f53\u3059\u308b RTD  \u30d7\u30ed\u30d1\u30c6\u30a3\u3067 (\u9650\u6708 LTP \u7b49)\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u4ee5\u4e0b\u306e\u30bb\u30eb\u3092\u751f\u6210\u3057\u307e\u3059 (A1 \u7b49)\u3002<\/p>\n<ul>\n<li>A1 = \u9650\u6708 LTP<\/li>\n<li>B1 = \u9650\u6708\u30dd\u30a4\u30f3\u30c8 \u30d0\u30ea\u30e5\u30fc<\/li>\n<li>C1 = \u8cb7\u679a\u6570<\/li>\n<li>D1 = AvgBuyPrice#<\/li>\n<li>E1 = \u58f2\u679a\u6570<\/li>\n<li>F1 = AvgSellPrice#<\/li>\n<li>G1 = \u30cd\u30c3\u30c8 \u30dd\u30b8<\/li>\n<li>H1 = AvgOpenPrice#<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u5024\u3092\u4f7f\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u975e\u73fe\u5b9f\u640d\u76ca (P\/L) (\u9650\u6708\u306e\u901a\u8ca8\u3067) \u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n<p><strong>(\u9650\u6708 LTP &#8211; AvgOpenPrice#) x NetPos x \u9650\u6708\u30dd\u30a4\u30f3\u30c8 \u30d0\u30ea\u30e5\u30fc\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000<\/strong><\/p>\n<p>\u307e\u305f\u306f<\/p>\n<p><strong>(A1 &#8211; H1) x G1 x B1<\/strong><\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u73fe\u5b9f\u640d\u76ca (P\/L) (\u9650\u6708\u306e\u901a\u8ca8\u3067) \u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n<p><strong>(AvgSellPrice# &#8211; AvgBuyPrice#) x MIN(BuyQty, SellQty) x \u9650\u6708\u30dd\u30a4\u30f3\u30c8 \u30d0\u30ea\u30e5\u30fc<\/strong><\/p>\n<p>\u307e\u305f\u306f<\/p>\n<p><strong>(F1 &#8211; D1) x MIN(C1,E1) x B1<\/strong><\/p>\n<p>\u5229\u7528\u53ef\u80fd\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u4e00\u89a7\u306b\u95a2\u3057\u3066\u306f\u3001<a href=\"xl-rtd-properties.html\">Excel RTD \u30d7\u30ed\u30d1\u30c6\u30a3<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div><!--  \n\n\n\n<h3>Setting Excel throttle limits<\/h3>\n\n\n\n --><\/p>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u306e\u6570\u5f0f\u306f\u3001\u5b9f\u73fe\u640d\u76ca\u3068\u975e\u5b9f\u73fe\u640d\u76ca\u306e\u4e21\u65b9\u3092\u8a08\u7b97\u3059\u308b\u306e\u306b\u6700\u9069\u306a\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u81ea\u5206\u306e\u53d6\u5f15\u30b9\u30bf\u30a4\u30eb\u306b\u57fa\u3065\u3044\u3066\u3053\u308c\u3089\u306e\u5024\u3092\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u73fe\u640d\u76ca\u3068\u975e\u5b9f\u73fe\u640d\u76ca\u3092\u8a08\u7b97\u3059\u308b\u306b\u306f\u3001\u8a72\u5f53\u3059\u308b RTD  \u30d7\u30ed\u30d1\u30c6\u30a3\u3067 (\u9650\u6708 LTP \u7b49)\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u4ee5\u4e0b\u306e\u30bb\u30eb\u3092\u751f\u6210\u3057\u307e\u3059 (A1 \u7b49)\u3002<\/p>\n<ul>\n<li>A1 = \u9650\u6708 LTP<\/li>\n<li>B1 = \u9650\u6708\u30dd\u30a4\u30f3\u30c8 \u30d0\u30ea\u30e5\u30fc<\/li>\n<li>C1 = \u8cb7\u679a\u6570<\/li>\n<li>D1 = AvgBuyPrice#<\/li>\n<li>E1 = \u58f2\u679a\u6570<\/li>\n<li>F1 = AvgSellPrice#<\/li>\n<li>G1 = \u30cd\u30c3\u30c8 \u30dd\u30b8<\/li>\n<li>H1 = AvgOpenPrice#<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u5024\u3092\u4f7f\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u975e\u73fe\u5b9f\u640d\u76ca (P\/L) (\u9650\u6708\u306e\u901a\u8ca8\u3067) \u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n<p><strong>(\u9650\u6708 LTP &#8211; AvgOpenPrice#) x NetPos x \u9650\u6708\u30dd\u30a4\u30f3\u30c8 \u30d0\u30ea\u30e5\u30fc\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000<\/strong><\/p>\n<p>\u307e\u305f\u306f<\/p>\n<p><strong>(A1 &#8211; H1) x G1 x B1<\/strong><\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u73fe\u5b9f\u640d\u76ca (P\/L) (\u9650\u6708\u306e\u901a\u8ca8\u3067) \u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n<p><strong>(AvgSellPrice# &#8211; AvgBuyPrice#) x MIN(BuyQty, SellQty) x \u9650\u6708\u30dd\u30a4\u30f3\u30c8 \u30d0\u30ea\u30e5\u30fc<\/strong><\/p>\n<p>\u307e\u305f\u306f<\/p>\n<p><strong>(F1 &#8211; D1) x MIN(C1,E1) x B1<\/strong><\/p>\n<p>\u5229\u7528\u53ef\u80fd\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u4e00\u89a7\u306b\u95a2\u3057\u3066\u306f\u3001<a href=\"xl-rtd-properties.html\">Excel RTD \u30d7\u30ed\u30d1\u30c6\u30a3<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n","protected":false},"author":2,"template":"","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[274],"class_list":["post-43162","doc","type-doc","status-publish","hentry","docs-category-task-excel-integration-with-tt"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/43162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/43162\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=43162"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=43162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}