Macro Hive Conversations With Bilal Hafeez

James Jarvis discusses BQuant's AI coding tools, data science capabilities, and alternative time-series methods

56 min Listen to the original Episode page
Bloomberg BQuantAI CodingFinancial Data ScienceFX TradingAlternative DataVolatilityPythonExcel

Summary

James Jarvis details his career transition from IT and trading to buy-side portfolio construction at Trium Capital. He highlights BQuant Desktop and Enterprise as solutions for handling large datasets that exceed Excel's limits, offering reproducibility and team-wide collaboration. Jarvis demonstrates BQuant Assistant's ability to convert Excel spreadsheets and hand-drawn sketches into Python applications using natural language prompts. He explains how domain grounding and textual analytics enable the extraction of signals from news data for strategies like FX momentum. Finally, he introduces volatility bars as an alternative to uniform time intervals, adapting to market activity levels.

Key takeaways

  1. 1
    Volatility bars close based on price movement rather than clock time, providing non-uniform time intervals that adapt to market activity levels.

    Speaker 3 · 50:53

Episode sections

  1. 0:02 – 1:06

    Sponsor Read: Macrohive Markets

    Bilal Hafiz announces Macrohive's acquisition by BGC Group and the launch of Macrohive Markets for institutional execution services.

  2. 1:06 – 5:32

    Guest Introduction and Origin Story

    James Jarvis discusses his background, including studying at Nottingham University, working as a chef, and starting his career at NatWest/RBS.

  3. 5:32 – 11:39

    Career Transition to Buy-Side and Trium Capital

    Jarvis details his move to the buy-side via Pamco and Trium Capital, focusing on multi-strategy portfolio construction and risk advisory.

  4. 11:39 – 22:59

    BQuant Desktop vs. Excel and Enterprise

    The discussion covers BQuant's advantages over Excel for large datasets and introduces Enterprise features for reproducibility and code integration.

  5. 22:59 – 31:30

    BQuant Assistant and Vibe Coding

    Jarvis demonstrates BQuant Assistant's ability to generate complex Python applications using natural language prompts.

  6. 31:30 – 32:24

    BQuant Assistant Excel Conversion

    Speaker_2 demonstrates converting Excel spreadsheets into Python applications using BQuant Assistant.

  7. 32:24 – 34:09

    Iterative Enhancement with Python

    The speaker explains how follow-up prompts allow for advanced Python enhancements like hierarchical clustering.

  8. 34:09 – 34:46

    Backtesting Capabilities

    Bilal asks about backtesting; Speaker_2 confirms BQuant Assistant can write backtesting code using Bloomberg libraries.

  9. 34:46 – 36:40

    Sketch-to-App Workflow

    Speaker_2 describes a workflow where hand-drawn sketches are converted into functional interactive apps using OCR and domain grounding.

  10. 36:40 – 40:29

    Domain Grounding and Textual Analytics

    Speaker_2 defines domain grounding and introduces the Textual Analytics add-on package for BQuant Enterprise.

  11. 40:29 – 42:59

    FX Strategy and M&A News Signals

    An example is given of building an FX strategy using momentum, carry, and volatility signals enhanced by M&A news filtering.

  12. 42:59 – 48:19

    Model Selection for News Processing

    Speaker_2 contrasts using large language models with RoBERTa classifiers for scalable news signal extraction.

  13. 48:19 – 55:56

    Volatility Bars and Non-Uniform Time

    Speaker_2 discusses volatility bars as an alternative to hourly bars, adapting to market activity levels.

Assets discussed

AssetKindStanceContext
S&P 500indexneutralBut let's say we want to bring in all of the current members of the SP 500. That's one line of code.

“Stance” is how the speakers talked about the asset, not a recommendation.

Claims worth verifying

Macrohive was acquired by the BGC Group, leading to the launch of Macrohive Markets.

Bilal Hafiz ·0:02

How to verify: Check BGC Group press releases or SEC filings (Form 8-K) regarding the acquisition of Macro Hive and the establishment of Macrohive Markets. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Primary source

James Jarvis studied production and operations management at Nottingham University.

Speaker 3 ·1:27

How to verify: Verify via University of Nottingham alumni records or James Jarvis's LinkedIn profile. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

James Jarvis worked as an IT developer at NatWest Global Financial Markets before moving to FX trading.

Speaker 3 ·2:06

How to verify: Verify via James Jarvis's LinkedIn profile or professional biography. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Pamco is an institutional fund of hedge funds headquartered in Irvine, California.

Speaker 3 ·5:32

How to verify: Verify via Pamco's corporate website or SEC filings (Form ADV) for the firm's headquarters and business description. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Primary source

BQuant provides access to over 23,000 different data fields.

Speaker 3 ·12:35

How to verify: Check Bloomberg BQuant Help Center documentation or Bloomberg product sheets for the number of available data fields. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Excel has a 1.05 million row limit.

Speaker 3 ·15:34

How to verify: Verify via Microsoft Excel technical specifications or documentation. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

BQuant Assistant is available to BQuant Enterprise clients and in limited beta for BQuant Desktop clients.

Speaker 3 ·23:51

How to verify: Check Bloomberg BQuant release notes or product announcements regarding BQuant Assistant availability. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Bloomberg's BQuant Assistant uses the same underlying beta agent as Ask B.

Speaker 3 ·30:28

How to verify: Verify via Bloomberg product documentation or press releases describing the architecture of BQuant Assistant and Ask B. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

BQuant Assistant can convert an Excel file into a multi-tabbed Python application in a single prompt, ignoring non-interactive text sheets.

Speaker 3 ·31:30

How to verify: Test the BQuant Assistant feature with a sample Excel file containing both interactive and text-only sheets and observe the generated Python code. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Bloomberg plans to extend backtesting capabilities over the next twelve months.

Speaker 3 ·34:24

How to verify: Monitor Bloomberg BQuant product announcements and release notes for the 2026-2026 period for new backtesting features. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Bloomberg's Textual Analytics add-on provides access to frontier AI models and years of historical news, earnings, and filings.

Speaker 3 ·37:24

How to verify: Review the BQuant Enterprise add-on documentation or contact Bloomberg sales for details on the Textual Analytics package contents. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Bloomberg applies metadata to news stories, including tagging people, companies, and sentiment.

Speaker 3 ·39:15

How to verify: Use Bloomberg Terminal news search to view metadata fields for specific news stories and check for sentiment scores and entity tags. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Bloomberg's news taxonomy includes 18 subtags under M&A.

Speaker 3 ·41:39

How to verify: Access Bloomberg's news taxonomy documentation or use the Terminal to filter news by M&A subtags and count the available options. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

A RoBERTa multi-class classifier can be trained on labeled headlines to identify acquirers vs. targets with high F1 macro scores.

Speaker 3 ·43:19

How to verify: Search academic or technical blogs for implementations of RoBERTa for M&A entity extraction and review reported F1 scores. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Bloomberg's team, led by Gary Kazancev, presented findings on an adaptive bidirectional tokenizer bridging time and volatility bars at the ICAIF event in Milan.

Speaker 3 ·51:44

How to verify: Search the ICAIF conference proceedings or Bloomberg press releases for presentations by Gary Kazancev on volatility bars in Milan. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Volatility bars close based on price movement rather than clock time.

Unknown speaker ·50:33

How to verify: Review academic literature on volatility bars or Bloomberg's technical documentation on non-uniform time bars for confirmation of the definition. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Benoit Mandelbrot stated that markets don't move in clock time.

Speaker 3 ·49:05

How to verify: Check Benoit Mandelbrot's book 'Misbehaviour of Markets' for the specific quote or concept regarding market movement and time. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Rick Rubin co-founded Def Jam Records.

Speaker 3 ·52:56

How to verify: Verify Rick Rubin's biography on Wikipedia or Def Jam Records' official history page. For recent events, verify 2026-08-27 through 2026-11-27. Use another period only when the speaker explicitly names it.

Do your own research

  • Verify Excel's row limit (1,048,576) and compare with BQuant's performance claims using a sample S&P 500 dataset.
  • Review Bloomberg's Textual Analytics documentation to understand the scope of historical news and filings data available.
  • Check the specific taxonomy tags for M&A deals to ensure they align with your strategy's definition of 'cross-currency' transactions.
  • Evaluate the compute requirements for running RoBERTa classifiers versus large language models for news sentiment analysis.
  • Confirm BQuant Enterprise's integration capabilities with external Git repositories and private Conda channels to assess platform lock-in risks.
  • Review the ICAIF Milan presentation on adaptive bidirectional tokenizers to understand the technical implementation of volatility bars.
  • Assess the cost and latency differences between using LLMs for headline interpretation versus trained classifiers for specific tasks.
  • Verify the accuracy of Bloomberg's corporate action adjustments and currency-flipped prices against primary exchange data.
Full transcriptexpand

Voices are numbered in the order we told them apart; a name appears only when the episode itself identifies the speaker.

0:02Bilal Hafiz: Welcome to the Macrohive Conversations Podcast. I'm Bilal Hafiz, head of strategy at Macro Hive. Before we dive in, a quick update. Following Macrohive's acquisition by the BGC Group, BGC has launched a new regulated business called Macrohive Markets. For the first time, onboarded clients can also access execution services via Macrohive Macrohyde Markets. This new workflow will allow macro macroinstitutional institutional investors to benefit from strategy and quantum. quant insights alongside access to global liquidity. Please contact Andrew Simon or Guillaume Zibrian on Bloomberg or click the link in the description below for more details on Macrohyde Markets and its service offering.

0:41Speaker 2: Now on to this episode's guest, James Jarvis. James is the head of GoToMarket of BQant BQAT Product and the BQAT Enterprise Asset Class Base Packages at Bloomberg. James previously chaired the investment committee at Trium Capital, responsible for multi-strategy portfolio construction and the provision of risk advisory services. And before that, James worked in the portfolio management team at PalmCo, an institutional fund of hedge funds. Now onto our conversation.

1:06Bilal Hafiz: Greetings and welcome, James. It's fantastic to have you on the podcast show.

1:10Speaker 3: Well, thank you so much for hosting me. It's a real pleasure to be with you today.

1:14Speaker 2: Great.

1:14Bilal Hafiz: Now as usual, before I, you know, go into the heart of our conversation, I do like to ask my guests something about their origin story. So it'd be great to hear in your own words what you studied at uni. Was it inevitable you'd end up in product and tech as you are now at Bloomberg?

1:27Speaker 3: Yeah, thank you. So I grew up in the UK in a town called Bedford. Um it's about forty miles north of London. And for university, I went to uh Nottingham and I studied production and operations management. It's a very multidisciplinary degree, which is a bit unusual for the UK, perhaps a bit more similar to some of the US degrees. Exposed me to lots of different subjects. Within there, I had a real natural affinity for IT. So that was the initial direction that I took. But during high school and during university, I worked part-time, initially as a waiter and then as a chef. I don't usually mention that, but I was thinking about the origins. origin story. And from university, I landed a job at NatWest Global Financial Markets in an intern scheme and converted that to a full time job through their grad program. And it was that experience of working in a pressured situation and dealing with real people through waiting and chefing that was more relevant day one on a trading floor than I think anything that I'd learned at university. So I just wanted to share that with you. Really loved my time at Matt West, which later became RBS. And in early 2001, while working as an IT developer, I was relocated from London to New York, initially for six months, but I met my future wife in that time. And six months became five years.

2:47And uh partly because the office I think was a bit smaller. The sort of interdepartmental networking was a lot greater. And I received an offer after a few years to move from IT development to FX trading. So kind of right place, right time. And this would have been-

3:04Unknown speaker: And

3:04Bilal Hafiz: why was that? Why did you have that move? Was that the period where everything was moving to e trading? Was that kind of the background thing that was happening there?

3:12Speaker 3: You you've nailed it in one. It was exactly that. So eTrading had obviously started a few years before within the FX uh world, and particularly RBS being uh the number one bank for sterling trading, it had hit critical mass. Now, a lot of the architecture and the uh the pricing of that time has went out of London. And um uh Pete Gora, who ran the team, um, thought he really needed somebody who understood some of the technical side who he could bring up. and mentor on the trading side to understand what we needed locally for this to be a successful business. So that was a wonderful opportunity. But it was also fascinating because my day was effectively split in two. So we were running like a global book, a global risk book of uh all of the inbound Bound e-traits e trades um that came through. So that was managed out of London until around 11 a.m. 11 30 a.m. uh local time in New York, which meant in the morning I could uh investigate uh different trading systems. So in the afternoon, I'll be focused on risk

4:12managing the book of e business. But in the morning, I could experiment with uh with backtesting and building out different systems, which led to uh some earlier intraday systems, I guess we would now call them high frequency trading, things like uh liquidity provision, arbitrage, et cetera, et cetera. And even, let's say, not quite high frequency trading, but shorter term, sort of multi-hour holding period type trading using different technical indicators. So that was a really great education early in my career. But ultimately, I was uh reading books, and I remember specifically a the little book of value investing, and really looking into the narrative and the storytelling. behind equity markets versus say G10 FX, where maybe the story's uh a little bit more abstract. And I was fascinated by this and equivalently by fixed income. So a friend introduced me early on to the Fabozi fixed income handbook, which at that point in time was completely over the top of my head. And I thought, okay, I'm really knowledgeable about FX, I'm interested in equities and fixed income. but I don't know a huge amount about them. Why don't I go back to business school to, you know, backfill and get that education? So that led me to a full-time MBA at a University of Chicago, which is a great experience. And my motivation was also to move to the buy side. So in

5:322010, I joined an institutional fund of hedge funds called Pamco. They were headquartered in Irving. Irvine, California, in Orange County. But I joined the London office. So initially focused on European equity hedge funds and then taking more of a global look into quant hedge funds. And we can definitely talk about

5:51Unknown speaker: it. So

5:51Bilal Hafiz: was the framework you were using there, was it quite quantitative or technology driven in some way, or was it quite discretionary where you just like review the managers and then the yay or nay each one?

6:02Speaker 3: It's a very good question. So it was definitely at the more technical end of the spectrum. So bearing in mind this is 2010, there had been a lot of negative press uh with funder funds for various reasons. But this was a completely different operation. So the focus was largely placed on startup hedge fund managers. The narrative I thought was really compelling. That let's say in a different time place. Bilal, you and I set up a hedge fund together. Okay. We're probably not taking much in a way of vacation for a few years. So we're going to be focused 100% on alpha generation. And we're probably not starting business with a $5 billion book. So we can get greater relative exposure to maybe small cap or more interesting things. And also as a consequence of that, we can maybe bit a more nimble. with our positioning. The trade-off, however, is maybe we don't have one of the top four accountants and like a huge team of support people behind us.

7:01Unknown speaker: So

7:01Speaker 3: to balance that out, Pamco's approach, which was, I think, really ahead of the curve, was investing via managed accounts, which meant you had full position transparency on every fund holding, which gave you all of the data that you would need. to make some really interesting decisions. But on top of that, you were able to, on occasion, customize some of the mandates. So if you were taking like a typical long short equity hedge fund that might be running, let's say 150 gross and 50 net, well, maybe you'd want to dial up the gross exposure but bring down the net equity exposure. But of course, to do that, you couldn't just look at the data. You would need that qualitative angle as well to know, you know, are there any unintended consequences? Are you perhaps going to disrupt the hedge fund manager in a particular way that could have some negative consequences elsewhere? But it was a very compelling approach. And for me personally, with the strong focused on continued education, it was a great place to take my first step on the buy side.

8:02Bilal Hafiz: Okay, great. And then then you actually went to the buy side kind of the next one more directly into the buy side after that.

8:10Speaker 3: Well exactly. So I think in today's parlance, what we were doing at Pamco today, to some degree, and maybe it's just a slight stretch, but you could define it as risk advisory. So you're really looking at the inner workings of a hedge fund strategy through the lens of data. You're trying to figure out what is working for a given portfolio manager and what isn't. But more precisely for your own book of business, how might we want to adjust that so that the overall portfolio makes better sense for our investors? But in order to do that, what you'd also do is to try and find different behavioral trades and provide some feedback to the managers that you're invested in. Hey, through our lens of looking at the data and what we know about your process. as an outside observer but as a close confident, we can see these things working really, really well. And maybe there's some stuff over here that isn't quite working.

8:59Unknown speaker: That

8:59Speaker 3: doesn't mean you need to do more of what's working, you know, in the short term, because that might be for good reason, right? But it's a chance for that reflection for the manager. You know, maybe you pick up something in the data that they might be in tune with, they might have an understanding of, but maybe they don't necessarily appreciate the scale. of what we can see. But that education led me to Trium Capital. So I joined Trium in uh 2015 in January to set up and build out the multi-strat hedge fund uh business for them. At that point in time, uh Trium were relatively new as an operation. And this was a really compelling opportunity for me. It's is effectively looking at everything that I picked up through business school, everything that I've picked up. through my time at Pamco and thinking about how we could construct a multi-strat hedge fund in a slightly different way than the obvious names that would spring to mind. So the focus that we had was really one of incubation. Can we use the multi-strat vehicle to attract top tier talent who ultimately want a path to having their own standalone fund? So there was a very strong incubation element. But that time at Trim Trium was really fantastic for me because taking a firm from, or being part of a team that helped take a firm from where it was in 2015 to where it is today was fantastic. So getting hands-on with everything.

10:14Bilal Hafiz: And obviously you're a Bloomberg now and you think

10:17Unknown speaker: in

10:17Bilal Hafiz: terms of systems. I mean, one of the things I found, and you know, I've been in startup land myself, you

10:20Unknown speaker: know,

10:20Bilal Hafiz: with Macrohive and we've grown and so on, is that when you're very, very small, you know, your system is X, but when you start to grow, you know, your system X, everything breaks. And you need to kind of almost like redo the whole system as you're growing. Did you find that was the case when you were at Trium? You know, it sounds like that was kind of a startup scale-up type structure.

10:39Unknown speaker: Yeah, I

10:39Speaker 3: think this is this is probably something that's universally true of uh of any firm during the rapid growth, right? Maybe you need to update your order management system, your portfolio management system, maybe the risk engine needs an overhaul. And of course. the the more you grow, the you know, the wider a net you can cast in terms of the talent you want to bring in on that journey. But that was definitely the case. But it was really in the uh in the later years of Trium, uh or at least during my time at Trium, that I was first introduced to the very first beta version of Big Want. And uh that was when you know the light bulb went off. And I thought this is fantastic. I have access now to a vast amount of data in a turnkey Python environment that I know how to use. So I can get hands-on and build the things that I currently don't have available to me through any, let's say, off-the-shelf system, so I can be quite self sufficient and actually build the customer analytics that I need today to really move the needle.

11:34Unknown speaker: Okay,

11:34Bilal Hafiz: I mean let's kind of get more into that. So now you you're obviously have at Bloomberg, you're associated with sort

11:38Unknown speaker: of

11:39Bilal Hafiz: BQAT, and you know, much of our audience are kind of sophisticated and they all have their Bloomberg, use Bloomberg as their kind of core platform. If we kind of start at the kind of more basic level, many people what they do is they use the terminal, um, they have their worksheets up, they may customize those worksheets that's on the screen. And then in terms of the way they work with data is they often download data in Excel and then they start to play around. with that data in some form. And so if we kind of take that, like what's the advantage of say using BQAT over say downloading data from Blueberg into a spreadsheet and then playing around with the data inside the spreadsheet?

12:16Speaker 3: That's a very good question. I think there's a few different angles to this. One of the angles would be around the breadth of data that you can work with and the speed of data access. So if we were showing you a live demo, one of the things that we could point to is through the BQN Help Center, which is the encyclopedia of everything that we have. And that includes a lot of our data items. So today we have available over 23,000 different fields, and that's continuing to grow. Those are available, by the way, for all of our clients via Excel, through RSB, through BQAM, and beyond. But if I take something as simple as price last, I think it's probably the most used field after just the uh the ID, which obviously you need in every instance. You can click into it on the help center and you can find pages and pages of documentation, including all of the different overrides to that data. So you can find, for example, that maybe you want to flip the last price into a specific unit of currency. Maybe you want to bring some time series, always my favorite place to start. Here's a start date, here's the end date. Maybe if you're a credit PA and you want to bring in a particular pricing source, or maybe you want a specific adjustment for historic corporate actions. The point is it's not just about getting the data into either Excel or to BQM. It's really about getting it into the shape and

13:35the form that you need. Now, if I scroll a bit further in a document, there are blocks of Python code that I can copy and paste into uh into BQM to run. And they start with really basic things like how do I get the last price of Home Depot? And then they show you how to apply those overrides. So, how do I get the last price of Home Depot? But actually show that in yen with a specific treatment of for historic corporate action adjustments. But if I go all the way to the end, there's uh my favorite. starting point: bring back five days of IBM. Okay? So I can copy, paste that into BQM and run it. And if I put a timer on it, it takes typically it's less than half a second. Now, if I change that query to bring back 20 years of daily price history for Apple, there's about 7,000 plus rows of data. Again, it's around half a second. But one of the things that's really powerful here is, and it goes back to something you mentioned earlier with the worksheets, right? We're trying to make it really easy for clients to bring in list definitions into B quant. So that

14:35could be something like members of an equity index or a bond index. It could be holdings of a mutual fund. So long as your permission to see those holdings on the terminal, you can bring them into B quant. Maybe if you're using Bloomberg Port, you want to bring in your portfolio holdings. et cetera, et cetera. Including, of course, I have a worksheet. I want to bring in, you know, the list of tickers I've customized in my worksheet. But let's say we want to bring in all of the current members of the SP 500. That's one line of code. Bring back six years of daily price history for all of those members. Okay. That would typically take between four and five seconds to run that query. And it returns over. 1.1 million rows of data. So I like this example to make a point. And this is actually a general point about working in Python versus Excel, but it applies to BCON. And that's if you are using an Excel spreadsheet, they have currently 1.05 million rockout limit. So this one specific query you couldn't actually fit in Excel in the shape it comes out in his this query. Now, of course, for people listening. that know Python, yeah, of course you could pivot it and make it like 500 columns by X number of rows. So there are ways you can adjust it. But the broader point, and the first point here, Bilal, is that you can work with greater volumes of data in Python than you can do within

15:54Excel.

15:55Bilal Hafiz: Okay, and then just you know, at the kind of high level, so the way like sort of the dummy version of how to explain what BQN BQON is. is essentially a Python environment that's uh fully hooked into the entire universe of Bloomberg data. Is that the way to explain it at a sort of very simple level?

16:13Speaker 3: Yeah.

16:14Bilal Hafiz: One other thing, I mean, correct me if I'm wrong. I think some people in my team may use this, is there is a a Python API, a Bloomberg Python API as well. I mean, correct me if I'm wrong, I'm not sure if it's still there or not, but that allows you. to kind of use Python, you know, with Bloomberg data, but outside of the B quant environment. So what's kind of the difference between the two? Is it a question of like latency or what's or user friendliness?

16:38Speaker 3: Yeah. So I think there are a few differences there. So the first difference is if you're any client in the world, you can simply type in BQNT go. Your web browser will open, you'll have access to BQA. BQAM. No installation is required, right? So you could think about maybe someone that is hearing this and listening to Python and data, and it sounds really interesting. There is still like a barrier if you're trying to set this up by yourself, versus today we make you know that a trivial exercise. It's is typing four characters into the terminal and hitting enter. But on top of that, with bquon. BQM, we've designed this as a sandbox. So you can work with vast amounts of data, like many magnitudes more than you could do if you're pulling that data into Excel. Because the intention is that you're processing the data inside of BQM. You're designing and building your repeatable, scalable, quantitative analytics inside of BQM. BQAM. So you don't necessarily need to pull down the raw market data. But there's one additional piece here that I think is really important to underline. And it's genuinely my favorite feature of BQAN. And that's application publishing. So if I cast my mind back to you know the very late 1990s when I first started my career, I had a competitive advantage. And this might sound funny, but I could do a VLOOKUP v lookup in

17:58Excel. And that was, you know, today it's kind of laughable, right? And I look at all the tools. that we make available today for our clients you know access to 23 000 different fields huge amounts of data like it's really unusual that you're going to you know find any kind of activity that is data constrained uh within be quant desktop but once you've built it once you've built your analysis within a couple of clicks publish it as an application and then share it within with to anyone within your organization that's within your same department. Now, even if I'm you know casting my mind back to my days at Trium, I could build something that cross-referenced all of the portfolio holdings that we had available through Bloomberg Port. I could build custom analytics, custom risk views of the world that were really relevant to what I needed to see in my role. I could then publish that as an application and pin it to my Bloomberg launch pad. Then every day as I walk in and I log on to the terminal, my application loads. It starts pulling in the latest positions, the latest holdings, cross-reference with the market data, and basically executing the work that I need it to do for me.

19:06Unknown speaker: Yeah,

19:07Bilal Hafiz: and I understand. I mean, one thing that makes many of us nervous is you know to have too much of a lock-in lock to in the Bloomberg. uh universe, you know, because already, you know, many of us use Bloomberg. And then, you know, fear is that if we start to kind of do some of our clever Python data analysis also inside the Bloomberg environment, then we've got this massive lock-in and dependency on Bloomberg. And obviously for you guys, that's very beneficial. But then how do you respond to that? Because presumably, you know, your clients are everybody from you know top-tier investment banks, hedge funds, and everyone has this kind of paranoid thing about platform lock-in.

19:44Unknown speaker: Yeah,

19:44Speaker 3: that's an interesting point. I think to be honest, that doesn't tend to come up in a lot of conversations, but it doesn't mean that it's not there, right? So oftentimes you won't hear the thing that people might be thinking. My best response to that might be an introduction to BQN Enterprise. So if we're introducing BQN BQM for the first time, we always want to start the journey with BQN desktop. But that's an instant way to start. Okay. Now we think of, or I think it's useful to think of BQN Desktop as an incredibly powerful tool for a single user working on a laptop. Okay. So just going back to the application publishing, what you're actually publishing there is code. Okay. Even if the code is pulling in Bloomberg data, that data is actually being run for each individual user based on their own individual data entitlements. Okay. As we then switch gears and talking about or talk about enterprise, one of the first differences is you can publish code and you can publish data. So that allows you to work with Bloomberg enterprise data. And that means you can publish an application or publish code that enforces the reproducer. reproducibility of results within your team because everyone will see the same input data. You can also pre-process vast amounts of data. So let's say hypothetically I want to risk factor

21:02score a large number of equities into the thousands, and I want to do that every day. And I've got a bunch of different factors that are proprietary. Well, But I don't want everyone to have to calculate that every day because it's a waste of resource. I can do it once in B quant enterprise, save it in BQL Enterprise, and have other people draw from it. Now, on top of that, there are three main categories, and I'll keep this short because I could talk for a long time about this. But there are additional options for bringing things in, dialing up the compute, and taking things out. Okay? So what can you bring in? You can bring in your own data, right? So if you've got existing data sets and things in like Snowflake. or in S3 storage, you can connect your data securely into BQM with the relevant control you need. So that now is significantly grows the number of things that this can be useful. To your point, specifically, you can also connect your enterprise Git. So now you've got the ability to fully offload your code. So then it's not locked in. And on top of that, if you have existing code. maybe you have a private conda channel with libraries that you've written that can be connected into B quant enterprise. So now you can create custom Python environments that basically draw from any of our libraries anything on conda that we've security cleared plus your own libraries. Again, it gives you control over that reuse.

22:21The second category, dialing up the compute, self-explanatory. There's a bit of detail in there, but we'll skip over. it for now. But the final point though is you can take results back out with our derived results package and have enterprise entitlements on them, which means you can feed them into your existing systems and even share them with people that don't have a terminal.

22:39Bilal Hafiz: Understood, yeah. And um I was going to ask like some of the kind of funkier use cases that hedge funds or buy Bicide side have have used BQN B quant for and also investment banks. But before I get to that you know, obviously I have to ask by AI. And many people who are listening are now essentially using Chat GPT codecs or clawed anthropic code, basically, to do all the coding for them now. And so essentially what seems to be happening is like the platform we interface with is now one of the Frontier LLMs. You fire up your clawed claw desktop and you kind of you don't even do your coding anymore. You basically tell it to do the coding and then it does all the Python for you. And you know, you then put the pipes, data pipes in and you, you know, and you go from there. So, you know, how does BQAT work in an AI world where people are using all of these clawed and uh chat GPTs to do the coding for them?

23:31Speaker 3: Yeah, I mean I have to say, just on a personal note, this is the most fun I've had professionally in my career. I mean, the world is moving very, very quickly, but these tools are a game changer, and we are embracing them. So we have recently announced that we've launched BQN Assistant. So this is now generally available to all of our BQN enterprise clients, and it's in limited beta to a number of our BQN desktop clients, but we're scaling it up quite quickly. So what is it? Well, it's an AI tool to help our clients code, and it's available. again at no additional cost to a point within BQN desktop and BQN Enterprise. Um, but it's directly available within a development environment. So maybe to bring it to life, could I perhaps share a couple of examples of

24:17Bilal Hafiz: how

24:17Speaker 3: we would introduce it? So the very first example that I would typically lean on is a bit of a vibe coding example. So we're going to layer up the complexity with a couple of prompts. but it starts initially with uh what I think is probably the world's simplest application. So my prompt is create a new notebook, add a text box, default that to Apple, add a go button. When I click the button, generate a five-year price chart. Use Bloomberg colours and test, make sure it all works. Really simple, but it introduces a few concepts because BQA's BQN assistant can create the files inside. of BQM for you. It can edit them by inserting and writing the code that it needs to run to answer your query. It can run them and it can observe what's happening inside of your project. So it's able to then think about what it needs to do next to answer your question. And then finally, on top of all of that, it's doing this with the human in the loop. So the first time it tries to take an agentic agency action, can I create a notebook? You can go, well, no, actually, I don't want you to do that.

25:17Or I'm going to approve it as a one-off. Or actually, yeah, I'm happy for you to continue to do that kind of action as part of the workflow. Okay. So inside of um, you know, one to two minutes, we've now created the world's simplest application without having to touch anything apart from hit approve a couple of times. Let's ask a follow-up question. Turn this line chart into an open, high-low, high-look close closed chart. So again, that's a really simple prompt, right? I'm sure we can all imagine what that would look like. But it means it has to figure out what are the other data items that I need to go and fetch. How do I combine them? How do I restructure it? And of course, how do I plot it as an open high-load closed chart? Overlay it with a couple of technical indicators, let's say Bollinger Bands and have a subplot Plot for RSI. And tell me how to interpret these signals for whatever the ticker is I'm looking at. Now what I've described would have taken me historically a couple of hours to code by hand. We're now maybe five minutes in. We've gone from a simple chart to a technical screen. And the final prompt in this first example, take everything we've done so far and add it to a tab, call that single security, add a second tab and call that index analysis. Have a text box and default it to the Dow Jones. Have a go button. But this time, what I want you to do is to generate a data grid. So a table where you've got the filters and everything automatically applied to the column headers. Show me all of the

26:37members of that index. For each of them, bring back 90 days of price history to then calculate the Bollinger band signal, calculate the RSI signal, display them as columns. And then as a kicker, the final column, tell me if they're in agreement. And if they are, highlight the row red or green so I can see what the signals in aggregate is telling me. Now if I run that for the S P 500, so 500 and it's always makes me laugh. I think it's 503 or 502 members in the S P 500. It takes, I don't know, a few seconds. It's really, really quick to run. But start to finish, you know, you've gone, you know, from a simple chart to some technical screen to a, you know, a uh like a mini screening tool.

27:15Bilal Hafiz: So in effect, you can use natural human language, and within a very short space of time, you can effectively create like a scorecard with a table telling you kind of the aggregate sort of uh signal, buy cell signal based on the technical indicators as a table very, very quickly.

27:33Speaker 3: That's right. The message is really that within a few minutes, you've created the code to do whatever it is that you've got. in mind. Now, for more complex things, it might take more than a couple of minutes, but not much more. But knowing, you know, that you can just keep adding that next question is really compelling. So on the help center, we've got dozens and dozens of projects that are available for our clients to download. And these have been built by Bloomberg's market specialists. So these are folks that, you know, much like the two of us, have had some market experience, buy side, sell side, different asset classes. And they're using these examples to bring to life, you know, the power of all of our data and our um our analytics, right? So clients can download these, they can mine them out of the box. They can now use B equal assistant to tweak them, change the color scheme, add additional features. This is kind of good. It's 80% what I'm looking for, but I wanted to do something else. So editing existing code is increasingly trivial. Very quickly, let me just run through the other three examples because these introduce some uh you know additional angles that uh we're finding quite true. So the next example again, it's similar to the first, it involves a text prompt. But this time, rather than going one, two, three, imagine a page and a half of text. So effectively, like a detailed plan of uh of attack. So, in this instance, what I'm gonna ask for is be quite BQM assistant to write a function that

28:53takes in a ticket and a date and returns all of the historic options that were live for that ticket on that date. So that's a really rich source of information. Pass it into a second function, right? Calculate the implied fault surface using either Black-Shoals, uh, Heston, Western Saber, Sabre or uh Bloomberg's own, Bruno Dupier's local volatility. Um model, then create a notebook to test those functions. When it's working, add in the controls so I can choose the ticker, the date, how far out into the future to forecast, whether it's based off of the bid, the mid, the last, the last, or the ask of the um of the historic option price, and of course which option to use. So within a few minutes, I've built a custom implied fall vault screener. Now, if you looked at that and you went, oh, this sounds interesting, but I think you know James has got some crazy ideas. about the models, you could take that template and just say, yeah, I want to change it and add in uh you know three different models instead. It will really be that straightforward.

29:47Bilal Hafiz: And and just to be clear, in this instance of creating that uh vault surface with the um positions, the uh option positions, does I mean does one need to be able to code in Python or not? Like I'm just wondering like somebody who's kind of not that technical like a sales guy or a desk or something or like a I don't know, a researcher who doesn't sort of code, they could spin this up quite easily, presumably.

30:08Speaker 3: That's exactly it. You've nailed it. So I could literally send you this prompt and you could run it and you would get a very similar answer to me. This is really only possible because going back to the if we cast our mind back to the definition of the help center, the encyclopedia of all things Bloomberg, and specifically the data library. where for all 23,000 you can find all of the overrides. Well, that is now exposed via an MCP into BQuant Assistant. It's the same underlying beta agent that we have behind Ask B, which is another of Bloomberg's flagship AI products. But on top of that, BQAM Assistant also knows everything else that we have on the help center. So our content team, over the last 12 months or so, have been writing. content with the AI in mind as well as the human. So everything on there is really intended for the human to understand, but breaking out a complex problem step by step by step not only makes it easier for me to understand, but it makes it easier for the AI to understand as well.

31:07Bilal Hafiz: Did you have more examples? I realize I interrupted you there.

31:10Unknown speaker: Yeah,

31:10Speaker 3: no, no, perfect. Uh So the last two, these involve different ways of interacting. So on the terminal, we have a function BQLX. On this function, you'll find hundreds of different Excel spreadsheets that showcase how to use Bloomberg Data 5 BQL. So you can download one of those, you can then upload it into BQAM using the paperclip icon, attach it to the prompt, and say, Can you convert this into an app? So what I might ask specifically is ignore any worksheet in the Excel that's text only, because some of them might have introductory paragraphs and things. So maybe I don't need those. If I do, great, leave it in. So long as they're not used as reference for other worksheets that do have interactive elements. And then basically create me a multi-tabbed Python application that recreates all of the interactive Excel worksheets.

32:03Unknown speaker: So

32:04Speaker 3: within a single prompt, you've one-shot created multiple different applications in a tabbed application. So that's useful initially for anybody that has to maintain and update spreadsheets manually that are predominantly using Bloomberg data. It's an easy place to start the journey within BQM. But if that's the only thing we do, then great, you know, it's useful, but you know, we can do better. And the good news is you can you can go back into the assistant and ask a follow-up prompt, give it some context about you know your particular uh role. So maybe I'd want to uh say, hey, I'm a I'm a hedge fund risk manager. We've successfully created or recreated the Excel, so you know, well done. Uh always like uh giving a bit of encouragement. Um, I want you to go further. I want you to suggest how we can enhance this spreadsheet using the power of Python. And I want you to tell me why each recommendation is useful for me and my role. Right. So now we have a conversation. It's gonna say things like, you know,

33:04how about we do this? And you could read the you know, the suggestion and you could go, oh no, this is completely wrong, or you could can say it's kind of right, but I want to edit it slightly, or you could accept it out of the box. So within two prompts, you've now converted the Excel spreadsheet and you've now made it better. One example that I can share just to bring that to life in terms of what the extension might look like, we have a template under BQLX for showing how to use equity factor uh data and how to bring that to life. So when I went for the extension, the first prompt it said is, well, why don't we do a correlation matrix? And I initially thought, oh, this is going to be wider the mark. It hasn't quite understood that you know I'm asking you to try and focus on things you can't do in Excel. But then as I as I read it fully, it said with optional hierarchical clustering. Okay, well, you could probably do that in Excel, but it's not easy. And then how about we look at cross-sectional distribution and uh and return data as well? Again, you could probably do that in Excel, but it's kind of stretching the you know the limit. And I think probably today most people would start that in uh in Python or some other programming language.

34:09Bilal Hafiz: And actually one thing that just comes to mind, uh, one uh use case, I'm not sure if this was gonna be your final other example, but can you backtest strategies? Because uh you know Bloomberg does have the backtesting different functions to allow you to do that, but is uh a sort of back backtesting testing capabilities?

34:24Speaker 3: There is, yes. And uh I think over the next twelve months or so you'll hear a lot more from us about what we're looking to do to extend that. But for sure, today you could use BQN Assistant to write code to help you with backtesting. You could draw on some of our libraries today. Uh but this is going to be an area that we continue to invest and improve upon.

34:42Unknown speaker: Yep,

34:42Bilal Hafiz: but I think you had uh another example, I think, or had I a

34:46Speaker 3: the last example, I really love this. This is um maybe a a slightly cheeky example. but you can go to the printer, you can get a piece of paper, and you can sketch out a picture of the application that you want uh beatwant assistant to build. So I took a sheet of paper and in less than a minute I sketched out a fun tear sheet. So at the top of the page, I've got a couple of boxes that I literally hand drawn, ticker, an and index, and a go button. I've drawn a line chart going up. five minus five years to zero days. Underneath, I've got a table of returns, and I've got an arrow that says click on any number and then show the breakdown of um fund versus in index based on sector decomposition. Scanned it, I uploaded it, and said, one prompt, turn this into an app and ask me if you've got any questions. And uh it had some questions, but uh amazingly. because I guess optical character recognition is very good, none of them were about my handwriting. But the the questions were, um,

35:46and I think this is really underlying an important point that it this is like domain grounded, it understands finance, it understands everything related to B uh to B quant and to Bloomberg. The questions were on the charts, chart, do you want that based off of zero, a hundred dollars, or to show the actual price levels on. the uh left and right index? Do you want on the table of returns two years, three years, or five years? And because it's calculating those monthly returns from first principles, how do we want to treat dividends and do you want geometric or arithmetic return calculation? And when you click on any number, do you want to use Giggs or BICS sector definition? So, really relevant questions. Less than 10 minutes, this interactive application was built, but tying it. back to the first example, we could carry on asking questions and just keep on adding to it. Maybe I want to see a time series of max DD. Maybe I want a summary statistics, shock ratio, amiga, Sortino, et cetera, et cetera. You can just keep on going.

36:40Bilal Hafiz: And when you you mentioned domain grounding there, that that kind of perked my uh ears. Um, so domain grounding, it implies that you you've basically added a lot. of either kind of systems instructions or memory or context related specifically to the financial sector kind of in the mix somewhere. I mean, can you kind of elaborate a bit more on what you mean by domain grounding?

37:02Speaker 3: Yeah, I think the easiest way to bring it to life is just by bringing up the BCON Help Center and everything that's on there is now available to it. So that's probably the most tangible way that I can describe it.

37:12Bilal Hafiz: Again, I'm just thinking of a lot of possibilities here. I mean, can you pull text data in to BQant? Like, can you kind of say, look, do some kind of sentiment scoring on these news stories or something?

37:24Speaker 3: Yeah, I love this topic. So that is something we have clients globally working with today. It is an add-on package to BQN Enterprise. And the reason for that is you need more than a laptop's worth of compute to really work with these vast amounts of text. textual data. So we have an add-on package called Textual Analytics, and that allows our clients to get hands-on with some of the frontier AI models, including some of our own, along with years and years of Bloomberg news history, earnings, filings, and cool transcripts as well. But this is a really rich source of information. And I like to think of this as providing clients with a a mechanism now to start backing. back testing their own intuition. So, you know, having been based on a trading floor, we would always hear, oh, you know, this pattern has happened in the news, therefore something is going to happen. Sure. Okay. Maybe, you know, the last two times you saw something happen, it may have loosely coincided with whatever the news pattern is.

38:19Bilal Hafiz: You sound like an FX trader now. The last two uh observations make a trend.

38:24Speaker 3: Yeah, yeah. Well, exactly. Yeah, yeah, yeah, exactly. Always a fan of uh you know, quick interpolation. But uh, you know, in this instance though, it allows you to say, well, can I actually measure this through data? Can I see the pattern of the news? Can I see if this now applies to other sectors? Does it apply to other geographies? And is it something that is stable through time? But I think, you know, if we're talking about news data, I think this touches on two important points. And the first is really at Bloomberg, and this is on a personal note, one of the motivating factors for me joining is we've got decades of experience in the field of natural language processing, machine learning, and of course, today we would call it all AI. If we were having this conversation a few years ago, we would have talked at length about enrichment of data and how we're using different techniques to automatically apply metadata to news. So on any of our news stories, we tag the people, we tag the companies. We've got a really extensive news taxonomy, which is great because sure, we could talk about 600 billion, whatever it is, data points on any day, right? But if you can't find the things that you need, it's kind of not really that relevant, right? Uh and to your point, Nobala, Opal, we

39:35also apply sentiment. And um that means, okay. a simpler way to get started. I've got my portfolio and I want to filter of the news for all the names in my portfolio. And I want to show now a monthly heat map going back for the last 12 months of the average monthly sentiment for the names in my portfolio. Let's not let's uh increase the Of complexity. Let's add a drop drop-down down box where I can now filter for some of the news themes that I really care. about. Okay, so maybe I'm interested in, I don't know, the AI theme. So I now want to filter for the news for names in my portfolio where AI is tagged as a theme and see how that changes. So very quickly, you can start building things that are relevant to you as an individual before we even start thinking about how we could use AI in this context. But I do have an example of using AI in the realm of FX that you might be interested in.

40:28Unknown speaker: Sure,

40:29Bilal Hafiz: go for it. Yeah.

40:30Speaker 3: So we've got a ton of interesting data sets. So if I want to start modeling out like a systematic FX strategy, maybe an easy signal to start with is momentum, right? There are dozens and dozens of vendors of FX price history, right? Why's Right the momentum signal? Straightforward. Let's add to that a carry signal. Okay. Conceptually, we could imagine what the signal would be, but where do we get the historic bond pricing data? Can we get the full curve from tomorrow going out to you know 10, 15, 20 years? Well, we've got that data. Maybe we want to also apply to that uh constant maturity, implied volatility. And now we could use that as an additional signal. So let's say we've built something that's quite cool, we've got some interesting momentum, some carries, some vault filters in place as well. How about we now start thinking about news? Well, you know, I think probably a lot of folks would start thinking about economic data and can we actually start looking at Fed Minutes, et cetera, et cetera, or when you know different maybe analysts were talking about inflation forecasts or whatever the case might be. But this allows us now to start looking in some interesting places for new signals.

41:39So as an X uh FX trader, I know that whenever there's an indication of flow, people's ears pick up. So where might might we find out in news? Well, we can now filter using our taxonomy for MA. So we've got a tag for that. We also have 18 subtags underneath MA. So if you want to differentiate between announced deals and completed deals, et etc. cetera, et etc. cetera, you can focus in on that. So let's start there. Now, in each of these stories, we have the company tagged, and this is where it all comes together. Because we can go back to our data library of all 23,000 different fields, and we can start bringing in other bits of information that we now need to know. So, which country is this equity listed in? What's the currency of that country, etc. et cetera, etc.? et cetera? So now we can. start filtering for cross-currency MA, not cross-border, because France versus Germany, great, that's interesting. But perhaps, you know, it's not going to move the FX market. But a French company being bought by an American company or vice versa, well, there's a potential signal there. So that allows us to find the stories where we have cross currency. And then we, of course, we can filter them for what we might perceive as a tradable universe. So a Brazilian company buying an Icelandic company as an example, that could be really interesting, but there may not be uh you know a huge amount of liquidity

42:59in that one. So we then have our training data, and now we've got a choice which model do we use to try and extract the signal. And of course, today we could use most of the frontier large language models and just put the headline in and then say, okay, can you interpret you know which company is buying the other one? And it would do a pretty good job. But it's going to be, if you're running that at scale, it's going to have a cost to it, and it may not be the fastest thing. If you care about you know speed, you might choose something uh that's a bit faster. So you could take a like an older model, something like a Roberta multi-class classifier, and then reframe the problem. So for each of your headlines where you have a trade, you could duplicate. you could then append company one to the first copy, append company two to the second copy. So now you've got a string of text as input, and now you need to label it as the human. What's happening? So you could say zero, I can't tell. One, this company is now the acquirer or the buyer of some asset. Two, it's the target or the seller of some asset. Now you've got training data. That model. will hit a really good F1 macro score for classification accuracy in a very short period of time with a limited amount of compute. This is using a PyTorch framework. So you can now save the model, you can reuse it, you can run it out of sample with your holdout data, see how stable

44:19that signal is. But ultimately, because you're now measuring the news data down to the millisecond of when that headline historically hit the wire. wires. You now have a very rich set of um additional signals that you can then fold back into your model and see if it adds value within your process.

44:35Bilal Hafiz: No, that's great. I mean, uh kind of this conversation has been almost more like a tutorial than a regular interview for me. So it's been quite helpful. And I do feel like I'm not quite using, I'm not getting the full value of my uh Bloomberg license that I have. So I appreciate all. of that.

44:51Unknown speaker: Can

44:51Speaker 3: I just add to that comment? Because that is interesting, Bilal. And I think if I reflect on the conversations that I've had with clients globally this year, the nature of the conversation today versus the start of the year is materially different. A year ago, we'd be talking to you about how you do a particular thing if we're a meeting one-on-one. We'd be showing you how to access things and how to code, et cetera, et cetera. Today, the conversations, because of BQN assistant, really making the whole thing significantly more accessible, it's about showing you what you can do. Because once you're hands-on with this, how you do it becomes increasingly easy to execute.

45:28Bilal Hafiz: No, that's a great, great point. I did want to round off with a couple of like uh non-work, work, well, it's kind of work-related, work related, but some um put more personal kind of type questions. One is I'm asking this to all my guests these days. is, you know, many young people who are leaving uni uh are struggling to find jobs. Graduates are quite insecure around the whole AI story as well in terms of whether they can find a job. What advice do you or would you give to people who are either soon to graduate or who are graduates and looking for jobs?

45:57Speaker 3: Yeah, it's a really good question. Thank you. I think first off I would acknowledge I have some survival survivorship bias. So how I would describe my advice, okay, take it with a pinch of salt. This has worked for me. I don't think there's a single right answer to any of this.

46:12Unknown speaker: But

46:12Speaker 3: my North Star throughout my career has been leaning into where I'm going to learn the most and particularly where I want to learn the most. So I've had multiple opportunities to go down path A or path B. And I think as we covered at the top of the call, I've I've been in a few different seats, but I've always lent into knowledge acquisition. On top of business school, I was fortunate enough to go through the CFA, through the CQF. I've done different data science programs. My motivation for joining Bloomberg was really to go a lot deeper on where I've where my passion resides, and that's financial data science. I think on top of that, I would encourage people to network as much as possible. That might be an overused phrase, but to network actively. So if you're interested in a particular area, be it quantum investing, be it macro, be it fundamental, and you're in a large city or close to a large city, you will find lots of groups that meet up regularly. So find one that meets your interest, turn up early, get to meet the uh the organizers, see if there's a volunteering opportunity for you. I've done that a couple of times in my career. I've met some really good people, and actually, I'm really glad that I did because coincidentally, it was through one of these activities that I first met Gary all the way back in must have been 2014 now. We've we've remained really close friends ever since, and he was

47:31responsible for bringing me into Bloomberg. To I would have said these two things if we were having this conversation 10 years ago, but you know, continue to learn. continue to network. My final advice would also be to have a hobby. And this might sound a little bit random, but when you do enter the workforce, or you know, it can take up a lot of time, right? And particularly when, you know, if you're in a situation where you've got family, et cetera, et cetera, try and carve out an hour, even if it's one hour a month, pick up a hobby, something that you only want to do because you want to do it. You don't need to tell anyone else that you're doing it. But I think it's helpful to have just a little bit of balance between whatever you've got going on in work, whatever you've got going on outside of work. Have a little bit of time for yourself. No,

48:12Bilal Hafiz: that's fantastic advice. And the last question was: I mean, you did actually mention a book earlier, but what were some of the books that have influenced you over your career?

48:19Speaker 3: I've got two to mention. Um, the first is uh Benoit Mandelbrot's um Misbehaviour of Markets.

48:25Unknown speaker: There's

48:25Speaker 3: one lesson here that I thought was fascinating. So at one point in time, I think he was working for the uh National Geological Society. What's the outline of the UK? Well, it kind of depends at what at what height you're measuring it, right? And the closer you get to ground level, you know, it's arguably it could be infinite at some scale, right? But observing that there were repeatable patterns led to, you know, chaos theory and fractals and um through a hop, skip, and a jump, some of the uh like the psychedelic look looking posters that people maybe had up on their walls at university. But in his book, he mentioned something that profoundly resonated with me, and that was that markets don't move in clock time.

49:07Unknown speaker: Now,

49:07Speaker 3: I read this around the time that I was working as an FX trader, and I had a like a short-term automated trading system. that was using hourly bars as input. And uh I was driving home after a particularly bad 24-hour period where the overnight session had been very quiet. So you've got a series of bars that are just kind of moving sideways. Signals converge, and obviously through that, you end up buying high and selling low. So you have some PL bleed. But again, we're using hourly bars. So in the morning, you've got non-fund payrolls that come out on the half-hour mark, and you can't initiate a new trade for the way the model had been designed, poorly by me, I hasten to add at that time, with the benefit of hindsight. So you end up half an hour later initiating a new position. The market is overshot in the previous half an hour. So then you end up round-tripping. Round tripping. Okay, what's actually happening here within an hourly bar? And a way to state this is. it's a compression algorithm, and perhaps not a really good one either. Because if you start working in tick data, you've got millions and millions of data points for certain assets inside of an hour, and you're throwing away all of them, apart from the first one, the last one, the min and the max. And that's your open, high, low, close bar. So I think at that point, I'd also recently re-watched the matrix, and there's that scene in

50:26Bullets. bullet time where you know time is sort of warping. And I thought, okay, there's got to be a better way that we could do this.

50:33Unknown speaker: So

50:33Speaker 3: I had an idea for um volatility bars, and I think there's been lots, lots of literature written about similar ways to generate financial bars, either clipping a bar every million dollars that's been traded or every X number of ticks, et cetera, et cetera. But coming from an FX background. you know, there wasn't a central source of liquidity. So we couldn't use uh volume bars. So I had an idea for a concept using uh equal volatility bars. Okay, so the interesting dimension there is their non-uniform time. So if I go back to that previous description, that quiet period through the aging hours, you may only have one bar. So it's not actually going to close the bar until you get sufficient movement. And then during that non-farm page, payrolls, you're going to unravel it and have lots of bars if it's moving quickly. So your model can be a little bit more adaptive and responsive to what's actually happening. So that

51:23Bilal Hafiz: is a great example, yeah.

51:24Speaker 3: Yeah, but this actually leads to a personal career highlight, which is uh actually this week. So I've been talking to Gary about this for a while. Uh Gary Kazansev, Kazancev, I hasten to add, he's uh one of my colleagues and in CTO and also an adjunct adjunct adjunct professional. professor of finance at Columbia here in New York. And uh through Gary's leadership, um, he assembled a team of additional folks around CTO, um some wonderful professors at Stonybrook, and they took this initial idea and took it to the next level. Using an adaptive bidirectional tokenizer, we're able to try and bridge the gap between a time bar and a volatility. bar, trying to get something that optimizes in both directions for a roughly equivalent amount of time with roughly an equivalent amount of volatility. So why I say it's a personal highlight is uh this week uh Gary was presenting uh the findings of this paper on stage at the ICAIF AIF event in uh in Milan. So really, really great to

52:24see like an initial idea from you know. must have been about 20 years ago. Eventually it's made the light of day, but in uh for the power of the the broader team in a in a much better, much better form.

52:35Bilal Hafiz: That's great to hear.

52:36Speaker 3: And the second book, given Rick Rubin just got inducted to the uh Rock and Roll Hall of Fame, it's his book, The Creative Acts. So I mention mentioned this because I think in the age of AI, we're moving away from the what, or rather, we're moving away from the how you do a given task to the what. So creativity is uh increasingly important. And uh Rick was the co-founder of Def Jam Records, for anyone that doesn't know his work. Worked with a huge range of artists, everyone from Public Enemy to the Red Hot Chili Peppers, even Johnny Cash. And not being a musician himself, the reason that he was so valuable is really being able to inspire that creativity in others, establishing the right conditions for that creative act to take place. His book is wonderful. It's a really easy read, fairly short chapters, but you can pick it up, flip to any chapter, or at least I do if I'm ever stuck on a, you know, writing a presentation or thinking about some code. And it just uh you know it just speaks to me every time. So two uh very different books, but I think uh, you know, both very relevant.

53:46Bilal Hafiz: That's fantastic. And just finally, what's the best way for people to connect with you?

53:50Speaker 3: Yeah, uh well, through uh if you use uh the Bloomberg terminal, feel free to reach out through Bloomberg uh Instant Messenger or reach out through LinkedIn. But yeah,

53:58Unknown speaker: we'd

53:58Speaker 3: love to uh love to speak with you. Thank you.

54:00Bilal Hafiz: That's great. So thanks a lot, James. That's been really, really helpful. Very uh educational as well. And uh keep up the good work over there. Thank

54:07Speaker 3: you, Bilal, and uh thank you so much for the time and wonderful to wonderful to see you again.

54:12Bilal Hafiz: Thanks for listening to this episode. Please subscribe to the podcast show on Apple, Spotify or if you listen to podcasts, leave a five star rating, a nice comment and let other people know about the show. We'd be very, very grateful. Sign up for a our

54:23Unknown speaker: free

54:24Speaker 4: newsletter at macrohybe.com. macrohive.com.

54:25Bilal Hafiz: Macrohybe Macrohive Limited Macrohive

54:27Speaker 4: retains all ownership title rights and interest in this audio

54:30Unknown speaker: and

54:31Speaker 4: video and all related content, including audio, transcripts, thumbnails, and descriptions. You may share links to this publication and embed it using platform native features. You must not, whether in whole or in part, download, copy, reproduce, redistribute, re-upload, edit client, or create derivative works from this content without the express written authority of Macrohive. This audio

54:50Unknown speaker: and

54:50Speaker 4: video is made of available to you for general information purposes only and does not constitute the recommendation of any investment product to act or not to act in any way whatsoever and does not represent an offer or the solicitation of an offer to buy or sell any securities, financial products, or related financial services, or to adopt an investment strategy. To the fullest extent permitted by applicable law, Macrohive excludes all representations or warranties of any kind, including any implied. warranty of merchantability, satisfactory quality or fitness for a particular purpose. To the maximum extent permitted by applicable law, macrohybe excludes all liability for any losses, whether direct or indirect, that may be suffered as a result of reliance on this audio or video. Unless otherwise stated, the views, information, or opinions expressed during this audio or video are solely those of the speaker and do not necessarily represent those of macrohive. or its staff. Copyright 2025, Macrohive Limited, all rights reserved.

This page was produced automatically: the audio was transcribed with parakeet-tdt-0.6b-v3+sortformer-v2.1 and interpreted by Qwen3.6-35B-A3B. Transcription and interpretation can contain errors; always confirm against the original episode. Nothing here is investment advice.
All insights