Live data from Hacker News

Show HN: CashGraphs – A securities portfolio optimizer

cashgraphs.com

21–22 of 22 posts

Re: Show HN: CashGraphs – A securities portfolio optimizer

#21

> I am still working out kinks in the backend, particularly cold-start issues because the Lambda function has to load the entire Torch library (~2GB). This occasionally causes the AWS API Gateway to reach max timeout before the Lambda function finishes. I could not find your backend code to confirm, but I suspect you could convert that Lambda function into a long-running app to avoid cold-start issues. This could be…

Thanks! In a previous iteration I used some of those solutions, both Heroku and Render. I thought this might be a good use case for Lambda because the API doesn't get called very often, and it's really just one function. Refactoring the backend code to keep the lambda handler skinny seemed to help. If I continue to have problems I will definitely look at these options.

Re: Show HN: CashGraphs – A securities portfolio optimizer

#22
Great tool! Thanks for building this.

I noticed lack of below asset classes in the list:

1) US Small Cap Stocks (e.g. Russell 2000 Index) 2) International Large Cap Stocks (MSCI EAFE Index) 3) International Small Cap Stocks (MSCI EAFE Index) 4) Emerging Market Large Cap Stocks (MSCI Emerging Markets Index)

Adding these would greatly improve the optimizer.

Post reply on HN