Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

NotificationsYou must be signed in to change notification settings

dv-lebedev/pair-trading-view

Repository files navigation

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.Press 'Load Data From File'.Press 'Calculate'.

Model

  • 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

  • OxyPloy

License

Apache 2.0


[8]ページ先頭

©2009-2025 Movatter.jp