Questions tagged [financial]

Anything related to financial calculations and processing of financial data. For example, this tag can be used for questions about interest rates calculations, stock exchange data processing, market data analysis, etc.

Anything related to financial calculations and processing of financial data. For example, this tag can be used for questions about interest rates calculations, stock exchange data processing, market data analysis, etc.

346 questions
2
votes
2 answers

How can I calculate an interest rate in PHP?

So I searched everywhere but I couldn't find an appropriate solution to my problem. I need to calculate the (annual) interest rate in PHP. The function RATE on PHPExcel doesn't work (returning NaN), and I tried to use this to write an other function…
Xuan-Thi Nguyen
  • 185
  • 1
  • 4
  • 11
2
votes
1 answer

how to design a real time CUDA financial application

I have a general question about how to design my application. I have read the Cuda document, but still don't know what I should look into. Really appreciate it if someone could shed a light on it. I want to do some real time analytics about stocks,…
wyizhang
  • 21
  • 2
2
votes
1 answer

adjustOHLC - need solution to loop through character vector of tickers

What I want to do is fairly easy but I haven't been able to figure it out. I thought I could do something similar to that outlined here I have a character vector of tickers that are xts OHLC objects returned by getSymbols. I want to loop through…
codingknob
  • 11,108
  • 25
  • 89
  • 126
1
vote
1 answer

Receiving 'Expiration Date is invalid' when processing credit card by Authorize.Net

I'm posting to the auth.net web service to create a credit card transaction. In both test and live, if i use a 9 or below month, I get the error. It was working a while back but started getting this issue. I am left padding zeros to the month. So,…
Bill Martin
  • 4,825
  • 9
  • 52
  • 86
1
vote
2 answers

Java- Using a float - constructor error

I don't understand why I am getting an error of an incompatible data type, I am using a float for a financial value, I do not want to go past two decimal places! I was under the impression that you could do this with a float, however I am getting an…
Phil
  • 1,393
  • 5
  • 23
  • 42
1
vote
2 answers

Date and financial data

I have a set of one year finacial data. The data is collected in working days. Is there any way in R to assign to each data point a date given that the first data point was collected for eaxmple on juanari the 3th.
1
vote
1 answer

FTSE Price Feed

Does anyone know of a web service where I can get price feeds and charts for the FTSE 100 and DOW Jones index? I only need a delayed price feed not a real-time one. It is for display on a public website so I assume we'll need a provider that we can…
Chris Roberts
  • 18,622
  • 12
  • 60
  • 67
1
vote
2 answers

Breaking date into financial years php code

Language used:PHP I have a form to enter CNumber DateFrom DateTo On clicking Submit, I want the functionality to break up the dates into financial years. Eg- INPUT Through Above Form CNumber:1 DateFrom:12/12/2013 DateTo:31/03/2014 Then the ( OUTPUT…
Techno
  • 11
  • 4
1
vote
1 answer

Plotting financial data

I'm implementing some simple machine learning algorithms on some financial data in c++, and would like to be able to present this in a 'professionel' way to a potential customer. Does anyone know a good framework for displaying financial charts? Or…
Martin Kristiansen
  • 9,875
  • 10
  • 51
  • 83
1
vote
1 answer

Is there an open source provider of market data?

Basically I need test data for a trading engine, so don't need real-time data, just something that would give me a reasonable frequency of intra-daily(?) prices.
ennuikiller
  • 46,381
  • 14
  • 112
  • 137
1
vote
1 answer

Convert finance period into Date/Time

I am trying to convert finance period into datetime e.g. 201801 = 01/04/2018 e.g.; 201801 = 01/04/2018 201802 = 01/05/2018 201803 = 01/06/2018 201804 = 01/07/2018 201805 = 01/08/2018 201806 = 01/09/2018 201807 = 01/10/2018 201808 = 01/11/2018 201809…
Reg Chand
  • 57
  • 7
1
vote
0 answers

error when using networkx to drow a precision matrix of financial network

I want to draw the precision matrix (inverse covariance) of a financial networks including 200 stocks. It popped up an error 'AttributeError: module 'matplotlib.pyplot' has no attribute 'ishold''. plus:how can I draw pic like that the size of…
Wade
  • 21
  • 2
1
vote
0 answers

Different condition buy and sell signal

I'm looking to implement a trading strategy working with two moving averages. A slow (60 day SMA) and a fast (10 day SMA). In general, whenever the price is above the slow MA I want to be long, with the exception that if the price is more than 5%…
darkdark
  • 249
  • 1
  • 3
  • 16
1
vote
3 answers

SQL Deriving Financial year (20XX/YY) from dd/mm/yyyy SSMS 2012

My financial year is 01/04/20X0 to 31/03/20X1. So current financial year runs from 01/04/2018 to 31/03/2019. This is abbreviated to "20X0/X1" or "2018/19". My output date is 01/08/2021 and is always of the format dd/mm/yyyy. This corresponds to…
Dasal Kalubowila
  • 103
  • 5
  • 22
1
vote
2 answers

Filtering Variables within Cluster Analysis in R

I am attempting to run a cluster analysis (PAM) on a financial dataset with a lot of noise. There are well over 100 variables, many of which are highly collinear. Running the clustering algorithm on the entire array of columns is almost nonsensical…
R.Bro
  • 11
  • 2