Created
January 17, 2020 01:38
-
-
Save AntonioJuliano/3b5367263372bac089c6ffeeb6583d78 to your computer and use it in GitHub Desktop.
This file contains 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
# Create order to SELL 10 ETH for 2000 DAI (a price of 200 DAI/ETH) | |
created_order = client.create_order( | |
makerMarket=consts.MARKET_DAI, | |
takerMarket=consts.MARKET_WETH, | |
makerAmount=utils.token_to_wei(2000, consts.MARKET_DAI), | |
takerAmount=utils.token_to_wei(10, consts.MARKET_WETH) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment