move api_receive from bitex
added example file