danielkurniadi / arbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Taxi Simulator API

Arbitrage bot for simple Cefi-Defi live arbitrage opportunity detection tool.

Sample

Table of contents

Getting Started

Run Tests

You can invoke Makefile command to run all unit tests for you:

make test

If you prefer, you can also run it using golang testing tool:

go test ./... -short

Run Server

  1. Start the server as follows:
    cd arbot
    make run-server
    Optionally, you can also invoke golang compiler tool to run.
    go run main.go
  2. Once finished, you can stop the server.
    make stop-server

Pre-requisites

  • Golang 1.18
  • Go mock tools >= v1.6.0; optional

Optionally or if you are a developer. You might also want to have:

  • OpenAPI / Swagger - interactive test client setup
  • Docker / Docker compose

Setup and Install

About


Languages

Language:Go 94.8%Language:Dockerfile 2.8%Language:Makefile 2.4%