Expand README with examples, code, links
This commit is contained in:
53
README.md
53
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
|
||||
Reference in New Issue
Block a user