Basics: How to make broadcasts and bets

What is a broadcast? How do I make one?

A broadcast is textual or numerical data which is in turn used as the subject of bets. A series of broadcasts is called a ‘feed’. Someone who publishes a feed is called a ‘feed-operator’.

There are two types of bets, Contracts for Difference (CFDs) and Equal/NotEqual bets.

If Bob wants to publish the price of gold, for example

C:\\Python32\\python.exe run.py broadcast --from BOBS_ADDRESS --text "'The price of gold in USD.'" --value 1260 --fee-multiplier .01

’fee-multiplier’ is the percentage of the bet that goes to the feed-operator, thus in this case %1.

The command above would be a broadcast upon which users could create CFDs. An example of a  broadcast upon which people could users could make an Equal/NotEqual bet is:

C:\\Python32\\python.exe run.py broadcast --from BOBS_ADDRESS --text "'The price of gold in USD. 1=inc 2=dec'" --value 2 --fee-multiplier .01

[quote author=cityglut link=topic=6.msg9#msg9 date=1391362759]
What is a broadcast? How do I make one?

A broadcast is textual or numerical data which is in turn used as the subject of bets. A series of broadcasts is called a ‘feed’. Someone who publishes a feed is called a ‘feed-operator’.

There are two types of bets, Contracts for Difference (CFDs) and Equal/NotEqual bets.

If Bob wants to publish the price of gold, for example

C:\\Python32\\python.exe run.py broadcast --from BOBS_ADDRESS --text "'The price of gold in USD.'" --value 1260 --fee-multiplier .01

’fee-multiplier’ is the percentage of the bet that goes to the feed-operator, thus in this case %1.

The command above would be a broadcast upon which users could create CFDs. An example of a  broadcast upon which people could users could make an Equal/NotEqual bet is:

C:\\Python32\\python.exe run.py broadcast --from BOBS_ADDRESS --text "'The price of gold in USD. 1=inc 2=dec'" --value 2 --fee-multiplier .01
[/quote]

Thank you for this. It’s very helpful and clear. I will try this tonight.

a) You don’t need advanced (aka enhanced feed) info. (Ref: https://wiki.counterparty.io/w/Enhanced_Feed_Info_in_Counterwallet)


b) You won’t be able to bet on such bets from Counterwallet (there the address must have Enhanced Feed Info). 
Using API or counterpartyd, you’ll be able to bet.

https://wiki.counterparty.io/w/Bets_and_Broadcasts#Examples has some examples with cleaner formatting, by the way.

Do you need advanced info now too? Is it mandatory?