Giter Site home page Giter Site logo

qpas's People

Contributors

ammachado avatar qusma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qpas's Issues

Forward-looking risk analysis

Based on current open positions: marginal VaR for current portfolio components, scenario analysis, correlations, correlations in crashes, etc.

On top of that, what-if analysis for arbitrary portfolio changes.

Estimating cov matrix is problematic: use a statistical factor model (PCA) instead?

Use quantlib for options analysis stuff.

Good paper on scenario analysis using principal components: http://www.bancaditalia.it/pubblicazioni/econo/temidi/td06/td602_06/td602en/en_tema_602.pdf

can't run the program

After install the program, first it runs ok. but after importing some data, it can't run any more.

It always pops up a window " QPAS has stopped working" whenever I try to run the program.

This is under win10.

QPAS System.InvalidOperationException when loading statements

Hi.
I saw QPAS mentioned in a forum and thought I'd try it out. When trying to load data it crashes(this is the same for the binary and source versions). I downloaded the source and VS15 and built/stepped to see if I could work out what went wrong, but as I'm not a Windows C# programmer and I'm not sure what to do next. I had a quick look online with similar problems, but I just dont know enough.

When I try to upload a Flex statements from IB or if I tell QPAS to fetch data from IB it crashes.
I go: Tools -> Load From Web -> IB -> Error

It has the same behaviour with LoadFromFile() and LoadFromWeb(). I made a screenshot of the exception getting caught in VS. I stepped/breakpointed the LoadFromFile line that seems to throw the exception. Below is a trace from VS.

I'm on Windows 8.1 that is reasonably up to date. Let me know if I can help you with more info. I freshly installed all the DEV tools for this so should not have anything stale kicking around.

System.InvalidOperationException was unhandled by user code HResult=-2146233079 Message=Context is not registered. Consider using DialogParticipation.Register in XAML to bind in the DataContext. Source=MahApps.Metro StackTrace: at MahApps.Metro.Controls.Dialogs.DialogCoordinator.GetMetroWindow(Object context) in C:\Users\punker76\Documents\GitHub\MahApps.Metro\MahApps.Metro\Controls\Dialogs\DialogCoordinator.cs:line 69 at MahApps.Metro.Controls.Dialogs.DialogCoordinator.ShowProgressAsync(Object context, String title, String message, Boolean isCancelable, MetroDialogSettings settings) in C:\Users\punker76\Documents\GitHub\MahApps.Metro\MahApps.Metro\Controls\Dialogs\DialogCoordinator.cs:line 38 at QPAS.StatementHandler.<LoadFromWeb>d__22.MoveNext() in D:\proj\qusma\QPAS\QPAS\StatementHandler.cs:line 112 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at QPAS.MainViewModel.<<CreateCommands>b__92_0>d.MoveNext() in D:\proj\qusma\QPAS\QPAS\ViewModels\MainViewModel.cs:line 106 InnerException:

exception
exception

Rethink trade capital usage calcs?

Possibly change capital usage calc to average over period? A bit nonsensical for rebalancing right now. Removing 5% of a position then adding it back increases cap usage. Average can lead to nonsensical numbers too though...

Stress tests

Use PCA on returns. Then let user use components to generate scenarios.

Error downloading IB statement

I'm testing QPAS and I created a flex query in IB. When I do "Load Statement From File", it works fine. I entered my flex token and flex query ID in the preferences and then do "Load Statement From Web" and QPAS says:

Error Downloading Statement
Invalid request or unable to validate request.

Any way to debug what's going on? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.