Greening aka updateOrders?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Debcho
    Junior Member
    • Oct 2012
    • 5

    #1

    Greening aka updateOrders?

    Hello,

    How can I made greening bets < the minimum amount?

    e.g. somebody matched me LAY 4@20 and how can I green it with 2@40?

    I cannot see where need to set updateOrders size or price?

    My logic is:

    1. put 4@1.01
    2. put greening amount@1.01
    3. cancel 4@1.01
    4. updateOrders greening amount@wanted price


    But cannot see where in instructions to add new price or size??


    updateInstructions = new List<UpdateInstruction>();
    UpdateInstruction updateInstruction = new UpdateInstruction();
    updateInstruction.BetId = betId;
    updateInstruction.NewPersistenceType = PersistenceType.LAPSE;
    updateInstructions.Add(updateInstruction);

    Best Regards
  • Debcho
    Junior Member
    • Oct 2012
    • 5

    #2
    Found it... replaceOrders have new price instead of updateOrders

    Comment

    Working...
    X