You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team,
When I try to get bids and offers for Options grains futures, pyrofex returns an empty bid and offer when using both rest and websocket despite there being a bid and offer on the realtime screen.
for example:
I want to pull bid ask on "SOJ.ROS/JUL24 320 C"
matba rofex realtime shows [email protected]
when I use pyrofex to pull,
# 2-Set the instrument to use
instrument = "SOJ.ROS/JUL24 320 C"
# 3-Get the two Best Bids and Best Offers for the instrument (using depth parameter)
entries = [pyRofex.MarketDataEntry.BIDS, pyRofex.MarketDataEntry.OFFERS, pyRofex.MarketDataEntry.LAST,pyRofex.MarketDataEntry.OPEN_INTEREST]
market_data = pyRofex.get_market_data(instrument, entries,depth = 1,market=pyRofex.Market.ROFEX,environment=pyRofex.Environment.REMARKET)
print("Market Data Response for {0}: {1}".format(instrument, market_data))
and it returns Market Data Response for SOJ.ROS/JUL24 320 C: {'status': 'OK', 'marketData': {'LA': None, 'BI': None, 'OF': None, 'OI': None}, 'depth': 1, 'aggregated': True}
Clearly, its recognizing the instrument, its just incorrectly telling me theres no bid ask.
I would note that the above works if I try to get bid ask for agro futures.
Please advise.
Thanks,
Manuel
The text was updated successfully, but these errors were encountered:
If that's the case I know MatbaRofex runs a bot that tries to inject prices into Remarket based on the Live marketdata, and probably it's missing this option for some reason. Maybe someone from Primary can confirm this. @franluiscarrillo
Thank you for the reply! Yes, Im using Remarket. I've tried for several different options and none of them seem to be getting bid ask despite there being bid ask on the realtime screen.
Hi team,
When I try to get bids and offers for Options grains futures, pyrofex returns an empty bid and offer when using both rest and websocket despite there being a bid and offer on the realtime screen.
for example:
I want to pull bid ask on "SOJ.ROS/JUL24 320 C"
matba rofex realtime shows [email protected]
when I use pyrofex to pull,
and it returns
Market Data Response for SOJ.ROS/JUL24 320 C: {'status': 'OK', 'marketData': {'LA': None, 'BI': None, 'OF': None, 'OI': None}, 'depth': 1, 'aggregated': True}
Clearly, its recognizing the instrument, its just incorrectly telling me theres no bid ask.
I would note that the above works if I try to get bid ask for agro futures.
Please advise.
Thanks,
Manuel
The text was updated successfully, but these errors were encountered: