bmino / binance-triangle-arbitrage

Detect in-market cryptocurrency arbitrage
MIT License
1.06k stars 337 forks source link

Run on aws #143

Closed klaszlo8207 closed 3 years ago

klaszlo8207 commented 3 years ago

How to install/deploy this app and then run on amazon aws? Can you help me in details? Thanks

bmino commented 3 years ago

Hey! First off ensure your ec2 has enough cpu specs to handle the calculations you are throwing at it. I've settled on a spot instance of m5n.xlarge deployed in the tokyo region

You'd be following the same Getting Started steps in the readme, and running them on an EC2.

Some complications you might hit are not having git installed, and you can install that via sudo apt-get install git or your OS equivalent.

ismailfatihiltar commented 3 years ago

Hey @bmino could you share your HUD that you get from aws server which is located on tokyo region. My starting latency ~450ms (in EU) and minimum AGE ~1800 ms. Do I have to change my AGE of Execution set on config file to 1800 ? ( Now it is default 25ms and ı haven't get an execution yet )

klaszlo8207 commented 3 years ago

Hey! First off ensure your ec2 has enough cpu specs to handle the calculations you are throwing at it. I've settled on a spot instance of m5n.xlarge deployed in the tokyo region

You'd be following the same Getting Started steps in the readme, and running them on an EC2.

Some complications you might hit are not having git installed, and you can install that via sudo apt-get install git or your OS equivalent.

Thanks

You'd be following the same Getting Started steps in the readme, and running them on an EC2.

How can I run on EC2? Can u give me a tutorial?

Thanks

bmino commented 3 years ago

You should look up some tutorials on how to use VPS like AWS. Here is one link from google: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html