Amazon AWS integration
Author: kelvinyip
Creation Date: 4/23/2018 3:10 PM
profile picture

kelvinyip

#1
I see AWS has C# package, I don't know C# well ( I know java well) but I see Wealth-Lab seems to allow some external package (without recompiliation, linking all that fancy stuff in C). I want Wealth-Lab to integrate with my AWS stuff, is that something that might work ? I can have my EOD scan result on Wealth-Lab and pass it to AWS directly and have some custom code done in java ?
profile picture

Eugene

#2
In C# most everything is possible, if task is set clearly. One can probably integrate WL with an API that AWS provides.
profile picture

kelvinyip

#3
just import header or need to do fancy stuff like recompile link ?? any link to some docs on how the community WL lib was created ? perhaps then I can see if it is beyond my level of expertise or not...
profile picture

Eugene

#4
I have no experience with C language but instead of "importing headers" we probably call it "add a reference to solution" (which I assume is in the same ballpark as the former). If you wish me to understand what "recompile link" might be, point me to an online manual.

Since you're asking me, the best is if you'd try to explain your task clearly and let me decide what is required.
profile picture

kelvinyip

#5
Yeah, so I run my EOD scan using Wealth-Lab, and write it to a file (which I have already done), then I want to write this file to AWS S3 (to store the EOD text scan). After that, I want to use AWS to scan intraday for me and text me with the symbols.

I know AWS has C# lib but I don't know if I can somehow have Wealth-Lab code call this C# lib to upload my file to AWS directly without having another program running in the background to upload the file. I already have code on AWS to scan for some other stuff intraday so I know that works too. The only missing link is how I can upload from Wealth-Lab to AWS.

It is all because I am lazy, I don't want to touch anything after it is setup.

profile picture

Eugene

#6
Think C#. In Wealth-Lab you can upload text file using any method supported by AWS APIs, whatever they may be. There's no need to have another program running in the background. To link the AWS C# library in your WealthScript Strategy:

1a. Add a reference to the DLL file (which should target .NET 4.6 and below) to your Strategy
1b. Or uncheck "Downloaded from the internet" in file properties and place it under WLP main folder under Program Files
2. Add a "using" directive to your Strategy.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).