pre demo start office with 4 workers
start
Clear tables
In [1]:
import demo
import process
In [2]:
demo.clear_tables()
In [ ]:
get data (5) # usdgbp
In [7]:
demo.get_price('GBPUSD')
Out[7]:
In [8]:
process.processSinglePrice()
In [6]:
demo.get_price('USDEUR')
process.processSinglePrice()
In [10]:
demo.get_price('EURGBP')
process.processSinglePrice()
In [ ]:
demo.get_prices(1)
process.processPrices(3)
limitations
set workers to work
In [ ]:
while True:
process.processSinglePrice()
#break
In [ ]:
In [ ]:
In [ ]:
In [ ]: