Clicky

  • Welcome to P2P Lending / NFT Lending Forum.
 

ETH.LOAN

News:

This was the original Lend Academy peer-to-peer lending forum, since forensically restored by deBanked and now reintroduced to eth.loan.

To restore access to your user account, email [email protected]. We apologize for errors you may experience during the recovery.

Main Menu
NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - martinp2p

#1
I started to invest in LendingClub notes in 2015 and gradually accumulated thousands of notes. A few months ago, I needed to liquidate a big portion of my holdings, but found it really inconvenient to do so efficiently.

The Folio website allowed me to set a markup / discount and list selected notes for sale, but for notes closer to the end of the term, I often hit negative YTM, even with little or no markup. When YTM was negative, listing was not allowed. It seemed that I had to manually adjust price for those notes, which was a lot of manual work given a large number of notes. If notes were not sold before listing expired, I had to do so over and over again, until the notes were eventually sold.

It was such a pain that I decided to create a software program to automate the process for me. The program will call LC API to get detailed information of all my notes, and then call FolioFN API to list each note for sale at a predefined markup. If a note is not sold before listing expires, it will automatically adjust the price lower and re-list, until it is eventually sold. It will also adjust the price automatically to avoid negative YTM.

With some trial and error, the program did what it was supposed to do. In the first two weeks I let the program run, it sold 858 notes for $13,631.75. After $136.51 of trading fees, the proceeds were $13,495.24. In comparison, the outstanding principal of all 858 notes was $13,269.46.

Not too bad. Although the rate notes got sold slowed down in the next few weeks, I was satisfied with the result. Because I could liquidate the majority of my notes in a relatively short period of time.

I thought some you guys may face the same problem when needing to liquidate your LC investments. If so, please reply and let me know. If there's enough interest, I can brush up the program a little bit so that it can be released publicly for anyone to use.

Thanks!
MartinP2P

#2
Foliofn - LC / taxes...?
December 31, 1969, 06:00:00 PM
If you use TurboTax to work out your tax returns, you can have LendingClub tax forms automatically imported into TurboTax and it's done. No manual number entry required.

https://help.lendingclub.com/hc/en-us/articles/220044828-Importing-LendingClub-tax-forms-to-TurboTax-a-step-by-step-guide" class="bbc_link" target="_blank">https://help.lendingclub.com/hc/en-us/articles/220044828-Importing-LendingClub-tax-forms-to-TurboTax-a-step-by-step-guide
#3
Foliofn - LC / Folio API note selling
October 10, 2018, 11:00:00 PM
Hi Ran,

The old API worked for me (after some trial and error). Here is sample code in C#:

        const string investorId = "12345678";
        const string authKey = @"xxxxxxxxxxxxxxxxxxxxxxxxxxx";

        string baseAddress = string.Format("https://api.lendingclub.com/api/investor/v1/accounts/{0}/" class="bbc_link" target="_blank">https://api.lendingclub.com/api/investor/v1/accounts/{0}/", investorId);
        HttpClient client = new HttpClient();
        client.BaseAddress = new Uri(baseAddress);
        var result = client.DefaultRequestHeaders.TryAddWithoutValidation("Authorization", authKey);

        HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "trades/sell");
        request.Content = new StringContent(sellRequestBodyJson, Encoding.UTF8, "application/json");
        HttpResponseMessage response = await client.SendAsync(request);

        if (response.IsSuccessStatusCode)
        {
            string jsonResult = await response.Content.ReadAsStringAsync();

        }

Hope this helps!

https://forum.lendacademy.com/index.php?topic=4832.msg43142#msg88888888Quote"> from: Ran on March 07, 2018, 09:14:07 PM
#4
Foliofn - LC / Folio API error?
October 10, 2018, 11:00:00 PM
503 service unavailable ... seems like a transient service unavailability on LC side. I wonder if you consistently get this error at different times, from different networks.

https://forum.lendacademy.com/index.php?topic=4923.msg43852#msg88888888Quote"> from: Joe6Luck on September 22, 2018, 07:28:54 PM
#5
Foliofn - LC /
October 10, 2018, 11:00:00 PM
I have tested this API and observed the same behavior. It looks like a bug in LC's API service.

BTW, is the API documented publicly anywhere?

What I found was the https://api.lendingclub.com/api/investor/v1/" class="bbc_link" target="_blank">https://api.lendingclub.com/api/investor/v1/ accounts/<investor id>/trades APIs documented here: https://www.lendingclub.com/foliofn/APIDocumentationBuy.action" class="bbc_link" target="_blank">https://www.lendingclub.com/foliofn/APIDocumentationBuy.action.