Hello folks,
using below code , will it provide the realtime latest price from the market? or actually delay?
barset= api.get_barset( “DIA”, “1Min”, limit = 18 )
Hello folks,
using below code , will it provide the realtime latest price from the market? or actually delay?
barset= api.get_barset( “DIA”, “1Min”, limit = 18 )
Well it depends. If you get a pro account with Alpaca or subscribe to Polygon (both are paid subscriptions), you will get real-time prices. If you get the free account from alpaca, I believe they are 15 min delayed prices