This is a basic template to start a TypeScript Project from scratch, with basic linting rules, prettier, and a basic Jest config to run tests.
- Clone the repo into your current directory
git clone [email protected]:cristian-moreno-ruiz/boilerplate-ts.git .
- Remove git references:
rm -rf .git
npm install
- Start coding in TS inside
src
. - You can run
git init
and commit your changes to a Git Repository.
## Proximos TODOS
- GenericStrategy implements abstract, all extend from it, it has a log and error method which prepends the symbol and leverage
- Implement Entry with "trailing stop" or similar
## TODOs De hoy
-
Alerts??
-
If position has been there more than 1 hour, override profitPercentage to 1% (just for one operation)
-
Skip order (an order to buy / sell reduceonly reidiculous price (1/2 or x2))
-
Duration of each operation
-
PNL of each operation
-
TOTAL profit per day per coin
-
Total Fees
-
Total closed ops
-
Total Stops
-
Total amount wasted and earned
-
Number of times the trailing was advantageous, vs was perjudicial (and amount adv vs perj)