Hi,
Rather than just place one bet at a time, I want to loop through a place a number of bets using a pre-created list of market ids (market_bet_list). I can't get it to work, any tips greatly appreciated.
order = trading.betting.place_orders(
market_id= (market_bet_list), # The market bet list created
instructions=[instructions_filter] # This must be a list
)
ERROR:
TypeError: Object of type Series is not JSON serializable
Rather than just place one bet at a time, I want to loop through a place a number of bets using a pre-created list of market ids (market_bet_list). I can't get it to work, any tips greatly appreciated.
order = trading.betting.place_orders(
market_id= (market_bet_list), # The market bet list created
instructions=[instructions_filter] # This must be a list
)
ERROR:
TypeError: Object of type Series is not JSON serializable
Comment