{"id":409812,"date":"2024-12-14T23:42:31","date_gmt":"2024-12-14T16:42:31","guid":{"rendered":"https:\/\/www.swingfish.trade\/blog\/library\/philosophy\/2024\/12\/ctrader-apple-watch\/"},"modified":"2026-06-11T14:39:35","modified_gmt":"2026-06-11T07:39:35","slug":"ctrader-apple-watch","status":"publish","type":"post","link":"https:\/\/www.swingfish.trade\/blog\/library\/2024\/12\/ctrader-apple-watch\/","title":{"rendered":"cTrader meets AppleWatch"},"content":{"rendered":"<div>\n<p data-line=\"0\">So, you own an Apple Watch and want to put it to good use, perhaps while you\u2019re sitting on the toilet or engaged in activities other than day trading?<\/p>\n<p data-line=\"2\">Here\u2019s a solution for that.<\/p>\n<p><!--more--><br \/>\nYou\u2019ll need four things:<a title=\"\" href=\"https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/ctrader-pnl-applewatch-scaled.jpeg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-17957\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/ctrader-pnl-applewatch-480x640-2.jpeg\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" srcset=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/ctrader-pnl-applewatch-480x640-2.jpeg 480w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/ctrader-pnl-applewatch-768x1024.jpeg 768w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/ctrader-pnl-applewatch-1152x1536.jpeg 1152w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/ctrader-pnl-applewatch-1536x2048.jpeg 1536w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/ctrader-pnl-applewatch-scaled.jpeg 1920w\" alt=\"\" width=\"350\" height=\"467\" \/><\/a><\/p>\n<ul>\n<li>An Apple Watch (duh?)<\/li>\n<li data-line=\"2\"><a href=\"https:\/\/www.apachefriends.org\/\" target=\"_blank\" rel=\"noopener\">XAMPP<\/a> installed on the computer running cTrader<\/li>\n<li><a href=\"https:\/\/www.swingfish.trade\/swingfish-helper\">SwingFish Helper calgo<\/a> (which you should have anyway <img decoding=\"async\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/1f609-1.png\" alt=\"\ud83d\ude09\" \/> )<\/li>\n<li data-line=\"4\">Five minutes of your time<\/li>\n<\/ul>\n<p>First off, XAMPP installs a lightweight webserver on your computer, which is useful for many applications later on. The system load it generates is almost negligible (below 0.2%). Just download the XAMPP package from <a href=\"https:\/\/www.apachefriends.org\/download.html\" target=\"_blank\" rel=\"noopener\">apachefriends.org<\/a>, install it, set it up with the web root, and you\u2019re all set.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17959 alignnone\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/xaamp-taskmanager-1.jpg\" alt=\"\" width=\"501\" height=\"113\" \/><\/p>\n<p>Next, configure the SwingFish Helper to write statistics by enabling \u2018overlay\/Enable Statistics file\u2019 and set the location of these files to the web root defined in the XAMPP configuration.<\/p>\n<p><a title=\"\" href=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/swingfish-helper-json-output.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-17973 alignnone\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/swingfish-helper-json-output.jpg\" alt=\"\" width=\"425\" height=\"216\" \/><\/a><\/p>\n<p>This setup allows the real-time status file to be readable by a web request, ensuring these requests won\u2019t interfere with your cTrader and trading activities<\/p>\n<p>With this, we can perform all the exciting functions we like. Since the statistics file is saved in <a href=\"https:\/\/www.w3schools.com\/js\/js_json_intro.asp\" target=\"_blank\" rel=\"noopener\">JSON format<\/a>, it can be easily read from another machine.<\/p>\n<p>For example, you can view my real-time trade status on the SwingFish website at <a href=\"https:\/\/www.swingfish.trade\/tradingroom\">swingfish.trade\/tradingroom<\/a>, where this data originates from this setup.<\/p>\n<p><a href=\"https:\/\/www.swingfish.trade\/tradingroom\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17958\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/realtime-pnl-on-swingfish.trade_-640x480-2.jpeg\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" srcset=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/realtime-pnl-on-swingfish.trade_-640x480-2.jpeg 640w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/realtime-pnl-on-swingfish.trade_-1024x768.jpeg 1024w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/realtime-pnl-on-swingfish.trade_-768x576.jpeg 768w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/realtime-pnl-on-swingfish.trade_-1536x1152.jpeg 1536w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/realtime-pnl-on-swingfish.trade_-2048x1536.jpeg 2048w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/realtime-pnl-on-swingfish.trade_-scaled.jpeg 2560w\" alt=\"\" width=\"476\" height=\"357\" \/><\/a><\/p>\n<p>Now, how do we get this to work on the Apple Watch? It\u2019s actually VERY simple, thanks to OSX Shortcuts. (works on iPhone too)<\/p>\n<p><a title=\"\" href=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/applewatch-schortcuts-1.jpeg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\">\u00a0<\/a><a title=\"\" href=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/applewatch-ctrader-screenshoot-1.jpeg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-17956 alignnone\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/applewatch-ctrader-screenshoot-1.jpeg\" alt=\"\" width=\"230\" height=\"281\" \/><\/a><\/p>\n<p>Simply create a shortcut that loads the JSON file and then displays it on your watch display.<br \/>\nExample:<a title=\"\" href=\"https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/SCR-20241216-dkqh.png\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-17960\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/SCR-20241216-dkqh-578x640-2.png\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" srcset=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/12\/SCR-20241216-dkqh-578x640-2.png 578w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/SCR-20241216-dkqh-768x850.png 768w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/12\/SCR-20241216-dkqh.png 925w\" alt=\"\" width=\"578\" height=\"640\" \/><\/a><\/p>\n<blockquote><p>If you encounter any issues while setting up the shortcut, feel free to let me know. I can share my shortcut with you for a one-click setup, where you\u2019ll only need to update the URL to your own cTrader.<\/p><\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div>So, you own an Apple Watch and want to put it to good use, perhaps while you\u2019re sitting on the toilet or engaged in activities other than day trading? Here\u2019s a solution for that. You\u2019ll need four things: An Apple Watch (duh?) XAMPP installed on the computer running cTrader SwingFish Helper calgo (which you should [\u2026]<\/div>\n","protected":false},"author":1,"featured_media":409760,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97,55],"tags":[117],"class_list":["post-409812","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology-broker-news","category-library","tag-0x8-trading"],"_links":{"self":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts\/409812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/comments?post=409812"}],"version-history":[{"count":5,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts\/409812\/revisions"}],"predecessor-version":[{"id":431911,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts\/409812\/revisions\/431911"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/media\/409760"}],"wp:attachment":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/media?parent=409812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/categories?post=409812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/tags?post=409812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}