Questions tagged [ticker]

357 questions
2
votes
2 answers

Use ticker to periodically load all the files in memory from a path which keeps changing frequently?

I have an application which needs to read files from two different path. After reading all these files, I need to load them up in memory in products map. Path: Full: This is the path which will have all files that we need to load up during server…
vader
  • 45
  • 1
  • 9
2
votes
1 answer

Python: call pandas_datareader with isin or wkn or translate this into ticker symbol?

I have a real big list of stocks with ISIN and WKN-Number. My aim is to use pandas_datareader to get now historical data from that stocks. My problem is, the function e.g. import pandas_datareader as web stock = web.DataReader('ALB',…
Martin Kunze
  • 995
  • 6
  • 16
2
votes
1 answer

Performance of time.Ticker

Not able to find out where in the below for loop we are spending more than ten microseconds so that we are missing vast number of ticks? package main import ( "context" "fmt" "time" ) func main() { RunTicker(time.Millisecond, 10 *…
chanchal1987
  • 2,320
  • 7
  • 31
  • 64
2
votes
2 answers

Flow that emits the last value periodically, and when a new value arrives

I want to create a Kotlin coroutines Flow that emits values when they change, and periodically emits the last value available, every x duration since the last change or last emit.
Raman
  • 17,606
  • 5
  • 95
  • 112
2
votes
1 answer

Jquery twitter ticker first li 2 times

Hello Stackoverflow users, I have created a tweet ticker with jquery for a website. The problem now is that the first tweet is showing 2 times and when that is over it is working great. But how can i make it so that the first tweet is only shows one…
Maanstraat
  • 1,241
  • 7
  • 34
  • 63
2
votes
1 answer

wpf auto scroll items in databound ItemsControl (like news ticker)

I am creating a messages ticker for my application.
empo
  • 1,133
  • 5
  • 21
  • 41
2
votes
1 answer

Individually color ticks of a plotly.graph_objects.Bar

I have a multi-index dataframe dfc which I want to plot as a bar chart with the color of the tick on the yaxis depending on the value of dfc.iloc[i].values[1] for any value i. Unnamed: 1 …
Revolucion for Monica
  • 2,848
  • 8
  • 39
  • 78
2
votes
1 answer

Resetting a ticker

Consider a server that is initialised with a timer/ticker resource that will fire every t (t is 20ms in my example) ticks. Every time the server listens to something on the network (like a periodic signal from peers), it has to reset the timer. On…
rranjik
  • 690
  • 9
  • 21
2
votes
2 answers

How can I use matplotlib.pyplot.xticks or similar when using subplots?

I'd like to manipulate the ticks of every plot in my subplots. When plotting a single plot I get the desired result by using: import matplotlib.pyplot as plt import numpy as np # ... # some data acquisition # ... ax.imshow(data[i],…
Felix
  • 83
  • 9
2
votes
0 answers

JCarouselLite Smooth Vertical Scrolling

Sorry if this question has been asked before, but I was unable to find the exact answer I was looking for. I need to make a vertical text ticker that moves smoothly, with no discernable pauses, and repeats indefinitely. I found JCarouselLite, and…
2
votes
0 answers

How to create a Rolls (1984)Bid Ask Spread Model for specific companies?

I am currently trying to create a bid ask model on R for 12 companies. I have already figured out how to get stock prices for 12 companies and how to apply the equation to it. Now I need to create a function which will give me the final spread for…
NSI
  • 21
  • 4
2
votes
2 answers

Removing timestamp, day and month from Pandas dataframe for a time series plot

import pandas as pd import matplotlib.pyplot as plt import numpy as np I have two dataframes I want to plot two time series for. I want the time series to be stacked on top of each other which I'm struggling to get to work for a Pandas dataframe.…
ggmp
  • 23
  • 4
2
votes
0 answers

How to get https://stocks.exchange/api2/ticker

import json, requests def tick(): r = requests.get('https://stocks.exchange/api2/ticker') return r.json() print tick() This code outputs, Traceback (most recent call last): File "C:\Users\Steven\Desktop\Auto\tradeogre\stocksexchange.py",…
RoachNut
  • 21
  • 1
2
votes
1 answer

How to show only evey nth categorical tickers in Bokeh

There was the same question two years ago. It seemed that evey nth categorical tickers was not supported at that time. https://stackoverflow.com/questions/34949298/python-bokeh-show-only-every-second-categorical-ticker My bokeh version is 0.12.13. I…
Royalblue
  • 639
  • 10
  • 22
2
votes
4 answers

creating a Javascript-based news ticker

I'm creating a ticker of sorts, and need it to be running until the page is obviously closed or navigated away from. This script will just be cycling through li (this is what I've got so far): $("li").hide(); //hides all "li" onload var lis =…
nkcmr
  • 10,690
  • 25
  • 63
  • 84