nadex-cli 1.0.2__py3-none-any.whl → 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nadex_cli-1.0.2.dist-info → nadex_cli-2.0.0.dist-info}/METADATA +2 -61
- {nadex_cli-1.0.2.dist-info → nadex_cli-2.0.0.dist-info}/RECORD +6 -6
- {nadex_cli-1.0.2.dist-info → nadex_cli-2.0.0.dist-info}/WHEEL +0 -0
- {nadex_cli-1.0.2.dist-info → nadex_cli-2.0.0.dist-info}/entry_points.txt +0 -0
- {nadex_cli-1.0.2.dist-info → nadex_cli-2.0.0.dist-info}/licenses/LICENSE +0 -0
- {nadex_cli-1.0.2.dist-info → nadex_cli-2.0.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nadex-cli
|
3
|
-
Version:
|
3
|
+
Version: 2.0.0
|
4
4
|
Keywords: nadex ,nadex-binary-options ,nadex-forex ,nadex-real-time ,nadex-market-data ,nadex-cli ,nadex-dashboard ,nadex-websocket ,nadex-trading ,nadex-finance ,nadex-python ,nadex-pip-install ,nadex-automation ,nadex-order-book,binary-options ,forex ,real-time ,market-data ,cli ,dashboard ,websocket ,trading ,finance ,python ,pip-install ,automation ,order-book,nadex pypi ,pypi nadex ,pip nadex ,pip i nadex-cli ,pypi nadex-cli ,pip nadex
|
5
5
|
Description-Content-Type: text/markdown
|
6
6
|
License-File: LICENSE
|
@@ -85,62 +85,6 @@ The package comes with **built-in test credentials** that connect to Nadex's dem
|
|
85
85
|
- ✅ Perfect for learning and development
|
86
86
|
- ✅ No registration required
|
87
87
|
|
88
|
-
### Using Your Own Credentials
|
89
|
-
|
90
|
-
If you have a Nadex account and want to use your own credentials:
|
91
|
-
|
92
|
-
#### Method 1: Environment Variables
|
93
|
-
```bash
|
94
|
-
export NADEX_USERNAME=your-username
|
95
|
-
export NADEX_PASSWORD=your-password
|
96
|
-
nadex_dashboard
|
97
|
-
```
|
98
|
-
|
99
|
-
#### Method 2: .env File
|
100
|
-
Create a `.env` file in your working directory:
|
101
|
-
```env
|
102
|
-
NADEX_USERNAME=your-username
|
103
|
-
NADEX_PASSWORD=your-password
|
104
|
-
```
|
105
|
-
|
106
|
-
Then run the command as usual:
|
107
|
-
```bash
|
108
|
-
nadex_dashboard
|
109
|
-
```
|
110
|
-
|
111
|
-
#### Method 3: Direct Configuration
|
112
|
-
```python
|
113
|
-
# Custom script using the package
|
114
|
-
from nadex_dashboard import NadexClient
|
115
|
-
|
116
|
-
client = NadexClient(
|
117
|
-
username="your-username",
|
118
|
-
password="your-password"
|
119
|
-
)
|
120
|
-
client.start_dashboard()
|
121
|
-
```
|
122
|
-
|
123
|
-
---
|
124
|
-
|
125
|
-
## 🏗️ Architecture & Project Structure
|
126
|
-
|
127
|
-
```
|
128
|
-
nadex/
|
129
|
-
├── nadex_dashboard/
|
130
|
-
│ ├── __init__.py # Package initialization
|
131
|
-
│ ├── config.py # Configuration and environment handling
|
132
|
-
│ ├── helpers.py # Utility functions and data processing
|
133
|
-
│ ├── messages.py # WebSocket message formats and protocols
|
134
|
-
│ ├── parsing.py # Market data parsing and validation
|
135
|
-
│ ├── dashboard.py # CLI formatting and display logic
|
136
|
-
│ ├── websocket_manager.py # WebSocket connection management
|
137
|
-
│ └── __main__.py # CLI entry point
|
138
|
-
├── setup.py # Package configuration
|
139
|
-
├── requirements.txt # Dependencies
|
140
|
-
├── README.md # This file
|
141
|
-
└── LICENSE # MIT License
|
142
|
-
```
|
143
|
-
|
144
88
|
---
|
145
89
|
|
146
90
|
## 📊 Market Data Specifications
|
@@ -159,15 +103,12 @@ nadex/
|
|
159
103
|
### Local Development Setup
|
160
104
|
```bash
|
161
105
|
# Clone the repository
|
162
|
-
git clone https://github.com/
|
106
|
+
git clone https://github.com/shivamgarg001/Nadex.git
|
163
107
|
cd nadex-dashboard
|
164
108
|
|
165
109
|
# Install in development mode
|
166
110
|
pip install -e .
|
167
111
|
|
168
|
-
# Run tests
|
169
|
-
python -m pytest tests/
|
170
|
-
|
171
112
|
# Run the CLI
|
172
113
|
nadex_dashboard
|
173
114
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
nadex_cli-
|
1
|
+
nadex_cli-2.0.0.dist-info/licenses/LICENSE,sha256=3u7cBUwc4t0GRkNpKuqj7M7cKldqG0FRIIgNRHP1_qs,1071
|
2
2
|
nadex_dashboard/__init__.py,sha256=_a2dwUetiQjYrOahxY50UOLcXe6VpSgx24pzkD1Z9Ow,27
|
3
3
|
nadex_dashboard/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
nadex_dashboard/config.py,sha256=wVrcXbFun_YEq0LaxHvkejvK7W1SR0X_-JwMuMgtTg8,4191
|
@@ -8,8 +8,8 @@ nadex_dashboard/main.py,sha256=0KA7gzktuJ5PbLnK6DRN5A4cJosZCfAeYB38Ia6ZcnM,2868
|
|
8
8
|
nadex_dashboard/messages.py,sha256=v3sTlpJBMm2gzqU2a_2oOxaOXCkgvSrmRnfM30zES-g,7157
|
9
9
|
nadex_dashboard/parsing.py,sha256=KwcVUh549fIlcwihtmxOh6XyVncBJRCgB7HtVf2K6BA,5130
|
10
10
|
nadex_dashboard/websocket_manager.py,sha256=ufB7HUp4j5P5YZi_cYf_tzjtqKYN5YVH3qZMlVFM4hw,8224
|
11
|
-
nadex_cli-
|
12
|
-
nadex_cli-
|
13
|
-
nadex_cli-
|
14
|
-
nadex_cli-
|
15
|
-
nadex_cli-
|
11
|
+
nadex_cli-2.0.0.dist-info/METADATA,sha256=DVNjmwTA98xaTcYYON0dqJOvAHEKaO9VuKtsjZDJlz8,5966
|
12
|
+
nadex_cli-2.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
13
|
+
nadex_cli-2.0.0.dist-info/entry_points.txt,sha256=fLHzipiielS1qZy8tsrK9692ReBsHb327623qr2AF-I,62
|
14
|
+
nadex_cli-2.0.0.dist-info/top_level.txt,sha256=xiH5k9agqsuuhDha_9I31BecV6jXHvfkzhOlE-eHKXQ,16
|
15
|
+
nadex_cli-2.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|