Questions tagged [finance]

Questions related to quantifying risk and the allocation of assets and liabilities over time under conditions varying uncertainty--including questions on the use of the built-in financial functions of Mathematica.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
550 views

Increasing recursion speed in Hull-White trinomial tree calculation

First timer here and have been finding these boards very useful in learning Mathematica. I'm trying to implement a numerical procedure for the Hull-White trinomial tree in Mathematica. Despite using ...
jwhatthe's user avatar
5 votes
0 answers
101 views

Accessing the Australian Stock Exchnage through FinancialData

This answer from 2015 suggests that data from the Australian Stock Exchange can be accessed using FinancialData["AX:CBA"]. However, when I run this I get ...
Isaac Breen's user avatar
5 votes
0 answers
629 views

Curated data sometimes delivered in undefined units

This question may better go to Wolfram, but as it came up on the weekend, I thought I'd try here first. Take a look at the following: ...
Jagra's user avatar
  • 14.3k
4 votes
0 answers
62 views

Why am I getting incorrect result from EntityClass?

Suppose I want get 6 largest companies by market capitalization. I try the class using the old syntax: ...
user13892's user avatar
  • 9,293
4 votes
0 answers
267 views

Kolmogorov backward PDE with boundary conditions

I am trying to solve numerically Kolmogorov backward PDE with boundary conditions: ...
Al Guy's user avatar
  • 1,610
4 votes
0 answers
106 views

Stocks & Finances

Are there any guides, examples, tutorials how to use finance related functions in Mathematica (except documentation)? Are there any packages for plotting Japan candles graphs in Mathematica?
Artem Alexandrov's user avatar
4 votes
0 answers
257 views

Can FinancialData really get the data of options?

The "Wolfram reference" says that the function "FinancialData" can get the data of stocks, options and other financial derivatives. But till now, I can't use it to get the data of options such as AAPL ...
Ren Guan's user avatar
4 votes
0 answers
448 views

What is the signature for a callback function for FinancialIndicators?

I'd like to write my own indicators to use with functions like TradingChart. From the context, it's clear that one needs to write a function whose parameters ...
David Jameson's user avatar
3 votes
0 answers
59 views

How to leave empty space on the right in tradingchart

The Tradingchart function is very useful, although tremendously graphics heavy. For better understanding of the image I would like to leave a white space on the right but it is ignored. For example. ...
Ramiro dell'Erba's user avatar
3 votes
0 answers
34 views

Is the way TimeValue[s, i, {t, t1}] works with s being a Cashflow using date expressions a bug or a feature?

The documentation for TimeValue tells us that in TimeValue[s,i,t] we can have s be a Cashflow...
gwr's user avatar
  • 13.4k
3 votes
0 answers
101 views

Problems with CUDAFinancialDerivative in Mathematica 12.1

I am attempting to run some CUDA functions in MMA 12.1, specifically CUDAFinancialDerivative. As I recall, this function (and other CUDA functions) ran successfully on this machine with earlier ...
Jonathan Kinlay's user avatar
3 votes
0 answers
136 views

How complete is the financial statement data?

Has anyone here looked at CompanyData or Entity["Company",All]? Are both of them the same data but just a different interface ...
user13892's user avatar
  • 9,293
3 votes
0 answers
176 views

FinancialData price adjustments no longer work?

TL;DR The following properties of FinancialData appear to no longer work: ...
Peter Richter's user avatar
3 votes
0 answers
86 views

Why FinancialDerivative fails for the Spread case?

According to the documentation center for FinancialDerivative in version 10.4, when there are multi assets, we still may use ...
M.J.2's user avatar
  • 491
3 votes
0 answers
82 views

How to find euro zone equivalent of treasury data in U.S. using FinancialData?

For example I use FinancialData["^TYX", "Price", {{2004}, {2014}, "Week"}]; to get data for U.S. treasury data, can I do the same for eurozone yield curve? I know I ...
Ilija Andrevski's user avatar
3 votes
0 answers
97 views

Possible bug in fetching price index data?

I seem only able to fetch price index data for the U.S. For example, the following fails (Mathematica 10.2): ...
Alan's user avatar
  • 13.7k
2 votes
0 answers
75 views

"EventLabels" option no longer working for TradingChart in 11.3

I used EventLabelsoption with TradingChart and CandlestickChart functions in Ma 11.1. I ...
ramesh's user avatar
  • 2,309
2 votes
0 answers
69 views

Is TradingChart Broken?

I'm getting pinking on mouseover for this: ...
user5601's user avatar
  • 3,613
1 vote
1 answer
79 views

Historical data of financial funds

I would like to obtain the historical data of some funds, of which I know the ISIN code. Is there any way to do this with mathematica? For example, this fund here: https://markets.ft.com/data/funds/...
Giorgio Busoni's user avatar
1 vote
0 answers
67 views

How to Name a Path in TemporalData?

Preamble: I am working with stock prices and need to perform calculations on them. And then extract the information for further calculations. TimeSeries/...
IntroductionToProbability's user avatar
1 vote
0 answers
39 views

`CandlestickChart` how to display a separate x-axis tick for every single second?

I use CandlestickChart to display some price data. The data is only 30 seconds long and contains one candle per second. I'd like the chart to display a separate ...
Kagaratsch's user avatar
  • 11.9k
1 vote
0 answers
272 views

How To Fit Heston Model To Stock Data Stochastic Volatility Model

The stochastic volatility model known as the Heston model can be expressed in Mathematica in the following way https://reference.wolfram.com/language/example/HestonModel.html Define the Ito process of ...
Daniel Berkowitz's user avatar
1 vote
0 answers
82 views

How can I use TradingChart without volume data?

I am trying to use the Mathematica Function TradingChart to produce a chart. I am using data produced by me for the plot and I do not have the volume data. Here is ...
zurg's user avatar
  • 117
1 vote
0 answers
62 views

ROI and Earnings Yield within FinancialData

Can I calculate within FinancialData properties these as follows: Earnings Yield = EBIT/Enterprise value ..where Enterprise value is the sum of market value of equity (including preferred equity) ...
Nate's user avatar
  • 401
1 vote
0 answers
80 views

Conditions on FinancialData

I would like to order (3) on a Dataset or Table all the Financial Data between all markets respecting those constraints: each asset has to be shown as "Name" and "StandardName"; I would like to show "...
Nate's user avatar
  • 401
1 vote
0 answers
395 views

List of Financial Index in Mathematica

I have to work with different Financial Futures Index in Mathematica using the function "InteractiveTradingChart". But, I can't able to find a complete list of all the available Financial Futures ...
Giuseppe Vonella's user avatar
1 vote
0 answers
331 views

What's the dataset site/provider from which Mathematica import Financial Data price?

I tried to download a lot of Financial Data Time series of different financial assets (Exchange, Commodity, Index, Stocks, etc etc...). In the most part of cases, I try to found, and download it, ...
Giuseppe Vonella's user avatar
1 vote
0 answers
104 views

Historic Financial Data

The Mathematica line DateListPlot[FinancialData["L:ULVR", DatePlus[-1865]]] does not work now. It generates the output "DateListPlot::ntdt: The first argument to DateListPlot should be a list of ...
guntecr's user avatar
  • 11
1 vote
0 answers
166 views

FinancialData -- Yahoo problem or Wolfram problem?

Last May, problems surfaced with FinancialData (see FinancialData no longer fetches historical prices?). This week, FinancialData ignores mutual fund prices for the last day of May, although ...
James Stein's user avatar
1 vote
0 answers
66 views

FinancialData - differents results in time

I use FinancialData to get historical stock prices (see code below). I update them each year to get new data. I found out that stock price for particular month (e.g....
julob's user avatar
  • 11
1 vote
0 answers
44 views

FinancialDerivative with a delayed start

Using the function FinancialDerivative with an Asian style option doesn't seem to have a parameter that allows for a contract that averages over a specific time period in the future rather than over ...
IronMarshal's user avatar
1 vote
0 answers
97 views

ItoProcess with log

I would like to use ItoProcess to simulate some paths of $r(t)$, a process that follows the sde $$d\ln\left(r\left(t\right)\right)=\left(\theta-\ln\left(r(t)\right)\...
Skumin's user avatar
  • 585
1 vote
0 answers
82 views

Autocorrelation in Tail Events

I have a single time series of financial data (stock index returns) and would like to study the autocorrelation among (log-)returns that are classified as "extreme", for example via exceedance of a ...
CFW's user avatar
  • 229
0 votes
0 answers
56 views

Can I use Timeseries of a Data to plot the ARCHProcess?

So, I have a list s={Timeseries1,Timeseries2,Timeseris3} I want to Plot a graph just like :Mathematica I tried to do this but I didn't understand some parts of the ...
amalsebastian7's user avatar
0 votes
0 answers
89 views

Customize FinancialIndicator

I have a set of financial data in a 5-minutes (download here) and 1-day timeframe (download here) Since the ordering of my dataset is different than the ordering taken by ...
apt45's user avatar
  • 1,648
0 votes
0 answers
177 views

Getting the source code of the custom indicator MESA

I would like to ask how to get the source code of a custom indicator offered by the InteractiveTradingChart function, in particular the MESA indicator (Maximum ...
Giuseppe Vonella's user avatar
0 votes
0 answers
97 views

What financial forecasting methods are available for evaluating the profitability of a cash flow?

I'm sorry for this question. I'm looking for forecasting methods for evaluating the profitability of a cash flow I'm not experienced with this branch of the economics, I've done some searches in the ...
Revious's user avatar
  • 540
0 votes
0 answers
152 views

Is this a one-day value-at-risk?

Mathematica's help page for StableDistribution (ref/StableDistribution) gives a great way of calculating the value-at-risk using a few lines of code only: ...
Kambiz Homayounfar's user avatar
0 votes
0 answers
43 views

Bulk Exchange Rate Call

I have a function which gives me the exchange rate of GBP to USD as follows: ...
user13892's user avatar
  • 9,293
0 votes
0 answers
75 views

FinancialData returns a Failure[] object

What is the recommended way to deal with this (basically, if I get "Failure", I would like to say that the data is missing, and I can obviously call the function inside another function, check if the ...
Igor Rivin's user avatar
  • 5,084
0 votes
0 answers
223 views

Finding Option Value in American Options

I want to find the Option Value in American Options. I basically want to replace this code if possible ...
Supratim Das Gupta's user avatar
0 votes
0 answers
621 views

How to define delayed coupon payment for FinancialBond?

When the coupon calculation end date falls on a holiday, it is customary to delay the coupon payment to the next working day. E.g. a bond may have a monthly coupon calculation period of 2013 Jul 18 to ...
asterix314's user avatar
  • 1,325