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
1
vote
0 answers

np.where() causing RSI to end early

I initially began with one np.where() to run my RSI rules of sending a buy signal (1.0) when the RSI (rsip) dips below 20 (lower_bnd), and selling (0.0) above 80 (upper_bnd). The program bought correctly, but sold as soon as rsip went above 20. I…
Mikey Mike
  • 79
  • 1
  • 9
1
vote
2 answers

How to get datetime day, month and year without financial toolbox in Matlab?

I found that functions like day, month and year require Financial Toolbox. >> [~, packages] = matlab.codetools.requiredFilesAndProducts('month'); packages(2) ans = struct with fields: Name: 'Financial Toolbox' Version:…
Dims
  • 47,675
  • 117
  • 331
  • 600
1
vote
3 answers

extract the same column (different length) from multiple .csv and cbind in one data frame - R

So I have 1300 csv-files of financial data with the following format: Date Open High Low Close 1 Nov 28, 2017 0.233394 0.234871 0.223832 0.225542 2 Nov 27, 2017 0.225910 0.234219 0.212298 0.233113 3 Nov 26, 2017 0.229367…
hl0nd
  • 13
  • 2
1
vote
1 answer

Concatenate different dataframes into one with for loop

I want to concatenate different financial dataframes into one. So when doing this for 2-3 stocks manually I do: #getting dataframe from .csv file df1 = pd.read_csv('C:\\Users\\Enric\\Desktop\\python\\tickers\\MSFT.csv',index_col=None, header=0) df2…
1
vote
1 answer

pandas colume split by code and concat these data

I'm pandas newbie for example I have dataframe as below code time open high low close 1 2 1 1 1 1 2 1 1 1 1 1 2 2 1 1 1 1 and I want column split by code I want concat these splited data on index by…
이승훈
  • 350
  • 3
  • 8
1
vote
1 answer

D3.js: Discontinuous Time Scales (Financial Data)

I'm currently designing a financial timescale with quite a large dataset, as a result I have noticed that using d3's built-in timescale doesn't really allow for "clipping" parts of the day out, and results in quite an ugly looking graph if I'm…
apgsov
  • 794
  • 1
  • 8
  • 30
1
vote
1 answer

how to convert object type to datetime64[ns] in python jupyter?

I have a column of object type like this: quote['SellTime'].head() Out[32]: 0 94520 1 94538 2 94609 3 94615 4 94617 Name: SellTime, dtype: object I want to convert it to to date time (datetime64[ns]) format. I…
ary
  • 151
  • 1
  • 2
  • 14
1
vote
1 answer

Get delta values of each quarter from cumulated income statement reports with pandas

Get value of each quarter from cumulated income statement reports with pandas Is there any way to do it with python/pandas? I have an example dataset like below. (please suppose that this company's fiscal year is from Jan to Dec) qend revenue…
Akio Omi
  • 97
  • 1
  • 2
  • 9
1
vote
1 answer

C# Enable Checkbox In Another App?

I've been able to launch this program (ninjatrader) from within my C# Forms program. private Process process; process = System.Diagnostics.Process.Start(@"C:\Program Files (x86)\NinjaTrader 8\bin64\NinjaTrader"); I would like to also enable the…
Westsider
  • 145
  • 12
1
vote
1 answer

Is this PAN IIN lookup Restful API useful for EMV developers?

Searching for a useful online tool to check certain card ranges for scheme, brand, issuer, country etc parameters; I came across:- https://lookup.binlist.net/, Sample use case:- https://lookup.binlist.net/411111 Referenced also at:-…
MikeRoger
  • 766
  • 1
  • 19
  • 25
1
vote
1 answer

QuickFix/n - MDStreamID

I'm trying to develop a FIX Client for the first time in C#.NET (with QuickFIX/n) using ESP (Executable Streaming Prices), however i'm receiving a Market Data Request Reject with the following text in tag 58: 58=Stream [DEV_px.123] invalid…
Sean
  • 507
  • 1
  • 9
  • 27
1
vote
1 answer

How to find stock turning price points

Let me know how to find turning price points in stock data in SQL. for example we have following data columns and N rows: Date |Price| 20150101 | 100 | 20150102 | 50 | 20150103 | 80 | . . . 201708027 | 200 | and I want to…
MahdiIBM
  • 55
  • 7
1
vote
0 answers

Is there any open sourced (FX|stock) trading or trade simulation code using machine learning?

My challenged article is below. FX system trading code with Deep Learning on Python - Qiita http://qiita.com/ryo_grid/items/8dd84d2df1fcb7265ae1 However, I want know many other approches.
1
vote
0 answers

fin time series tick labels matplotlib

I've been on here all day trying to figure out how I can change the tick labels on the x-axis. I'm exclusively working with large financial time series, so I can't just create small little tick lists. If possible I'd like the axis to show, for…
Tom
  • 87
  • 2
  • 7
1
vote
1 answer

Specification for Tally SOAP API

Where can I find specifications for Tally's SOAP API? And does anyone know of any python libraries for the same?
zsquare
  • 9,916
  • 6
  • 53
  • 87