zolbayars / crypto-trading-report-generator Goto Github PK
View Code? Open in Web Editor NEWCrypto trading journal & insights
Home Page: https://cryptobaldan.com
License: MIT License
Crypto trading journal & insights
Home Page: https://cryptobaldan.com
License: MIT License
The table should contain the following columns:
Just deleting the trades and merged trades afterwards work though
When the user has breakeven trades (with 0 PnL) the report service is throwing Discprenancy in exit and entry trade sizes!
The log:
The latest trade is: 2253357350
Syncing the trades
Calling binance with fapi/v1/userTrades { fromId: '22533573501' }
Result from Binance 200 OK
Syncing 0 trades
Seems like we're using a wrong last id ๐ค
It's hiding a trade when there's an open trade with the same pair as the last closed trade.
This one should be worked on after #8 is done.
And another issue of discordant merged trades being generated because of this
Having
Cannot find module '@shared/types' from 'helpers/exchanges/binance.ts'
both by month, week and day
Samples:
*************************** 1. row ***************************
id: 804
entryDate: 2022-10-29 16:29:23
exitDate: 2022-10-29 16:23:39
symbol: SOLUSDT
direction: 0
entryPrice: 33.55
exitPrice: 33.53
size: 6
pnl: 0.12
pnlPercentage: 0.0005961251862891207
fee: 0.00035616
feeAsset: BNB
createdAt: 2022-10-30 08:38:35.204487
updatedAt: 2022-10-30 08:38:35.515826
entryReason: NULL
exitReason: NULL
mistake: NULL
comment: NULL
*************************** 2. row ***************************
id: 805
entryDate: 2022-10-29 19:05:57
exitDate: 2022-10-29 16:31:38
symbol: ETHUSDT
direction: 0
entryPrice: 1619.73
exitPrice: 1633
size: 0.14
pnl: -1.8578
pnlPercentage: -0.008192723478604457
fee: 0.00040461
feeAsset: BNB
createdAt: 2022-10-30 08:38:35.204487
updatedAt: 2022-10-30 08:38:35.515826
entryReason: NULL
exitReason: NULL
mistake: NULL
comment: NULL
*************************** 3. row ***************************
id: 792
entryDate: 2022-10-29 16:31:38
exitDate: 2022-10-29 19:05:57
symbol: ETHUSDT
direction: 0
entryPrice: 1633
exitPrice: 1619.73
size: 0.14
pnl: -1.8578
pnlPercentage: -0.008126148193508877
fee: 0.00040461
feeAsset: BNB
createdAt: 2022-10-30 08:38:35.182515
updatedAt: 2022-10-30 08:38:35.182515
entryReason: NULL
exitReason: NULL
mistake: NULL
comment: NULL
*************************** 4. row ***************************
id: 793
entryDate: 2022-10-29 16:23:39
exitDate: 2022-10-29 16:29:23
symbol: SOLUSDT
direction: 0
entryPrice: 33.53
exitPrice: 33.55
size: 6
pnl: 0.12
pnlPercentage: 0.0005964807634953772
fee: 0.00035616
feeAsset: BNB
createdAt: 2022-10-30 08:38:35.182515
updatedAt: 2022-10-30 08:38:35.182515
entryReason: NULL
exitReason: NULL
mistake: NULL
comment: NULL
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.