Skip to content

Commit

Permalink
0.6.6
Browse files Browse the repository at this point in the history
orderStatus added for async orders
customerOrderRef added
customerStrategyRef isnt returned
  • Loading branch information
liampauling committed Oct 13, 2016
1 parent 54a2e1f commit b85c2ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion betfairlightweight/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from .streaming import StreamListener


__version__ = '0.6.5'
__version__ = '0.6.6'
5 changes: 3 additions & 2 deletions betfairlightweight/resources/bettingresources.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ class Meta(BaseResource.Meta):
'selectionId': 'selection_id',
'side': 'side',
'orderType': 'order_type',
'handicap': 'handicap'
'handicap': 'handicap',
'customerOrderRef': 'customer_order_ref'
}
sub_resources = {
'limitOrder': LimitOrder
Expand All @@ -448,6 +449,7 @@ class Meta(BaseResource.Meta):
identifier = 'place_instruction_reports'
attributes = {
'status': 'status',
'orderStatus': 'order_status',
'betId': 'bet_id',
'averagePriceMatched': 'average_price_matched',
'sizeMatched': 'size_matched',
Expand All @@ -469,7 +471,6 @@ class Meta(BaseResource.Meta):
'marketId': 'market_id',
'status': 'status',
'customerRef': 'customer_ref',
'customerStrategyRef': 'customer_strategy_ref',
'errorCode': 'error_code'
}
sub_resources = {
Expand Down

0 comments on commit b85c2ee

Please sign in to comment.