Skip to content

Commit

Permalink
Fixed Sandbox Config Constants
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrider committed Jan 27, 2021
1 parent b83526e commit c3626ea
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@
defineConst('URL_EXPIRYDATES', ETRADE_SERVER . '/v1/market/optionexpiredate');

//Alerts Endpoints
defineConst('LIST_ALERTS_URL', ETRADE_OAUTH_SERVER . '/v1/user/alerts');
defineConst('ALERT_DETAILS_URL', ETRADE_OAUTH_SERVER . '/v1/user/alerts');
defineConst('DELETE_ALERT_URL', ETRADE_OAUTH_SERVER . '/v1/user/alerts');
defineConst('LIST_ALERTS_URL', ETRADE_SERVER . '/v1/user/alerts');
defineConst('ALERT_DETAILS_URL', ETRADE_SERVER . '/v1/user/alerts');
defineConst('DELETE_ALERT_URL', ETRADE_SERVER . '/v1/user/alerts');

//Order Endpoints
defineConst('ORDER_LIST_URL', ETRADE_OAUTH_SERVER . '/v1/accounts/accountkeyid/orders');
defineConst('ORDER_PREVIEW_URL', ETRADE_OAUTH_SERVER . '/v1/accounts/accountkeyid/orders/preview');
defineConst('ORDER_PLACE_URL', ETRADE_OAUTH_SERVER . '/v1/accounts/accountkeyid/orders/place');
defineConst('ORDER_CANCEL_URL', ETRADE_OAUTH_SERVER . '/v1/accounts/accountkeyid/orders/cancel');
defineConst('ORDER_CHANGE_PREVIEW_URL', ETRADE_OAUTH_SERVER . '/v1/accounts/accountkeyid/orders/orderid/change/preview');
defineConst('ORDER_CHANGE_PLACE_URL', ETRADE_OAUTH_SERVER . '/v1/accounts/accountkeyid/orders/orderid/change/place');
defineConst('ORDER_LIST_URL', ETRADE_SERVER . '/v1/accounts/accountkeyid/orders');
defineConst('ORDER_PREVIEW_URL', ETRADE_SERVER . '/v1/accounts/accountkeyid/orders/preview');
defineConst('ORDER_PLACE_URL', ETRADE_SERVER . '/v1/accounts/accountkeyid/orders/place');
defineConst('ORDER_CANCEL_URL', ETRADE_SERVER . '/v1/accounts/accountkeyid/orders/cancel');
defineConst('ORDER_CHANGE_PREVIEW_URL', ETRADE_SERVER . '/v1/accounts/accountkeyid/orders/orderid/change/preview');
defineConst('ORDER_CHANGE_PLACE_URL', ETRADE_SERVER . '/v1/accounts/accountkeyid/orders/orderid/change/place');

function defineConst($name,$value)
{
Expand Down

0 comments on commit c3626ea

Please sign in to comment.