-
Notifications
You must be signed in to change notification settings - Fork 239
new changes added in WebScoketV2.0 #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: AMX-3393-Smart-Api-Python-Library
Are you sure you want to change the base?
new changes added in WebScoketV2.0 #6
Conversation
TODO:
|
Is it going to merge ? |
Hey Pulak,
We have a code review meeting with @moiz Motorwala
***@***.***> and others, post which we will decide to
merge it or not.
…On Mon, May 15, 2023 at 11:53 PM Pulak Pattanayak ***@***.***> wrote:
Is it going to merge ?
—
Reply to this email directly, view it on GitHub
<https://protect-eu.mimecast.com/s/UugyCRM0JfyD6OVU9tf6U?domain=github.com>,
or unsubscribe
<https://protect-eu.mimecast.com/s/Ad77CV5kjcznJZvHz6xMN?domain=github.com>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
|
Thanks @adityab-angelone . We don't get few fields in v2. like Vwap Average Price |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested this code in my local project and It's working as expected.
Here are some data that I have received -
2023-05-19 10:05:43: AngelOneTicker registerSymbol: CIPLA-EQ token = 694 2023-05-19 10:05:43: AngelOneTicker Subscribing token [{'exchangeType': 1, 'tokens': ['694']}] 2023-05-19 10:05:43: on_ticks message = {'subscription_mode': 3, 'exchange_type': 1, 'token': '694', 'sequence_number': 13456002, 'exchange_timestamp': 1684455340991, 'last_traded_price': 91450, 'subscription_mode_val': 'SNAP_QUOTE', 'last_traded_quantity': 25, 'average_traded_price': 91819, 'volume_trade_for_the_day': 1881606, 'total_buy_quantity': 177.0, 'total_sell_quantity': 0.0, 'open_price_of_the_day': 92900, 'high_price_of_the_day': 92965, 'low_price_of_the_day': 91155, 'closed_price': 92395, 'last_traded_timestamp': 1684405127, 'open_interest': 23508550, 'open_interest_change_percentage': -4654850246574609970, 'upper_circuit_limit': 100595, 'lower_circuit_limit': 82305, '52_week_high_price': 118525, '52_week_low_price': 85200, 'best_5_buy_data': [{'flag': 0, 'quantity': 0, 'price': 0, 'no of orders': 0}, {'flag': 0, 'quantity': 0, 'price': 0, 'no of orders': 0}, {'flag': 0, 'quantity': 0, 'price': 0, 'no of orders': 0}, {'flag': 0, 'quantity': 0, 'price': 0, 'no of orders': 0}, {'flag': 0, 'quantity': 0, 'price': 0, 'no of orders': 0}], 'best_5_sell_data': [{'flag': 1, 'quantity': 177, 'price': 91450, 'no of orders': 21}, {'flag': 1, 'quantity': 0, 'price': 0, 'no of orders': 0}, {'flag': 1, 'quantity': 0, 'price': 0, 'no of orders': 0}, {'flag': 1, 'quantity': 0, 'price': 0, 'no of orders': 0}, {'flag': 1, 'quantity': 0, 'price': 0, 'no of orders': 0}]}
No description provided.