Coder Social home page Coder Social logo

p2p-lending's Introduction

p2p

A standalone java application to invest in P2P Lending websites. The framework has been setup multiple P2P originators including Lending Club and Prosper. The Lending Club implementation is actively used, while the Prosper implementation is beta.

###Project Setup This project leverages various external libraries including:

  • Spring Framework
  • codesnippets4all
  • hibernate

The deployment (and dependancies) are maintained via [Maven](https://maven.apache.org/).

Build the project using the mvn command:

mvn clean compile assembly:single

This builds a single jar named *p2p-java-client-1.0-SNAPSHOT-jar-with-dependencies.jar*

###Deployment The only external setup that is required is:

  • Java 1.7 (or greater)
  • p2p.properties - All the properties for the project. The location of the file can be overriden with the JVM property -Dproperties

It should be noted, this project code can easily be deployed using AWS.

When new loans are issued, the jar is executed via crontab (with the parameters true) and loans are purchased. For lending club, I use the following crontab schedule.

1 10,14,18,22 * * *

*NOTE:* Servers are in UTC time.

###Framework Major application components:

  • LoansSelector - The interface to filter loans. Use this interface to add additional filters for your P2P model.
  • OriginatorApi - The interface for the P2P originators. I have integrated with Lending Club and Prosper. When producing this document, Lending Club was heavy tested (and actively used). Use this interface to integrate with other P2P originators.
  • com.rp.p2p.model.* - A sloppy data model. This is common data that is used for all originators. This data model is heavly based upon Lending Club's data model.

p2p-lending's People

Contributors

rppatel79 avatar

Watchers

Thai Ngo avatar James Cloos avatar

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.