This is still in development and not ready for use. If you would like to test out Mr.Market, you can try the alpha V1 version available here.
Mr.Market is a Trading bot and the reference exchange oracle for Hu-Fi. Mr.Market has three main functions:
- An automated CeFi, DeFi, TradFi bot that supports a variety of strategies for arbitrage.
- A front end where users can transact using crypto, and tradfi accounts .
Learn more about Hu-Fi.
You can find the V1 alpha version here.
Mr.Market V2 is the improved version of Mr.Market V1. While V1 was built with a time-to-market priority in mind, V2 features a new architecture designed to be more robust and scalable.
You can find the V2 high-level architecture overview here.
Below are links to the documentation files located in the architecture/docs
folder:
- PROJECT_STRUCTURE.md
- HOW_TO_DEPLOY.md
- HOW_TO_RUN_APP.md
- HOW_TO_RUN_TESTS.md
- HTTP_API.md
- WEBSOCKET.md
Project | Deploy |
---|---|
tse-backend | |
mm-backend |
- Start the deployment
- First, you should run the
tse-backend
, just click the deploy button (not need to provide any environment variables). - Second you should run the mm-backend.
- Add storage
- In the Add Storage section, select the Postgres Database option available to you. The Vercel integration will create and provision a Postgres database, and you should manually connect it to your new projects.
- Do the same for Redis.
Variable | Description |
---|---|
TRADING_STRATEGY_EXECUTION_API |
The API endpoint for executing trading strategies. |
ADMIN_PASSWORD |
Admin password for accessing restricted endpoints. |
MIXIN_APP_ID |
The Mixin application ID. |
MIXIN_SESSION_ID |
The session ID for the Mixin integration. |
MIXIN_SERVER_PUBLIC_KEY |
Public key for the Mixin server. |
MIXIN_SESSION_PRIVATE_KEY |
Private key for the Mixin session. |
MIXIN_SPEND_PRIVATE_KEY |
Private key for Mixin spend operations. |
MIXIN_OAUTH_SECRET |
OAuth secret for the Mixin integration. |
Follow these steps to integrate Vercel logs with Better Stack for improved log management and monitoring:
-
Create an Account on Better Stack
If you don’t already have an account, go to Better Stack and sign up. Follow the prompts to set up your workspace. -
Log in to Your Vercel Dashboard
Navigate to Vercel and log in to your account. -
Select Your Application
From the Vercel dashboard, choose the project for which you want to set up the log integration. -
Access the Integrations Tab
- In your application's settings, locate and click the Integrations tab.
- This tab lists all available integrations for your project.
-
Find and Select the Better Stack Integration
- Search for Better Stack in the integrations list.
- Click on the Better Stack integration to begin the setup process.
-
Connect Vercel to Better Stack
- Follow the instructions provided during the setup to connect your Vercel project to Better Stack.
This project is licensed under the GNU Affero General Public License - see the LICENSE.md file for details