Expand README with examples, code, links

This commit is contained in:
2026-06-28 17:54:38 +00:00
parent 0506cee2bc
commit 55dcc286cb

View File

@ -1,36 +1,19 @@
# Trading Calculators # GFIL Trading Calculators
22 free trading calculators for forex, gold, and crypto traders. MIT licensed.
Free trading calculators for forex, gold, and crypto traders.
## Installation ## Installation
```bash ### Python (PyPI)
npm install @liudecai-one/trading-calculators-free pip install gfil-calculators
``` ### JavaScript
git clone https://code.quant-view.xyz/liudecai/gfil-trading-calculators.git
## Usage ## Usage (JS)
```js const { positionSize, fibonacci } = require('./index.js');
const { positionSize, pipValue, fibonacci } = require('@liudecai-one/trading-calculators-free'); console.log(positionSize(10000, 1, 20)); // 0.5 lots
## Usage (Python)
// Position size: account=$10K, risk=1%, stop=20 pips from gfil_calculators import position_size
const size = positionSize(10000, 1, 20); size = position_size(5000, 2, 5, pip_value=1.0)
console.log({ size }); // 0.5 lots ## Web Tools
https://blog.quant-view.xyz/tools/
// Fibonacci retracement levels ## Community
const fib = fibonacci(1.1200, 1.1000); Telegram: https://t.me/GFIL_Trading | Discord: https://discord.gg/GMmMCD4MCr
console.log({ fib }); ## License
``` MIT
## 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)