From 55dcc286cb3592176f521a983f91559240a6d883 Mon Sep 17 00:00:00 2001 From: liudecai Date: Sun, 28 Jun 2026 17:54:38 +0000 Subject: [PATCH] Expand README with examples, code, links --- README.md | 53 ++++++++++++++++++----------------------------------- 1 file changed, 18 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 6e0bce4..d259fbe 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,19 @@ -# Trading Calculators - -Free trading calculators for forex, gold, and crypto traders. - +# GFIL Trading Calculators +22 free trading calculators for forex, gold, and crypto traders. MIT licensed. ## Installation -```bash -npm install @liudecai-one/trading-calculators-free -``` - -## Usage -```js -const { positionSize, pipValue, fibonacci } = require('@liudecai-one/trading-calculators-free'); - -// Position size: account=$10K, risk=1%, stop=20 pips -const size = positionSize(10000, 1, 20); -console.log({ size }); // 0.5 lots - -// Fibonacci retracement levels -const fib = fibonacci(1.1200, 1.1000); -console.log({ fib }); -``` - -## Free Web Tools -- [Position Size Calculator](https://blog.quant-view.xyz/tools/position-size-calculator.html) -- [Pip Value Calculator](https://blog.quant-view.xyz/tools/pip-calculator.html) -- [Margin Calculator](https://blog.quant-view.xyz/tools/margin-calculator.html) -- [Fibonacci Calculator](https://blog.quant-view.xyz/tools/fibonacci-calculator.html) -- [ATR Calculator](https://blog.quant-view.xyz/tools/atr-calculator.html) -- [Risk-Reward Calculator](https://blog.quant-view.xyz/tools/risk-reward-calculator.html) -- [Drawdown Calculator](https://blog.quant-view.xyz/tools/drawdown-calculator.html) - -## More Resources -- [Trading Blog](https://blog.quant-view.xyz) -- [GFIL Terminal](http://gfil-intel.xyz/) -- [Telegram Community](https://t.me/GFIL_Trading) -- [Discord Server](https://discord.gg/GMmMCD4MCr) +### Python (PyPI) +pip install gfil-calculators +### JavaScript +git clone https://code.quant-view.xyz/liudecai/gfil-trading-calculators.git +## Usage (JS) +const { positionSize, fibonacci } = require('./index.js'); +console.log(positionSize(10000, 1, 20)); // 0.5 lots +## Usage (Python) +from gfil_calculators import position_size +size = position_size(5000, 2, 5, pip_value=1.0) +## Web Tools +https://blog.quant-view.xyz/tools/ +## Community +Telegram: https://t.me/GFIL_Trading | Discord: https://discord.gg/GMmMCD4MCr +## License +MIT \ No newline at end of file