Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conpa

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conpa

Asset allocation application

  • 3.9.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

CONPA

NPM version NGN Dependencies Build Status

ConPA 3 is a complete frontend stack for an asset allocation application.

ConPA 3 is a single page app with the following components: the asset search, the list of assets, the basket info, the assets stats and the dashboard of portfolios.

To fill the basket, the user needs to add an asset, using the autocomplete search: typing the name or the symbol of an asset, the autocomplete component suggests a few assets. When the user selects an asset, it is added to the basket, displaying the symbol.

In the meantime for the last asset added to the basket, the app provides the key statistics.

When the basket contains at least three assets, the basket is optimized, displaying the optimal weights of the assets.

There is also a dashboard of portfolios. It contains the stats of all portfolios created by the users: last created portfolios, best/worst performing portfolios, high/low risk profile portfolios and high/low return profile portfolios.

Installation

NPM NPM

To install with npm:

npm install conpa

You may start the app, creating a server.js file:

process.env.CONPA_LIVE_URL = "... live url for crm ...";
process.env.CONPA_TEST_URL = "... test url for crm ...";

require("conpa");

Then

node server.js

And browse, for instance, http://localhost:8080.

Tested locally with Node.js 5.x.

Notes

Before running ConPA, you need to configure the details of the persistence system. The portfolios are saved on a CouchDB instance. The configuration allows a live and testing system, you don't need to change the source code when the app is delivered to a live system.

Optionally, you may add a Rserve configuration (local or remote). If Rserve is not configured, ConPA uses a javascript implementation for the optimization.

ConPA Sequence Diagram.

History

  • ConPA rel. 0 (2008 - 2011): Jaxer + YUI.
  • ConPA rel. 1 (2011 - 2012): Node.js + YUI.
  • ConPA rel. 2 (2012 - 2015): Node.js + jQuery MVC.
  • ConPA rel. 3 (2015 - present): Node.js + AngularJS 1.

There are two old videos about ConPA 0: welcome and tutorial.

Disclaimer

NOT INVESTMENT ADVICE AND WILL LOSE LOTS OF MONEY SO PROCEED WITH CAUTION.

Keywords

FAQs

Package last updated on 22 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc