Last active
May 3, 2021 05:25
-
-
Save arvindrajnaidu/8b1c53e4b24e3cae84f05b3b74cf0533 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Runs on May 4th | |
| import { getStockPrice } from 'buzzie-stock' | |
| import { sweepTo } from 'buzzie-payments' | |
| export default = (x, y) => { | |
| const price = await getStockPrice('PYPL') | |
| if (price > 270) { | |
| await sweepTo(a) | |
| } else { | |
| await sweepTo(b) | |
| } | |
| } | |
| export const config = { | |
| runAt: 1621526400, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment