Skip to content

Commit 42fa80c

Browse files
authored
added ltq in websocket (#96)
1 parent 4f458bd commit 42fa80c

File tree

7 files changed

+101
-121
lines changed

7 files changed

+101
-121
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The official Python client for communicating with the <a href="https://upstox.co
99
Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
1010

1111
- API version: v2
12-
- Package version: 2.11.0
12+
- Package version: 2.12.0
1313
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
1414

1515
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.

examples/websocket/market_data/v3/MarketDataFeedV3.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ package com.upstox.marketdatafeederv3udapi.rpc.proto;
44
message LTPC {
55
double ltp = 1;
66
int64 ltt = 2;
7-
double cp = 3; //close price
7+
int64 ltq = 3;
8+
double cp = 4;
89
}
910

1011
message MarketLevel {

examples/websocket/market_data/v3/MarketDataFeedV3_pb2.py

Lines changed: 47 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
long_description = (this_directory / "README.md").read_text()
1919

2020
NAME = "upstox-python-sdk"
21-
VERSION = "2.11.0"
21+
VERSION = "2.12.0"
2222
# To install the library, run the following
2323
#
2424
# python setup.py install

upstox_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7474
# Set default User-Agent.
7575
self.user_agent = 'Swagger-Codegen/1.0.0/python'
7676
self.default_headers["X-Upstox-SDK-Language"] = "python"
77-
self.default_headers["X-Upstox-SDK-Version"] = "2.11.0"
77+
self.default_headers["X-Upstox-SDK-Version"] = "2.12.0"
7878

7979
def __del__(self):
8080
try:

upstox_client/feeder/proto/MarketDataFeedV3.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ package com.upstox.marketdatafeederv3udapi.rpc.proto;
44
message LTPC {
55
double ltp = 1;
66
int64 ltt = 2;
7-
double cp = 3; //close price
7+
int64 ltq = 3;
8+
double cp = 4;
89
}
910

1011
message MarketLevel {

0 commit comments

Comments
 (0)