Code Monkey home page Code Monkey logo

jupgrid's People

Contributors

arbcaptain avatar astroorbis avatar spuddya7x avatar

Stargazers

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

Watchers

 avatar

jupgrid's Issues

Add Priority Fees

Add Priority Fees to order placements, allowing them a higher chance of success.

Local Encryption

Add a function to encrypt the private key and RPC connection, rather than saving as plaintext.
We all have to do our bit for security! ๐Ÿ˜‰

Stoploss

Integrate a stoploss feature to prevent users from incurring excessive losses.

Layer Calculation Redesign

Redesign Layer calculations to be created at bot start, and saved locally, rather than dynamically when price shifts. Risk of improper grid trades if price shifts between close/open trades.

Password error

(node:6597) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use node --trace-warnings ... to show where the warning was created)
(node:6597) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
Env Loaded Successfully.

Enter your password to decrypt your private key (input hidden):
Invalid password. Please ensure you are using the correct password.

SyntaxError: Unexpected identifier - at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

Hi,
running "node ." I got the following error.
I am not a Java programmer.
Any hint on what might be the reason ?

$ node .
file:///home/palmer/Downloads/EXTRACT/jupgrid/src/jupgrid.js:13
import packageInfo from '../package.json' assert { type: 'json' };
^^^^^^

SyntaxError: Unexpected identifier
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)

Local Webhost Server

Add locally hosted server for remote web access/monitoring (Longer Term Project)

Rebalancing

Add a rebalancing function for the bot. After X trades, the market moves a certain direction for too long, or the user runs out of funds to continue trading, rebalance the users funds to 50/50 to continue.

Use portfolio % for orders

Use a percentage of the holdings to place orders rather than a fixed amount. This will allow the bot to scale and grow as the market changes.

Token Balance Delta Change

Create a display for token balance delta change.

Create sum of token balance increase or decrease for users to track token change performance.

Infinity Grid

Create an infinity grid function, where the user sets a lower boundary price, and a fixed value of X token. Balancing the bot will keep the target token at that fixed value, while minimising risk with the lower boundary price. At boundary price, the user will have an option to automatically "abort" and swap all their holdings to a stablecoin.

Refactor

Refactor Jupgrid.js to improve development and future manageability.

Correct Profit Tracking

Correctly interpret which limit order has closed and retain information of the swap inside to adjust user balances, rather than relying on wallet snapshots.

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.