{"id":158943,"date":"2022-09-26T11:58:43","date_gmt":"2022-09-26T15:58:43","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=158943"},"modified":"2023-01-17T15:43:31","modified_gmt":"2023-01-17T20:43:31","slug":"live-algo-trading-on-the-cloud-aws","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/","title":{"rendered":"Live Algo Trading on the Cloud \u2013 AWS"},"content":{"rendered":"\n<p><em>The article &#8220;Live Algo Trading on the Cloud \u2013 AWS&#8221; first appeared on <a href=\"https:\/\/algotrading101.com\/learn\/live-algo-trading-on-the-cloud-aws\/\">AlgoTrading101<\/a> Blog.<\/em><\/p>\n\n\n\n<p><strong><em>Excerpt<\/em><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-does-live-algorithmic-trading-on-the-cloud-mean\">What does live algorithmic trading on the Cloud mean?<\/h2>\n\n\n\n<p>Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\/7 while being easily maintainable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-are-the-pros-and-cons-of-deploying-your-trading-strategies-to-the-cloud\">What are the pros and cons of deploying your trading strategies to the Cloud?<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-the-pros\">The pros:<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Cloud services are easily accessible<\/strong>&nbsp;\u2013 they allow the user to access them at any time, from anywhere, and from almost any device.<\/li><li><strong>Can lower costs<\/strong>&nbsp;\u2013 cloud computing can lower the costs and provide you with a good connection and hardware that saves you money in the long run.<\/li><li><strong>Easy to maintain<\/strong>&nbsp;\u2013 you can upload your trading strategies to the cloud and get them running 24\/7 with minimal effort.<\/li><li><strong>Is scalable<\/strong>&nbsp;\u2013 you can store almost limitless amounts of data in the cloud.<\/li><li><strong>Easy to set up<\/strong>&nbsp;\u2013 setting up your cloud server is quite easy.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-the-cons\">The cons:<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Security risks<\/strong>&nbsp;\u2013 your data is being stored by a third-party provider and if a security breach happens your data is at high risk.<\/li><li><strong>Depends on the internet connection<\/strong>&nbsp;\u2013 even though this is the same case when running trading strategies by yourself, the cloud service provider can also suffer from downtime and other natural risks.<\/li><li><strong>Data confidentiality risk&nbsp;<\/strong>\u2013 your privacy is of utmost importance and when using a third-party cloud provider you can\u2019t be too sure that you\u2019re the only one accessing your data or being able to see it.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-the-cloud-service\">What is the Cloud Service?<\/h2>\n\n\n\n<p>A Cloud Service offers cloud computing as a service with an intent to provide affordable, easy and efficient access to various resources without the need to have your own hardware or infrastructure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-cloud-used-for\">What is Cloud used for?&nbsp;<\/h2>\n\n\n\n<p>Cloud services have many purposes for which they could be used for and here are some of the most common ones:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Algorithmic trading&nbsp;<\/strong>\u2013 cloud services allow algorithmic traders to run multiple bots that trade the market.<\/li><li><strong>Big data storage&nbsp;<\/strong>\u2013 clouds offer an almost limitless storage capacity which is great when dealing with big data.<\/li><li><strong>Backup and recovery<\/strong>&nbsp;\u2013 clouds can be frequently backed up and you can easily recover data from them. They also offer good disaster recovery.<\/li><li><strong>Test and Development<\/strong>&nbsp;\u2013 cloud services are great when testing and developing your applications and trading strategies.<\/li><li><strong>Model training&nbsp;<\/strong>\u2013 when doing machine learning work, model training can take up to several months, and running it on a cloud can save you computing power and in some cases even money.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-cloud-providers-are-good\">What cloud providers are good?<\/h2>\n\n\n\n<p>There are many cloud services and picking a quality one is important. In order to make your decisions process easier I will mention a few that are on top of their cloud game:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Amazon Web Services (AWS)<\/li><li>Microsoft Azure<\/li><li>Google Cloud Platform<\/li><li>Server Space<\/li><li>IBM Cloud Services<\/li><li>Oracle<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-are-amazon-web-services-aws\">What are Amazon Web Services (AWS)?<\/h2>\n\n\n\n<p>Amazon Web Services are cloud services that offer various features like computing power, database storage, content delivery, financial services, machine learning model training, and more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-should-i-use-aws\">Why should I use AWS?<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Easy to use<\/li><li>Pay for the amount you use<\/li><li>Affordable<\/li><li>Trusted<\/li><li>Has diverse services<\/li><li>Offers unlimited server capacity<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-shouldn-t-i-use-aws\">Why shouldn\u2019t I use AWS?<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Resources limited by region<\/li><li>Can be confusing for beginners<\/li><li>Hard to move to another provider<\/li><li>Has a steep learning curve<\/li><li>Suffer from the cons of Cloud services<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-kraken-bot\">Kraken Bot<\/h2>\n\n\n\n<p>In this article, we will want to explore the AWS Lightsail cloud service that offers affordable servers on which we can run our trading strategies. The simple trading strategy that we will use will feature the Kraken exchange.<\/p>\n\n\n\n<p>Before we set up a server and let the bot go crazy with trading, we need to explain how this strategy works and where you can learn how to code one.<\/p>\n\n\n\n<p>The main idea behind the strategy will be to buy ETH when BTC moves 5% in the last 5 minutes. For this to work, we will pull BTC prices in 5 minute intervals and calculate the percentage difference.<\/p>\n\n\n\n<p>If this difference is more or equal to 5% we will buy ETH, if the requirement isn\u2019t reached we will continue to loop around. The strategy also features error management, logging, and environmental variables.<\/p>\n\n\n\n<p>Error management is used to catch errors that might occur, logging is used so we can obtain data about our bot and what it\u2019s been up to while running on the server and environmental variables allow us to interact with the bot.<\/p>\n\n\n\n<p><a>The code below is how our trading strategy looks like and here you can find an article about&nbsp;<\/a><a href=\"https:\/\/algotrading101.com\/learn\/kraken-api-guide\/\">Kraken<\/a>&nbsp;and how to code a similar strategy by yourself.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Import the libraries and load the API Keys\nimport time, logging, os\nimport pandas as pd\nimport krakenex\nfrom pykrakenapi import KrakenAPI\napi = krakenex.API()\nkraken = KrakenAPI(api)\n\napi.load_key('KrakenPass.txt')\n\n# Create environment variables\ntrack_ticker = os.environ.get('ticker_to_track')\ntrade_ticker = os.environ.get('ticker_to_trade')\nlogname = os.environ.get('my_log_name') # Name of the saved log file\n\n# Set up the logging\nfor handler in logging.root.handlers&#91;:]:\n    logging.root.removeHandler(handler)\n\n\nlogging.basicConfig(level=logging.INFO, format='%(asctime)s: %(levelname)s: %(message)s', \n                    filename=logname, filemode='a')\nconsole = logging.StreamHandler()\nconsole.setLevel(logging.INFO)\nformatter = logging.Formatter('%(asctime)s: %(levelname)s: %(message)s')\nconsole.setFormatter(formatter)\nlogging.getLogger('').addHandler(console)\n\n# Create the main script logic\nwhile True:\n    logging.info('--------- Start of current 5 minute period ---------')\n    logging.info(pd.Timestamp.now())\n    \n    try:\n        BTC_old = float((kraken.get_ticker_information(track_ticker))&#91;'b']&#91;0]&#91;0])\n    except Exception as e:\n        logging.warning('Error obtaining data')\n\n    time.sleep(300)\n    \n    try:\n        BTC_new = float((kraken.get_ticker_information(track_ticker))&#91;'b']&#91;0]&#91;0])\n    except Exception as e:\n        logging.warning('Error obtaining data')\n    \n    percent = ((BTC_new - BTC_old)*100) \/ BTC_old\n    \n    logging.info(f'BTC moved {percent:.2f}% over the last 5 minutes')\n    \n    if percent &gt;= 5:\n        \n        try:\n            ETH = float((kraken.get_ticker_information(trade_ticker))&#91;'a']&#91;0]&#91;0]) + 2\n        except Exception as e:\n            logging.warning('Error obtaining data')\n        \n        try:\n            response = kraken.add_standard_order(pair=trade_ticker, type='buy', ordertype='limit', \n                                                 volume='0.007', price=ETH, validate=False)\n        except Exception as e:\n            logging.warning('Error placing order')\n            \n        logging.info(f'Order details:\\n{response}')\n        \n        time.sleep(2)\n        \n        try:\n            check_order = kraken.query_orders_info(response&#91;'txid']&#91;0])\n        except Exception as e:\n            logging.warning('Error checking order')\n    \n        if check_order&#91;'status']&#91;0] == 'open' or 'closed':\n            logging.info('Order completed sucessfully')\n            break\n        else:\n            logging.info('Order rejected')\n            break\n    else:\n        logging.info('--------- End of current 5 minute period ---------')<\/code><\/pre>\n\n\n\n<p>Notice: The code is stored in a private GitHub repository.<\/p>\n\n\n\n<p><em>Visit AlgoTrading101 for instructions on how to sign up for an AWS server: <a href=\"https:\/\/algotrading101.com\/learn\/live-algo-trading-on-the-cloud-aws\/\">https:\/\/algotrading101.com\/learn\/live-algo-trading-on-the-cloud-aws\/<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\/7 while being easily maintainable.<\/p>\n","protected":false},"author":815,"featured_media":140268,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[339,343,349,338,350,341,351,352,344,2197],"tags":[851,12792,12794,12791,12796,12793,1224,12795,595],"contributors-categories":[13746],"class_list":{"0":"post-158943","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-science","8":"category-programing-languages","9":"category-python-development","10":"category-ibkr-quant-news","11":"category-quant-asia-pacific","12":"category-quant-development","13":"category-quant-europe","14":"category-quant-north-america","15":"category-quant-regions","16":"category-quant-south-america","17":"tag-algo-trading","18":"tag-aws","19":"tag-google-cloud-platform","20":"tag-kraken-bot","21":"tag-krakenex","22":"tag-microsoft-azure","23":"tag-pandas","24":"tag-pykrakenapi","25":"tag-python","26":"contributors-categories-algotrading101"},"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Live Algo Trading on the Cloud \u2013 AWS | IBKR Quant<\/title>\n<meta name=\"description\" content=\"Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\/7 while being easily maintainable.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/158943\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Live Algo Trading on the Cloud \u2013 AWS | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\/7 while being easily maintainable.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-26T15:58:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-17T20:43:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/05\/quant-server-room.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"564\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Igor Radovanovic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Igor Radovanovic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Igor Radovanovic\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/b43b33f424bad38d84a7b78eb0193592\"\n\t            },\n\t            \"headline\": \"Live Algo Trading on the Cloud \u2013 AWS\",\n\t            \"datePublished\": \"2022-09-26T15:58:43+00:00\",\n\t            \"dateModified\": \"2023-01-17T20:43:31+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/\"\n\t            },\n\t            \"wordCount\": 818,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/05\\\/quant-server-room.jpg\",\n\t            \"keywords\": [\n\t                \"Algo Trading\",\n\t                \"AWS\",\n\t                \"Google Cloud Platform\",\n\t                \"Kraken Bot\",\n\t                \"krakenex\",\n\t                \"Microsoft Azure\",\n\t                \"Pandas\",\n\t                \"pykrakenapi\",\n\t                \"Python\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\n\t                \"Quant\",\n\t                \"Quant Asia Pacific\",\n\t                \"Quant Development\",\n\t                \"Quant Europe\",\n\t                \"Quant North America\",\n\t                \"Quant Regions\",\n\t                \"Quant South America\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/\",\n\t            \"name\": \"Live Algo Trading on the Cloud \u2013 AWS | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/05\\\/quant-server-room.jpg\",\n\t            \"datePublished\": \"2022-09-26T15:58:43+00:00\",\n\t            \"dateModified\": \"2023-01-17T20:43:31+00:00\",\n\t            \"description\": \"Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\\\/7 while being easily maintainable.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/live-algo-trading-on-the-cloud-aws\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/05\\\/quant-server-room.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/05\\\/quant-server-room.jpg\",\n\t            \"width\": 1000,\n\t            \"height\": 564,\n\t            \"caption\": \"Quant\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/b43b33f424bad38d84a7b78eb0193592\",\n\t            \"name\": \"Igor Radovanovic\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/igor-radovanovic\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Live Algo Trading on the Cloud \u2013 AWS | IBKR Quant","description":"Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\/7 while being easily maintainable.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/158943\/","og_locale":"en_US","og_type":"article","og_title":"Live Algo Trading on the Cloud \u2013 AWS | IBKR Quant Blog","og_description":"Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\/7 while being easily maintainable.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/","og_site_name":"IBKR Campus US","article_published_time":"2022-09-26T15:58:43+00:00","article_modified_time":"2023-01-17T20:43:31+00:00","og_image":[{"width":1000,"height":564,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/05\/quant-server-room.jpg","type":"image\/jpeg"}],"author":"Igor Radovanovic","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Igor Radovanovic","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/"},"author":{"name":"Igor Radovanovic","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/b43b33f424bad38d84a7b78eb0193592"},"headline":"Live Algo Trading on the Cloud \u2013 AWS","datePublished":"2022-09-26T15:58:43+00:00","dateModified":"2023-01-17T20:43:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/"},"wordCount":818,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/05\/quant-server-room.jpg","keywords":["Algo Trading","AWS","Google Cloud Platform","Kraken Bot","krakenex","Microsoft Azure","Pandas","pykrakenapi","Python"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Asia Pacific","Quant Development","Quant Europe","Quant North America","Quant Regions","Quant South America"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/","name":"Live Algo Trading on the Cloud \u2013 AWS | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/05\/quant-server-room.jpg","datePublished":"2022-09-26T15:58:43+00:00","dateModified":"2023-01-17T20:43:31+00:00","description":"Live algorithmic trading on the Cloud means that your trading bots can use the cloud provider\u2019s resources to run 24\/7 while being easily maintainable.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/live-algo-trading-on-the-cloud-aws\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/05\/quant-server-room.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/05\/quant-server-room.jpg","width":1000,"height":564,"caption":"Quant"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/b43b33f424bad38d84a7b78eb0193592","name":"Igor Radovanovic","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/igor-radovanovic\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/05\/quant-server-room.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/158943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/815"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=158943"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/158943\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/140268"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=158943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=158943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=158943"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=158943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}