nadex-cli 1.0.1__tar.gz → 1.0.3__tar.gz

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.
Files changed (22) hide show
  1. {nadex_cli-1.0.1/nadex_cli.egg-info → nadex_cli-1.0.3}/PKG-INFO +6 -65
  2. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/README.md +5 -64
  3. {nadex_cli-1.0.1 → nadex_cli-1.0.3/nadex_cli.egg-info}/PKG-INFO +6 -65
  4. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/config.py +9 -10
  5. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/setup.py +1 -1
  6. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/.env +0 -0
  7. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/LICENSE +0 -0
  8. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/MANIFEST.in +0 -0
  9. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_cli.egg-info/SOURCES.txt +0 -0
  10. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_cli.egg-info/dependency_links.txt +0 -0
  11. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_cli.egg-info/entry_points.txt +0 -0
  12. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_cli.egg-info/requires.txt +0 -0
  13. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_cli.egg-info/top_level.txt +0 -0
  14. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/__init__.py +0 -0
  15. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/__main__.py +0 -0
  16. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/frontend.py +0 -0
  17. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/helpers.py +0 -0
  18. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/main.py +0 -0
  19. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/messages.py +0 -0
  20. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/parsing.py +0 -0
  21. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/nadex_dashboard/websocket_manager.py +0 -0
  22. {nadex_cli-1.0.1 → nadex_cli-1.0.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nadex-cli
3
- Version: 1.0.1
3
+ Version: 1.0.3
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
@@ -13,9 +13,9 @@ Dynamic: keywords
13
13
  Dynamic: license-file
14
14
  Dynamic: requires-dist
15
15
 
16
- # 📈 nadex — Real-Time 5-Minute Binary Options Market Data CLI
16
+ # 📈 NADEX — Real-Time 5-Minute Binary Options Market Data CLI
17
17
 
18
- `nadex` is a powerful Python CLI tool that fetches **live 5-minute binary options forex data** directly from the Nadex exchange. With a single command, you can access comprehensive market data including all available forex pairs, trading levels (strikes), bid/ask prices, and order book quantities — transforming your terminal into a real-time trading dashboard.
18
+ `NADEX` is a powerful Python CLI tool that fetches **live 5-minute binary options forex data** directly from the Nadex exchange. With a single command, you can access comprehensive market data including all available forex pairs, trading levels (strikes), bid/ask prices, and order book quantities — transforming your terminal into a real-time trading dashboard.
19
19
 
20
20
  Perfect for traders, developers, and financial analysts who need instant access to Nadex's binary options market structure and live pricing data.
21
21
 
@@ -28,7 +28,7 @@ Perfect for traders, developers, and financial analysts who need instant access
28
28
  - 📊 **Full order book visualization** in your terminal
29
29
  - 🔐 **Built-in test credentials** (easily replaceable with your own)
30
30
  - 🎯 **Clean, parsable CLI output** for both human reading and automation
31
- - 🐍 **One-command installation** via PyPI (`pip install nadex`)
31
+ - 🐍 **One-command installation** via PyPI (`pip install nadex-cli`)
32
32
  - 🌐 **WebSocket streaming** for real-time updates
33
33
  - 📈 **Professional-grade market data** from Nadex exchange
34
34
 
@@ -39,7 +39,7 @@ Perfect for traders, developers, and financial analysts who need instant access
39
39
  Install the package globally using pip:
40
40
 
41
41
  ```bash
42
- pip install nadex
42
+ pip install nadex-cli
43
43
  ```
44
44
 
45
45
  That's it! No additional setup required.
@@ -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/shivamgarg-dev/nadex-dashboard.git
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,6 +1,6 @@
1
- # 📈 nadex — Real-Time 5-Minute Binary Options Market Data CLI
1
+ # 📈 NADEX — Real-Time 5-Minute Binary Options Market Data CLI
2
2
 
3
- `nadex` is a powerful Python CLI tool that fetches **live 5-minute binary options forex data** directly from the Nadex exchange. With a single command, you can access comprehensive market data including all available forex pairs, trading levels (strikes), bid/ask prices, and order book quantities — transforming your terminal into a real-time trading dashboard.
3
+ `NADEX` is a powerful Python CLI tool that fetches **live 5-minute binary options forex data** directly from the Nadex exchange. With a single command, you can access comprehensive market data including all available forex pairs, trading levels (strikes), bid/ask prices, and order book quantities — transforming your terminal into a real-time trading dashboard.
4
4
 
5
5
  Perfect for traders, developers, and financial analysts who need instant access to Nadex's binary options market structure and live pricing data.
6
6
 
@@ -13,7 +13,7 @@ Perfect for traders, developers, and financial analysts who need instant access
13
13
  - 📊 **Full order book visualization** in your terminal
14
14
  - 🔐 **Built-in test credentials** (easily replaceable with your own)
15
15
  - 🎯 **Clean, parsable CLI output** for both human reading and automation
16
- - 🐍 **One-command installation** via PyPI (`pip install nadex`)
16
+ - 🐍 **One-command installation** via PyPI (`pip install nadex-cli`)
17
17
  - 🌐 **WebSocket streaming** for real-time updates
18
18
  - 📈 **Professional-grade market data** from Nadex exchange
19
19
 
@@ -24,7 +24,7 @@ Perfect for traders, developers, and financial analysts who need instant access
24
24
  Install the package globally using pip:
25
25
 
26
26
  ```bash
27
- pip install nadex
27
+ pip install nadex-cli
28
28
  ```
29
29
 
30
30
  That's it! No additional setup required.
@@ -70,62 +70,6 @@ The package comes with **built-in test credentials** that connect to Nadex's dem
70
70
  - ✅ Perfect for learning and development
71
71
  - ✅ No registration required
72
72
 
73
- ### Using Your Own Credentials
74
-
75
- If you have a Nadex account and want to use your own credentials:
76
-
77
- #### Method 1: Environment Variables
78
- ```bash
79
- export NADEX_USERNAME=your-username
80
- export NADEX_PASSWORD=your-password
81
- nadex_dashboard
82
- ```
83
-
84
- #### Method 2: .env File
85
- Create a `.env` file in your working directory:
86
- ```env
87
- NADEX_USERNAME=your-username
88
- NADEX_PASSWORD=your-password
89
- ```
90
-
91
- Then run the command as usual:
92
- ```bash
93
- nadex_dashboard
94
- ```
95
-
96
- #### Method 3: Direct Configuration
97
- ```python
98
- # Custom script using the package
99
- from nadex_dashboard import NadexClient
100
-
101
- client = NadexClient(
102
- username="your-username",
103
- password="your-password"
104
- )
105
- client.start_dashboard()
106
- ```
107
-
108
- ---
109
-
110
- ## 🏗️ Architecture & Project Structure
111
-
112
- ```
113
- nadex/
114
- ├── nadex_dashboard/
115
- │ ├── __init__.py # Package initialization
116
- │ ├── config.py # Configuration and environment handling
117
- │ ├── helpers.py # Utility functions and data processing
118
- │ ├── messages.py # WebSocket message formats and protocols
119
- │ ├── parsing.py # Market data parsing and validation
120
- │ ├── dashboard.py # CLI formatting and display logic
121
- │ ├── websocket_manager.py # WebSocket connection management
122
- │ └── __main__.py # CLI entry point
123
- ├── setup.py # Package configuration
124
- ├── requirements.txt # Dependencies
125
- ├── README.md # This file
126
- └── LICENSE # MIT License
127
- ```
128
-
129
73
  ---
130
74
 
131
75
  ## 📊 Market Data Specifications
@@ -144,15 +88,12 @@ nadex/
144
88
  ### Local Development Setup
145
89
  ```bash
146
90
  # Clone the repository
147
- git clone https://github.com/shivamgarg-dev/nadex-dashboard.git
91
+ git clone https://github.com/shivamgarg001/Nadex.git
148
92
  cd nadex-dashboard
149
93
 
150
94
  # Install in development mode
151
95
  pip install -e .
152
96
 
153
- # Run tests
154
- python -m pytest tests/
155
-
156
97
  # Run the CLI
157
98
  nadex_dashboard
158
99
  ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nadex-cli
3
- Version: 1.0.1
3
+ Version: 1.0.3
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
@@ -13,9 +13,9 @@ Dynamic: keywords
13
13
  Dynamic: license-file
14
14
  Dynamic: requires-dist
15
15
 
16
- # 📈 nadex — Real-Time 5-Minute Binary Options Market Data CLI
16
+ # 📈 NADEX — Real-Time 5-Minute Binary Options Market Data CLI
17
17
 
18
- `nadex` is a powerful Python CLI tool that fetches **live 5-minute binary options forex data** directly from the Nadex exchange. With a single command, you can access comprehensive market data including all available forex pairs, trading levels (strikes), bid/ask prices, and order book quantities — transforming your terminal into a real-time trading dashboard.
18
+ `NADEX` is a powerful Python CLI tool that fetches **live 5-minute binary options forex data** directly from the Nadex exchange. With a single command, you can access comprehensive market data including all available forex pairs, trading levels (strikes), bid/ask prices, and order book quantities — transforming your terminal into a real-time trading dashboard.
19
19
 
20
20
  Perfect for traders, developers, and financial analysts who need instant access to Nadex's binary options market structure and live pricing data.
21
21
 
@@ -28,7 +28,7 @@ Perfect for traders, developers, and financial analysts who need instant access
28
28
  - 📊 **Full order book visualization** in your terminal
29
29
  - 🔐 **Built-in test credentials** (easily replaceable with your own)
30
30
  - 🎯 **Clean, parsable CLI output** for both human reading and automation
31
- - 🐍 **One-command installation** via PyPI (`pip install nadex`)
31
+ - 🐍 **One-command installation** via PyPI (`pip install nadex-cli`)
32
32
  - 🌐 **WebSocket streaming** for real-time updates
33
33
  - 📈 **Professional-grade market data** from Nadex exchange
34
34
 
@@ -39,7 +39,7 @@ Perfect for traders, developers, and financial analysts who need instant access
39
39
  Install the package globally using pip:
40
40
 
41
41
  ```bash
42
- pip install nadex
42
+ pip install nadex-cli
43
43
  ```
44
44
 
45
45
  That's it! No additional setup required.
@@ -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/shivamgarg-dev/nadex-dashboard.git
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
  ```
@@ -14,17 +14,16 @@ load_dotenv()
14
14
 
15
15
  class Config:
16
16
  # Authentication
17
- NADEX_USERNAME = os.getenv('NADEX_USERNAME')
18
- NADEX_PASSWORD = os.getenv('NADEX_PASSWORD')
19
- NADEX_USER_ID = os.getenv('NADEX_USER_ID')
17
+ NADEX_USERNAME = os.getenv('NADEX_USERNAME', 'demo-shivam001')
18
+ NADEX_PASSWORD = os.getenv('NADEX_PASSWORD', 'cBj2AfSSAX4NBXc')
19
+ NADEX_USER_ID = os.getenv('NADEX_USER_ID', 'SHIVAM001')
20
20
 
21
- # API URLs
22
- NADEX_AUTH_URL = os.getenv('NADEX_AUTH_URL')
23
- NADEX_SESSION_URL = os.getenv('NADEX_SESSION_URL')
24
- NADEX_MARKET_TREE_URL = os.getenv('NADEX_MARKET_TREE_URL')
25
- NADEX_NAVIGATION_URL = os.getenv('NADEX_NAVIGATION_URL')
26
- FRONTEND_PORT = os.getenv('FRONTEND_PORT')
27
- # WebSocket Configuration
21
+ NADEX_AUTH_URL = os.getenv('NADEX_AUTH_URL', 'https://demo-trade.nadex.com/iDeal/v2/security/authenticate')
22
+ NADEX_SESSION_URL = os.getenv('NADEX_SESSION_URL', 'https://demo-upd.nadex.com/lightstreamer/create_session.js')
23
+ NADEX_MARKET_TREE_URL = os.getenv('NADEX_MARKET_TREE_URL', 'https://demo-trade.nadex.com/iDeal/markets/hierarchy/tree/full')
24
+ NADEX_NAVIGATION_URL = os.getenv('NADEX_NAVIGATION_URL', 'https://demo-trade.nadex.com/iDeal/markets/navigation')
25
+ FRONTEND_PORT = os.getenv('FRONTEND_PORT', '8765')
26
+
28
27
  PING_INTERVAL = int(os.getenv('PING_INTERVAL', 30))
29
28
  RESUBSCRIBE_INTERVAL = int(os.getenv('RESUBSCRIBE_INTERVAL', 300))
30
29
  INITIAL_TABLE_COUNTER = int(os.getenv('INITIAL_TABLE_COUNTER', 15))
@@ -5,7 +5,7 @@ with open("README.md", "r") as f:
5
5
 
6
6
  setup(
7
7
  name='nadex-cli',
8
- version='1.0.1',
8
+ version='1.0.3',
9
9
  packages=find_packages(),
10
10
  include_package_data=True,
11
11
  install_requires=[
File without changes
File without changes
File without changes
File without changes