{"id":47192,"date":"2019-10-10T10:58:29","date_gmt":"2019-10-10T14:58:29","guid":{"rendered":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/"},"modified":"2024-04-24T14:36:38","modified_gmt":"2024-04-24T18:36:38","slug":"automate-your-pricing-chores","status":"publish","type":[3762],"link":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/","title":{"rendered":"Automate your pricing chores with Bloomberg\u2019s MARS API and Python"},"content":{"rendered":"<div  class=\"bbg-row-container\">\n    <style>section[data-anchor=row-69ff0a15d1ce5]::before {\n\t\t\t\tbackground-color: #eeeeee;\n\t\t\t}<\/style>\n    <section class=\"bbg-row bg--custom-color  bg--eeeeee text--black bbg-row--full-bg-bleed\" data-anchor='row-69ff0a15d1ce5'>\n        \n        \n        <div\n            class=\"bbg-row--content\"\n                    >\n            \n            <p><div\n    class=\"bbg-column bbg-column--width-2\"\n    style=\"\"\n    >\n    \n<\/div><div\n    class=\"bbg-column bbg-column--width-8 bbg-column--valign-bottom\"\n    style=\"\"\n    >\n    <p>    <ul class=\"bbg-categories_list\">\n                    <li>\n                <a href=\"https:\/\/www.bloomberg.com\/professional\/insights\/category\/data\/\" rel=\"category tag\">\n                    Data\n                <\/a>\n            <\/li>\n                    <li>\n                <a href=\"https:\/\/www.bloomberg.com\/professional\/insights\/category\/financial-services\/\" rel=\"category tag\">\n                    Financial Services\n                <\/a>\n            <\/li>\n                    <li>\n                <a href=\"https:\/\/www.bloomberg.com\/professional\/insights\/category\/markets\/\" rel=\"category tag\">\n                    Markets\n                <\/a>\n            <\/li>\n                    <li>\n                <a href=\"https:\/\/www.bloomberg.com\/professional\/insights\/category\/risk\/\" rel=\"category tag\">\n                    Risk\n                <\/a>\n            <\/li>\n                    <li>\n                <a href=\"https:\/\/www.bloomberg.com\/professional\/insights\/category\/trading\/\" rel=\"category tag\">\n                    Trading\n                <\/a>\n            <\/li>\n            <\/ul>\n<div\n    class=\"bbg-spacer\"\n        style=\"height: 24px !important\"\n    >\n<\/div>    <h1 class=\"bbg-metadata bbg-metadata--title\">Automate your pricing chores with Bloomberg\u2019s MARS API and Python<\/h1>\n<\/p>\n\n<\/div>\n\n\n                    <\/div>\n    <\/section>\n<\/div>\n\n<div  class=\"bbg-row-container\">\n    <section class=\"bbg-row  text--black row-padding--top-compact row-padding--bottom-none bbg-row--full-bg-bleed\" data-anchor='row-69ff0a15d78e8'>\n        \n        \n        <div\n            class=\"bbg-row--content\"\n                    >\n            \n            <p><div\n    class=\"bbg-column bbg-column--width-2\"\n    style=\"\"\n    >\n    \n<\/div><div\n    class=\"bbg-column bbg-column--width-8\"\n    style=\"\"\n    >\n    <p><div\n    class=\"bbg-spacer\"\n        style=\"height: 40px !important\"\n    >\n<\/div>    <p class=\"bbg-metadata bbg-metadata--date\">October 10, 2019<\/p>\n<\/p>\n\n<\/div>\n\n\n                    <\/div>\n    <\/section>\n<\/div>\n\n<div  class=\"bbg-row-container\">\n    <section class=\"bbg-row  text--black bbg-row--full-bg-bleed\" data-anchor='row-69ff0a15d9015'>\n        \n        \n        <div\n            class=\"bbg-row--content\"\n                    >\n            \n            <p><div\n    class=\"bbg-column bbg-column--width-2\"\n    style=\"\"\n    >\n    \n<\/div><div\n    class=\"bbg-column bbg-column--width-8\"\n    style=\"\"\n    >\n    <div\n\tclass=\"bb-wysiwyg\"\n\t\t>\n\t<p><em>Bloomberg Market Specialists Francesco Tonin and Samuel Popper contributed to this article. The original version appeared first on the Bloomberg Terminal.<br \/>\n<\/em><br \/>\nRepetitive pricing tasks have been part of the job for salespeople and traders for decades. It used to be that they had to compile indicative prices by hand when clients would call in with a request. Then computers picked up the chore of running the numbers, while the salespeople and traders focused on selecting the instruments for the computer to price, inputting market parameters and compiling options for the client to choose from.<\/p>\n<p>Consider foreign exchange, the most liquid market in the world. Typically a client request would specify the currency, the intent to buy or sell and the value date for the transactions \u2014 for example, \u201cbuy euros a week from today.\u201d The salesperson would be expected to quickly reply with prices for a number of structures \u2014 in this case perhaps the options would include the forward rate for the EUR-USD currency pair, the premium of an at-the-money euro vanilla option (maybe a call to buy euros at a set exchange rate on or before expiration) and the price of a euro call spread (to indemnify the client for any euro appreciation above a specified level, up to a ceiling amount).<\/p>\n<p>Seasoned traders and salespeople often price lists like this a few times each day. But even those who are really good at it will still need to spend 15 minutes on the task each time \u2014 and there\u2019s always the possibility of a clerical error.<\/p>\n\n<\/div>\n\n\n<\/div>\n\n\n                    <\/div>\n    <\/section>\n<\/div>\n\n<div  class=\"bbg-row-container\">\n    <section class=\"bbg-row  text--black bbg-row--full-bg-bleed\" data-anchor='row-69ff0a15dabdd'>\n        \n        \n        <div\n            class=\"bbg-row--content\"\n                    >\n            \n            <p><div\n    class=\"bbg-column bbg-column--width-2\"\n    style=\"\"\n    >\n    \n<\/div><div\n    class=\"bbg-column bbg-column--width-8\"\n    style=\"\"\n    >\n    <div class=\"bbg-interstitial\" aria-label=\"interstitial\" tabindex=\"0\">\n\t<style>\n\t\t.bbg-interstitial #card_1.bbg-card_hasCta{\n\t\t\tbackground:rgba(0,0,0,0);\n\t\t\tpadding: 104px;\n\t\t\t\n\t\t\t\n\t\t}\n\t\t.bbg-interstitial #card_1.bbg-card_hasCta .bbg-card__content, .bbg-interstitial #card_1.bbg-card_hasCta .bbg-card__content p{\n\t\t\tcolor:inherit;\n\t\t}\n\t\t@media (max-width: 768px) {\n\t\t\t.bbg-interstitial #card_1.bbg-card_hasCta{\n\t\t\t\tpadding: 80px 32px;\n\t\t\t}\n\t\t}\n\t\t@media (max-width: 480px) {\n\t\t\t.bbg-interstitial #card_1.bbg-card_hasCta{\n\t\t\t\tpadding: 80px 18px;\n\t\t\t}\n\t\t}\n\t<\/style>\n\t<div class=\"wpb_content_element bbg-card  bbg-card-dark bbg-card_hasCta has_interstitial\" id=\"card_1\" data-card_type=\"no_image\">\n  \n  \n  <div class=\"bbg-card__innerwrapper\">\n    <div class=\"bbg-card__content\">\n      \n      \n                      <h3 class=\"bbg-card__title\">Discover more with Bloomberg newsletters<\/h3>\n      \n              <div class=\"bbg-card__wysiwyg bb-wysiwyg\"><p>Subscribe now<\/p>\n<\/div>\n          <\/div>\n\n          \n<div\n  id=\"cta_2273398623734586059\"\n  class=\"wpb_content_element bbg-cta icon icon-arrow\">\n  <style>\n    \n    \n    \n  <\/style>\n  <div\n    class=\"bbg-cta-link link-holder\"\n    data-links-type=\"cta-links\">\n    <p class=\"bbg-cta-p right\">\n      <a\n        class=\"bbg-cta-link link interstitial_cta\"\n        href=\"https:\/\/www.bloomberg.com\/professional\/insights\/newsletter\/\"\n        target=\"_blank\"\n        rel=\"\"\n        data-section-name=\"\"\n                role=\"button\"\n        aria-label=\"Learn more\"\n        >\n                <\/a>\n    <\/p>\n  <\/div>\n<\/div>\n\n      <\/div>\n\n  <\/div>\n\n<\/div>\n<div\n\tclass=\"bb-wysiwyg\"\n\t\t>\n\t<p>However, with more and more computer-savvy graduates entering the financial workplace, coding skills are widespread. You can easily use an open-source computer language such as Python to automate the pricing of all of these structures. If you\u2019re not familiar with coding, chances are one of your colleagues is.<\/p>\n<p>The code needed to price the above structures and many others is pretty basic if you have access to Bloomberg\u2019s extensive library of pricing functions and portfolio manipulation via its Multi-Asset Risk System API. The MARS API provides consistent pricing and risk data to model every deal in a portfolio, and offers programmatic access to that pricing and risk infrastructure. This makes it easy to set up an automatic pricer.<\/p>\n<p>Here\u2019s a sample of how you can use Python to perform pricing tasks:<\/p>\n\n<\/div>\n<div id=\"\" class=\"wpb_content_element bbg-single-image align-center\">\n    <figure class=\"bbg-single-image__figure\" style=\"max-width:1024px\">\n                <img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"577\" src=\"https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/professional\/sites\/10\/pythonscreen.jpg\" class=\"bbg-single-image__image attachment-large\" alt=\"\" title=\"pythonscreen\" srcset=\"https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/professional\/sites\/10\/pythonscreen.jpg 800w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/professional\/sites\/10\/pythonscreen.jpg 552w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/professional\/sites\/10\/pythonscreen.jpg 768w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/professional\/sites\/10\/pythonscreen.jpg 920w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/>\n        \n            <\/figure>\n<\/div>\n\n<div\n\tclass=\"bb-wysiwyg\"\n\t\t>\n\t<p>What\u2019s the advantage of using Python instead of a manual process for pre-trade indications? It can save time, eliminate clerical errors and improve the quality of your output. In addition, Python makes it easy to create state-of-the-art term sheets that contain pricing charts and indications for a set of structures. This means you can focus on adding value for clients rather than just juggling numbers.<\/p>\n<p><em>For more information on this or other functionality on the Bloomberg Professional Service, click below to request a demo with a Bloomberg sales representative. Existing clients can press &lt;HELP HELP&gt; on their Bloomberg keyboard.<\/em><\/p>\n\n<\/div>\n\n<\/div>\n\n\n                    <\/div>\n    <\/section>\n<\/div>\n\n<div  class=\"bbg-row-container\">\n    <style>section[data-anchor=row-69ff0a15e382f]::before {\n\t\t\t\tbackground-color: #eeeeee;\n\t\t\t}<\/style>\n    <section class=\"bbg-row bg--custom-color  bg--eeeeee text--black bbg-row--full-bg-bleed\" data-anchor='row-69ff0a15e382f'>\n        \n        \n        <div\n            class=\"bbg-row--content\"\n                    >\n            \n            <div\n    class=\"bbg-column\"\n    style=\"\"\n    >\n    <div\n\tclass=\"bb-wysiwyg\"\n\t\t>\n\t<h2>Recommended for you<\/h2>\n\n<\/div>\n<div\n    class=\"bbg-spacer\"\n        style=\"height: 24px !important\"\n    >\n<\/div><script>\n    window.feed = window.feed || {};\n    window.feed['69ff0a15e5ee1'] = {\"config\":{\"uuid\":\"\",\"title\":\"\",\"filter_label\":\"\",\"post_type\":\"post\",\"order_by\":\"date\",\"direction\":\"desc\",\"show_date\":\"no\",\"show_excerpt\":\"no\",\"display\":\"limit\",\"filter\":\"OR\",\"max_items\":\"3\",\"skip_cache\":\"no\",\"feed_style\":\"grid\",\"published_date\":\"\",\"show_cta\":\"\",\"featured_image\":\"yes\",\"el_class\":\"\",\"terms_post\":\"\",\"terms_page\":\"\",\"terms_attachment\":\"\",\"terms_webinar\":\"\",\"terms_bbmegamenu\":\"\",\"terms_directory\":\"\",\"terms_datalayer\":\"\",\"terms_templatera\":\"\",\"terms_bbg-fourofour\":\"\",\"terms_reusable\":\"\",\"terms_cookie_items\":\"\",\"terms_bbl_email_subscriber\":\"\",\"terms_dynamic_table_ticker\":\"\",\"terms_bfix\":\"\",\"terms_quicklinks\":\"\",\"terms_interstitial\":\"\",\"terms_slide\":\"\",\"terms_gated_content_form\":\"\",\"terms_site_alert\":\"\",\"terms_country\":\"\",\"terms_region\":\"\",\"terms\":\"\"},\"cpt\":{\"name\":\"post\",\"label\":\"Posts\",\"labels\":{\"name\":\"Posts\",\"singular_name\":\"Post\",\"add_new\":\"Add New\",\"add_new_item\":\"Add New Post\",\"edit_item\":\"Edit Post\",\"new_item\":\"New Post\",\"view_item\":\"View Post\",\"view_items\":\"View Posts\",\"search_items\":\"Search Posts\",\"not_found\":\"No posts found.\",\"not_found_in_trash\":\"No posts found in Trash.\",\"parent_item_colon\":null,\"all_items\":\"All Posts\",\"archives\":\"Post Archives\",\"attributes\":\"Post Attributes\",\"insert_into_item\":\"Insert into post\",\"uploaded_to_this_item\":\"Uploaded to this post\",\"featured_image\":\"Featured image\",\"set_featured_image\":\"Set featured image\",\"remove_featured_image\":\"Remove featured image\",\"use_featured_image\":\"Use as featured image\",\"filter_items_list\":\"Filter posts list\",\"filter_by_date\":\"Filter by date\",\"items_list_navigation\":\"Posts list navigation\",\"items_list\":\"Posts list\",\"item_published\":\"Post published.\",\"item_published_privately\":\"Post published privately.\",\"item_reverted_to_draft\":\"Post reverted to draft.\",\"item_trashed\":\"Post trashed.\",\"item_scheduled\":\"Post scheduled.\",\"item_updated\":\"Post updated.\",\"item_link\":\"Post Link\",\"item_link_description\":\"A link to a post.\",\"menu_name\":\"Posts\",\"name_admin_bar\":\"Post\"},\"description\":\"\",\"public\":true,\"hierarchical\":false,\"exclude_from_search\":false,\"publicly_queryable\":true,\"show_ui\":true,\"show_in_menu\":true,\"show_in_nav_menus\":true,\"show_in_admin_bar\":true,\"menu_position\":5,\"menu_icon\":\"dashicons-admin-post\",\"capability_type\":\"post\",\"map_meta_cap\":true,\"register_meta_box_cb\":null,\"taxonomies\":[],\"has_archive\":false,\"query_var\":false,\"can_export\":true,\"delete_with_user\":true,\"template\":[],\"template_lock\":false,\"_builtin\":true,\"_edit_link\":\"post.php?post=%d\",\"cap\":{\"edit_post\":\"edit_post\",\"read_post\":\"read_post\",\"delete_post\":\"delete_post\",\"edit_posts\":\"edit_posts\",\"edit_others_posts\":\"edit_others_posts\",\"delete_posts\":\"delete_posts\",\"publish_posts\":\"publish_posts\",\"read_private_posts\":\"read_private_posts\",\"read\":\"read\",\"delete_private_posts\":\"delete_private_posts\",\"delete_published_posts\":\"delete_published_posts\",\"delete_others_posts\":\"delete_others_posts\",\"edit_private_posts\":\"edit_private_posts\",\"edit_published_posts\":\"edit_published_posts\",\"create_posts\":\"edit_posts\"},\"rewrite\":false,\"show_in_rest\":true,\"rest_base\":\"posts\",\"rest_namespace\":\"wp\\\/v2\",\"rest_controller_class\":\"WP_REST_Posts_Controller\",\"rest_controller\":{},\"revisions_rest_controller_class\":false,\"revisions_rest_controller\":{},\"autosave_rest_controller_class\":false,\"autosave_rest_controller\":{},\"late_route_registration\":false},\"taxonomies\":[{\"taxonomy\":\"post_format\",\"terms\":[{\"term_id\":33,\"name\":\"Link\",\"slug\":\"post-format-link\",\"term_group\":0,\"term_taxonomy_id\":33,\"taxonomy\":\"post_format\",\"description\":\"\",\"parent\":0,\"count\":12,\"filter\":\"raw\"},{\"term_id\":666,\"name\":\"Link\",\"slug\":\"post-format-link\",\"term_group\":0,\"term_taxonomy_id\":666,\"taxonomy\":\"post_format\",\"description\":\"\",\"parent\":0,\"count\":2,\"filter\":\"raw\"}]},{\"taxonomy\":\"post_series\",\"terms\":{\"0\":{\"term_id\":3751,\"name\":\"Asia Centric\",\"slug\":\"asia-centric\",\"term_group\":0,\"term_taxonomy_id\":3751,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":51,\"filter\":\"raw\"},\"1\":{\"term_id\":3741,\"name\":\"Bloomberg Expert Access\",\"slug\":\"bloomberg-expert-access\",\"term_group\":0,\"term_taxonomy_id\":3741,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":10,\"filter\":\"raw\"},\"2\":{\"term_id\":3739,\"name\":\"Bloomberg Pro Tips\",\"slug\":\"bloomberg-pro-tips\",\"term_group\":0,\"term_taxonomy_id\":3739,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":59,\"filter\":\"raw\"},\"4\":{\"term_id\":3743,\"name\":\"Functions for the Market\",\"slug\":\"ffm\",\"term_group\":0,\"term_taxonomy_id\":3743,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":7,\"filter\":\"raw\"},\"5\":{\"term_id\":3770,\"name\":\"Market Dialogues\",\"slug\":\"market-dialogues\",\"term_group\":0,\"term_taxonomy_id\":3770,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":11,\"filter\":\"raw\"},\"6\":{\"term_id\":3742,\"name\":\"Need to Know\",\"slug\":\"need-to-know\",\"term_group\":0,\"term_taxonomy_id\":3742,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":15,\"filter\":\"raw\"},\"7\":{\"term_id\":3798,\"name\":\"Pricing Insights\",\"slug\":\"pricing-insights\",\"term_group\":0,\"term_taxonomy_id\":3798,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":6,\"filter\":\"raw\"},\"8\":{\"term_id\":3740,\"name\":\"Terminal Essentials\",\"slug\":\"terminal-essentials\",\"term_group\":0,\"term_taxonomy_id\":3740,\"taxonomy\":\"post_series\",\"description\":\"\",\"parent\":0,\"count\":6,\"filter\":\"raw\"}}},{\"taxonomy\":\"type\",\"terms\":{\"0\":{\"term_id\":3762,\"name\":\"Article\",\"slug\":\"article\",\"term_group\":0,\"term_taxonomy_id\":3762,\"taxonomy\":\"type\",\"description\":\"\",\"parent\":0,\"count\":1641,\"filter\":\"raw\"},\"1\":{\"term_id\":3763,\"name\":\"Case Study\",\"slug\":\"case-study\",\"term_group\":0,\"term_taxonomy_id\":3763,\"taxonomy\":\"type\",\"description\":\"\",\"parent\":0,\"count\":41,\"filter\":\"raw\"},\"3\":{\"term_id\":3765,\"name\":\"Podcast\",\"slug\":\"podcast\",\"term_group\":0,\"term_taxonomy_id\":3765,\"taxonomy\":\"type\",\"description\":\"\",\"parent\":0,\"count\":504,\"filter\":\"raw\"},\"4\":{\"term_id\":3815,\"name\":\"Press Release\",\"slug\":\"press-release\",\"term_group\":0,\"term_taxonomy_id\":3815,\"taxonomy\":\"type\",\"description\":\"\",\"parent\":0,\"count\":81,\"filter\":\"raw\"},\"5\":{\"term_id\":3766,\"name\":\"Q&amp;A\",\"slug\":\"qa\",\"term_group\":0,\"term_taxonomy_id\":3766,\"taxonomy\":\"type\",\"description\":\"\",\"parent\":0,\"count\":101,\"filter\":\"raw\"},\"6\":{\"term_id\":3767,\"name\":\"Report\",\"slug\":\"report\",\"term_group\":0,\"term_taxonomy_id\":3767,\"taxonomy\":\"type\",\"description\":\"\",\"parent\":0,\"count\":77,\"filter\":\"raw\"},\"8\":{\"term_id\":3768,\"name\":\"Video\",\"slug\":\"video\",\"term_group\":0,\"term_taxonomy_id\":3768,\"taxonomy\":\"type\",\"description\":\"\",\"parent\":0,\"count\":135,\"filter\":\"raw\"}}}],\"excluded_taxonomies\":{\"\":[]},\"post_id\":47192};\n<\/script>\n<div class=\"feed\" data-id=\"69ff0a15e5ee1\"><\/div>\n\n<\/div>\n\n\n                    <\/div>\n    <\/section>\n<\/div>\n\n<div  class=\"bbg-row-container\">\n    <section class=\"bbg-row  text--white bbg-row--full-bg-bleed\" data-anchor='row-69ff0a15e6d26'>\n        \n        \n        <div\n            class=\"bbg-row--content\"\n                    >\n            \n            <div\n    class=\"bbg-column\"\n    style=\"\"\n    >\n    <div class=\"bbg-interstitial\" aria-label=\"interstitial\" tabindex=\"0\">\n\t<style>\n\t\t.bbg-interstitial #card_2.bbg-card_hasCta{\n\t\t\tbackground: url(https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/professional\/sites\/41\/Interstitial_bg.png);\n\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\tbackground-position: center center;\n\t\t\t\tbackground-size: cover;\n\t\t\tpadding: 104px;\n\t\t\t\n\t\t\t\n\t\t}\n\t\t.bbg-interstitial #card_2.bbg-card_hasCta .bbg-card__content, .bbg-interstitial #card_2.bbg-card_hasCta .bbg-card__content p{\n\t\t\tcolor:white;\n\t\t}\n\t\t@media (max-width: 768px) {\n\t\t\t.bbg-interstitial #card_2.bbg-card_hasCta{\n\t\t\t\tpadding: 80px 32px;\n\t\t\t}\n\t\t}\n\t\t@media (max-width: 480px) {\n\t\t\t.bbg-interstitial #card_2.bbg-card_hasCta{\n\t\t\t\tpadding: 80px 18px;\n\t\t\t}\n\t\t}\n\t<\/style>\n\t<div class=\"wpb_content_element bbg-card  bbg-card-dark bbg-card_hasCta has_interstitial\" id=\"card_2\" data-card_type=\"no_image\">\n  \n  \n  <div class=\"bbg-card__innerwrapper\">\n    <div class=\"bbg-card__content\">\n      \n      \n                      <h3 class=\"bbg-card__title\">Request a Demo<\/h3>\n      \n              <div class=\"bbg-card__wysiwyg bb-wysiwyg\"><p>Bloomberg quickly and accurately delivers business and financial information, news and insight around the world. Now, let us do that for you.<\/p>\n<\/div>\n          <\/div>\n\n          \n<div\n  id=\"cta_8412886893736196383\"\n  class=\"wpb_content_element bbg-cta icon icon-arrow\">\n  <style>\n    \n    \n    \n  <\/style>\n  <div\n    class=\"bbg-cta-link link-holder\"\n    data-links-type=\"cta-links\">\n    <p class=\"bbg-cta-p right\">\n      <a\n        class=\"bbg-cta-link link interstitial_cta\"\n        href=\"https:\/\/www.bloomberg.com\/professional\/request-demo\/\"\n        target=\"\"\n        rel=\"\"\n        data-section-name=\"\"\n                role=\"button\"\n        aria-label=\"Learn more\"\n        >\n                <\/a>\n    <\/p>\n  <\/div>\n<\/div>\n\n      <\/div>\n\n  <\/div>\n\n<\/div>\n\n\n<\/div>\n\n\n                    <\/div>\n    <\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Repetitive pricing tasks have been part of the job decades. How can you automate your pricing?<\/p>\n","protected":false},"author":1686,"featured_media":31814,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"template-article.php","format":"standard","meta":{"_yoast_wpseo_primary_category":"","footnotes":""},"categories":[435,457,453,469,444],"tags":[456],"series":[],"class_list":["post-47192","post","type-post","status-publish","format-standard","hentry","category-data","category-financial-services","category-markets","category-risk","category-trading","tag-portfolio-management","type-article"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automate your pricing chores with Bloomberg\u2019s MARS API and Python | Insights | Bloomberg Professional Services<\/title>\n<meta name=\"description\" content=\"Repetitive pricing tasks have been part of the job decades. How can you automate your pricing?\" \/>\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.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automate your pricing chores with Bloomberg\u2019s MARS API and Python | Insights | Bloomberg Professional Services\" \/>\n<meta property=\"og:description\" content=\"Repetitive pricing tasks have been part of the job decades. How can you automate your pricing?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/\" \/>\n<meta property=\"og:site_name\" content=\"Bloomberg Professional Services\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bloomberglp\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-10T14:58:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T18:36:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.bbhub.io\/image\/v1\/convert?type=auto&amp;url=https%3A%2F%2Fassets.bbhub.io%2Fprofessional%2Fsites%2F10%2F314318651_1-4.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"4000\" \/>\n\t<meta property=\"og:image:height\" content=\"2667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"pchoudhury2\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@theterminal\" \/>\n<meta name=\"twitter:site\" content=\"@theterminal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pchoudhury2\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/\"},\"author\":{\"name\":\"pchoudhury2\",\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#\/schema\/person\/70054e3453c0627a49da6d3e76b7ae74\"},\"headline\":\"Automate your pricing chores with Bloomberg\u2019s MARS API and Python\",\"datePublished\":\"2019-10-10T14:58:29+00:00\",\"dateModified\":\"2024-04-24T18:36:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/\"},\"wordCount\":\"698\",\"publisher\":{\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#organization\"},\"keywords\":[\"Portfolio Management\"],\"articleSection\":[\"Data\",\"Financial Services\",\"Markets\",\"Risk\",\"Trading\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/\",\"url\":\"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/\",\"name\":\"Automate your pricing chores with Bloomberg\u2019s MARS API and Python | Insights | Bloomberg Professional Services\",\"isPartOf\":{\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#website\"},\"datePublished\":\"2019-10-10T14:58:29+00:00\",\"dateModified\":\"2024-04-24T18:36:38+00:00\",\"description\":\"Repetitive pricing tasks have been part of the job decades. How can you automate your pricing?\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#website\",\"url\":\"https:\/\/www.bloomberg.com\/professional\/\",\"name\":\"Bloomberg Professional Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bloomberg.com\/professional\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#organization\",\"name\":\"Bloomberg Professional Services\",\"url\":\"https:\/\/www.bloomberg.com\/professional\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/assets.bbhub.io\/image\/v1\/convert?type=auto&amp;url=https%3A%2F%2Fassets.bbhub.io%2Fprofessional%2Fsites%2F41%2Flogo.png\",\"contentUrl\":\"https:\/\/assets.bbhub.io\/image\/v1\/convert?type=auto&amp;url=https%3A%2F%2Fassets.bbhub.io%2Fprofessional%2Fsites%2F41%2Flogo.png\",\"width\":\"512\",\"height\":\"103\",\"caption\":\"Bloomberg Professional Services\"},\"image\":{\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.instagram.com\/bloomberg\/\",\"https:\/\/www.linkedin.com\/showcase\/bloomberg-professional-service\/\",\"https:\/\/www.facebook.com\/bloomberglp\",\"https:\/\/twitter.com\/theterminal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.bloomberg.com\/professional\/#\/schema\/person\/70054e3453c0627a49da6d3e76b7ae74\",\"name\":\"Bloomberg Professional Services\",\"url\":\"https:\/\/www.bloomberg.com\/professional\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automate your pricing chores with Bloomberg\u2019s MARS API and Python | Insights | Bloomberg Professional Services","description":"Repetitive pricing tasks have been part of the job decades. How can you automate your pricing?","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.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/","og_locale":"en_US","og_type":"article","og_title":"Automate your pricing chores with Bloomberg\u2019s MARS API and Python | Insights | Bloomberg Professional Services","og_description":"Repetitive pricing tasks have been part of the job decades. How can you automate your pricing?","og_url":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/","og_site_name":"Bloomberg Professional Services","article_publisher":"https:\/\/www.facebook.com\/bloomberglp","article_published_time":"2019-10-10T14:58:29+00:00","article_modified_time":"2024-04-24T18:36:38+00:00","og_image":[{"width":4000,"height":2667,"url":"https:\/\/assets.bbhub.io\/image\/v1\/convert?type=auto&amp;url=https%3A%2F%2Fassets.bbhub.io%2Fprofessional%2Fsites%2F10%2F314318651_1-4.jpg","type":"image\/jpeg"}],"author":"pchoudhury2","twitter_card":"summary_large_image","twitter_creator":"@theterminal","twitter_site":"@theterminal","twitter_misc":{"Written by":"pchoudhury2","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/#article","isPartOf":{"@id":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/"},"author":{"name":"pchoudhury2","@id":"https:\/\/www.bloomberg.com\/professional\/#\/schema\/person\/70054e3453c0627a49da6d3e76b7ae74"},"headline":"Automate your pricing chores with Bloomberg\u2019s MARS API and Python","datePublished":"2019-10-10T14:58:29+00:00","dateModified":"2024-04-24T18:36:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/"},"wordCount":"698","publisher":{"@id":"https:\/\/www.bloomberg.com\/professional\/#organization"},"keywords":["Portfolio Management"],"articleSection":["Data","Financial Services","Markets","Risk","Trading"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/","url":"https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/","name":"Automate your pricing chores with Bloomberg\u2019s MARS API and Python | Insights | Bloomberg Professional Services","isPartOf":{"@id":"https:\/\/www.bloomberg.com\/professional\/#website"},"datePublished":"2019-10-10T14:58:29+00:00","dateModified":"2024-04-24T18:36:38+00:00","description":"Repetitive pricing tasks have been part of the job decades. How can you automate your pricing?","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bloomberg.com\/professional\/insights\/data\/automate-your-pricing-chores\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.bloomberg.com\/professional\/#website","url":"https:\/\/www.bloomberg.com\/professional\/","name":"Bloomberg Professional Services","description":"","publisher":{"@id":"https:\/\/www.bloomberg.com\/professional\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bloomberg.com\/professional\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bloomberg.com\/professional\/#organization","name":"Bloomberg Professional Services","url":"https:\/\/www.bloomberg.com\/professional\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bloomberg.com\/professional\/#\/schema\/logo\/image\/","url":"https:\/\/assets.bbhub.io\/image\/v1\/convert?type=auto&amp;url=https%3A%2F%2Fassets.bbhub.io%2Fprofessional%2Fsites%2F41%2Flogo.png","contentUrl":"https:\/\/assets.bbhub.io\/image\/v1\/convert?type=auto&amp;url=https%3A%2F%2Fassets.bbhub.io%2Fprofessional%2Fsites%2F41%2Flogo.png","width":"512","height":"103","caption":"Bloomberg Professional Services"},"image":{"@id":"https:\/\/www.bloomberg.com\/professional\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/bloomberg\/","https:\/\/www.linkedin.com\/showcase\/bloomberg-professional-service\/","https:\/\/www.facebook.com\/bloomberglp","https:\/\/twitter.com\/theterminal"]},{"@type":"Person","@id":"https:\/\/www.bloomberg.com\/professional\/#\/schema\/person\/70054e3453c0627a49da6d3e76b7ae74","name":"Bloomberg Professional Services","url":"https:\/\/www.bloomberg.com\/professional"}]}},"_links":{"self":[{"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/posts\/47192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/users\/1686"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/comments?post=47192"}],"version-history":[{"count":1,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/posts\/47192\/revisions"}],"predecessor-version":[{"id":56386,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/posts\/47192\/revisions\/56386"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/media\/31814"}],"wp:attachment":[{"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/media?parent=47192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/categories?post=47192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/tags?post=47192"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/series?post=47192"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.bloomberg.com\/professional\/wp-json\/wp\/v2\/type?post=47192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}