Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exchange for OTC stock indices #26

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions share/exchange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,23 @@ CME:
symbol: CME
trading_days: weekdays
trading_timezone: America/New_York
CME_OTC:
currency: USD
delay_amount: '0'
display_name: OTC Chicago Board of Trade Exchange
market_times:
dst:
daily_close: 20h
daily_open: 13h30m
daily_settlement: 22h
partial_trading: {}
standard:
daily_close: 21h
daily_open: 14h30m
daily_settlement: 23h
symbol: CME_OTC
trading_days: weekdays
trading_timezone: America/New_York
DFM:
currency: AED
delay_amount: '1440'
Expand Down Expand Up @@ -1187,6 +1204,19 @@ SGX:
symbol: SGX
trading_days: weekdays
trading_timezone: Asia/Singapore
SGX_OTC:
currency: SGD
delay_amount: '0'
display_name: OTC Singapore Derivatives Exchange
market_times:
partial_trading: {}
standard:
daily_close: 9h
daily_open: 1h
daily_settlement: 23h
symbol: SGX_OTC
trading_days: weekdays
trading_timezone: Asia/Singapore
SP_GLOBAL:
currency: USD
delay_amount: '1440'
Expand Down
2 changes: 1 addition & 1 deletion t/exchange.t
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ subtest 'trading_days' => sub {
'OMX', 'FOREX', 'SYNSTOXX', 'SZSE', 'SYNSWX', 'RTS', 'JSC', 'METAL',
'OSE', 'FS', 'NZSE', 'ODLS', 'SP_GLOBAL', 'JSE', 'NASDAQ', 'BM',
'HKSE', 'MICEX', 'SYNNYSE_DJI', 'SP_GSCI', 'EUREX_SWISS', 'IDM', 'SSE', 'OIL_OTC',
'BRENT_OTC'
'BRENT_OTC', 'CME_OTC', 'SGX_OTC'
],
};

Expand Down
Loading