-
Notifications
You must be signed in to change notification settings - Fork 9
doge-serverless #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
doge-serverless #116
Conversation
…API, sends SNS message with the signal (TA-Lib not included)
…NS message, some code refactoring
…al, GP strategy triggered by SNS working
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, nice work. Only a few comments inline for requested changes.
Thanks for reviewing all my code and improving! much appreciated knowing you went through it all and cleaned it up. Also, I see you needed to use Docker? we should talk about that and how it affects the deployment process.
return self.get_indicator("SMA") | ||
|
||
def ema50(self, input): | ||
return self.get_indicator("RSI") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sodogemuchwow this looks like a mistake. can comment out until ema50 and other indicators are available
def context(self): | ||
return None # :handwave: not the droid your looking for | ||
def sns_event(self): | ||
return self._sns_event # or not the droids we're looking for? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂 👍
############################################################# | ||
####### I don't think we need any of the functions below | ||
####### Or at least I don't see how they would be usable in an SNS-triggered architecture | ||
############################################################## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool. you can remove them. I copied them in as a reminder to write what's needed for querying the database. maybe better to leave a # todo and refer to this code in core for reference on building the query stuff
bringing in all latest updates in master |
GP logic compiled and working, classic strategies invoked by and receive indicators from SNS, signals published to SNS. All tested on AWS (mock endpoints, topics and data).