Skip to content

Instantly share code, notes, and snippets.

@Th0rgal
Created July 10, 2020 09:09
Show Gist options
  • Save Th0rgal/d179aa8f7b31a3a31aa619b737d51023 to your computer and use it in GitHub Desktop.
Save Th0rgal/d179aa8f7b31a3a31aa619b737d51023 to your computer and use it in GitHub Desktop.
Example code for stackoverflow
async def main(loop):
config = Config("config.toml", "config.template.toml")
client = cryptocom.Client(config.api_key, config.api_secret)
await client.load_market()
print("I want this instruction to be executed but I also want my infinite loop to keep running at the same time")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment