All Projects → dv-lebedev → pair-trading-view

dv-lebedev / pair-trading-view

Licence: Apache-2.0 license
Pair Trading View - .NET application for visual analysis of synthetic financial instruments based on statistical models.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to pair-trading-view

TerminalStocks
Pure terminal stock ticker for Windows.
Stars: ✭ 88 (+95.56%)
Mutual labels:  stock-market, shares, stocks
Beibo
🤖 Predict the stock market with AI 用AI预测股票市场
Stars: ✭ 46 (+2.22%)
Mutual labels:  stock-market, stocks, investment
investbook
Оценка эффективности инвестиций с учетом комиссий, налогов (удержанных и ожидающихся), дивидендов и купонов.
Stars: ✭ 83 (+84.44%)
Mutual labels:  stock-market, stocks, investment
Finance
Here you can find all the quantitative finance algorithms that I've worked on and refined over the past year!
Stars: ✭ 194 (+331.11%)
Mutual labels:  stock-market, stocks
capm shiny
Demo project of creating an interactive analytical tool for stock market using CAPM.
Stars: ✭ 31 (-31.11%)
Mutual labels:  stock-market, stocks
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (+180%)
Mutual labels:  stock-market, stocks
Td Ameritrade Client
TD Ameritrade Java Client
Stars: ✭ 35 (-22.22%)
Mutual labels:  stock-market, stocks
Graphvega
Open Source Options Analytics Platform.
Stars: ✭ 189 (+320%)
Mutual labels:  stock-market, stocks
Pytse Client
work with Tehran stock exchange data in Python
Stars: ✭ 130 (+188.89%)
Mutual labels:  stock-market, stocks
Sec Edgar Downloader
Download SEC filings from the EDGAR database using Python
Stars: ✭ 146 (+224.44%)
Mutual labels:  stock-market, stocks
Ta Rs
Technical analysis library for Rust language
Stars: ✭ 248 (+451.11%)
Mutual labels:  stock-market, stocks
Robinhood
Unofficial Documentation of Robinhood Trade's Private API
Stars: ✭ 1,569 (+3386.67%)
Mutual labels:  stock-market, stocks
Algobot
A C++ stock market algorithmic trading bot
Stars: ✭ 78 (+73.33%)
Mutual labels:  stock-market, stocks
Sumzerotrading
A Java API for Developing Automated Trading Applications for the Equity, Futures, and Currency Markets
Stars: ✭ 128 (+184.44%)
Mutual labels:  stock-market, stocks
Tradestation
EasyLanguage indicators and systems for TradeStation
Stars: ✭ 65 (+44.44%)
Mutual labels:  stock-market, stocks
Robinhood On Rails
A web dashboard for the free trading platform Robinhood using Ruby on Rails and a private API
Stars: ✭ 134 (+197.78%)
Mutual labels:  stock-market, stocks
Bovespastockratings
Crawler for Fundamental analysis platform for BOVESPA stocks, generating a score for each share according to the selected criteria on the indicators.
Stars: ✭ 154 (+242.22%)
Mutual labels:  stock-market, investment
Bullish
Stock market performance insights and trends in your inbox daily.
Stars: ✭ 171 (+280%)
Mutual labels:  stock-market, stocks
NSE-Stock-Scanner
National Stock Exchange (NSE), India based Stock screener program. Supports Live Data, Swing / Momentum Trading, Intraday Trading, Connect to online brokers as Zerodha Kite, Risk Management, Emotion Control, Screening, Strategies, Backtesting, Automatic Stock Downloading after closing, live free day trading data and much more
Stars: ✭ 78 (+73.33%)
Mutual labels:  stock-market, stocks
Iex Api
The IEX API provides any individual or academic, public or private institution looking to develop applications that require stock market data to access near real-time quote and trade data for all stocks trading on IEX.
Stars: ✭ 683 (+1417.78%)
Mutual labels:  stock-market, stocks

Pair Trading View

Pair Trading View - application for visual analysis of synthetic financial instruments based on statistical models.

[ PairTradingView.WpfApp ]

pic

How To

Execute PairTradingView.exe in 'pair-trading-view\PairTradingView.WpfApp\bin\Debug'.

pic

Set 'Price' column. Put csv files with a historical data into 'pair-trading-view\PairTradingView.WpfApp\bin\Debug\csv-files' folder. Download csv files if you need by QuoteDownloader. Press start.

Model

  • prices are converted into percentages
  • SI -> synthetic index
  • s -> share
  • fp -> financial pair
  • fp_tv -> financial pair's trade volume
  • fp_w -> weight of financial pair

SI_t = ( s1_t + s2_t + s3_t + ... + sn_t ) / n

SI = α + β * fp + err

Financial pair's weight has reverse dependency of β.

fp_w = (1 / (1 + abs(β))) / Σ(fp_w)

fp_tv = balance * fp_w

Calculate trade volume for each share:

fp_tv = x_tv + y_tv

y = α + β * x + err

w = 1.0 / (1.0 + abs(β)

x_tv = fp_tv * w * abs(β)

y_tv = fp_tv * w

Dependencies

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].