☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
November 2016
dummydost
November 2016
ahsan
November 2016
sujith
What is the proper way to save and analyze live data for trading logic?
dummydost
November 2016
in
Python client
How to save and analyze live data for making trading decisions (intraday trades) that will involve trading multiple instruments at the same time? What is the right way?
Any pointers?
Tagged:
data storage and analysis
sujith
November 2016
Hi,
Whenever you get data in on tick store it in database and use the same data for analysis.
ahsan
November 2016
Hi,
How can I save live tick into a variable? I want current price ticks which can be utilize for taking decision.
Thanks
sujith
November 2016
Hi
@ahsan
,
Once you subscribe for tokens, you get ticks in the following method,
def on_tick(tick, ws):
print tick
Inside this method you can write to your database and use the same for analysis.
dummydost
November 2016
edited November 2016
@ahsan
If you are using Python store them in a list or panda's dataframe and then do your analysis.
Sign In
or
Register
to comment.
Whenever you get data in on tick store it in database and use the same data for analysis.
How can I save live tick into a variable? I want current price ticks which can be utilize for taking decision.
Thanks
Once you subscribe for tokens, you get ticks in the following method,
def on_tick(tick, ws):
print tick
Inside this method you can write to your database and use the same for analysis.