Created
September 6, 2017 03:34
-
-
Save lukedemi/615ad914908cabbb935442f6e235edd8 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
@task(7110) | |
def get_user(self): | |
self.client.get( | |
"/v2/user", | |
auth=self.auth | |
) | |
@task(5460) | |
def get_prices_historic(self): | |
pair = random.choice(CRYPTO_FIAT_PAIRS) | |
params = {'period': 'week'} | |
self.client.get( | |
"/v2/prices/" + pair + "/historic", | |
name="/v2/prices/[pair]/historic", | |
params=params, | |
auth=self.auth | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment