Giter Site home page Giter Site logo

kekloldyormarket / mango-money-multiplier Goto Github PK

View Code? Open in Web Editor NEW
82.0 3.0 22.0 18.11 MB

It's a baby bot, soon will do more & onchain at that

Home Page: https://riptide.fair3d.me

Dockerfile 0.14% Shell 0.37% JavaScript 18.92% TypeScript 73.29% Procfile 0.01% Python 7.28%
solana python typescript arbitrage riptide

mango-money-multiplier's Introduction

it's a funding arbitrage bot for mangomarkets

Cool shit

check out the mango money multiplier except it's as a pool and you can stake lp tokens to get your proportional share of the fees from anyone buying into / selling out of pool :D

https://github.com/staccDOTsol/mango-blender https://github.com/staccDOTsol/mango-blender-ui

https://riptide.fair3d.me

To Repro

  1. you must have a Solana private key in id.json in a few spots, and in ~/.config/solana/id.json. it's a mess, I know
  2. replace meAndThePeeps with the publickeys of wallets you wish to trade (not Mango account pubkeys)
  3. run sudo docker-compose up --build
  4. voila

I went on an absolute hunch and got it working on devnet.2 :)

@mangomarkets plz sers can we have some market makers running on devnet cuz otherwise shit be ridiculous lol

https://devnet.mango.markets/account?pubkey=2bHBrmieh96QMy4ptxW1GPxM3rxKV5yrryg2Cc6WibQo

https://riptide.fair3d.me

it's either that or @dboures puts his thing mainnet.1 ??

Important

  1. Risk only what you can afford to lose.
  2. Trading at leverage is extremely risky, and there is a chance you may lose all your funds.
  3. In no way do I or any other party imply let alone assure results.
  4. Historical data is no indication of future activity.
  5. This is extremely alpha software, largely undocumented and completely without tests or helpful comments. Use at your own risk.
  6. Nothing I do or say should ever be misconstrued as financial advice.

Back to your scheduled programming...

image

oops aged well :)

image

mango-money-multiplier's People

Contributors

staccdotsol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mango-money-multiplier's Issues

schizos

schizos complicate things

NTS: integer pricing

figure out why prices are whole numbers, assume it was laziness on part of OG devs not wanting to figure out the decimals of each token - but it's literally in the market object kek.

if so, we can achieve much much more volume at the sub-0 increments. :)

error when copying id.json

I guess I'm doing something wrong but when I run docker-compose up. I get error while trying to copy id.json. Would love to find a solution and give this bot a spin

General Questions

Hey,

I stumbled across your repo for this project.

I looked through the docker file and noticed that it's currently set to run on devnet. I was curious if the project can currently work on mainnet as I haven't had time to run it and test for myself yet.

Thank you in advance :)

general bot logic

Is the bot logic described in writing anywhere?

Does it primarily manage delta-neutral positions by picking highest funding rate?

clean up top-level directories

Hey @staccDOTsol,

At the moment, this repository contains 4 top-level directories:

  • curl-demo
  • mango-bowl
  • mango-service-v3
  • opportunities-assessor
  • py

Few observations:

  • All top-level directories that aren't strictly necessary should be removed (curl-demo ?).
  • the py directory I assume contains the main project source code, it should have a more explicit name like src
  • mango-bowl, mango-service-v3 & opportunities-assessor I assume are 3rd party dependencies.
    • 3rd party dependencies should not be present in this repository but instead be retrieved from their respective repositories or package managers.
    • if removing 3rd party dependencies from this repository is too troublesome, they should at least be documented as such in the README.
    • it appears opportunities-assessor is in fact "Mango v3 Client Library", then it should be at least named mango-v3-client-library or similar for clarity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.