content
stringlengths
7
1.05M
#!/usr/bin/python3 #___________________________________________________________________ #config for boot- and shutdown-logo oledBootLogo = "volumio_logo.ppm" oledShutdownLogo = "shutdown.ppm" #___________________________________________________________________ok #config for Clock/Standby: oledtext03 = 59, 4 #clock oledtext04 = 34, 52 #IP oledtext05 = 169, 52 #Date oledtext09 = 236, 51 #LibraryInfoIcon #_______Spectrum-Left_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen1text01 = 34, 0 #Artist Screen1text02 = 34, 19 #Title Screen1text06 = 110, 41 #format Screen1text07 = 155, 41 #samplerate Screen1text08 = 200, 41 #bitdepth Screen1text28 = 100, 41 #Play/Pause Indicator ???????????? #configuration of the duration and playtime (textbox-) positions Screen1ActualPlaytimeText = 99, 54 Screen1DurationText = 191, 54 #config for Progress-Bar Screen1barwidth = 48 Screen1barLineBorder = 'white' Screen1barLineFill = 'black' Screen1barLineX = 141 Screen1barLineThick1 = 59 #difference between both = thickness Screen1barLineThick2 = 59 # 59 and 59 = 1 Pixel thick Screen1barBorder = 'white' Screen1barFill = 'black' Screen1barX = 141 Screen1barThick1 = 57 #difference between both = thickness Screen1barThick2 = 61 # 56 and 62 = 6 Pixel thick Screen1barNibbleWidth = 2 #config for Spectrum Screen1specDistance = 34 Screen1specBorder = (255, 255, 255) Screen1specFill = (255, 255, 255) Screen1specWide1 = 1 Screen1specWide2 = 0 Screen1specYposTag = 63 Screen1specYposNoTag = 63 #config for Spectrum2 NoProgress Screen11specDistance = 34 Screen11specBorder = (130, 130, 130) Screen11specFill = (130, 130, 130) Screen11specWide1 = 4 Screen11specWide2 = 0 Screen11specYposTag = 63 Screen11specYposNoTag = 63 #_______'Spectrum-Center'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen2text01 = 35, 0 #Artist Screen2text02 = 35, 19 #Title Screen2text06 = 35, 41 #format Screen2text07 = 151, 41 #samplerate Screen2text08 = 212, 41 #bitdepth Screen2text28 = 59, 41 #Play/Pause Indicator #configuration of the duration and playtime (textbox-) positions Screen2ActualPlaytimeText = 35, 54 Screen2DurationText = 205, 54 #config for Progress-Bar Screen2barwidth = 128 Screen2barLineBorder = 'white' Screen2barLineFill = 'black' Screen2barLineX = 76 Screen2barLineThick1 = 61 #difference between both = thickness Screen2barLineThick2 = 61 # 59 and 59 = 1 Pixel thick Screen2barBorder = 'white' Screen2barFill = 'black' Screen2barX = 76 Screen2barThick1 = 59 #difference between both = thickness Screen2barThick2 = 63 # 56 and 62 = 6 Pixel thick Screen2barNibbleWidth = 2 #config for Spectrum Screen2specDistance = 76 Screen2specBorder = (80, 80, 80) Screen2specFill = (80, 80, 80) Screen2specWide1 = 2 Screen2specWide2 = 0 Screen2specYposTag = 61 Screen2specYposNoTag = 61 #config for Spectrum2 NoProgress Screen22specDistance = 34 Screen22specBorder = (130, 130, 130) Screen22specFill = (130, 130, 130) Screen22specWide1 = 3 Screen22specWide2 = 0 Screen22specYposTag = 63 Screen22specYposNoTag = 63 #_______'Spectrum-Right'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen3text01 = 35, 0 #Artist Screen3text02 = 35, 19 #Title Screen3text06 = 35, 41 #format Screen3text07 = 87, 41 #samplerate Screen3text08 = 138, 41 #bitdepth Screen3text28 = 59, 41 #Play/Pause Indicator #configuration of the duration and playtime (textbox-) positions Screen3ActualPlaytimeText = 34, 54 Screen3DurationText = 125, 54 #config for Progress-Bar Screen3barwidth = 48 Screen3barLineBorder = 'white' Screen3barLineFill = 'black' Screen3barLineX = 76 Screen3barLineThick1 = 59 #difference between both = thickness Screen3barLineThick2 = 59 # 59 and 59 = 1 Pixel thick Screen3barBorder = 'white' Screen3barFill = 'black' Screen3barX = 76 Screen3barThick1 = 56 #difference between both = thickness Screen3barThick2 = 62 # 56 and 62 = 6 Pixel thick Screen3barNibbleWidth = 2 #config for Spectrum Screen3specDistance = 229 #Inverted! 255 - 1x64 =196 Screen3specBorder = (255, 255, 255) Screen3specFill = (255, 255, 255) Screen3specWide1 = 1 Screen3specWide2 = 0 Screen3specYposTag = 63 Screen3specYposNoTag = 63 #config for Spectrum2 NoProgress Screen33specDistance = 34 Screen33specBorder = (130, 130, 130) Screen33specFill = (130, 130, 130) Screen33specWide1 = 3 Screen33specWide2 = 0 Screen33specYposTag = 63 Screen33specYposNoTag = 63 #_______'No-Spectrum'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen4text01 = 34, 2 #Artist Screen4text02 = 34, 22 #Title Screen4text06 = 45, 41 #format Screen4text07 = 80, 41 #samplerate Screen4text08 = 210, 41 #bitdepth Screen4text28 = 35, 41 #Play/Pause Indicator #configuration of the duration and playtime (textbox-) positions Screen4ActualPlaytimeText = 35, 54 Screen4DurationText = 205, 54 #config for Progress-Bar Screen4barwidth = 128 Screen4barLineBorder = 'white' Screen4barLineFill = 'black' Screen4barLineX = 76 Screen4barLineThick1 = 59 #difference between both = thickness Screen4barLineThick2 = 59 # 59 and 59 = 1 Pixel thick Screen4barBorder = 'white' Screen4barFill = 'black' Screen4barX = 76 Screen4barThick1 = 57 #difference between both = thickness Screen4barThick2 = 61 # 56 and 62 = 6 Pixel thick Screen4barNibbleWidth =2 #_______'Modern'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen5text01 = 35, 51 #Artist Screen5text02 = 35, 51 #Title Screen5text012 = 35, 0 #Artist Screen5text022 = 35, 19 #Title Screen5text06 = 91, 39 #format Screen5text07 = 123, 39 #samplerate Screen5text08 = 163, 39 #bitdepth Screen5text28 = 113, 37 #Play/Pause Indicator #configuration of the duration and playtime (textbox-) positions Screen5ActualPlaytimeText = 35, 0 Screen5DurationText = 207, 0 #config for Progress-Bar Screen5barwidth = 208 Screen5barLineBorder = 'white' Screen5barLineFill = 'white' Screen5barLineX = 34 Screen5barLineThick1 = 32 #difference between both = thickness Screen5barLineThick2 = 32 # 59 and 59 = 1 Pixel thick Screen5barBorder = 'white' Screen5barFill = 'black' Screen5barX = 34 Screen5barThick1 = 30 #difference between both = thickness Screen5barThick2 = 34 # 56 and 62 = 6 Pixel thick Screen5barNibbleWidth = 2 #config for Spectrum Screen5specDistance = 34 Screen5specBorder = (130, 130, 130) Screen5specFill = (130, 130, 130) Screen5specWide1 = 3.3 Screen5specWide2 = 0 Screen5specYposTag = 28 Screen5specYposNoTag = 28 #config for Spectrum2 NoProgress Screen55specDistance = 35 Screen55specBorder = (130, 130, 130) Screen55specFill = (130, 130, 130) Screen55specWide1 = 3.5 Screen55specWide2 = 1 Screen55specYposTag = 33 Screen55specYposNoTag = 33 #config for leftVU Screen5leftVUDistance = 35 Screen5leftVUBorder = (80, 80, 80) Screen5leftVUFill = (80, 80, 80) Screen5leftVUWide1 = 1.5 Screen5leftVUWide2 = 0 Screen5leftVUYpos1 = 38 Screen5leftVUYpos2 = 45 #config for leftVU NoProgress Screen55leftVUDistance = 35 Screen55leftVUBorder = (80, 80, 80) Screen55leftVUFill = (80, 80, 80) Screen55leftVUWide1 = 1.5 Screen55leftVUWide2 = 0 Screen55leftVUYpos1 = 38 Screen55leftVUYpos2 = 45 #config for rightVU Screen5rightVUDistance = 241 Screen5rightVUBorder = (80, 80, 80) Screen5rightVUFill = (80, 80, 80) Screen5rightVUWide1 = 1.5 Screen5rightVUWide2 = 0 Screen5rightVUYpos1 = 38 Screen5rightVUYpos2 = 45 #config for rightVU NoProgress Screen55rightVUDistance = 241 Screen55rightVUBorder = (80, 80, 80) Screen55rightVUFill = (80, 80, 80) Screen55rightVUWide1 = 1.5 Screen55rightVUWide2 = 0 Screen55rightVUYpos1 = 38 Screen55rightVUYpos2 = 45 #_______'VU-Meter-1'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen6text01 = 34, 2 #Artist Screen6text28 = 34, 14 #Play/Pause Indicator #configuration of the duration and playtime (textbox-) positions Screen6ActualPlaytimeText = 35, 0 Screen6DurationText = 207, 0 #config for VU-Meter "Hand"/"Pointer" Screen6leftVUcoordinates = [(105, 160, 47, 47), (105, 160, 49, 45), (105, 160, 52, 43), (105, 160, 54, 41), (105, 160, 56, 40), (105, 160, 59, 39), (105, 160, 61, 37), (105, 160, 64, 35), (105, 160, 66, 34), (105, 160, 68, 33), (105, 160, 71, 32), (105, 160, 73, 31), (105, 160, 75, 31), (105, 160, 78, 30), (105, 160, 80, 30), (105, 160, 83, 29), (105, 160, 85, 28), (105, 160, 87, 28), (105, 160, 90, 28), (105, 160, 92, 28), (105, 160, 94, 29), (105, 160, 97, 29), (105, 160, 99, 29), (105, 160, 102, 29), (105, 160, 104, 30), (105, 160, 106, 30), (105, 160, 109, 31), (105, 160, 111, 31), (105, 160, 113, 32), (105, 160, 116, 32), (105, 160, 118, 33), (105, 160, 121, 33), (105, 160, 123, 34)] Screen6rightVUcoordinates = [(191, 160, 154, 47), (191, 160, 157, 45), (191, 160, 159, 43), (191, 160, 161, 41), (191, 160, 164, 40), (191, 160, 166, 39), (191, 160, 169, 37), (191, 160, 171, 35), (191, 160, 173, 34), (191, 160, 176, 33), (191, 160, 178, 32), (191, 160, 180, 31), (191, 160, 183, 31), (191, 160, 185, 30), (191, 160, 188, 30), (191, 160, 190, 29), (191, 160, 192, 28), (191, 160, 195, 28), (191, 160, 197, 28), (191, 160, 199, 28), (191, 160, 202, 29), (191, 160, 204, 29), (191, 160, 207, 29), (191, 160, 209, 29), (191, 160, 211, 30), (191, 160, 214, 30), (191, 160, 216, 31), (191, 160, 218, 31), (191, 160, 221, 32), (191, 160, 223, 32), (191, 160, 226, 33), (191, 160, 228, 33), (191, 160, 230, 34)] #_______'VU-Meter-2'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen7text01 = 35, 0 #Artist Screen7text02 = 35, 14 #Title Screen7text012 = 35, 0 #Artist Screen7text022 = 35, 19 #Title Screen7text06 = 78, 14 #format Screen7text07 = 101, 14 #samplerate Screen7text08 = 148, 14 #bitdepth Screen7text28 = 66, 13 #Play/Pause Indicator #config for VU-Meter "Hand"/"Pointer" Screen7leftVUcoordinates = [(105, 160, 5, 59), (105, 160, 8, 57), (105, 160, 11, 55), (105, 160, 14, 53), (105, 160, 17, 52), (105, 160, 20, 51), (105, 160, 23, 49), (105, 160, 26, 47), (105, 160, 29, 46), (105, 160, 32, 45), (105, 160, 35, 44), (105, 160, 38, 43), (105, 160, 41, 43), (105, 160, 44, 42), (105, 160, 47, 42), (105, 160, 50, 41), (105, 160, 53, 40), (105, 160, 56, 40), (105, 160, 59, 40), (105, 160, 62, 40), (105, 160, 65, 41), (105, 160, 68, 41), (105, 160, 71, 41), (105, 160, 74, 41), (105, 160, 77, 42), (105, 160, 80, 42), (105, 160, 83, 43), (105, 160, 86, 43), (105, 160, 89, 44), (105, 160, 92, 44), (105, 160, 95, 45), (105, 160, 98, 45), (105, 160, 101, 46)] Screen7rightVUcoordinates = [(191, 160, 133, 59), (191, 160, 136, 57), (191, 160, 139, 55), (191, 160, 142, 53), (191, 160, 145, 52), (191, 160, 148, 51), (191, 160, 151, 49), (191, 160, 154, 47), (191, 160, 157, 46), (191, 160, 160, 45), (191, 160, 1105, 44), (191, 160, 166, 43), (191, 160, 169, 43), (191, 160, 172, 42), (191, 160, 175, 42), (191, 160, 178, 41), (191, 160, 181, 40), (191, 160, 184, 40), (191, 160, 187, 40), (191, 160, 190, 40), (191, 160, 193, 41), (191, 160, 196, 41), (191, 160, 199, 41), (191, 160, 202, 41), (191, 160, 205, 42), (191, 160, 208, 42), (191, 160, 211, 43), (191, 160, 214, 43), (191, 160, 217, 44), (191, 160, 220, 44), (191, 160, 223, 45), (191, 160, 226, 45), (191, 160, 229, 45)] #configuration of the duration and playtime (textbox-) positions Screen7ActualPlaytimeText = 35, 14 Screen7DurationText = 207, 14 #config for Progress-Bar Screen7barwidth = 208 Screen7barLineBorder = 'white' Screen7barLineFill = 'white' Screen7barLineX = 34 Screen7barLineThick1 = 26 #difference between both = thickness Screen7barLineThick2 = 26 # 59 and 59 = 1 Pixel thick Screen7barBorder = 'white' Screen7barFill = 'black' Screen7barX = 34 Screen7barThick1 = 24 #difference between both = thickness Screen7barThick2 = 28 # 56 and 62 = 6 Pixel thick Screen7barNibbleWidth = 2 #_______'VU-Meter-Bar'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen8text01 = 96, 0 #Artist Screen8text02 = 96, 16 #Title Screen8text012 = 35, 0 #Artist Screen8text022 = 35, 19 #Title Screen8text06 = 35, 2 #format Screen8text07 = 44, 16 #samplerate Screen8text08 = 56, 2 #bitdepth Screen8text28 = 35, 14 #Play/Pause Indicator #configuration of the duration and playtime (textbox-) positions Screen8ActualPlaytimeText = 35, 29 Screen8DurationText = 207, 29 #config for Progress-Bar Screen8barwidth = 130 Screen8barLineBorder = 'white' Screen8barLineFill = 'white' Screen8barLineX = 82 Screen8barLineThick1 = 34 #difference between both = thickness Screen8barLineThick2 = 34 # 59 and 59 = 1 Pixel thick Screen8barBorder = 'white' Screen8barFill = 'black' Screen8barX = 82 Screen8barThick1 = 32 #difference between both = thickness Screen8barThick2 = 36 # 56 and 62 = 6 Pixel thick Screen8barNibbleWidth = 2 #config for leftVU Screen8leftVUDistance = 64 #startpoint oft the VU from the left side of the screen Screen8leftVUWide1 = 6.7 #spacing/width of each value -> 32max value from cava * 7 = 224pixels width Screen8leftVUWide2 = 4 #width of each Value from cava -> Value <= Screen8leftVUWide1 -> results in Spaces between / Value >= Screen8leftVUWide1 -> continous Bar Screen8leftVUYpos1 = 40 Screen8leftVUYpos2 = 46 #config for rightVU Screen8rightVUDistance = 64 Screen8rightVUWide1 = 6.7 Screen8rightVUWide2 = 4 Screen8rightVUYpos1 = 56 Screen8rightVUYpos2 = 62 #config for "Peak-Hold" Screen8fallingTime = 0.3 # lower = faster drop / higher = longer hold time Screen8PeakWidth = 2 # wdith of the peak indicator in pixels #config for gradient color of the VU Screen8specGradstart = 80 Screen8specGradstop = 210 Screen8specGradSamples = 32 #_______'Modern-simplistic'_____________________________________________________ #Config TextPositions NowPlaying-/StandBy-Screen: Screen9text01 = 92, 53 #Artist Screen9text02 = 92, 53 #Title Screen9text012 = 92, 53 #Artist Screen9text022 = 92, 53 #Title Screen9text06 = 91, 39 #format Screen9text07 = 123, 39 #samplerate Screen9text08 = 163, 39 #bitdepth Screen9text28 = 113, 37 #Play/Pause Indicator #configuration of the duration and playtime (textbox-) positions Screen9ActualPlaytimeText = 35, 39 Screen9DurationText = 207, 39 #config for Progress-Bar Screen9barwidth = 128 Screen9barLineBorder = 'white' Screen9barLineFill = 'white' Screen9barLineX = 76 Screen9barLineThick1 = 44 #difference between both = thickness Screen9barLineThick2 = 44 # 59 and 59 = 1 Pixel thick Screen9barBorder = 'white' Screen9barFill = 'black' Screen9barX = 76 Screen9barThick1 = 42 #difference between both = thickness Screen9barThick2 = 46 # 56 and 62 = 6 Pixel thick Screen9barNibbleWidth = 2 #config for Spectrum Screen9specDistance = 34 Screen9specBorder = (130, 130, 130) Screen9specFill = (130, 130, 130) Screen9specWide1 = 3.3 Screen9specWide2 = 0 Screen9specYposTag = 38 Screen9specYposNoTag = 38 Screen9specHigh = 1.5 #config for Spectrum2 NoProgress Screen99specDistance = 35 Screen99specBorder = (130, 130, 130) Screen99specFill = (130, 130, 130) Screen99specWide1 = 3.5 Screen99specWide2 = 1 Screen99specYposTag = 43 Screen99specYposNoTag = 43 #config for leftVU Screen9leftVUDistance = 35 Screen9leftVUBorder = (80, 80, 80) Screen9leftVUFill = (80, 80, 80) Screen9leftVUWide1 = 1.5 Screen9leftVUWide2 = 0 Screen9leftVUYpos1 = 53 Screen9leftVUYpos2 = 58 #config for leftVU NoProgress Screen99leftVUDistance = 35 Screen99leftVUBorder = (80, 80, 80) Screen99leftVUFill = (80, 80, 80) Screen99leftVUWide1 = 1.5 Screen99leftVUWide2 = 0 Screen99leftVUYpos1 = 53 Screen99leftVUYpos2 = 58 #config for rightVU Screen9rightVUDistance = 241 Screen9rightVUBorder = (80, 80, 80) Screen9rightVUFill = (80, 80, 80) Screen9rightVUWide1 = 1.5 Screen9rightVUWide2 = 0 Screen9rightVUYpos1 = 53 Screen9rightVUYpos2 = 58 #config for rightVU NoProgress Screen99rightVUDistance = 241 Screen99rightVUBorder = (80, 80, 80) Screen99rightVUFill = (80, 80, 80) Screen99rightVUWide1 = 1.5 Screen99rightVUWide2 = 0 Screen99rightVUYpos1 = 53 Screen99rightVUYpos2 = 58 #config for gradient color of the VU Screen9specGradstart = 80 Screen9specGradstop = 255 Screen9specGradSamples = 32 #___________________________________________________________________ #Config TextPositions Media-Library-Info-Screen: oledtext10 = 180, 2 #Number of Artists oledtext11 = 180, 15 #Number of Albums oledtext12 = 180, 28 #Number of Songs oledtext13 = 180, 41 #Summary of duration oledtext14 = 56, 2 #Text for Artists oledtext15 = 56, 15 #Text for Albums oledtext16 = 56, 28 #Text for Songs oledtext17 = 56, 41 #Text for duration oledtext18 = 176, 52 #Menu-Label Icon oledtext19 = 237, 54 #LibraryInfoIcon oledtext20 = 42, 2 #icon for Artists oledtext21 = 42, 15 #icon for Albums oledtext22 = 42, 28 #icon for Songs oledtext23 = 42, 41 #icon for duration #___________________________________________________________________ #configuration Menu-Screen: oledListEntrys = 4 oledEmptyListText = 'no items..' oledEmptyListTextPosition = 42, 4 oledListTextPosX = 44 oledListTextPosY = 16 #height of each Entry (4x16 = 64) #___________________________________________________________________ #config for Text: oledArt = 'Interpreten :' #sets the Artists-text for the MediaLibrarayInfo oledAlb = 'Alben :' #sets the Albums-text for the MediaLibrarayInfo oledSon = 'Songs :' #sets the Songs-text for the MediaLibrarayInfo oledPla = 'Playtime :' #sets the Playtime-text for the MediaLibrarayInfo #___________________________________________________________________ #config for Icons: oledlibraryInfo = '\U0001F4D6' oledlibraryReturn = '\u2302' oledArtistIcon = '\uF0F3' oledAlbumIcon = '\uF2BB' oledSongIcon = '\U0000F001' oledPlaytimeIcon = '\U0000F1DA' oledplayIcon = '\u25B6' oledpauseIcon = '\u2389'
class AssignWorkers: def __init__(self, test_cases, n_workers): """ Assign workers, check that task required is good. Arguments: ----- `test_cases`: df containing all test cases scenario `n_workers`: number of workers required. """ self.test_cases = test_cases self.n_workers = self._validate_workers(n_workers) def _validate_workers(self, n_workers): assert type(n_workers) is int, f"n_workers={n_workers} has to be an integer > 0" assert n_workers > 0, f"n_workers={n_workers} cannot be empty or 0" m = len(self.test_cases) # assign the n_workers as total number of cases return n_workers if n_workers < m else m def assign(self): """ Assign workers to the tasks return: ----- An assigned workers dictionary: {worker_i: task list} """ ### initialize dict ### workers = {} ### create worker's task ### # calculate number of task per worker num_task = round(len(self.test_cases) / self.n_workers) print(num_task) cur = 0 for i in range(1, self.n_workers + 1): if i == self.n_workers: workers['worker_' + str(i)] = self.test_cases[cur::] else: workers['worker_' + str(i)] = self.test_cases[cur : cur + num_task] cur += num_task print(f">> worker_{i} gets a job...") return workers
# Author: Harsh Goyal # Date: 20-04-2020 def generate_crud(table_name, attributes): file = open('crud_{}.py'.format(table_name), 'w') attr_list = attributes.split(",") attributes_str = "" for i in attr_list: attributes_str += i attributes_str += ',' attributes_str = attributes_str[:-1] print(attributes_str) function_string_connection = """def create_conn(): pass #Enter your connection code #Example: for postgresql #conn = psycopg2.connect(database = "testdb", user = "postgres", password = "pass123", host = "127.0.0.1", port = "5432") #then return conn """ print(function_string_connection) function_string_create = """def create_{0}(values): print(values) conn = create_conn() cur = conn.cursor() sql = \"insert into {0}({1}) values({2}{3});\".format(values); print(sql) try: cur.execute(sql) except: print("Something Went wrong") conn.commit() conn.close() """.format(table_name, attributes_str, '{', '}') print(function_string_create) function_string_read = """def read_{0}(condition=\"1=1\"): conn = create_conn() cur = conn.cursor() sql = \"select * from {0} where {1}{2};\".format(condition) print(sql) try: cur.execute(sql) except: print("Something Went wrong") rows = cur.fetchall() data_dictionary = {1}{2} indices = 0 for row in rows: data_dictionary[indices] = list(row) indices += 1 conn.commit() conn.close() return data_dictionary """.format(table_name, '{', '}') print(function_string_read) function_string_update = """def update_{0}(values, condition=\"1=1\"): conn = create_conn() cur = conn.cursor() sql = \"update {0} set {2}{3} where {2}{3};\".format(values, condition) print(sql) try: cur.execute(sql) except: print("Something Went wrong") conn.commit() conn.close() """.format(table_name, attributes_str, '{', '}') print(function_string_update) function_string_delete = """def delete_{0}(condition=\"1=1\"): conn = create_conn() cur = conn.cursor() sql = \"delete from {0} where {1}{2};\".format(condition) print(sql) try: cur.execute(sql) except: print("Something Went wrong") conn.commit() conn.close() """.format(table_name, '{', '}') print(function_string_delete) file.write(function_string_connection) file.write("\n\n") file.write(function_string_create) file.write("\n\n") file.write(function_string_read) file.write("\n\n") file.write(function_string_update) file.write("\n\n") file.write(function_string_delete) file.close() return 1
# https://leetcode.com/problems/reverse-nodes-in-k-group/description/ # Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def reverseKGroup(self, head, k): if head is None or k < 2: return head next_head = head for i in range(k - 1): next_head = next_head.next if next_head is None: return head ret = next_head current = head while next_head: tail = current prev = None for i in range(k): if next_head: next_head = next_head.next _next = current.next current.next = prev prev = current current = _next tail.next = next_head or current return ret
# "Sell All the Cars" # Alec Dewulf # April Long 2020 # Difficulty: Simple # Concepts: Greedy """ EXPLANATION The only thing really to figure out was that it is better to sell the most profitable cars first. All the cars lose one off of their values until they are sold or are valued at zero so selling the most valuable cars first minimizes this loss. """ num_cases = int(input()) profits = [] for x in range(num_cases): profit = 0 num_cars = int(input()) # car input cars = sorted(list(map(int, input().split()))) n, num_years = -1, 0 while n >= -1 * len(cars): # compute the final value for the car if cars[n] - (num_years) >= 0: value = cars[n] - (num_years) # value would have been negative else: value = 0 # don't sell a worthless car if value == 0: pass else: profit += value num_years += 1 n -= 1 profits.append(profit) x += 1 # output resutls for p in profits: print(p % (10**9 + 7))
""" Watch over a stream of numbers, incrementally learning their median. Implemented via nested lists. New numbers are added to `lst[i]` and when it fills up, it posts its median to `lst[i+1]`. Wen `lst[i+1]` fills up, it posts the medians of its medians to `lst[i+2]`. Etc. When a remedian is queried for the current median, it returns the median of the last list with any numbers. This approach is quite space efficient . E.g. four nested lists, each with 64 items, require memory for 4*64 items yet can hold the median of the median of the median of the median of over 17 million numbers. Example usage: z=remedian() for i in range(1000): z + i if not i % 100: print(i, z.median()) Based on [The Remedian:A Robust Averaging Method for Large Data Sets](http://web.ipac.caltech.edu/staff/fmasci/home/astro_refs/Remedian.pdf). by Peter J. Rousseeuw and Gilbert W. Bassett Jr. Journal of the American Statistical Association March 1990, Vol. 85, No. 409, Theory and Methods The code [remedianeg.py](remedianeg.py) compares this rig to just using Python's built-in sort then reporing the middle number. Assuming lists of length 64 and use of pypy3: - Remedian is getting nearly as fast (within 20%) as raw sort after 500 items; - While at the same time, avoids having to store all the numbers in RAM; - Further, remedian's computed median is within 1% (or less) of the medians found via Python's sort. _____ ## Programmer's Guide """ # If `ordered` is `False`, do not sort `lst` def median(lst,ordered=False): assert lst,"median needs a non-empty list" n = len(lst) p = q = n//2 if n < 3: p,q = 0, n-1 else: lst = lst if ordered else sorted(lst) if not n % 2: # for even-length lists, use mean of mid 2 nums q = p -1 return lst[p] if p==q else (lst[p]+lst[q])/2 class remedian: # Initialization def __init__(i,inits=[], k=64, # after some experimentation, 64 works ok about = None): i.all,i.k = [],k i.more,i._median=None,None [i + x for x in inits] # When full, push the median of current values to next list, then reset. def __add__(i,x): i._median = None i.all.append(x) if len(i.all) == i.k: i.more = i.more or remedian(k=i.k) i.more + i._medianPrim(i.all) i.all = [] # reset # If there is a next list, ask its median. Else, work it out locally. def median(i): return i.more.median() if i.more else i._medianPrim(i.all) # Only recompute median if we do not know it already. def _medianPrim(i,all): if i._median == None: i._median = median(all,ordered=False) return i._median
def pytest_addoption(parser): parser.addoption( "--skip-integration", action="store_true", dest="skip_integration", default=False, help="skip integration tests", ) def pytest_configure(config): config.addinivalue_line("markers", "integration: mark integration tests") if config.option.skip_integration: setattr(config.option, "markexpr", "not integration")
class NoJsExtensionFound(Exception): pass class InvalidRegistry(Exception): pass
""" https://leetcode.com/problems/reverse-words-in-a-string/ """ class Solution: def reverseWords(self, s: str) -> str: s = s.strip() while " " in s: s = s.replace(" ", " ") return " ".join(s.split(" ")[::-1])
delete_groups_query = ''' mutation deleteGroups($groupPks: [Int!]!) { deleteGroups(input: {groupPks: $groupPks}) { succeeded failed { groupPk message code } error { message code } } } ''' create_group_query = ''' mutation createTeam($name: String!) { createTeam(input: {name: $name}) { ok team { pk name } error { message code } } } ''' add_members_query = ''' mutation addMembersToTeam($teamPk: Int!, $emails: [String]!) { addMembersToTeam(input: {teamPk: $teamPk, emails: $emails}) { succeeded { pk email } failed { email message code } team { members { edges { node { pk email } } } } } } ''' remove_members_query = ''' mutation removeMembersFromTeam($teamPk: Int!, $emails: [String]!) { removeMembersFromTeam(input: {teamPk: $teamPk, emails: $emails}) { succeeded failed { email message code } team { members { edges { node { pk email } } } } } } ''' update_group_name_query = ''' mutation updateGroup($pk: Int!, $name: String!) { updateGroup(input: {pk: $pk, name: $name}) { ok error { message code } team { pk } } } '''
'c' == "c" # character 'text' == "text" ' " ' " ' " '\x20' == ' ' 'unicode string' '\u05d0' # unicode literal
n = int(input()) arr = list(map(int, input().split())) res = "Yes" for i in range(n): if i == 0: continue if sorted(arr)[i] != sorted(arr)[i - 1] + 1: res = "No" break print(res)
class Employee(): count = 0 def __init__(self,name,salary): self.name = name self.salary = salary Employee.count += 1 def to_string(self): return 'Name: {}\nSalary: {}'.format(self.name,self.salary) #Driver code emp1 = Employee('Birju',21100) emp2 = Employee('Harsh',25200) emp3 = Employee('Karan',18000) print(emp1.to_string()) print(emp2.to_string()) print(emp3.to_string()) print('\nTotal count: {}'.format(Employee.count))
# Gravitational constant (m3/kg.s2) G = 6.67408e-11 # ASTROPHYSICAL DATA OF CELESTIAL BODIES # Sources: International Astronomical Union Resolution B3; NASA Planetary Fact Sheet; JPL Planets and Pluto: Physical Characteristics; JPL Technical Document D-32296 Lunar Constants and Models Document # Masses (kg) dict_M = { 'Sun' : 1.98855e30, 'Mercury' : 0.33011e24, 'Venus' : 4.8675e24, 'Earth' : 5.9722e24, 'Moon' : (5.9722e24)/(81.300570), 'Mars' : 0.64171e24, 'Jupiter' : 1898.19e24, 'Saturn' : 568.34e24, 'Uranus' : 86.813e24, 'Neptune' : 102.413e24, 'Pluto' : 0.01303e24 } # Sources: Report of the IAU/IAG Working Group on cartographic coordinates and rotational elements: 2015; JPL Technical Document D-32296 Lunar Constants and Models Document # Nominal equatorial radii (m) dict_R = { 'Sun' : 6.957e8, 'Mercury' : 2440.53e3, 'Venus' : 6051.8e3, 'Earth' : 6.3781e6, 'Moon' : 1737.4e3, 'Mars' : 3396.19e3, 'Jupiter' : 7.1492e7, 'Saturn' : 60268e3, 'Uranus' : 25559e3, 'Neptune' : 24764e3, 'Pluto' : 1188.3e3 } # Source: JPL/Caltech Solar System Dynamics Group - Keplerian Elements for Approximate Positions of the Major Planets # Distances in AU, angles in degrees # Epoch: J2000 dict_PLNTPOS = { 'Mercury' : { 'a' : 0.38709543, 'da' : 0.00000037, 'e' : 0.20563661, 'de' : 0.00001906, 'I' : 7.00559432, 'dI' : -0.00594749, 'L' : 252.25032350, 'dL' : 149472.67411175, 'o' : 77.45779628, 'do' : 0.16047689, 'O' : 48.33076593, 'dO' : -0.12534081, 'b' : 0, 'c' : 0, 's' : 0, 'f' : 0 }, 'Venus' : { 'a' : 0.72333566, 'da' : 0.00000390, 'e' : 0.00677672, 'de' : -0.00004107, 'I' : 3.39467605, 'dI' : -0.00078890, 'L' : 181.97909950, 'dL' : 58517.81538729, 'o' : 131.60246718, 'do' : 0.00268329, 'O' : 76.67984255, 'dO' : -0.27769418, 'b' : 0, 'c' : 0, 's' : 0, 'f' : 0, }, 'Earth' : { 'a' : 1.00000018, 'da' : -0.00000003, 'e' : 0.01673163, 'de' : -0.00003661, 'I' : -0.00054346, 'dI' : -0.01337178, 'L' : 100.46691572, 'dL' : 35999.37306329, 'o' : 102.93005885, 'do' : 0.31795260, 'O' : -5.11260389, 'dO' : -0.24123856, 'b' : 0, 'c' : 0, 's' : 0, 'f' : 0, }, 'Mars' : { 'a' : 1.52371243, 'da' : 0.00000097, 'e' : 0.09336511, 'de' : 0.00009149, 'I' : 1.85181869, 'dI' : -0.00724757, 'L' : -4.56813164, 'dL' : 19140.29934243, 'o' : -23.91744784, 'do' : 0.45223625, 'O' : 49.71320984, 'dO' : -0.26852431, 'b' : 0, 'c' : 0, 's' : 0, 'f' : 0, }, 'Jupiter' : { 'a' : 5.20248019, 'da' : -0.00002864, 'e' : 0.04853590, 'de' : 0.00018026, 'I' : 1.29861416, 'dI' : -0.00322699, 'L' : 34.33479152, 'dL' : 3034.90371757, 'o' : 14.27495244, 'do' : 0.18199196, 'O' : 100.29282654, 'dO' : 0.13024619, 'b' : -0.00012452, 'c' : 0.06064060, 's' : -0.35635438, 'f' : 38.35125000, }, 'Saturn' : { 'a' : 9.54149883, 'da' : -0.00003065, 'e' : 0.05550825, 'de' : -0.00032044, 'I' : 2.49424102, 'dI' : 0.00451969, 'L' : 50.07571329, 'dL' : 1222.11494724, 'o' : 92.86136063, 'do' : 0.54179478, 'O' : 113.63998702, 'dO' : -0.25015002, 'b' : 0.00025899, 'c' : -0.13434469, 's' : 0.87320147, 'f' : 38.35125000, }, 'Uranus' : { 'a' : 19.18797948, 'da' : -0.00020455, 'e' : 0.04685740, 'de' : -0.00001550, 'I' : 0.77298127, 'dI' : -0.00180155, 'L' : 314.20276625, 'dL' : 428.49512595, 'o' : 172.43404441, 'do' : 0.09266985, 'O' : 73.96250215, 'dO' : 0.05739699, 'b' : 0.00058331, 'c' : -0.97731848, 's' : 0.17689245, 'f' : 7.67025000, }, 'Neptune' : { 'a' : 30.06952752, 'da' : 0.00006447, 'e' : 0.00895439, 'de' : 0.00000818, 'I' : 1.77005520, 'dI' : 0.00024400, 'L' : 304.22289287, 'dL' : 218.46515314, 'o' : 46.68158724, 'do' : 0.01009938, 'O' : 131.78635853, 'dO' : -0.00606302, 'b' : -0.00041348, 'c' : 0.68346318, 's' : -0.10162547, 'f' : 7.67025000, }, 'Pluto' : { 'a' : 39.48686035, 'da' : 0.00449751, 'e' : 0.24885238, 'de' : 0.00006016, 'I' : 17.14104260, 'dI' : 0.00000501, 'L' : 238.96535011, 'dL' : 145.18042903, 'o' : 224.09702598, 'do' : -0.00968827, 'O' : 110.30167986, 'dO' : -0.00809981, 'b' : 0, 'c' : 0, 's' : 0, 'f' : -0.01262724, } } # Source: JPL/Caltech Solar System Dynamics Group - Keplerian Elements for Approximate Positions of the Major Planets # Distances in km, angles in degrees # Epoch: J2000 dict_STLTPOS = { 'Mercury' : { 'a' : 0.38709543, 'da' : 0.00000037, 'e' : 0.20563661, 'de' : 0.00001906, 'I' : 7.00559432, 'dI' : -0.00594749, 'L' : 252.25032350, 'dL' : 149472.67411175, 'o' : 77.45779628, 'do' : 0.16047689, 'O' : 48.33076593, 'dO' : -0.12534081 }, 'Venus' : { 'a' : 0.72333566, 'da' : 0.00000390, 'e' : 0.00677672, 'de' : -0.00004107, 'I' : 3.39467605, 'dI' : -0.00078890, 'L' : 181.97909950, 'dL' : 58517.81538729, 'o' : 131.60246718, 'do' : 0.00268329, 'O' : 76.67984255, 'dO' : -0.27769418, }, 'Earth' : { 'a' : 1.00000018, 'da' : -0.00000003, 'e' : 0.01673163, 'de' : -0.00003661, 'I' : -0.00054346, 'dI' : -0.01337178, 'L' : 100.46691572, 'dL' : 35999.37306329, 'o' : 102.93005885, 'do' : 0.31795260, 'O' : -5.11260389, 'dO' : -0.24123856, }, 'Mars' : { 'a' : 1.52371243, 'da' : 0.00000097, 'e' : 0.09336511, 'de' : 0.00009149, 'I' : 1.85181869, 'dI' : -0.00724757, 'L' : -4.56813164, 'dL' : 19140.29934243, 'o' : -23.91744784, 'do' : 0.45223625, 'O' : 49.71320984, 'dO' : -0.26852431, }, 'Jupiter' : { 'a' : 5.20248019, 'da' : -0.00002864, 'e' : 0.04853590, 'de' : 0.00018026, 'I' : 1.29861416, 'dI' : -0.00322699, 'L' : 34.33479152, 'dL' : 3034.90371757, 'o' : 14.27495244, 'do' : 0.18199196, 'O' : 100.29282654, 'dO' : 0.13024619, }, 'Saturn' : { 'a' : 9.54149883, 'da' : -0.00003065, 'e' : 0.05550825, 'de' : -0.00032044, 'I' : 2.49424102, 'dI' : 0.00451969, 'L' : 50.07571329, 'dL' : 1222.11494724, 'o' : 92.86136063, 'do' : 0.54179478, 'O' : 113.63998702, 'dO' : -0.25015002, }, 'Uranus' : { 'a' : 19.18797948, 'da' : -0.00020455, 'e' : 0.04685740, 'de' : -0.00001550, 'I' : 0.77298127, 'dI' : -0.00180155, 'L' : 314.20276625, 'dL' : 428.49512595, 'o' : 172.43404441, 'do' : 0.09266985, 'O' : 73.96250215, 'dO' : 0.05739699, }, 'Neptune' : { 'a' : 30.06952752, 'da' : 0.00006447, 'e' : 0.00895439, 'de' : 0.00000818, 'I' : 1.77005520, 'dI' : 0.00024400, 'L' : 304.22289287, 'dL' : 218.46515314, 'o' : 46.68158724, 'do' : 0.01009938, 'O' : 131.78635853, 'dO' : -0.00606302, }, 'Pluto' : { 'a' : 39.48686035, 'da' : 0.00449751, 'e' : 0.24885238, 'de' : 0.00006016, 'I' : 17.14104260, 'dI' : 0.00000501, 'L' : 238.96535011, 'dL' : 145.18042903, 'o' : 224.09702598, 'do' : -0.00968827, 'O' : 110.30167986, 'dO' : -0.00809981, } } # Specific gas constant (J/kg.K) dict_R_gas = { 'Venus' : 189, 'Earth' : 287.058, 'Mars' : 191, 'Jupiter' : 3745, 'Saturn' : 3892, 'Titan' : 290, 'Uranus' : 3615, 'Neptune' : 3615 } # Celestial body colors dict_c = { 'Sun' : '#FF820A', 'Mercury' : '#9C958D', 'Venus' : '#DEB982', 'Earth' : '#2e69dd', 'Moon' : '#6A6664', 'Mars' : '#B08962', 'Jupiter' : '#83654B', 'Saturn' : '#D9C098', 'Uranus' : '#BFDBF1', 'Neptune' : '#9FC6FF', 'Pluto' : '#F4CAA4' } # Celestial body symbols dict_sym = { 'Sun' : u"\u2609", 'Mercury' : u"\u263F", 'Venus' : u"\u2640", 'Earth' : u"\u2641", 'Moon' : u"\u263E", 'Mars' : u"\u2642", 'Jupiter' : u"\u2643", 'Saturn' : u"\u2644", 'Uranus' : u"\u26E2", 'Neptune' : u"\u2646", 'Pluto' : u"\u2647" } # Ordered list of Celestial Bodies in the Solar System l_CB = [ 'Sun', 'Mercury', 'Venus', 'Earth', 'Moon', 'Mars', 'Jupiter', 'Saturn', 'Uranus', 'Neptune', 'Pluto' ] # Ordered list of Major Bodies in the Solar System (excl. Sun) list_SS = ['Mercury', 'Venus', 'Earth', 'Mars', 'Jupiter', 'Saturn', 'Uranus', 'Neptune', 'Pluto']
a,b,c=[int(i) for i in input().split()] hangshu = c list=[] for i in range(hangshu): # list.append([int(i) for i in input().split()]) list.extend([int(i) for i in input().split()]) print(list)
class NoDataError(Exception): pass class InvalidModeError(Exception): pass
class Solution: def invertTree(self): if root: tmp = root.left root.left = self.invertTree(root.right) root.right = self.invertTree(tmp) return root
""" Model Configurations """ TASK3_A = { "name": "TASK3_A", "token_type": "word", "batch_train": 64, "batch_eval": 64, "epochs": 50, "embeddings_file": "ntua_twitter_affect_310", "embed_dim": 310, "embed_finetune": False, "embed_noise": 0.05, "embed_dropout": 0.1, "encoder_dropout": 0.2, "encoder_size": 150, "encoder_layers": 2, "encoder_bidirectional": True, "attention": True, "attention_layers": 1, "attention_context": False, "attention_activation": "tanh", "attention_dropout": 0.0, "base": 0.7, "patience": 10, "weight_decay": 0.0, "clip_norm": 1, } TASK3_B = { "name": "TASK3_B", "token_type": "word", "batch_train": 32, "batch_eval": 32, "epochs": 50, "embeddings_file": "ntua_twitter_affect_310", "embed_dim": 310, "embed_finetune": False, "embed_noise": 0.2, "embed_dropout": 0.1, "encoder_dropout": 0.2, "encoder_size": 150, "encoder_layers": 2, "encoder_bidirectional": True, "attention": True, "attention_layers": 1, "attention_context": False, "attention_activation": "tanh", "attention_dropout": 0.0, "base": 0.3, "patience": 10, "weight_decay": 0.0, "clip_norm": 1, }
# ่ถ…ๅ‚ๆ•ฐ class Hyperparams: batch_size = 32 # alias = N lr = 0.0001 # learning rate. In paper, learning rate is adjusted to the global step. logdir = 'log' # log directory # model maxlen = 100 # Maximum number of words in a sentence. alias = T. num_blocks = 6 # number of encoder/decoder blocks num_heads = 8 hidden_units = 512 # alias = C sinusoid = False # If True, use sinusoid. If false, positional embedding. num_epochs = 50 dropout_rate = 0.1
# BSD 2-Clause License # # Copyright (c) 2021-2022, Hewlett Packard Enterprise # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. class EntityList: """Abstract class for containers for SmartSimEntities""" def __init__(self, name, path, **kwargs): self.name = name self.path = path self.entities = [] self._initialize_entities(**kwargs) def _initialize_entities(self, **kwargs): """Initialize the SmartSimEntity objects in the container""" raise NotImplementedError @property def batch(self): try: if self.batch_settings: return True return False # local orchestrator cannot launch with batches except AttributeError: return False @property def type(self): """Return the name of the class""" return type(self).__name__ def set_path(self, new_path): self.path = new_path for entity in self.entities: entity.path = new_path def __getitem__(self, name): for entity in self.entities: if entity.name == name: return entity def __iter__(self): for entity in self.entities: yield entity def __len__(self): return len(self.entities)
#1.1 class Person: """ Class handle with instances that includes personal data of persons """ def __init__(self, full_name = "", birth_year = None): """ Defines two parameters for Person class instances. Validate parameters value. :param full_name: Full Name of the Person should consists of 2 words :param birth_year: When the person was born """ self.full_name = full_name self.birth_year = birth_year if type(self.full_name) != str or self.full_name.count(" ") == 0: raise Exception("There value is not string or string consists of 1 word") else: pass if 1900 < self.birth_year < 2019: pass else: raise ValueError("Year value is out of allowed range") def name(self): """ :return: Persons name """ return self.full_name[0:self.full_name.index(" ")] def surname(self): """ :return: Persons surname """ return self.full_name[self.full_name.index(" ")+1:] def years_old(self, year = 2019): """ Calculate persons age in the certain year :param year: certain year when you check persons age :return: persons age """ return year - self.birth_year #1.2 class Employee(Person): """Class add Employee parameters to Persons class instances""" def __init__(self, full_name = "", birth_year = 0, position = "", experience = 0, salary = 0): """ Defines additional parameters for Employee class instances. :param full_name: inherits from class Person :param birth_year: inherits from class Person :param position: position of the Employee :param experience: Employee experience :param salary: Employee salary """ Person.__init__(self, full_name, birth_year) self.position = position self.experience = experience self.salary = salary if self.experience < 0 or self.salary < 0: raise ValueError("Salary or Experience value cannot be negative") else: pass def position_level(self): """ :return: position level based on Employee experience """ b = None if self.experience < 3: b = "Junior {}".format(self.position) elif 3 <= self.experience <= 6: b = "Middle {}".format(self.position) else: b = "Senior {}".format(self.position) return b def salary_raise(self, amount): """ Calculates salary after raise :param amount: amount of raise :return: salary after raise """ return self.salary + amount #1.3 class ITEmployee(Employee): """Class add ITEmployee parameters to Employee class instances """ def __init__(self, *args, **kwargs): """ Add possibility to add skills to ITEmployee :param args: inherits from Employee :param kwargs: inherits from Employee """ Employee.__init__(self, *args, **kwargs) self.skills = [] def add_skill(self, new_skill): """ Adds one value mentioned in arg to objects property skills""" self.skills.append(new_skill) def add_skills(self, *args ): """ Adds all values mentioned in args to objects property skills""" for skill in args: self.skills.append(skill) if __name__ == "__main__": p1 = Person("Artur Pirozkov", 2000) print(p1.name()) print(p1.surname()) print(p1.years_old(2020)) e1 = Employee("Gogi Suhishvili", 1992, "cleaner", 2, 14878) print("*" * 30) print(e1.position_level()) print(e1.salary_raise(1488)) it1 = ITEmployee(full_name="Valera Leontiev", experience=3, position="plotnik", birth_year=1950) print("*" * 30) print(it1.name()) print(it1.position_level()) it1.add_skill("QA Automation") it1.add_skill("lazy_ass") print(it1.skills) it1.add_skills("Selenium", "Python", "Mentoring") print(it1.skills)
def toStr(n,base): digits = '01234567890ABCDEF' if n < base: return digits[n] return toStr(n // base,base) + digits[n % base] print("9145 in hex is ", toStr(9145,16))
#training parameters TRAIN_GPU_ID = 0 TEST_GPU_ID = 0 BATCH_SIZE = 200 VAL_BATCH_SIZE = 200 PRINT_INTERVAL = 100 VALIDATE_INTERVAL = 5000 MAX_ITERATIONS = 100000 RESTORE_ITER = 0 # iteration to restore. *.solverstate file is needed! # what data to use for training TRAIN_DATA_SPLITS = 'train' # what data to use for the vocabulary QUESTION_VOCAB_SPACE = 'train' ANSWER_VOCAB_SPACE = 'train' # test/test-dev/genome should not appear here #network parameters NUM_OUTPUT_UNITS = 3000 # This is the answer vocabulary size MFB_FACTOR_NUM = 5 MFB_OUT_DIM = 1000 LSTM_UNIT_NUM = 1024 JOINT_EMB_SIZE = MFB_FACTOR_NUM*MFB_OUT_DIM MAX_WORDS_IN_QUESTION = 15 LSTM_DROPOUT_RATIO = 0.3 MFB_DROPOUT_RATIO = 0.1 # vqa tools - get from https://github.com/VT-vision-lab/VQA VQA_TOOLS_PATH = '/home/yuz/data/VQA/PythonHelperTools' VQA_EVAL_TOOLS_PATH = '/home/yuz/data/VQA/PythonEvaluationTools' # location of the data VQA_PREFIX = '/home/yuz/data/VQA' feat = 'pool5' DATA_PATHS = { 'train': { 'ques_file': VQA_PREFIX + '/Questions/OpenEnded_mscoco_train2014_questions.json', 'ans_file': VQA_PREFIX + '/Annotations/mscoco_train2014_annotations.json', 'features_prefix': VQA_PREFIX + '/Features/ms_coco/resnet_%s_bgrms_large/train2014/COCO_train2014_'%feat }, 'val': { 'ques_file': VQA_PREFIX + '/Questions/OpenEnded_mscoco_val2014_questions.json', 'ans_file': VQA_PREFIX + '/Annotations/mscoco_val2014_annotations.json', 'features_prefix': VQA_PREFIX + '/Features/ms_coco/resnet_%s_bgrms_large/val2014/COCO_val2014_'%feat }, 'test-dev': { 'ques_file': VQA_PREFIX + '/Questions/OpenEnded_mscoco_test-dev2015_questions.json', 'features_prefix': VQA_PREFIX + '/Features/ms_coco/resnet_%s_bgrms_large/test2015/COCO_test2015_'%feat }, 'test': { 'ques_file': VQA_PREFIX + '/Questions/OpenEnded_mscoco_test2015_questions.json', 'features_prefix': VQA_PREFIX + '/Features/ms_coco/resnet_%s_bgrms_large/test2015/COCO_test2015_'%feat }, 'genome': { 'genome_file': VQA_PREFIX + '/Questions/OpenEnded_genome_train_questions.json', 'features_prefix': VQA_PREFIX + '/Features/genome/feat_resnet-152/resnet_%s_bgrms_large/'%feat } }
"""Kata: Friend or foe. Make a program that filters a list of strings and returns a list with only your friends name in it. If a name has exactly 4 letters in it, you can be sure that it has to be a friend of yours! Otherwise, you can be sure he's not... - **URL**: [challenge url](https://www.codewars.com/kata/friend-or-foe) #1 Best Practices Solution by SquishyStrawberry & others def friend(x): return [f for f in x if len(f) == 4] """ def friend(names): """Return list of friends with name lenght of four.""" result = [] for name in names: if len(name) == 4: result.append(name) return result
# -*- coding: utf-8 -*- def main(): n, k = map(int, input().split()) a = sorted(list(map(int, input().split())), reverse=True) total = 0 for key, ai in enumerate(a, 1): total += ai if total >= k: print(key) exit() print(-1) if __name__ == '__main__': main()
azure_credentials_schema = { "$id": "http://azure-ml.com/schemas/azure_credentials.json", "$schema": "http://json-schema.org/schema", "title": "azure_credentials", "description": "JSON specification for your azure credentials", "type": "object", "required": ["clientId", "clientSecret", "subscriptionId", "tenantId"], "properties": { "clientId": { "type": "string", "description": "The client ID of the service principal." }, "clientSecret": { "type": "string", "description": "The client secret of the service principal." }, "subscriptionId": { "type": "string", "description": "The subscription ID that should be used." }, "tenantId": { "type": "string", "description": "The tenant ID of the service principal." } } } parameters_schema = { "$id": "http://azure-ml.com/schemas/deploy.json", "$schema": "http://json-schema.org/schema", "title": "aml-registermodel", "description": "JSON specification for your deploy details", "type": "object", "properties": { "name": { "type": "string", "description": "The name to give the deployed service.", "minLength": 3, "maxLength": 32 }, "deployment_compute_target": { "type": "string", "description": "Name of the compute target to deploy the webservice to." }, "inference_source_directory": { "type": "string", "description": "The path to the folder that contains all files to create the image." }, "inference_entry_script": { "type": "string", "description": "The path to a local file in your repository that contains the code to run for the image and score the data." }, "test_enabled": { "type": "boolean", "description": "Whether to run tests for this model deployment and the created real-time endpoint." }, "test_file_path": { "type": "string", "description": "Path to the python script in your repository in which you define your own tests that you want to run against the webservice endpoint." }, "test_file_function_name": { "type": "string", "description": "Name of the function in your python script in your repository in which you define your own tests that you want to run against the webservice endpoint." }, "conda_file": { "type": "string", "description": "The path to a local file in your repository containing a conda environment definition to use for the image." }, "extra_docker_file_steps": { "type": "string", "description": "The path to a local file in your repository containing additional Docker steps to run when setting up image." }, "enable_gpu": { "type": "boolean", "description": "Indicates whether to enable GPU support in the image." }, "cuda_version": { "type": "string", "description": "The Version of CUDA to install for images that need GPU support." }, "model_data_collection_enabled": { "type": "boolean", "description": "Whether or not to enable model data collection for this Webservice." }, "authentication_enabled": { "type": "boolean", "description": "Whether or not to enable key auth for this Webservice." }, "app_insights_enabled": { "type": "boolean", "description": "Whether or not to enable Application Insights logging for this Webservice." }, "runtime": { "type": "string", "description": "The runtime to use for the image.", "pattern": "python|spark-py" }, "custom_base_image": { "type": "string", "description": "A custom Docker image to be used as base image." }, "cpu_cores": { "type": "number", "description": "The number of CPU cores to allocate for this Webservice.", "exclusiveMinimum": 0.0 }, "memory_gb": { "type": "number", "description": "The amount of memory (in GB) to allocate for this Webservice.", "exclusiveMinimum": 0.0 }, "delete_service_after_deployment": { "type": "boolean", "description": "Indicates whether the service gets deleted after the deployment completed successfully." }, "tags": { "type": "object", "description": "Dictionary of key value tags to give this Webservice." }, "properties": { "type": "object", "description": "Dictionary of key value properties to give this Webservice." }, "description": { "type": "string", "description": "A description to give this Webservice and image." }, "location": { "type": "string", "description": "The Azure region to deploy this Webservice to." }, "ssl_enabled": { "type": "boolean", "description": "Whether or not to enable SSL for this Webservice." }, "ssl_cert_pem_file": { "type": "string", "description": "A file path to a file containing cert information for SSL validation." }, "ssl_key_pem_file": { "type": "string", "description": "A file path to a file containing key information for SSL validation." }, "ssl_cname": { "type": "string", "description": "A CName to use if enabling SSL validation on the cluster." }, "dns_name_label": { "type": "string", "description": "The DNS name label for the scoring endpoint." }, "gpu_cores": { "type": "integer", "description": "The number of GPU cores to allocate for this Webservice.", "minimum": 0 }, "autoscale_enabled": { "type": "boolean", "description": "Whether to enable autoscale for this Webservice." }, "autoscale_min_replicas": { "type": "integer", "description": "The minimum number of containers to use when autoscaling this Webservice.", "minimum": 1 }, "autoscale_max_replicas": { "type": "integer", "description": "The maximum number of containers to use when autoscaling this Webservice.", "minimum": 1 }, "autoscale_refresh_seconds": { "type": "integer", "description": "How often the autoscaler should attempt to scale this Webservice (in seconds).", "minimum": 1 }, "autoscale_target_utilization": { "type": "integer", "description": "The target utilization (in percent out of 100) the autoscaler should attempt to maintain for this Webservice.", "minimum": 1, "maximum": 100 }, "scoring_timeout_ms": { "type": "integer", "description": "A timeout in ms to enforce for scoring calls to this Webservice.", "minimum": 1 }, "replica_max_concurrent_requests": { "type": "integer", "description": "The number of maximum concurrent requests per replica to allow for this Webservice.", "minimum": 1 }, "max_request_wait_time": { "type": "integer", "description": "The maximum amount of time a request will stay in the queue (in milliseconds) before returning a 503 error.", "minimum": 0 }, "num_replicas": { "type": "integer", "description": "The number of containers to allocate for this Webservice." }, "period_seconds": { "type": "integer", "description": "How often (in seconds) to perform the liveness probe.", "minimum": 1 }, "initial_delay_seconds": { "type": "integer", "description": "The number of seconds after the container has started before liveness probes are initiated.", "minimum": 1 }, "timeout_seconds": { "type": "integer", "description": "The number of seconds after which the liveness probe times out.", "minimum": 1 }, "success_threshold": { "type": "integer", "description": "The minimum consecutive successes for the liveness probe to be considered successful after having failed.", "minimum": 1 }, "failure_threshold": { "type": "integer", "description": "When a Pod starts and the liveness probe fails, Kubernetes will try failureThreshold times before giving up.", "minimum": 1 }, "namespace": { "type": "string", "description": "The Kubernetes namespace in which to deploy this Webservice.", "maxLength": 63, "pattern": "([a-z0-9-])+" }, "token_auth_enabled": { "type": "boolean", "description": "Whether to enable Token authentication for this Webservice." } } }
# Write a program that reads an integer and outputs its last digit. # print(int(input()) % 10) # another solution print(input()[-1]) # another solution print(input()[-1])
print('uPy 2') print('a long string that is not interned 2') print('a string that has unicode ฮฑฮฒฮณ chars 2') print(b'bytes 1234\x01 2') print(1234567892) for i in range(5): print(i)
'''Implement a program to calculate number of digits in the given number Input Format a number from the user Constraints n>0 Output Format print number of digits in the number Sample Input 0 124 Sample Output 0 3 Sample Input 1 6789 Sample Output 1 4''' #solution n = input() print(len(n))
num = int(input("Ievadiet pozitฤซvu skaitli: ")) if num > 1: for i in range(2, int(num**0.5)+1): if num % i == 0: print(num, "- nav pirmskaitlis") print("jo dalฤs ar", i) break else: print(num, "- ir pirmskaitlis") else: print(num, "- nav pirmskaitlis")
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Ben Thomasson' __email__ = 'ben.thomasson@gmail.com' __version__ = '0.1.0'
# data= ['pran',20,10, (2022,12,13)] # # name,age,price,date = data # print(name) # print(price) # print(age) # print(date) # name='bella' # a,b,c,d,e=name # print(a,b,c,d,e) # print(a) # print(b) # print(c) # print(b) # print(e) bio=['tuna',18,'sgc', 'samsungA12',(1,2,2004)] name,age,collegename,phonenmae,birthdate=bio date,month,year=birthdate print(bio) print(birthdate)
'''Exercรญcio Python 072: Crie um programa que tenha uma dupla totalmente preenchida com uma contagem por extenso, de zero atรฉ vinte. Seu programa deverรก ler um nรบmero pelo teclado (entre 0 e 20) e mostrรก-lo por extenso. ''' #criar a tupla, com os nรบmeros por extenso num = ('zero', 'hum', 'dois', 'trรชs', 'quatro', 'cinco', 'seis', 'sete', 'oito', 'nove', 'dez', 'onze', 'doze', 'treze', 'quatorze', 'quinze', 'dezesseis', 'dezessete', 'dezoito', 'dezenove', 'vinte') #pedir a entrada de um nรบmero. while True: x = int(input('Digite um nรบmero entre 0 e 20: ')) #se estiver fora do intervalo, solicitar o valor novamente. if x < 0 or x > 20: print('Valor invรกlido, tente novamente.', end=' ') #escreverรก o nรบmero por extenso else: print(f'Vocรช digitou o nรบmero: \033[33m{num[x]}\033[m') resp = ' ' #pergunta se quer continuar, retira os espaรงos vazios, deixa maiรบscula e pega somente a #primeira letra da resposta while resp not in 'SN': resp = str(input('Vocรช quer continuar? [S/N] ')).strip().upper()[0] if resp == 'N': break print('{:-^30}'.format(' FIM DO PROGRAMA '))
lista = list() for c in range(1, 6): lista.append(int(input('Digite Um Numero: '))) print(f'\nO Menor valor Foi {min(lista)} Na {lista.index(min(lista)) + 1}ยช Posiรงรฃo') print(f'O Maior valor Foi {max(lista)} Na {lista.index(max(lista)) + 1}ยช Posiรงรฃo')
""" 538. Convert BST to Greater Tree Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater than the original key in BST. Example: Input: The root of a Binary Search Tree like this: 5 / \ 2 13 Output: The root of a Greater Tree like this: 18 / \ 20 13 Note: This question is the same as 1038: https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree/ """ # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def convertBST(self, root): self.sum = 0 def dfs(root): if not root: return dfs(root.right) root.val += self.sum self.sum = root.val dfs(root.left) dfs(root) return root
def mul(a, b): r = [[0, 0], [0, 0]] r[0][0] = a[0][0] * b[0][0] + a[0][1] * b[1][0]; r[0][1] = a[0][0] * b[0][1] + a[0][1] * b[1][1]; r[1][0] = a[1][0] * b[0][0] + a[1][1] * b[1][0]; r[1][1] = a[1][0] * b[0][1] + a[1][1] * b[1][1]; return r; def _fib(n): if n == 0: return [[1, 0], [0, 1]] if n == 1: return [[1, 1], [1, 0]] if n % 2 == 0 : return mul(_fib((n / 2)), _fib((n / 2))) else: return mul(mul(_fib((n-1) / 2), _fib((n-1) / 2)), [[1, 1], [1, 0]]) def fib(n): if n<0: return _fib(-n)[1][0] * (1 if n%2 == 1 else -1) else: return _fib(n)[1][0]
""" Coalesce multiple identical call into one, preventing thundering-herd/stampede to database/other backends python port of https://github.com/golang/groupcache/blob/master/singleflight/singleflight.go This module **does not** provide caching mechanism. Rather, this module can used behind a caching abstraction to deduplicate cache-filling call """ __version__ = "0.1.2"
class base(object): def __init__ (self, T, N, lam): self.T = T self.N = N self.lam = lam def compute(self, S, A0, status_f, history, test_check_f): pass def __call__(self, S): return self.compute(S, None, None, False, None)[0] def compute_full(self, S, status_f): return self.compute(S, None, status_f, True, None)[:-1] def compute_status(self, S, status_f): return self.compute(S, None, status_f, False, None)[:-2] def compute_final(self, S): return self(S) def compute_test(self, S, test_check_f): res = self.compute(S, None, None, False, test_check_f) return res[0], res[-1] def compute_warmup(self, S): T = self.T self.T = 1 self.compute(S, None, None, False, None) self.T = T def name(self): pass
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def zigzagLevelOrder(self, root: Optional[TreeNode]) -> List[List[int]]: if not root: return [] que = [root] res = [] reverse = 1 while que: reverse *= -1 level_res = [] for _ in range(len(que)): node = que.pop(0) level_res.append(node.val) if node.left: que.append(node.left) if node.right: que.append(node.right) if reverse == 1: level_res.reverse() res.append(level_res) return res
matriz = [[0,0,0],[0,0,0],[0,0,0]] valor = int par = 0 coluna2 = 0 valormax= 0 for l in range(0,3): for c in range(0,3): valor = int(input(f'Digite um valor para posiรงรฃo [{l + 1},{c + 1}] da matriz: ')) matriz[l][c] = valor if valor % 2 == 0: par += valor if c == 1: coluna2 += valor if l == 1 and valor > valormax: valormax = valor print(matriz[0]) print(matriz[1]) print(matriz[2]) print(f'A soma dos nรบmeros pares รฉ {par}.') print(f'A soma dos nรบmeros da 2ยฐ coluna รฉ {coluna2}. ') print(f'O maior valor da 2ยฐ linha รฉ {valormax}')
class Pessoa: olhos = 2 # este รฉ um atributo default, se criarmos o olhos=2 dentro do __init__ junto com os demais atributos, o # python vai alocar um espaรงo em memรณria olhos=2 para cada pessoa criada no jogo, com o atributo default o python # cria apenas 1 espaรงo em memรณria para este atributo. def __init__(self, *filhos, nome=None, idade=20): # o *filhos permite que seja passada uma quantidade variada de # filhos na construรงรฃo de uma pessoa. self.nome = nome # aqui temos um parametro nome e um atributo nome, o atributo รฉ o que estรก conectado com o # self.nome, o parรขmetro nome nรฃo utiliza self. Sempre que tiver o . รฉ o nome do objeto self. Quando nรฃo temos # nada รฉ respectivo a um parรขmetro ou uma variรกvel declarada no contexto do cรณdigo. self.idade = idade self.filhos = list(filhos) def cumprimentar(self): #poderia ser qq valor, nome, em java o self รฉ this, no python sempre colocamos self. return f'Olรก, meu nome รฉ {self.nome}' @staticmethod # este รฉ um decorator do python, tudo que comeรงa com @ รฉ um decorator. def metodo_estatico(): return 40 @classmethod def nome_e_atributos_de_classe(cls): # o pycharm jรก preenche o cls automaticamente return f'{cls} - olhos {cls.olhos}' class Homem(Pessoa): #Aqui estamos criando uma classe homem que herda da classe Pessoa todos os seus atriutos. def cumprimentar(self): cumprimentar_da_classe = super().cumprimentar() #o super pega o mรฉtodo da classe pai. return f'{cumprimentar_da_classe}. Aperto de mรฃo.' class Mutante(Pessoa): olhos = 3 # Na classe pessoa, todos tem 2 olhos, criamos a classe Mutante que herda essa caracterรญstica da classe # pessoa, porรฉm รฉ possรญvel realizar a sobrescrita do dado de classe e todas as pessoas criadas a partir da classe # mutante terรฃo 3 olhos. if __name__ == '__main__': # este if serve para fazermos os testes. os testes nรฃo serรฃo impressos/exibidos quando o # arquivo pessoa.py for importado em outros mรณdulos. Se executarmos o comando print(__name__) o resultado รฉ __main__ # ao executar o print(__name__) em outro mรณdulo ele vai ter o nome da classe e nรฃo mais vai se chamar __main__ paolo = Mutante(nome='Paolo') luca = Homem(paolo, nome='Luca') # criamos o objeto luca que tem um filho paolo, este รฉ um objeto complexo. print(Pessoa.cumprimentar(luca)) #agora vamos executar o mรฉtodo, Pessoa, pedimos o cumprimentar e passamos o pessoa. print(id(luca)) print(luca.cumprimentar()) # Podemos executar o mรฉtodo a partir do objeto p e ter o mesmo resultado do # 'print(Pessoa.cumprimentar(p))' print(luca.nome) # รฉ possรญvel acessar o atributo atravรฉs do prรณprio objeto com p.nome (atributo.nome) print(luca.idade) for filho in luca.filhos: print(filho.nome) luca.sobrenome='Fullone' # aqui estamos criando um atributo para um objeto em execuรงรฃo (dinamicamente), ou seja, # sem declarar no 'def__init__', o python permite que seja feito desta forma, porรฉm este atributo se aplica somente # a este objeto 'luca', nenhum outro objeto desta classe serรก afetado. se pedirmos o paolo.sobrenome retornarรก um # erro. print(luca.sobrenome) # podemos usar o __dict__ para acessar todos os atributos de cada objeto: print(luca.__dict__) # aqui tem sobrenome print(paolo.__dict__) # aqui nรฃo tem. # Podemos remover os atributos dinamicamente tambรฉm: del luca.filhos print() print(luca.__dict__) # agora o objeto luca nรฃo tem mais o atributo filhos, ainda que o atributo filhos tenha sido # criado no __init__. # Isso NรƒO costuma ser uma boa prรกtica. Mas pode ser รบtil, por exemplo pegar uma data e apresentar como formato # diferente somente em uma instรขncia. print(f'Uma pessoa normal tem {Pessoa.olhos} olhos.') # Podemos acessar o atributo olhos diretamente da classe # Pessoa, pois ele รฉ um atributo default. Porรฉm se perguntarmos Pessoa.nome ou Pessoa.filhos vai retornar um erro # pois sรฃo atribudos de objetos da classe. print(f'A pessoa {luca.nome} tem {luca.olhos} olhos.') # observar que o __dict__ de Luca e Paolo nรฃo possuem o atributo de classe olhos. Caso seja alterado o nรบmero de # olhos de luca (luca.olhos = 1) o __dict__ de luca passa a ter o atributo olhos, porรฉm o de Paolo nรฃo serรก # alterado. Caso desejemos alterar o atributo olhos para todas as pessoas devemos executar Pessoa.olhos = 3, assim o # impacto serรก em todas as pessoas criadas. print(Pessoa.metodo_estatico(), luca.metodo_estatico()) # com o decorator criado, da mesma forma podemos chamar o # mรฉtodo estรกtico da classe ou do objeto. print(Pessoa.nome_e_atributos_de_classe(), luca.nome_e_atributos_de_classe()) # idem ao decorator static. # Apรณs criar a classe Homem que herda de Pessoa podemos perguntar: pessoa = Pessoa('Anomimo') print(isinstance(pessoa, Pessoa)) #estamos perguntando se o objeto pessoa รฉ da classe Pessoa. A resposta รฉ True. print(isinstance(pessoa, Homem)) # aqui retorna falso. # Agora criamos um Homem chamado Joe, se perguntarmos se รฉ pessoa retorna true e se perguntamos se รฉ homem retorna # true tambรฉm. joe = Homem(nome='Joe') print(isinstance(joe, Pessoa)) print(isinstance(joe, Homem)) # Imprimindo a quantidade de olhos do paolo print(paolo.olhos) # Alterando o cumprimento de uma classe herdada print(paolo.cumprimentar()) print(luca.cumprimentar())
#!/usr/bin/env python3 # -*- coding: utf-8 -*- MONGO_URL='localhost' MONGO_DB='meizitu' MONGO_TABLE='meizitu'
welcome = 'This bot will help you to find available slots in Zakaz.ua try to put ' \ '"start" to start monitoring or "stop" to stop it.' error_command = '๐Ÿคฆ Bot doesn\'t support this command, try use menu.' error_add_new = '๐Ÿ” There is no slots for adding new store, try to change exiting slots.' error_change_store = '๐Ÿคท You don\'t have this store in list.' error_start_monitoring = '๐Ÿคท Could\'t not find store to start monitoring.' error_stop_monitoring = '๐Ÿคท Could\'t not find store to stop monitoring.' error_bad_word = 'โš  Don\'t use bad words.' no_more_store = '๐Ÿคท Couldn\'t find other store in your city.' choice_location = '๐ŸŒ You need to send your location to continue.' location_confirm = 'โ“ You will reset your monitoring list, please confirm changing location.' choose_store = 'โœ You should choose store from a list or change location.' make_your_choice = 'โœ Please make your choice.' started = '๐Ÿ‘ Monitoring for {} was started.' stopped = '๐Ÿ‘Ž Monitoring for {} was stoped.'
"""Constants for the Neerslag Sensor (Buienalarm / Buienradar) integration.""" DOMAIN = "neerslag" FRONTEND_SCRIPT_URL = "/neerslag-card.js" DATA_EXTRA_MODULE_URL = 'frontend_extra_module_url'
''' Add conditionals 100xp The while loop that corrects the offset is a good start, but what if offset is negative? You can try to run the sample code on the right where offset is initialized to -6, but your sessions will be disconnected. The while loop will never stop running, because offset will be further decreased on every run. offset != 0 will never become False and the while loop continues forever. Fix things by putting an if-else statement inside the while loop. Instructions -Inside the while loop, replace offset = offset - 1 by an if-else statement: -If offset > 0, you should decrease offset by 1. -Else, you should increase offset by 1. If you've coded things correctly, hitting Submit Answer should work this time. ''' # Initialize offset offset = -6 # Code the while loop while offset != 0 : print("correcting...") if offset > 0: offset = offset - 1 else: offset = offset + 1 print(offset)
# -*- coding: utf-8 -*- """ Created on 08/10/2019 at 17:30 @author: Alfie Bowman """ def get_digit(n, l=None, r=None): """ Finds the `d`-th digit from the left or the `d`-th from the right, depending on how variables are called: - Returns the `d`-th digit of `n` from the left if the function was called as `get_digit(n, l=d)``. If the required digit doesn't exist, the function returns -1. - Returns the `d`-th digit of `n` from the right if the function was called as `get_digit(n, r=d)``. If the required digit doesn't exist, the function returns 0. - Returns -1 otherwise, i.e., for calls `get_digit(n)` and `get_digit(n, l=d1, r=d2)`. Parameters ---------- n : int The integer whose digit is to be found. l : int The digit from the left hand side to be found, if desired. r : int The digit from the right hand side to be found, if desired. Returns ------- -1 : int Indicates no values were entered for `l` and `r` or the required digit from the left hand side doesn't exist. 0 : int Indicates values were entered for both `l` and `r` or the required digit from the right hand side doesn't exist. """ # Initialisations n = abs(n) # Special Cases if l == None and r == None: # Returns -1 when no values are entered for `l` and `r` return -1 if l != None and r != None: # Returns 0 when values are entered for both `l` and `r` return 0 if r > len(str(n)) or r < 1: # Returns 0 if the value for `r` is invalid return 0 if l > len(str(n)) or l < 1: # Returns -1 if the value for `l` is invalid return -1 # Right-Hand Side if l == None and r != None: for i in range(1, r): # Runs through `n` `r` times removing digts n = n // 10 if n >= 10: # Takes last digit of `n`, if required n = n % 10 return n def main(): print(get_digit(987654321, None, 19)) main()
def BinaryTree(r): return [r, [], []] def insertLeft(root, newBranch): t = root.pop(1) if len(t) > 1: root.insert(1, [newBranch, t, []]) else: root.insert(1, [newBranch, [], []]) return root def insertRight(root, newBranch): t = root.pop(2) if len(t) > 1: root.insert(2, [newBranch, [], t]) else: root.insert(2, [newBranch, [], []]) return root def getRootVal(root): return root[0] def setRootVal(root, newVal): root[0] = newVal def getLeftChild(root): return root[1] def getRightChild(root): return root[2]
# Find larger of two nums a = int(input('First Number: ')) b = int(input('Second Number: ')) # if-elif-else conditional if a > b: print(a, 'is greater than', b) elif a == b: print(a, 'is equal to', b) else: print(a, 'is less than', b)
# Request websites to minimize non-essential animations and motion. c.content.prefers_reduced_motion = True # Don't send any DoNotTrack headers; they're pointless. c.content.headers.do_not_track = None # Allow JavaScript to read from or write to the clipboard. c.content.javascript.can_access_clipboard = True # Draw the background color and images also when the page is printed. c.content.print_element_backgrounds = False # List of user stylesheet filenames to use. # c.content.user_stylesheets = 'stylesheet.css' c.content.prefers_reduced_motion = True # Languages to use for spell checking. # TODO Add es-MX in hopes it is added someday. c.spellcheck.languages = ['en-US', 'en-AU', 'en-GB', 'es-ES'] # Allow for more precise zooming increments. c.zoom.mouse_divider = 2048
class BedwarsProException(Exception): """Base exception. This can be used to catch all errors from this library """ class APIError(BedwarsProException): """ Raised for errors """ def __init__(self, message): self.text = message super().__init__(self.text)
def calculate_investment_value(initial_value, percentage, years): result = initial_value * (1 + percentage / 100) ** years return result
class BadRowKeyError(Exception): pass class EmptyColumnError(Exception): pass
""" ๆ ผๅผ: ็ผ“ๅญ˜: { } """ ENGINS = { "memcache": { "class": "client.memcache.MemcacheClient", "config": { "servers": [ "127.0.0.1:11211", ], "default_timeout": 600, "debug": False, } }, "redis": { "class": "client.redis.RedisClient", "config": { "host": "127.0.0.1", "port": 11214, "db": 1, "time_out": 3600, } }, }
# Due to https://github.com/bazelbuild/bazel/issues/2757 # Consumers have to specify all of the transitive dependencies recursively which is not a very nice UX and pretty error # prone, this defines a function which declares all the spectator dependencies so that any Bazel project needing to # depend on spectator can just load and call this function instead of re-declaring all dependencies. # There's no clear consensus for reusing transitive dependencies, most of the community names them in reverse fqdn # (though sometimes this may include the org name, sometimes just the repo name) and create a set of parameters # omit_xxx where xxx is the reverse fqdn of the dependency so that if the consumer happens to already have it, they can # omit_xxx = True when calling the dependency declaration function and reuse their version. See # https://github.com/google/nomulus/blob/master/java/google/registry/repositories.bzl and the corresponding # https://github.com/google/nomulus/blob/master/WORKSPACE. Discussion https://github.com/bazelbuild/bazel/issues/1952. # # New cmake_external style dependencies are referenced in a different way (e.g. "//external:<name>") so in order to # provide a way for the consumer to use their own version of the dependency which is pulled in a different way # i.e. cmake_external vs Bazel native we provide configuration settings and select the name based on those. # Probably easier to eventually let consumers specify the names altogether. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def spectator_dependencies( omit_curl = False, omit_com_github_c_ares_c_ares = False, omit_boringssl = False, omit_net_zlib = False, omit_com_github_skarupke_flat_hash_map = False, omit_com_github_tessil_hopscotch_map = False, omit_com_github_fmtlib_fmt = False, omit_com_github_tencent_rapidjson = False, omit_com_github_gabime_spdlog = False, omit_com_google_googletest = False, omit_com_google_googlebench = False): if not omit_curl: _curl() # Optional curl dependency used to fix https://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame. if not omit_com_github_c_ares_c_ares: _com_github_c_ares_c_ares() # curl dependency. if not omit_boringssl: _boringssl() # curl dependency. if not omit_net_zlib: _net_zlib() if not omit_com_github_skarupke_flat_hash_map: _com_github_skarupke_flat_hash_map() if not omit_com_github_tessil_hopscotch_map: _com_github_tessil_hopscotch_map() if not omit_com_github_fmtlib_fmt: _com_github_fmtlib_fmt() if not omit_com_github_tencent_rapidjson: _com_github_tencent_rapidjson() if not omit_com_github_gabime_spdlog: _com_github_gabime_spdlog() if not omit_com_google_googletest: _com_google_googletest() if not omit_com_google_googlebench: _com_google_googlebench() def _curl(): # https://github.com/tensorflow/tensorflow/blob/master/tensorflow/workspace.bzl. http_archive( # Needs build file updates to build with reverse fqdn. name = "curl", build_file = "@spectator//third_party:curl.BUILD", sha256 = "4376ac72b95572fb6c4fbffefb97c7ea0dd083e1974c0e44cd7e49396f454839", strip_prefix = "curl-7.65.3", urls = [ "https://curl.haxx.se/download/curl-7.65.3.tar.gz", ], ) def _com_github_c_ares_c_ares(): # https://github.com/grpc/grpc/blob/master/bazel/grpc_deps.bzl. http_archive( name = "com_github_c_ares_c_ares", build_file = "@spectator//third_party/cares:cares.BUILD", strip_prefix = "c-ares-1.15.0", sha256 = "6cdb97871f2930530c97deb7cf5c8fa4be5a0b02c7cea6e7c7667672a39d6852", url = "https://github.com/c-ares/c-ares/releases/download/cares-1_15_0/c-ares-1.15.0.tar.gz", ) def _boringssl(): # https://github.com/tensorflow/tensorflow/blob/master/tensorflow/workspace.bzl. http_archive( # Envoy uses short name, update when switch to reverse fqdn. name = "boringssl", sha256 = "1188e29000013ed6517168600fc35a010d58c5d321846d6a6dfee74e4c788b45", strip_prefix = "boringssl-7f634429a04abc48e2eb041c81c5235816c96514", urls = ["https://github.com/google/boringssl/archive/7f634429a04abc48e2eb041c81c5235816c96514.tar.gz"], ) def _net_zlib(): # https://github.com/tensorflow/tensorflow/blob/master/tensorflow/workspace.bzl. http_archive( name = "net_zlib", build_file = "@spectator//third_party:zlib.BUILD", sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", strip_prefix = "zlib-1.2.11", urls = [ "https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz", "https://zlib.net/zlib-1.2.11.tar.gz", ], ) def _com_github_skarupke_flat_hash_map(): http_archive( name = "com_github_skarupke_flat_hash_map", build_file = "@spectator//third_party:flat_hash_map.BUILD", sha256 = "513efb9c2f246b6df9fa16c5640618f09804b009e69c8f7bd18b3099a11203d5", strip_prefix = "flat_hash_map-2c4687431f978f02a3780e24b8b701d22aa32d9c", urls = ["https://github.com/skarupke/flat_hash_map/archive/2c4687431f978f02a3780e24b8b701d22aa32d9c.zip"], ) def _com_github_tessil_hopscotch_map(): http_archive( name = "com_github_tessil_hopscotch_map", build_file = "@spectator//third_party:hopscotch_map.BUILD", strip_prefix = "hopscotch-map-2.2.1", sha256 = "73e301925e1418c5ed930ef37ebdcab2c395a6d1bdaf5a012034bb75307d33f1", urls = ["https://github.com/Tessil/hopscotch-map/archive/v2.2.1.tar.gz"], ) def _com_github_fmtlib_fmt(): # https://github.com/envoyproxy/envoy/blob/master/bazel/repository_locations.bzl. http_archive( name = "com_github_fmtlib_fmt", build_file = "@spectator//third_party:fmtlib.BUILD", sha256 = "4c0741e10183f75d7d6f730b8708a99b329b2f942dad5a9da3385ab92bb4a15c", strip_prefix = "fmt-5.3.0", urls = ["https://github.com/fmtlib/fmt/releases/download/5.3.0/fmt-5.3.0.zip"], ) def _com_github_tencent_rapidjson(): # https://github.com/envoyproxy/envoy/blob/master/bazel/repository_locations.bzl. http_archive( name = "com_github_tencent_rapidjson", build_file = "@spectator//third_party:rapidjson.BUILD", sha256 = "bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e", strip_prefix = "rapidjson-1.1.0", urls = ["https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz"], ) def _com_github_gabime_spdlog(): # https://github.com/envoyproxy/envoy/blob/master/bazel/repository_locations.bzl. http_archive( name = "com_github_gabime_spdlog", build_file = "@spectator//third_party:spdlog.BUILD", sha256 = "160845266e94db1d4922ef755637f6901266731c4cb3b30b45bf41efa0e6ab70", strip_prefix = "spdlog-1.3.1", urls = ["https://github.com/gabime/spdlog/archive/v1.3.1.tar.gz"], ) def _com_google_googletest(): http_archive( name = "com_google_googletest", urls = ["https://github.com/google/googletest/archive/release-1.10.0.tar.gz"], strip_prefix = "googletest-release-1.10.0", sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", ) def _com_google_googlebench(): http_archive( name = "com_google_benchmark", urls = ["https://github.com/google/benchmark/archive/v1.5.0.tar.gz"], strip_prefix = "benchmark-1.5.0", sha256 = "3c6a165b6ecc948967a1ead710d4a181d7b0fbcaa183ef7ea84604994966221a", )
# print(123456) # print('Kaic', 'Pierre', 'Outra Coisa') # print('Kaic', 'Pierre', sep='-', end='') # print('Testando', 'Outras', 'Coisas', sep='-', end='') print('428', '330', '048', sep='.', end='-') print('93')
sym_text = '''Symbol|Security Name|Market Category|Test Issue|Financial Status|Round Lot Size AAIT|iShares MSCI All Country Asia Information Technology Index Fund|G|N|N|100 AAL|American Airlines Group, Inc. - Common Stock|Q|N|N|100 AAME|Atlantic American Corporation - Common Stock|G|N|N|100 AAOI|Applied Optoelectronics, Inc. - Common Stock|G|N|N|100 AAON|AAON, Inc. - Common Stock|Q|N|N|100 AAPL|Apple Inc. - Common Stock|Q|N|N|100 AAVL|Avalanche Biotechnologies, Inc. - Common Stock|G|N|N|100 AAWW|Atlas Air Worldwide Holdings - Common Stock|Q|N|N|100 AAXJ|iShares MSCI All Country Asia ex Japan Index Fund|G|N|N|100 ABAC|Aoxin Tianli Group, Inc. - Common Shares|S|N|N|100 ABAX|ABAXIS, Inc. - Common Stock|Q|N|N|100 ABCB|Ameris Bancorp - Common Stock|Q|N|N|100 ABCD|Cambium Learning Group, Inc. - Common Stock|S|N|N|100 ABCO|The Advisory Board Company - Common Stock|Q|N|N|100 ABCW|Anchor BanCorp Wisconsin Inc. - Common Stock|Q|N|N|100 ABDC|Alcentra Capital Corp. - Common Stock|Q|N|N|100 ABGB|Abengoa, S.A. - American Depositary Shares|Q|N|N|100 ABIO|ARCA biopharma, Inc. - Common Stock|S|N|D|100 ABMD|ABIOMED, Inc. - Common Stock|Q|N|N|100 ABTL|Autobytel Inc. - Common Stock|S|N|N|100 ABY|Abengoa Yield plc - Ordinary Shares|Q|N|N|100 ACAD|ACADIA Pharmaceuticals Inc. - Common Stock|Q|N|N|100 ACAS|American Capital, Ltd. - Common Stock|Q|N|N|100 ACAT|Arctic Cat Inc. - Common Stock|Q|N|N|100 ACET|Aceto Corporation - Common Stock|Q|N|N|100 ACFC|Atlantic Coast Financial Corporation - Common Stock|G|N|N|100 ACFN|Acorn Energy, Inc. - Common Stock|G|N|D|100 ACGL|Arch Capital Group Ltd. - Common Stock|Q|N|N|100 ACHC|Acadia Healthcare Company, Inc. - Common Stock|Q|N|N|100 ACHN|Achillion Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 ACIW|ACI Worldwide, Inc. - Common Stock|Q|N|N|100 ACLS|Axcelis Technologies, Inc. - Common Stock|Q|N|N|100 ACNB|ACNB Corporation - Common Stock|S|N|N|100 ACOR|Acorda Therapeutics, Inc. - Common Stock|Q|N|N|100 ACPW|Active Power, Inc. - Common Stock|S|N|N|100 ACRX|AcelRx Pharmaceuticals, Inc. - Common Stock|G|N|N|100 ACSF|American Capital Senior Floating, Ltd. - Common Stock|Q|N|N|100 ACST|Acasti Pharma, Inc. - Class A Common Stock|S|N|D|100 ACTA|Actua Corporation - Common Stock|Q|N|N|100 ACTG|Acacia Research Corporation - Common Stock|Q|N|N|100 ACTS|Actions Semiconductor Co., Ltd. - American Depositary Shares, each representing Six Ordinary Shares|Q|N|N|100 ACUR|Acura Pharmaceuticals, Inc. - Common Stock|S|N|D|100 ACWI|iShares MSCI ACWI Index Fund|G|N|N|100 ACWX|iShares MSCI ACWI ex US Index Fund|G|N|N|100 ACXM|Acxiom Corporation - Common Stock|Q|N|N|100 ADAT|Authentidate Holding Corp. - Common Stock|S|N|D|100 ADBE|Adobe Systems Incorporated - Common Stock|Q|N|N|100 ADEP|Adept Technology, Inc. - Common Stock|S|N|N|100 ADHD|Alcobra Ltd. - Ordinary Shares|G|N|N|100 ADI|Analog Devices, Inc. - Common Stock|Q|N|N|100 ADMA|ADMA Biologics Inc - Common Stock|S|N|N|100 ADMP|Adamis Pharmaceuticals Corporation - Common Stock|S|N|N|100 ADMS|Adamas Pharmaceuticals, Inc. - Common Stock|G|N|N|100 ADNC|Audience, Inc. - Common Stock|Q|N|N|100 ADP|Automatic Data Processing, Inc. - Common Stock|Q|N|N|100 ADRA|BLDRS Asia 50 ADR Index Fund|G|N|N|100 ADRD|BLDRS Developed Markets 100 ADR Index Fund|G|N|N|100 ADRE|BLDRS Emerging Markets 50 ADR Index Fund|G|N|N|100 ADRU|BLDRS Europe 100 ADR Index Fund|G|N|N|100 ADSK|Autodesk, Inc. - Common Stock|Q|N|N|100 ADTN|ADTRAN, Inc. - Common Stock|Q|N|N|100 ADUS|Addus HomeCare Corporation - Common Stock|Q|N|N|100 ADVS|Advent Software, Inc. - Common Stock|Q|N|N|100 ADXS|Advaxis, Inc. - Common Stock|S|N|N|100 ADXSW|Advaxis, Inc. - Warrants|S|N|N|100 AEGN|Aegion Corp - Class A Common Stock|Q|N|N|100 AEGR|Aegerion Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 AEHR|Aehr Test Systems - Common Stock|S|N|N|100 AEIS|Advanced Energy Industries, Inc. - Common Stock|Q|N|N|100 AEPI|AEP Industries Inc. - Common Stock|Q|N|N|100 AERI|Aerie Pharmaceuticals, Inc. - Common Stock|G|N|N|100 AETI|American Electric Technologies, Inc. - Common Stock|S|N|N|100 AEY|ADDvantage Technologies Group, Inc. - Common Stock|G|N|N|100 AEZS|AEterna Zentaris Inc. - Common Stock|S|N|D|100 AFAM|Almost Family Inc - Common Stock|Q|N|N|100 AFCB|Athens Bancshares Corporation - Common Stock|S|N|N|100 AFFX|Affymetrix, Inc. - Common Stock|Q|N|N|100 AFH|Atlas Financial Holdings, Inc. - Ordinary Shares|S|N|N|100 AFMD|Affimed N.V. - Common Stock|G|N|N|100 AFOP|Alliance Fiber Optic Products, Inc. - Common Stock|G|N|N|100 AFSI|AmTrust Financial Services, Inc. - Common Stock|Q|N|N|100 AGEN|Agenus Inc. - Common Stock|S|N|N|100 AGII|Argo Group International Holdings, Ltd. - Common Stock|Q|N|N|100 AGIIL|Argo Group International Holdings, Ltd. - 6.5% Senior Notes Due 2042|Q|N|N|100 AGIO|Agios Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 AGNC|American Capital Agency Corp. - Common Stock|Q|N|N|100 AGNCB|American Capital Agency Corp. - Depositary Shares representing 1/1000th Series B Preferred Stock|Q|N|N|100 AGNCP|American Capital Agency Corp. - Cumulative Preferred Series A|Q|N|N|100 AGND|WisdomTree Barclays U.S. Aggregate Bond Negative Duration Fund|G|N|N|100 AGRX|Agile Therapeutics, Inc. - Common Stock|G|N|N|100 AGTC|Applied Genetic Technologies Corporation - Common Stock|G|N|N|100 AGYS|Agilysys, Inc. - Common Stock|Q|N|N|100 AGZD|WisdomTree Barclays U.S. Aggregate Bond Zero Duration Fund|G|N|N|100 AHGP|Alliance Holdings GP, L.P. - Common Units Representing Limited Partner Interests|Q|N|N|100 AHPI|Allied Healthcare Products, Inc. - Common Stock|G|N|N|100 AIMC|Altra Industrial Motion Corp. - Common Stock|Q|N|N|100 AINV|Apollo Investment Corporation - Closed End Fund|Q|N|N|100 AIQ|Alliance HealthCare Services, Inc. - Common Stock|G|N|N|100 AIRM|Air Methods Corporation - Common Stock|Q|N|N|100 AIRR|First Trust RBA American Industrial Renaissance ETF|G|N|N|100 AIRT|Air T, Inc. - Common Stock|S|N|N|100 AIXG|Aixtron SE - American Depositary Shares, each representing one Ordinary Share|Q|N|N|100 AKAM|Akamai Technologies, Inc. - Common Stock|Q|N|N|100 AKAO|Achaogen, Inc. - Common Stock|G|N|N|100 AKBA|Akebia Therapeutics, Inc. - Common Stock|G|N|N|100 AKER|Akers Biosciences Inc - Common Stock|S|N|N|100 AKRX|Akorn, Inc. - Common Stock|Q|N|N|100 ALCO|Alico, Inc. - Common Stock|Q|N|N|100 ALDR|Alder BioPharmaceuticals, Inc. - Common Stock|G|N|N|100 ALDX|Aldeyra Therapeutics, Inc. - Common Stock|S|N|N|100 ALGN|Align Technology, Inc. - Common Stock|Q|N|N|100 ALGT|Allegiant Travel Company - Common Stock|Q|N|N|100 ALIM|Alimera Sciences, Inc. - Common Stock|G|N|N|100 ALKS|Alkermes plc - Ordinary Shares|Q|N|N|100 ALLB|Alliance Bancorp, Inc. of Pennsylvania - Common Stock|G|N|N|100 ALLT|Allot Communications Ltd. - Ordinary Shares|Q|N|N|100 ALNY|Alnylam Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 ALOG|Analogic Corporation - Common Stock|Q|N|N|100 ALOT|Astro-Med, Inc. - Common Stock|G|N|N|100 ALQA|Alliqua BioMedical, Inc. - Common Stock|S|N|N|100 ALSK|Alaska Communications Systems Group, Inc. - Common Stock|Q|N|N|100 ALTR|Altera Corporation - Common Stock|Q|N|N|100 ALXA|Alexza Pharmaceuticals, Inc. - Common Stock|S|N|N|100 ALXN|Alexion Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 AMAG|AMAG Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 AMAT|Applied Materials, Inc. - Common Stock|Q|N|N|100 AMBA|Ambarella, Inc. - Ordinary Shares|Q|N|N|100 AMBC|Ambac Financial Group, Inc. - Common Stock|Q|N|N|100 AMBCW|Ambac Financial Group, Inc. - Warrants|Q|N|N|100 AMCC|Applied Micro Circuits Corporation - Common Stock|Q|N|N|100 AMCF|Andatee China Marine Fuel Services Corporation - Common Stock|S|N|N|100 AMCN|AirMedia Group Inc - American Depositary Shares, each representing two ordinary shares|Q|N|N|100 AMCX|AMC Networks Inc. - Class A Common Stock|Q|N|N|100 AMD|Advanced Micro Devices, Inc. - Common Stock|S|N|N|100 AMDA|Amedica Corporation - Common Stock|S|N|D|100 AMED|Amedisys Inc - Common Stock|Q|N|N|100 AMGN|Amgen Inc. - Common Stock|Q|N|N|100 AMIC|American Independence Corp. - Common Stock|G|N|N|100 AMKR|Amkor Technology, Inc. - Common Stock|Q|N|N|100 AMNB|American National Bankshares, Inc. - Common Stock|Q|N|N|100 AMOT|Allied Motion Technologies, Inc. - Common Stock|G|N|N|100 AMOV|America Movil, S.A.B. de C.V. - American Depositary Shares, each representing 20 A Shares|Q|N|N|100 AMPH|Amphastar Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 AMRB|American River Bankshares - Common Stock|Q|N|N|100 AMRI|Albany Molecular Research, Inc. - Common Stock|Q|N|N|100 AMRK|A-Mark Precious Metals, Inc. - Common Stock|Q|N|N|100 AMRN|Amarin Corporation plc - American Depositary Shares, each representing one Ordinary Share|G|N|N|100 AMRS|Amyris, Inc. - Common Stock|Q|N|N|100 AMSC|American Superconductor Corporation - Common Stock|Q|N|D|100 AMSF|AMERISAFE, Inc. - Common Stock|Q|N|N|100 AMSG|Amsurg Corp. - Common Stock|Q|N|N|100 AMSGP|Amsurg Corp. - 5.250% Mandatory Convertible Preferred Stock, Series A-1|Q|N|N|100 AMSWA|American Software, Inc. - Class A Common Stock|Q|N|N|100 AMTX|Aemetis, Inc - Common Stock|G|N|N|100 AMWD|American Woodmark Corporation - Common Stock|Q|N|N|100 AMZN|Amazon.com, Inc. - Common Stock|Q|N|N|100 ANAC|Anacor Pharmaceuticals, Inc. - Common Stock|G|N|N|100 ANAD|ANADIGICS, Inc. - Common Stock|Q|N|N|100 ANAT|American National Insurance Company - Common Stock|Q|N|N|100 ANCB|Anchor Bancorp - Common Stock|G|N|N|100 ANCI|American Caresource Holdings Inc - Common Stock|S|N|D|100 ANCX|Access National Corporation - Common Stock|G|N|N|100 ANDE|The Andersons, Inc. - Common Stock|Q|N|N|100 ANGI|Angie's List, Inc. - Common Stock|Q|N|N|100 ANGO|AngioDynamics, Inc. - Common Stock|Q|N|N|100 ANIK|Anika Therapeutics Inc. - Common Stock|Q|N|N|100 ANIP|ANI Pharmaceuticals, Inc. - Common Stock|G|N|N|100 ANSS|ANSYS, Inc. - Common Stock|Q|N|N|100 ANTH|Anthera Pharmaceuticals, Inc. - Common Stock|G|N|N|100 ANY|Sphere 3D Corp. - Common Shares|G|N|N|100 AOSL|Alpha and Omega Semiconductor Limited - Common Shares|Q|N|N|100 APDN|Applied DNA Sciences Inc - Common Stock|S|N|N|100 APDNW|Applied DNA Sciences Inc - Warrant|S|N|N|100 APEI|American Public Education, Inc. - Common Stock|Q|N|N|100 APOG|Apogee Enterprises, Inc. - Common Stock|Q|N|N|100 APOL|Apollo Education Group, Inc. - Class A Common Stock|Q|N|N|100 APPS|Digital Turbine, Inc. - Common Stock|S|N|N|100 APPY|Venaxis, Inc. - Common Stock|S|N|D|100 APRI|Apricus Biosciences, Inc - Common Stock|S|N|N|100 APTO|Aptose Biosciences, Inc. - Common Shares|S|N|N|100 APWC|Asia Pacific Wire & Cable Corporation Limited - Common shares, Par value .01 per share|G|N|N|100 AQXP|Aquinox Pharmaceuticals, Inc. - Common Stock|G|N|N|100 ARAY|Accuray Incorporated - Common Stock|Q|N|N|100 ARCB|ArcBest Corporation - Common Stock|Q|N|N|100 ARCC|Ares Capital Corporation - Closed End Fund|Q|N|N|100 ARCI|Appliance Recycling Centers of America, Inc. - Common Stock|S|N|N|100 ARCP|American Realty Capital Properties, Inc. - Common Stock|Q|N|N|100 ARCPP|American Realty Capital Properties, Inc. - 6.70% Series F Cumulative Redeemable Preferred Stock|Q|N|N|100 ARCW|ARC Group Worldwide, Inc. - Common Stock|S|N|N|100 ARDM|Aradigm Corporation - Common Stock|S|N|N|100 ARDX|Ardelyx, Inc. - Common Stock|G|N|N|100 AREX|Approach Resources Inc. - Common Stock|Q|N|N|100 ARGS|Argos Therapeutics, Inc. - Common Stock|G|N|N|100 ARIA|ARIAD Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 ARII|American Railcar Industries, Inc. - Common Stock|Q|N|N|100 ARIS|ARI Network Services, Inc. - Common Stock|S|N|N|100 ARKR|Ark Restaurants Corp. - Common Stock|G|N|N|100 ARLP|Alliance Resource Partners, L.P. - Common Units Representing Limited Partnership Interests|Q|N|N|100 ARMH|ARM Holdings plc - American Depositary Shares each representing 3 Ordinary Shares|Q|N|N|100 ARNA|Arena Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 AROW|Arrow Financial Corporation - Common Stock|Q|N|N|100 ARQL|ArQule, Inc. - Common Stock|G|N|N|100 ARRS|ARRIS Group, Inc. - Common Stock|Q|N|N|100 ARRY|Array BioPharma Inc. - Common Stock|G|N|N|100 ARTNA|Artesian Resources Corporation - Class A Non-Voting Common Stock|Q|N|N|100 ARTW|Art's-Way Manufacturing Co., Inc. - Common Stock|S|N|N|100 ARTX|Arotech Corporation - Common Stock|G|N|N|100 ARUN|Aruba Networks, Inc. - Common Stock|Q|N|N|100 ARWR|Arrowhead Research Corporation - Common Stock|Q|N|N|100 ASBB|ASB Bancorp, Inc. - Common Stock|G|N|N|100 ASBI|Ameriana Bancorp - Common Stock|S|N|N|100 ASCMA|Ascent Capital Group, Inc. - Series A Common Stock|Q|N|N|100 ASEI|American Science and Engineering, Inc. - Common Stock|Q|N|N|100 ASFI|Asta Funding, Inc. - Common Stock|Q|N|H|100 ASMB|Assembly Biosciences, Inc. - Common Stock|S|N|N|100 ASMI|ASM International N.V. - Common Shares|Q|N|N|100 ASML|ASML Holding N.V. - ADS represents 1 ordinary share|Q|N|N|100 ASNA|Ascena Retail Group, Inc. - Common Stock|Q|N|N|100 ASND|Ascendis Pharma A/S - American Depositary Shares|Q|N|N|100 ASPS|Altisource Portfolio Solutions S.A. - Common Stock|Q|N|N|100 ASPX|Auspex Pharmaceuticals, Inc. - Common Stock|G|N|N|100 ASRV|AmeriServ Financial Inc. - Common Stock|G|N|N|100 ASRVP|AmeriServ Financial Inc. - AmeriServ Financial Trust I - 8.45% Beneficial Unsecured Securities, Series A|G|N|N|100 ASTC|Astrotech Corporation - Common Stock|S|N|N|100 ASTE|Astec Industries, Inc. - Common Stock|Q|N|N|100 ASTI|Ascent Solar Technologies, Inc. - Common Stock|S|N|N|100 ASUR|Asure Software Inc - Common Stock|S|N|N|100 ASYS|Amtech Systems, Inc. - Common Stock|Q|N|D|100 ATAI|ATA Inc. - American Depositary Shares, each representing two common shares|G|N|N|100 ATAX|America First Multifamily Investors, L.P. - Beneficial Unit Certificates (BUCs) representing Limited Partnership Interests|Q|N|N|100 ATEC|Alphatec Holdings, Inc. - Common Stock|Q|N|N|100 ATHN|athenahealth, Inc. - Common Stock|Q|N|N|100 ATHX|Athersys, Inc. - Common Stock|S|N|N|100 ATLC|Atlanticus Holdings Corporation - Common Stock|Q|N|N|100 ATLO|Ames National Corporation - Common Stock|S|N|N|100 ATML|Atmel Corporation - Common Stock|Q|N|N|100 ATNI|Atlantic Tele-Network, Inc. - Common Stock|Q|N|N|100 ATNY|API Technologies Corp. - Common Stock|S|N|N|100 ATOS|Atossa Genetics Inc. - Common Stock|S|N|N|100 ATRA|Atara Biotherapeutics, Inc. - Common Stock|Q|N|N|100 ATRC|AtriCure, Inc. - Common Stock|G|N|N|100 ATRI|ATRION Corporation - Common Stock|Q|N|N|100 ATRM|ATRM Holdings, Inc. - Common Stock|S|N|E|100 ATRO|Astronics Corporation - Common Stock|Q|N|N|100 ATRS|Antares Pharma, Inc. - Common Stock|S|N|N|100 ATSG|Air Transport Services Group, Inc - Common Stock|Q|N|N|100 ATTU|Attunity Ltd. - Ordinary Shares|S|N|N|100 ATVI|Activision Blizzard, Inc - Common Stock|Q|N|N|100 AUBN|Auburn National Bancorporation, Inc. - Common Stock|G|N|N|100 AUDC|AudioCodes Ltd. - Ordinary Shares|Q|N|N|100 AUMA|AR Capital Acquisition Corp. - Common Stock|S|N|N|100 AUMAU|AR Capital Acquisition Corp. - Units|S|N|N|100 AUMAW|AR Capital Acquisition Corp. - Warrants|S|N|N|100 AUPH|Aurinia Pharmaceuticals Inc - Common Shares|G|N|N|100 AVAV|AeroVironment, Inc. - Common Stock|Q|N|N|100 AVEO|AVEO Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 AVGO|Avago Technologies Limited - Ordinary Shares|Q|N|N|100 AVGR|Avinger, Inc. - Common Stock|G|N|N|100 AVHI|A V Homes, Inc. - Common Stock|Q|N|N|100 AVID|Avid Technology, Inc. - Common Stock|Q|N|N|100 AVNU|Avenue Financial Holdings, Inc. - Common Stock|Q|N|N|100 AVNW|Aviat Networks, Inc. - Common Stock|Q|N|N|100 AWAY|HomeAway, Inc. - Common Stock|Q|N|N|100 AWRE|Aware, Inc. - Common Stock|G|N|N|100 AXAS|Abraxas Petroleum Corporation - Common Stock|S|N|N|100 AXDX|Accelerate Diagnostics, Inc. - Common Stock|S|N|N|100 AXGN|AxoGen, Inc. - Common Stock|S|N|N|100 AXJS|iShares MSCI All Country Asia ex Japan Small Cap Index Fund|G|N|N|100 AXPW|Axion Power International, Inc. - Common Stock|S|N|D|100 AXPWW|Axion Power International, Inc. - Series A Warrants|S|N|N|100 AXTI|AXT Inc - Common Stock|Q|N|N|100 AZPN|Aspen Technology, Inc. - Common Stock|Q|N|N|100 BABY|Natus Medical Incorporated - Common Stock|Q|N|N|100 BAGR|Diversified Restaurant Holdings, Inc. - Common Stock|S|N|N|100 BAMM|Books-A-Million, Inc. - Common Stock|Q|N|N|100 BANF|BancFirst Corporation - Common Stock|Q|N|N|100 BANFP|BancFirst Corporation - 7.2% Cumulative Trust Preferred Securities|Q|N|N|100 BANR|Banner Corporation - Common Stock|Q|N|N|100 BANX|StoneCastle Financial Corp - Common Stock|Q|N|N|100 BASI|Bioanalytical Systems, Inc. - Common Stock|S|N|N|100 BBBY|Bed Bath & Beyond Inc. - Common Stock|Q|N|N|100 BBC|BioShares Biotechnology Clinical Trials Fund|G|N|N|100 BBCN|BBCN Bancorp, Inc. - Common Stock|Q|N|N|100 BBEP|BreitBurn Energy Partners, L.P. - Common Units Representing Limited Partnership|Q|N|N|100 BBEPP|BreitBurn Energy Partners, L.P. - 8.25% Series A Cumulative Redeemable Perpetual Preferred Units|Q|N|N|100 BBGI|Beasley Broadcast Group, Inc. - Class A Common Stock|G|N|N|100 BBLU|Blue Earth, Inc. - Common Stock|S|N|D|100 BBNK|Bridge Capital Holdings - Common Stock|Q|N|N|100 BBOX|Black Box Corporation - Common Stock|Q|N|N|100 BBP|BioShares Biotechnology Products Fund|G|N|N|100 BBRG|Bravo Brio Restaurant Group, Inc. - Common Stock|Q|N|N|100 BBRY|BlackBerry Limited - Common Stock|Q|N|N|100 BBSI|Barrett Business Services, Inc. - Common Stock|Q|N|N|100 BCBP|BCB Bancorp, Inc. (NJ) - Common Stock|G|N|N|100 BCLI|Brainstorm Cell Therapeutics Inc. - Common Stock|S|N|N|100 BCOM|B Communications Ltd. - Ordinary Shares|Q|N|N|100 BCOR|Blucora, Inc. - Common Stock|Q|N|N|100 BCOV|Brightcove Inc. - Common Stock|Q|N|N|100 BCPC|Balchem Corporation - Common Stock|Q|N|N|100 BCRX|BioCryst Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 BDBD|Boulder Brands, Inc. - Common Stock|Q|N|N|100 BDCV|BDCA Venture, Inc. - Common Stock|S|N|N|100 BDE|Black Diamond, Inc. - Common Stock|Q|N|D|100 BDGE|Bridge Bancorp, Inc. - Common Stock|Q|N|N|100 BDMS|Birner Dental Management Services, Inc. - Common Stock|S|N|N|100 BDSI|BioDelivery Sciences International, Inc. - Common Stock|S|N|N|100 BEAT|BioTelemetry, Inc. - Common Stock|Q|N|N|100 BEAV|B/E Aerospace, Inc. - Common Stock|Q|N|N|100 BEBE|bebe stores, inc. - Common Stock|Q|N|N|100 BECN|Beacon Roofing Supply, Inc. - Common Stock|Q|N|N|100 BELFA|Bel Fuse Inc. - Class A Common Stock|Q|N|N|100 BELFB|Bel Fuse Inc. - Class B Common Stock|Q|N|N|100 BFIN|BankFinancial Corporation - Common Stock|Q|N|N|100 BGCP|BGC Partners, Inc. - Class A Common Stock|Q|N|N|100 BGFV|Big 5 Sporting Goods Corporation - Common Stock|Q|N|N|100 BGMD|BG Medicine, Inc. - Common Stock|S|N|D|100 BHAC|Barington/Hilco Acquisition Corp. - Common Stock|S|N|N|100 BHACR|Barington/Hilco Acquisition Corp. - Rights|S|N|N|100 BHACU|Barington/Hilco Acquisition Corp. - Units|S|N|N|100 BHACW|Barington/Hilco Acquisition Corp. - Warrants|S|N|N|100 BHBK|Blue Hills Bancorp, Inc. - Common Stock|Q|N|N|100 BIB|ProShares Ultra Nasdaq Biotechnology|G|N|N|100 BICK|First Trust BICK Index Fund|G|N|N|100 BIDU|Baidu, Inc. - American Depositary Shares, each representing one tenth Class A ordinary share|Q|N|N|100 BIIB|Biogen Inc. - Common Stock|Q|N|N|100 BIND|BIND Therapeutics, Inc. - Common Stock|Q|N|N|100 BIOC|Biocept, Inc. - Common Stock|S|N|N|100 BIOD|Biodel Inc. - Common Stock|S|N|N|100 BIOL|Biolase, Inc. - Common Stock|S|N|N|100 BIOS|BioScrip, Inc. - Common Stock|Q|N|N|100 BIS|ProShares UltraShort Nasdaq Biotechnology|G|N|N|100 BJRI|BJ's Restaurants, Inc. - Common Stock|Q|N|N|100 BKCC|BlackRock Capital Investment Corporation - Common Stock|Q|N|N|100 BKEP|Blueknight Energy Partners L.P., L.L.C. - Common Units representing Limited Partner Interests|G|N|N|100 BKEPP|Blueknight Energy Partners L.P., L.L.C. - Series A Preferred Units|G|N|N|100 BKMU|Bank Mutual Corporation - Common Stock|Q|N|N|100 BKSC|Bank of South Carolina Corp. - Common Stock|S|N|N|100 BKYF|The Bank of Kentucky Financial Corp. - Common Stock|Q|N|N|100 BLBD|Blue Bird Corporation - Common Stock|S|N|D|100 BLBDW|Blue Bird Corporation - Warrant|S|N|D|100 BLCM|Bellicum Pharmaceuticals, Inc. - Common Stock|G|N|N|100 BLDP|Ballard Power Systems, Inc. - Common Shares|G|N|N|100 BLDR|Builders FirstSource, Inc. - Common Stock|Q|N|N|100 BLFS|BioLife Solutions, Inc. - Common Stock|S|N|N|100 BLIN|Bridgeline Digital, Inc. - Common Stock|S|N|D|100 BLKB|Blackbaud, Inc. - Common Stock|Q|N|N|100 BLMN|Bloomin' Brands, Inc. - Common Stock|Q|N|N|100 BLMT|BSB Bancorp, Inc. - Common Stock|S|N|N|100 BLPH|Bellerophon Therapeutics, Inc. - Common Stock|G|N|N|100 BLRX|BioLineRx Ltd. - American Depositary Shares|S|N|N|100 BLUE|bluebird bio, Inc. - Common Stock|Q|N|N|100 BLVD|Boulevard Acquisition Corp. - Common Stock|S|N|N|100 BLVDU|Boulevard Acquisition Corp. - Units|S|N|N|100 BLVDW|Boulevard Acquisition Corp. - Warrants|S|N|N|100 BMRC|Bank of Marin Bancorp - Common Stock|S|N|N|100 BMRN|BioMarin Pharmaceutical Inc. - Common Stock|Q|N|N|100 BMTC|Bryn Mawr Bank Corporation - Common Stock|Q|N|N|100 BNCL|Beneficial Bancorp, Inc. - Common Stock|Q|N|N|100 BNCN|BNC Bancorp - Common Stock|S|N|N|100 BNDX|Vanguard Total International Bond ETF|G|N|N|100 BNFT|Benefitfocus, Inc. - Common Stock|G|N|N|100 BNSO|Bonso Electronics International, Inc. - Common Stock|S|N|N|100 BOBE|Bob Evans Farms, Inc. - Common Stock|Q|N|N|100 BOCH|Bank of Commerce Holdings (CA) - Common Stock|G|N|N|100 BOFI|BofI Holding, Inc. - Common Stock|Q|N|N|100 BOKF|BOK Financial Corporation - Common Stock|Q|N|N|100 BONA|Bona Film Group Limited - American Depositary Shares|Q|N|N|100 BONT|The Bon-Ton Stores, Inc. - Common Stock|Q|N|N|100 BOOM|Dynamic Materials Corporation - Common Stock|Q|N|N|100 BOSC|B.O.S. Better Online Solutions - Ordinary Shares|S|N|N|100 BOTA|Biota Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 BOTJ|Bank of the James Financial Group, Inc. - Common Stock|S|N|N|100 BPFH|Boston Private Financial Holdings, Inc. - Common Stock|Q|N|N|100 BPFHP|Boston Private Financial Holdings, Inc. - Depositary Shares representing 1/40th Interest in a Share of 6.95% Non-Cumulative Perpetual Preferred Stock, Series D|Q|N|N|100 BPFHW|Boston Private Financial Holdings, Inc. - Warrants to purchase 1 share of common stock @ $8.00/share|Q|N|N|100 BPOP|Popular, Inc. - Common Stock|Q|N|N|100 BPOPM|Popular, Inc. - Popular Capital Trust II - 6.125% Cumulative Monthly Income Trust Preferred Securities|Q|N|N|100 BPOPN|Popular, Inc. - Popular Capital Trust I -6.70% Cumulative Monthly Income Trust Preferred Securities|Q|N|N|100 BPTH|Bio-Path Holdings, Inc. - Common Stock|S|N|N|100 BRCD|Brocade Communications Systems, Inc. - Common Stock|Q|N|N|100 BRCM|Broadcom Corporation - Class A Common Stock|Q|N|N|100 BRDR|Borderfree, Inc. - Common Stock|Q|N|N|100 BREW|Craft Brew Alliance, Inc. - Common Stock|Q|N|N|100 BRID|Bridgford Foods Corporation - Common Stock|G|N|N|100 BRKL|Brookline Bancorp, Inc. - Common Stock|Q|N|N|100 BRKR|Bruker Corporation - Common Stock|Q|N|N|100 BRKS|Brooks Automation, Inc. - Common Stock|Q|N|N|100 BRLI|Bio-Reference Laboratories, Inc. - Common Stock|Q|N|N|100 BSET|Bassett Furniture Industries, Incorporated - Common Stock|Q|N|N|100 BSF|Bear State Financial, Inc. - Common Stock|G|N|N|100 BSFT|BroadSoft, Inc. - Common Stock|Q|N|N|100 BSPM|Biostar Pharmaceuticals, Inc. - Common Stock|S|N|N|100 BSQR|BSQUARE Corporation - Common Stock|G|N|N|100 BSRR|Sierra Bancorp - Common Stock|Q|N|N|100 BSTC|BioSpecifics Technologies Corp - Common Stock|G|N|D|100 BUR|Burcon NutraScience Corp - Ordinary Shares|G|N|N|100 BUSE|First Busey Corporation - Common Stock|Q|N|N|100 BV|Bazaarvoice, Inc. - Common Stock|Q|N|N|100 BVA|Cordia Bancorp Inc. - Common Stock|S|N|N|100 BVSN|BroadVision, Inc. - Common Stock|G|N|N|100 BWEN|Broadwind Energy, Inc. - Common Stock|S|N|N|100 BWFG|Bankwell Financial Group, Inc. - Common Stock|G|N|N|100 BWINA|Baldwin & Lyons, Inc. - Class A (voting) Common Stock|G|N|N|100 BWINB|Baldwin & Lyons, Inc. - Class B (nonvoting) Common Stock|G|N|N|100 BWLD|Buffalo Wild Wings, Inc. - Common Stock|Q|N|N|100 BYBK|Bay Bancorp, Inc. - Common Stock|S|N|N|100 BYFC|Broadway Financial Corporation - Common Stock|S|N|N|100 BYLK|Baylake Corp - Common Stock|S|N|N|100 CA|CA Inc. - Common Stock|Q|N|N|100 CAAS|China Automotive Systems, Inc. - Common Stock|S|N|N|100 CAC|Camden National Corporation - Common Stock|Q|N|N|100 CACB|Cascade Bancorp - Common Stock|S|N|N|100 CACC|Credit Acceptance Corporation - Common Stock|Q|N|N|100 CACQ|Caesars Acquisition Company - Class A Common Stock|Q|N|N|100 CADC|China Advanced Construction Materials Group, Inc. - Common Stock|S|N|N|100 CADT|DT Asia Investments Limited - Ordinary Shares|S|N|N|100 CADTR|DT Asia Investments Limited - Right|S|N|N|100 CADTU|DT Asia Investments Limited - Unit|S|N|N|100 CADTW|DT Asia Investments Limited - Warrant|S|N|N|100 CAKE|The Cheesecake Factory Incorporated - Common Stock|Q|N|N|100 CALA|Calithera Biosciences, Inc. - Common Stock|Q|N|N|100 CALD|Callidus Software, Inc. - Common Stock|G|N|N|100 CALI|China Auto Logistics Inc. - Common Stock|G|N|D|100 CALL|magicJack VocalTec Ltd - Ordinary Shares|G|N|N|100 CALM|Cal-Maine Foods, Inc. - Common Stock|Q|N|N|100 CAMB|Cambridge Capital Acquisition Corporation - Common Stock|S|N|D|100 CAMBU|Cambridge Capital Acquisition Corporation - Unit|S|N|D|100 CAMBW|Cambridge Capital Acquisition Corporation - Warrant|S|N|D|100 CAMP|CalAmp Corp. - Common Stock|Q|N|N|100 CAMT|Camtek Ltd. - Ordinary Shares|G|N|N|100 CAPN|Capnia, Inc. - Common Stock|S|N|N|100 CAPNW|Capnia, Inc. - Series A Warrant|S|N|N|100 CAPR|Capricor Therapeutics, Inc. - Common Stock|S|N|N|100 CAR|Avis Budget Group, Inc. - Common Stock|Q|N|N|100 CARA|Cara Therapeutics, Inc. - Common Stock|G|N|N|100 CARB|Carbonite, Inc. - Common Stock|G|N|N|100 CARO|Carolina Financial Corporation - Common Stock|S|N|N|100 CART|Carolina Trust Bank - Common Stock|S|N|N|100 CARV|Carver Bancorp, Inc. - Common Stock|S|N|N|100 CARZ|First Trust NASDAQ Global Auto Index Fund|G|N|N|100 CASH|Meta Financial Group, Inc. - Common Stock|Q|N|N|100 CASI|CASI Pharmaceuticals, Inc. - Common Stock|S|N|N|100 CASM|CAS Medical Systems, Inc. - Common Stock|S|N|N|100 CASS|Cass Information Systems, Inc - Common Stock|Q|N|N|100 CASY|Caseys General Stores, Inc. - Common Stock|Q|N|N|100 CATM|Cardtronics, Inc. - Common Stock|Q|N|N|100 CATY|Cathay General Bancorp - Common Stock|Q|N|N|100 CATYW|Cathay General Bancorp - Warrant|Q|N|N|100 CAVM|Cavium, Inc. - Common Stock|Q|N|N|100 CBAK|China BAK Battery, Inc. - Common Stock|G|N|N|100 CBAN|Colony Bankcorp, Inc. - Common Stock|G|N|N|100 CBAY|CymaBay Therapeutics Inc. - Common Stock|S|N|N|100 CBDE|CBD Energy Limited - Ordinary Shares|S|N|K|100 CBF|Capital Bank Financial Corp. - Class A Common Stock|Q|N|N|100 CBFV|CB Financial Services, Inc. - Common Stock|G|N|N|100 CBIN|Community Bank Shares of Indiana, Inc. - Common Stock|S|N|N|100 CBLI|Cleveland BioLabs, Inc. - Common Stock|S|N|D|100 CBMG|Cellular Biomedicine Group, Inc. - Common Stock|S|N|N|100 CBMX|CombiMatrix Corporation - Common Stock|S|N|N|100 CBNJ|Cape Bancorp, Inc. - Common Stock|Q|N|N|100 CBNK|Chicopee Bancorp, Inc. - Common Stock|G|N|N|100 CBOE|CBOE Holdings, Inc. - Common Stock|Q|N|N|100 CBPO|China Biologic Products, Inc. - Common Stock|Q|N|N|100 CBRL|Cracker Barrel Old Country Store, Inc. - Common Stock|Q|N|N|100 CBRX|Columbia Laboratories, Inc. - Common Stock|S|N|N|100 CBSH|Commerce Bancshares, Inc. - Common Stock|Q|N|N|100 CBSHP|Commerce Bancshares, Inc. - Depositary Shares, each representing a 1/1000th interest of 6.00% Series B Non-Cumulative Perpetual Preferred Stock|Q|N|N|100 CCBG|Capital City Bank Group - Common Stock|Q|N|N|100 CCCL|China Ceramics Co., Ltd. - Common Stock|G|N|N|100 CCCR|China Commercial Credit, Inc. - Common Stock|S|N|N|100 CCD|Calamos Dynamic Convertible & Income Fund - Common Shares|Q|N|N|100 CCIH|ChinaCache International Holdings Ltd. - American Depositary Shares|Q|N|N|100 CCLP|CSI Compressco LP - common units|Q|N|N|100 CCMP|Cabot Microelectronics Corporation - Common Stock|Q|N|N|100 CCNE|CNB Financial Corporation - Common Stock|Q|N|N|100 CCOI|Cogent Communications Holdings, Inc. - Common Stock|Q|N|N|100 CCRN|Cross Country Healthcare, Inc. - Common Stock|Q|N|N|100 CCUR|Concurrent Computer Corporation - Common Stock|G|N|N|100 CCXI|ChemoCentryx, Inc. - Common Stock|Q|N|N|100 CDC|Compass EMP U S EQ Income 100 Enhanced Volatility Weighted Fund|G|N|N|100 CDK|CDK Global, Inc. - Common Stock|Q|N|N|100 CDNA|CareDx, Inc. - Common Stock|G|N|N|100 CDNS|Cadence Design Systems, Inc. - Common Stock|Q|N|N|100 CDTI|Clean Diesel Technologies, Inc. - Common Stock|S|N|N|100 CDW|CDW Corporation - Common Stock|Q|N|N|100 CDXS|Codexis, Inc. - Common Stock|Q|N|N|100 CDZI|Cadiz, Inc. - Common Stock|G|N|N|100 CECE|CECO Environmental Corp. - Common Stock|Q|N|N|100 CECO|Career Education Corporation - Common Stock|Q|N|N|100 CELG|Celgene Corporation - Common Stock|Q|N|N|100 CELGZ|Celgene Corporation - Contingent Value Right|G|N|N|100 CEMI|Chembio Diagnostics, Inc. - Common Stock|S|N|N|100 CEMP|Cempra, Inc. - Common Stock|Q|N|N|100 CENT|Central Garden & Pet Company - Common Stock|Q|N|N|100 CENTA|Central Garden & Pet Company - Class A Common Stock Nonvoting|Q|N|N|100 CENX|Century Aluminum Company - Common Stock|Q|N|N|100 CERE|Ceres, Inc. - Common Stock|S|N|D|100 CERN|Cerner Corporation - Common Stock|Q|N|N|100 CERS|Cerus Corporation - Common Stock|G|N|N|100 CERU|Cerulean Pharma Inc. - Common Stock|G|N|N|100 CETV|Central European Media Enterprises Ltd. - Class A Common Stock|Q|N|N|100 CEVA|CEVA, Inc. - Common Stock|Q|N|N|100 CFA|Compass EMP US 500 Volatility Weighted Index ETF|G|N|N|100 CFBK|Central Federal Corporation - Common Stock|S|N|N|100 CFFI|C&F Financial Corporation - Common Stock|Q|N|N|100 CFFN|Capitol Federal Financial, Inc. - Common Stock|Q|N|N|100 CFGE|Calamos Focus Growth ETF|G|N|N|100 CFNB|California First National Bancorp - Common Stock|G|N|N|100 CFNL|Cardinal Financial Corporation - Common Stock|Q|N|N|100 CFO|Compass EMP US 500 Enhanced Volatility Weighted Index ETF|G|N|N|100 CFRX|ContraFect Corporation - Common Stock|S|N|N|100 CFRXW|ContraFect Corporation - Warrant|S|N|N|100 CFRXZ|ContraFect Corporation - Warrant|S|N|N|100 CG|The Carlyle Group L.P. - Common Units|Q|N|N|100 CGEN|Compugen Ltd. - Ordinary Shares|G|N|N|100 CGIX|Cancer Genetics, Inc. - Common Stock|S|N|N|100 CGNT|Cogentix Medical, Inc. - Common Stock|S|N|D|100 CGNX|Cognex Corporation - Common Stock|Q|N|N|100 CGO|Calamos Global Total Return Fund - Common Stock|Q|N|N|100 CHCI|Comstock Holding Companies, Inc. - Class A Common Stock|S|N|N|100 CHCO|City Holding Company - Common Stock|Q|N|N|100 CHDN|Churchill Downs, Incorporated - Common Stock|Q|N|N|100 CHEF|The Chefs' Warehouse, Inc. - Common Stock|Q|N|N|100 CHEK|Check-Cap Ltd. - Ordinary Share|S|N|N|100 CHEKW|Check-Cap Ltd. - Series A Warrant|S|N|N|100 CHEV|Cheviot Financial Corp - Common Stock|S|N|N|100 CHFC|Chemical Financial Corporation - Common Stock|Q|N|N|100 CHFN|Charter Financial Corp. - Common Stock|S|N|N|100 CHI|Calamos Convertible Opportunities and Income Fund - Common Stock|Q|N|N|100 CHKE|Cherokee Inc. - Common Stock|Q|N|N|100 CHKP|Check Point Software Technologies Ltd. - Ordinary Shares|Q|N|N|100 CHLN|China Housing & Land Development, Inc. - Common Stock|S|N|D|100 CHMG|Chemung Financial Corp - Common Stock|Q|N|N|100 CHNR|China Natural Resources, Inc. - Common Stock|S|N|N|100 CHOP|China Gerui Advanced Materials Group Limited - Ordinary Shares|Q|N|D|100 CHRS|Coherus BioSciences, Inc. - Common Stock|G|N|N|100 CHRW|C.H. Robinson Worldwide, Inc. - Common Stock|Q|N|N|100 CHSCL|CHS Inc - Class B Cumulative Redeemable Preferred Stock, Series 4|Q|N|N|100 CHSCM|CHS Inc - Class B Reset Rate Cumulative Redeemable Preferred Stock, Series 3|Q|N|N|100 CHSCN|CHS Inc - Preferred Class B Series 2 Reset Rate|Q|N|N|100 CHSCO|CHS Inc - Class B Cumulative Redeemable Preferred Stock|Q|N|N|100 CHSCP|CHS Inc - 8% Cumulative Redeemable Preferred Stock|Q|N|N|100 CHTR|Charter Communications, Inc. - Class A Common Stock|Q|N|N|100 CHUY|Chuy's Holdings, Inc. - Common Stock|Q|N|N|100 CHW|Calamos Global Dynamic Income Fund - Common Stock|Q|N|N|100 CHXF|WisdomTree China Dividend Ex-Financials Fund|G|N|N|100 CHY|Calamos Convertible and High Income Fund - Common Stock|Q|N|N|100 CIDM|Cinedigm Corp - Class A Common Stock|G|N|N|100 CIFC|CIFC Corp. - Common Stock|S|N|N|100 CINF|Cincinnati Financial Corporation - Common Stock|Q|N|N|100 CISAW|CIS Acquisition Ltd. - Warrant|S|N|D|100 CISG|CNinsure Inc. - American depositary shares, each representing 20 ordinary shares|Q|N|N|100 CIZ|Compass EMP Developed 500 Enhanced Volatility Weighted Index ETF|G|N|N|100 CIZN|Citizens Holding Company - Common Stock|G|N|N|100 CJJD|China Jo-Jo Drugstores, Inc. - Common Stock|S|N|N|100 CKEC|Carmike Cinemas, Inc. - Common Stock|Q|N|N|100 CKSW|ClickSoftware Technologies Ltd. - Ordinary Shares|Q|N|N|100 CLAC|Capitol Acquisition Corp. II - Common Stock|S|N|D|100 CLACU|Capitol Acquisition Corp. II - Unit|S|N|D|100 CLACW|Capitol Acquisition Corp. II - Warrant|S|N|D|100 CLBH|Carolina Bank Holdings Inc. - Common Stock|G|N|N|100 CLCT|Collectors Universe, Inc. - Common Stock|G|N|N|100 CLDN|Celladon Corporation - Common Stock|G|N|N|100 CLDX|Celldex Therapeutics, Inc. - Common Stock|Q|N|N|100 CLFD|Clearfield, Inc. - Common Stock|G|N|N|100 CLIR|ClearSign Combustion Corporation - Common Stock|S|N|N|100 CLLS|Cellectis S.A. - American Depositary Shares|G|N|N|100 CLMS|Calamos Asset Management, Inc. - Class A Common Stock|Q|N|N|100 CLMT|Calumet Specialty Products Partners, L.P. - Common units representing limited partner interests|Q|N|N|100 CLNE|Clean Energy Fuels Corp. - Common Stock|Q|N|N|100 CLNT|Cleantech Solutions International, Inc. - Common Stock|S|N|N|100 CLRB|Cellectar Biosciences, Inc. - Common Stock|S|N|N|100 CLRBW|Cellectar Biosciences, Inc. - Warrants|S|N|N|100 CLRO|ClearOne, Inc. - Common Stock|S|N|N|100 CLRX|CollabRx, Inc. - Common Stock|S|N|N|100 CLSN|Celsion Corporation - Common Stock|S|N|N|100 CLTX|Celsus Therapeutics Plc - American Depositary Shares|S|N|N|100 CLUB|Town Sports International Holdings, Inc. - Common Stock|G|N|N|100 CLVS|Clovis Oncology, Inc. - Common Stock|Q|N|N|100 CLWT|Euro Tech Holdings Company Limited - Ordinary Shares|S|N|N|100 CMCO|Columbus McKinnon Corporation - Common Stock|Q|N|N|100 CMCSA|Comcast Corporation - Class A Common Stock|Q|N|N|100 CMCSK|Comcast Corporation - Class A Special Common Stock|Q|N|N|100 CMCT|CIM Commercial Trust Corporation - Common Stock|G|N|N|100 CME|CME Group Inc. - Class A Common Stock|Q|N|N|100 CMFN|CM Finance Inc - Common Stock|Q|N|N|100 CMGE|China Mobile Games and Entertainment Group Limited - American Depositary Shares|G|N|N|100 CMLS|Cumulus Media Inc. - Common Stock|Q|N|N|100 CMPR|Cimpress N.V - Ordinary Shares (The Netherlands)|Q|N|N|100 CMRX|Chimerix, Inc. - Common Stock|G|N|N|100 CMSB|CMS Bancorp, Inc. - common stock|S|N|N|100 CMTL|Comtech Telecommunications Corp. - Common Stock|Q|N|N|100 CNAT|Conatus Pharmaceuticals Inc. - Common Stock|G|N|N|100 CNBKA|Century Bancorp, Inc. - Class A Common Stock|Q|N|N|100 CNCE|Concert Pharmaceuticals, Inc. - Common Stock|G|N|N|100 CNDO|Coronado Biosciences, Inc. - Common Stock|S|N|N|100 CNET|ChinaNet Online Holdings, Inc. - Common Stock|S|N|N|100 CNIT|China Information Technology, Inc. - Ordinary Shares|Q|N|N|100 CNLM|CB Pharma Acquisition Corp. - Ordinary Shares|S|N|N|100 CNLMR|CB Pharma Acquisition Corp. - Rights|S|N|N|100 CNLMU|CB Pharma Acquisition Corp. - Units|S|N|N|100 CNLMW|CB Pharma Acquisition Corp. - Warrants|S|N|N|100 CNMD|CONMED Corporation - Common Stock|Q|N|N|100 CNOB|ConnectOne Bancorp, Inc. - Common Stock|Q|N|N|100 CNSI|Comverse Inc. - Common Stock|G|N|N|100 CNSL|Consolidated Communications Holdings, Inc. - Common Stock|Q|N|N|100 CNTF|China TechFaith Wireless Communication Technology Limited - American Depositary Shares, each representing 15 ordinary shares|Q|N|N|100 CNTY|Century Casinos, Inc. - Common Stock|S|N|N|100 CNV|Cnova N.V. - Ordinary Shares|Q|N|N|100 CNXR|Connecture, Inc. - Common Stock|G|N|N|100 CNYD|China Yida Holding, Co. - Common Stock|S|N|N|100 COB|CommunityOne Bancorp - Common Stock|S|N|N|100 COBZ|CoBiz Financial Inc. - Common Stock|Q|N|N|100 COHR|Coherent, Inc. - Common Stock|Q|N|N|100 COHU|Cohu, Inc. - Common Stock|Q|N|N|100 COKE|Coca-Cola Bottling Co. Consolidated - Common Stock|Q|N|N|100 COLB|Columbia Banking System, Inc. - Common Stock|Q|N|N|100 COLM|Columbia Sportswear Company - Common Stock|Q|N|N|100 COMM|CommScope Holding Company, Inc. - Common Stock|Q|N|N|100 COMT|iShares Commodities Select Strategy ETF|G|N|N|100 CONE|CyrusOne Inc - Common Stock|Q|N|N|100 CONN|Conn's, Inc. - Common Stock|Q|N|N|100 COOL|Majesco Entertainment Company - Common Stock|S|N|N|100 CORE|Core-Mark Holding Company, Inc. - Common Stock|Q|N|N|100 CORI|Corium International, Inc. - Common Stock|G|N|N|100 CORT|Corcept Therapeutics Incorporated - Common Stock|S|N|N|100 COSI|Cosi, Inc. - Common Stock|S|N|N|100 COST|Costco Wholesale Corporation - Common Stock|Q|N|N|100 COVS|Covisint Corporation - Common Stock|Q|N|N|100 COWN|Cowen Group, Inc. - Class A Common Stock|Q|N|N|100 COWNL|Cowen Group, Inc. - 8.25% Senior Notes due 2021|Q|N|N|100 CPAH|CounterPath Corporation - Common Stock|S|N|D|100 CPGI|China Shengda Packaging Group, Inc. - Common Stock|S|N|D|100 CPHC|Canterbury Park Holding Corporation - Common Stock|G|N|N|100 CPHD|CEPHEID - Common Stock|Q|N|N|100 CPHR|Cipher Pharmaceuticals Inc. - Common Shares|G|N|N|100 CPIX|Cumberland Pharmaceuticals Inc. - Common Stock|Q|N|N|100 CPLA|Capella Education Company - Common Stock|Q|N|N|100 CPLP|Capital Product Partners L.P. - common units representing limited partner interests|Q|N|N|100 CPRT|Copart, Inc. - Common Stock|Q|N|N|100 CPRX|Catalyst Pharmaceutical Partners, Inc. - Common Stock|S|N|N|100 CPSH|CPS Technologies Corp. - Common Stock|S|N|N|100 CPSI|Computer Programs and Systems, Inc. - Common Stock|Q|N|N|100 CPSS|Consumer Portfolio Services, Inc. - Common Stock|G|N|N|100 CPST|Capstone Turbine Corporation - Common Stock|G|N|D|100 CPTA|Capitala Finance Corp. - Common Stock|Q|N|N|100 CPXX|Celator Pharmaceuticals Inc. - Common Stock|S|N|N|100 CRAI|CRA International,Inc. - Common Stock|Q|N|N|100 CRAY|Cray Inc - Common Stock|Q|N|N|100 CRDC|Cardica, Inc. - Common Stock|G|N|D|100 CRDS|Crossroads Systems, Inc. - Common Stock|S|N|N|100 CRDT|WisdomTree Strategic Corporate Bond Fund|G|N|N|100 CREE|Cree, Inc. - Common Stock|Q|N|N|100 CREG|China Recycling Energy Corporation - Common Stock|G|N|N|100 CRESW|Cresud S.A.C.I.F. y A. - Warrants 5/22/2015|Q|N|N|100 CRESY|Cresud S.A.C.I.F. y A. - American Depositary Shares, each representing ten shares of Common Stock|Q|N|N|100 CRIS|Curis, Inc. - Common Stock|G|N|N|100 CRME|Cardiome Pharma Corporation - Ordinary Shares (Canada)|S|N|N|100 CRMT|America's Car-Mart, Inc. - Common Stock|Q|N|N|100 CRNT|Ceragon Networks Ltd. - Ordinary Shares|Q|N|N|100 CROX|Crocs, Inc. - Common Stock|Q|N|N|100 CRRC|Courier Corporation - Common Stock|Q|N|N|100 CRTN|Cartesian, Inc. - Common Stock|G|N|N|100 CRTO|Criteo S.A. - American Depositary Shares|Q|N|N|100 CRUS|Cirrus Logic, Inc. - Common Stock|Q|N|N|100 CRVL|CorVel Corp. - Common Stock|Q|N|N|100 CRWN|Crown Media Holdings, Inc. - Class A Common Stock|Q|N|N|100 CRWS|Crown Crafts, Inc. - Common Stock|S|N|N|100 CRZO|Carrizo Oil & Gas, Inc. - Common Stock|Q|N|N|100 CSBK|Clifton Bancorp Inc. - Common Stock|Q|N|N|100 CSCD|Cascade Microtech, Inc. - Common Stock|G|N|N|100 CSCO|Cisco Systems, Inc. - Common Stock|Q|N|N|100 CSF|Compass EMP U.S. Discovery 500 Enhanced Volatility Weighted Fund|G|N|N|100 CSFL|CenterState Banks, Inc. - Common Stock|Q|N|N|100 CSGP|CoStar Group, Inc. - Common Stock|Q|N|N|100 CSGS|CSG Systems International, Inc. - Common Stock|Q|N|N|100 CSII|Cardiovascular Systems, Inc. - Common Stock|Q|N|N|100 CSIQ|Canadian Solar Inc. - common shares|Q|N|N|100 CSOD|Cornerstone OnDemand, Inc. - Common Stock|Q|N|N|100 CSPI|CSP Inc. - Common Stock|G|N|N|100 CSQ|Calamos Strategic Total Return Fund - Common Stock|Q|N|N|100 CSRE|CSR plc - American Depositary Shares|Q|N|N|100 CSTE|CaesarStone Sdot-Yam Ltd. - Ordinary Shares|Q|N|N|100 CSUN|China Sunergy Co., Ltd. - American Depositary Shares, each representing 18 ordinary shares|Q|N|N|100 CSWC|Capital Southwest Corporation - Common Stock|Q|N|N|100 CTAS|Cintas Corporation - Common Stock|Q|N|N|100 CTBI|Community Trust Bancorp, Inc. - Common Stock|Q|N|N|100 CTCM|CTC Media, Inc. - Common Stock|Q|N|N|100 CTCT|Constant Contact, Inc. - Common Stock|Q|N|N|100 CTG|Computer Task Group, Incorporated - Common Stock|Q|N|N|100 CTHR|Charles & Colvard Ltd - Common Stock|Q|N|N|100 CTIB|CTI Industries Corporation - Common Stock|S|N|N|100 CTIC|CTI BioPharma Corp. - Common Stock|S|N|N|100 CTRE|CareTrust REIT, Inc. - Common Stock|Q|N|N|100 CTRL|Control4 Corporation - Common Stock|Q|N|N|100 CTRN|Citi Trends, Inc. - Common Stock|Q|N|N|100 CTRP|Ctrip.com International, Ltd. - American Depositary Shares|Q|N|N|100 CTRV|ContraVir Pharmaceuticals Inc - Common Stock|S|N|N|100 CTRX|Catamaran Corporation - Common Stock|Q|N|N|100 CTSH|Cognizant Technology Solutions Corporation - Class A Common Stock|Q|N|N|100 CTSO|Cytosorbents Corporation - Common Stock|S|N|N|100 CTWS|Connecticut Water Service, Inc. - Common Stock|Q|N|N|100 CTXS|Citrix Systems, Inc. - Common Stock|Q|N|N|100 CU|First Trust ISE Global Copper Index Fund|G|N|N|100 CUBA|The Herzfeld Caribbean Basin Fund, Inc. - Closed End FUnd|S|N|N|100 CUI|CUI Global, Inc. - Common Stock|S|N|N|100 CUNB|CU Bancorp (CA) - Common Stock|S|N|N|100 CUTR|Cutera, Inc. - Common Stock|Q|N|N|100 CVBF|CVB Financial Corporation - Common Stock|Q|N|N|100 CVCO|Cavco Industries, Inc. - Common Stock|Q|N|N|100 CVCY|Central Valley Community Bancorp - Common Stock|S|N|N|100 CVGI|Commercial Vehicle Group, Inc. - Common Stock|Q|N|N|100 CVGW|Calavo Growers, Inc. - Common Stock|Q|N|N|100 CVLT|CommVault Systems, Inc. - Common Stock|Q|N|N|100 CVLY|Codorus Valley Bancorp, Inc - Common Stock|G|N|N|100 CVTI|Covenant Transportation Group, Inc. - Class A Common Stock|Q|N|N|100 CVV|CVD Equipment Corporation - Common Stock|S|N|N|100 CWAY|Coastway Bancorp, Inc. - Common Stock|S|N|N|100 CWBC|Community West Bancshares - Common Stock|G|N|N|100 CWCO|Consolidated Water Co. Ltd. - Ordinary Shares|Q|N|N|100 CWST|Casella Waste Systems, Inc. - Class A Common Stock|Q|N|N|100 CXDC|China XD Plastics Company Limited - Common Stock|G|N|N|100 CY|Cypress Semiconductor Corporation - Common Stock|Q|N|N|100 CYAN|Cyanotech Corporation - Common Stock|S|N|N|100 CYBE|CyberOptics Corporation - Common Stock|G|N|N|100 CYBR|CyberArk Software Ltd. - Ordinary Shares|Q|N|N|100 CYBX|Cyberonics, Inc. - Common Stock|Q|N|N|100 CYCC|Cyclacel Pharmaceuticals, Inc. - Common Stock|G|N|D|100 CYCCP|Cyclacel Pharmaceuticals, Inc. - 6% Convertible Preferred Stock|S|N|N|100 CYHHZ|Community Health Systems, Inc. - Series A Contingent Value Rights|G|N|N|100 CYNO|Cynosure, Inc. - Class A Common Stock|Q|N|N|100 CYOU|Changyou.com Limited - American Depositary Shares, each representing two Class A ordinary shares|Q|N|N|100 CYRN|CYREN Ltd. - Ordinary Shares|S|N|N|100 CYTK|Cytokinetics, Incorporated - Common Stock|S|N|N|100 CYTR|CytRx Corporation - Common Stock|S|N|N|100 CYTX|Cytori Therapeutics Inc - Common Stock|G|N|N|100 CZFC|Citizens First Corporation - Common Stock|G|N|N|100 CZNC|Citizens & Northern Corp - Common Stock|S|N|N|100 CZR|Caesars Entertainment Corporation - Common Stock|Q|N|N|100 CZWI|Citizens Community Bancorp, Inc. - Common Stock|G|N|N|100 DAEG|Daegis Inc - Common Stock|S|N|D|100 DAIO|Data I/O Corporation - Common Stock|S|N|N|100 DAKT|Daktronics, Inc. - Common Stock|Q|N|N|100 DARA|DARA Biosciences, Inc. - Common Stock|S|N|D|100 DATE|Jiayuan.com International Ltd. - American Depositary Shares|Q|N|N|100 DAVE|Famous Dave's of America, Inc. - Common Stock|Q|N|D|100 DAX|Recon Capital DAX Germany ETF|G|N|N|100 DBVT|DBV Technologies S.A. - American Depositary Shares|Q|N|N|100 DCIX|Diana Containerships Inc. - Common Shares|Q|N|N|100 DCOM|Dime Community Bancshares, Inc. - Common Stock|Q|N|N|100 DCTH|Delcath Systems, Inc. - Common Stock|S|N|N|100 DENN|Denny's Corporation - Common Stock|S|N|N|100 DEPO|Depomed, Inc. - Common Stock|Q|N|N|100 DERM|Dermira, Inc. - Common Stock|Q|N|N|100 DEST|Destination Maternity Corporation - Common Stock|Q|N|N|100 DFRG|Del Frisco's Restaurant Group, Inc. - Common Stock|Q|N|N|100 DFVL|Barclays PLC - iPath US Treasury 5 Year Bull ETN|G|N|N|100 DFVS|Barclays PLC - iPath US Treasury 5-year Bear ETN|G|N|N|100 DGAS|Delta Natural Gas Company, Inc. - Common Stock|Q|N|N|100 DGICA|Donegal Group, Inc. - Class A Common Stock|Q|N|N|100 DGICB|Donegal Group, Inc. - Class B Common Stock|Q|N|N|100 DGII|Digi International Inc. - Common Stock|Q|N|N|100 DGLD|Credit Suisse AG - VelocityShares 3x Inverse Gold ETN|G|N|N|100 DGLY|Digital Ally, Inc. - Common Stock|S|N|N|100 DGRE|WisdomTree Emerging Markets Dividend Growth Fund|G|N|N|100 DGRS|WisdomTree U.S. SmallCap Dividend Growth Fund|G|N|N|100 DGRW|WisdomTree U.S. Dividend Growth Fund|G|N|N|100 DHIL|Diamond Hill Investment Group, Inc. - Class A Common Stock|Q|N|N|100 DHRM|Dehaier Medical Systems Limited - Common Stock|S|N|N|100 DIOD|Diodes Incorporated - Common Stock|Q|N|N|100 DISCA|Discovery Communications, Inc. - Series A Common Stock|Q|N|N|100 DISCB|Discovery Communications, Inc. - Series B Common Stock|Q|N|N|100 DISCK|Discovery Communications, Inc. - Series C Common Stock|Q|N|N|100 DISH|DISH Network Corporation - Class A Common Stock|Q|N|N|100 DJCO|Daily Journal Corp. (S.C.) - Common Stock|S|N|N|100 DLBL|Barclays PLC - iPath US Treasury Long Bond Bull ETN|G|N|N|100 DLBS|Barclays PLC - iPath US Treasury Long Bond Bear ETN|G|N|N|100 DLHC|DLH Holdings Corp. - Common Stock|S|N|N|100 DLTR|Dollar Tree, Inc. - Common Stock|Q|N|N|100 DMLP|Dorchester Minerals, L.P. - Common Units Representing Limited Partnership Interests|Q|N|N|100 DMND|Diamond Foods, Inc. - Common Stock|Q|N|N|100 DMRC|Digimarc Corporation - Common Stock|Q|N|N|100 DNBF|DNB Financial Corp - Common Stock|S|N|N|100 DNKN|Dunkin' Brands Group, Inc. - Common Stock|Q|N|N|100 DORM|Dorman Products, Inc. - Common Stock|Q|N|N|100 DOVR|Dover Saddlery, Inc. - Common Stock|S|N|N|100 DOX|Amdocs Limited - Ordinary Shares|Q|N|N|100 DPRX|Dipexium Pharmaceuticals, Inc. - Common Stock|S|N|N|100 DRAD|Digirad Corporation - Common Stock|G|N|N|100 DRAM|Dataram Corporation - Common Stock|S|N|D|100 DRNA|Dicerna Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 DRRX|DURECT Corporation - Common Stock|G|N|N|100 DRWI|DragonWave Inc - Common Shares|Q|N|D|100 DRWIW|DragonWave Inc - Warrants|Q|N|N|100 DRYS|DryShips Inc. - Common Stock|Q|N|N|100 DSCI|Derma Sciences, Inc. - Common Stock|S|N|N|100 DSCO|Discovery Laboratories, Inc. - Common Stock|S|N|N|100 DSGX|The Descartes Systems Group Inc. - Common Stock|Q|N|N|100 DSKX|DS Healthcare Group, Inc. - Common Stock|S|N|D|100 DSKY|iDreamSky Technology Limited - American Depositary Shares|Q|N|N|100 DSLV|Credit Suisse AG - VelocityShares 3x Inverse Silver ETN|G|N|N|100 DSPG|DSP Group, Inc. - Common Stock|Q|N|N|100 DSWL|Deswell Industries, Inc. - Common Shares|G|N|N|100 DTLK|Datalink Corporation - Common Stock|Q|N|N|100 DTSI|DTS, Inc. - Common Stock|Q|N|N|100 DTUL|Barclays PLC - iPath US Treasury 2 Yr Bull ETN|G|N|N|100 DTUS|Barclays PLC - iPath US Treasury 2-year Bear ETN|G|N|N|100 DTV|DIRECTV - Common Stock|Q|N|N|100 DTYL|Barclays PLC - iPath US Treasury 10 Year Bull ETN|G|N|N|100 DTYS|Barclays PLC - iPath US Treasury 10-year Bear ETN|G|N|N|100 DVAX|Dynavax Technologies Corporation - Common Stock|S|N|N|100 DVCR|Diversicare Healthcare Services Inc. - Common Stock|S|N|N|100 DWA|Dreamworks Animation SKG, Inc. - Class A Common Stock|Q|N|N|100 DWAT|Arrow DWA Tactical ETF|G|N|N|100 DWCH|Datawatch Corporation - Common Stock|S|N|N|100 DWSN|Dawson Geophysical Company - Common Stock|Q|N|N|100 DXCM|DexCom, Inc. - Common Stock|Q|N|N|100 DXGE|WisdomTree Germany Hedged Equity Fund|G|N|N|100 DXJS|WisdomTree Japan Hedged SmallCap Equity Fund|G|N|N|100 DXKW|WisdomTree Korea Hedged Equity Fund|G|N|N|100 DXLG|Destination XL Group, Inc. - Common Stock|Q|N|N|100 DXM|Dex Media, Inc. - Common Stock|Q|N|N|100 DXPE|DXP Enterprises, Inc. - Common Stock|Q|N|N|100 DXPS|WisdomTree United Kingdom Hedged Equity Fund|G|N|N|100 DXYN|The Dixie Group, Inc. - Common Stock|G|N|N|100 DYAX|Dyax Corp. - Common Stock|G|N|N|100 DYNT|Dynatronics Corporation - Common Stock|S|N|D|100 DYSL|Dynasil Corporation of America - Common Stock|S|N|N|100 EA|Electronic Arts Inc. - Common Stock|Q|N|N|100 EAC|Erickson Incorporated - Common Stock|G|N|D|100 EARS|Auris Medical Holding AG - Common Shares|G|N|N|100 EBAY|eBay Inc. - Common Stock|Q|N|N|100 EBIO|Eleven Biotherapeutics, Inc. - Common Stock|G|N|N|100 EBIX|Ebix, Inc. - Common Stock|Q|N|N|100 EBMT|Eagle Bancorp Montana, Inc. - Common Stock|G|N|N|100 EBSB|Meridian Bancorp, Inc. - Common Stock|Q|N|N|100 EBTC|Enterprise Bancorp Inc - Common Stock|Q|N|N|100 ECHO|Echo Global Logistics, Inc. - Common Stock|Q|N|N|100 ECOL|US Ecology, Inc. - Common Stock|Q|N|N|100 ECPG|Encore Capital Group Inc - Common Stock|Q|N|N|100 ECTE|Echo Therapeutics, Inc. - Common Stock|S|N|D|100 ECYT|Endocyte, Inc. - Common Stock|Q|N|N|100 EDAP|EDAP TMS S.A. - American Depositary Shares, each representing One Ordinary Share|G|N|N|100 EDGW|Edgewater Technology, Inc. - Common Stock|G|N|N|100 EDS|Exceed Company Ltd. - Common Stock|Q|N|N|100 EDUC|Educational Development Corporation - Common Stock|G|N|N|100 EEFT|Euronet Worldwide, Inc. - Common Stock|Q|N|N|100 EEI|Ecology and Environment, Inc. - Class A Common Stock|G|N|N|100 EEMA|iShares MSCI Emerging Markets Asia Index Fund|G|N|N|100 EEME|iShares MSCI Emerging Markets EMEA Index Fund|G|N|N|100 EEML|iShares MSCI Emerging Markets Latin America Index Fund|G|N|N|100 EFII|Electronics for Imaging, Inc. - Common Stock|Q|N|N|100 EFOI|Energy Focus, Inc. - Common Stock|S|N|N|100 EFSC|Enterprise Financial Services Corporation - Common Stock|Q|N|N|100 EFUT|eFuture Information Technology Inc. - Ordinary Shares|S|N|N|100 EGAN|eGain Corporation - Common Stock|S|N|N|100 EGBN|Eagle Bancorp, Inc. - Common Stock|S|N|N|100 EGHT|8x8 Inc - Common Stock|Q|N|N|100 EGLE|Eagle Bulk Shipping Inc. - Common Stock|Q|N|N|100 EGLT|Egalet Corporation - Common Stock|G|N|N|100 EGOV|NIC Inc. - Common Stock|Q|N|N|100 EGRW|iShares MSCI Emerging Markets Growth Index Fund|G|N|N|100 EGRX|Eagle Pharmaceuticals, Inc. - Common Stock|G|N|N|100 EGT|Entertainment Gaming Asia Incorporated - Common Stock|S|N|N|100 EHTH|eHealth, Inc. - Common Stock|Q|N|N|100 EIGI|Endurance International Group Holdings, Inc. - Common Stock|Q|N|N|100 ELGX|Endologix, Inc. - Common Stock|Q|N|N|100 ELNK|EarthLink Holdings Corp. - Common Stock|Q|N|N|100 ELON|Echelon Corporation - Common Stock|Q|N|N|100 ELOS|Syneron Medical Ltd. - Ordinary Shares|Q|N|N|100 ELRC|Electro Rent Corporation - Common Stock|Q|N|N|100 ELSE|Electro-Sensors, Inc. - Common Stock|S|N|N|100 ELTK|Eltek Ltd. - Ordinary Shares|S|N|N|100 EMCB|WisdomTree Emerging Markets Corporate Bond Fund|G|N|N|100 EMCF|Emclaire Financial Corp - Common Stock|S|N|N|100 EMCG|WisdomTree Emerging Markets Consumer Growth Fund|G|N|N|100 EMCI|EMC Insurance Group Inc. - Common Stock|Q|N|N|100 EMDI|iShares MSCI Emerging Markets Consumer Discrectionary Sector Index Fund|G|N|N|100 EMEY|iShares MSCI Emerging Markets Energy Sector Capped Index Fund|G|N|N|100 EMIF|iShares S&P Emerging Markets Infrastructure Index Fund|G|N|N|100 EMITF|Elbit Imaging Ltd. - Ordinary Shares|Q|N|N|100 EMKR|EMCORE Corporation - Common Stock|G|N|N|100 EML|Eastern Company (The) - Common Stock|G|N|N|100 EMMS|Emmis Communications Corporation - Class A Common Stock|Q|N|N|100 EMMSP|Emmis Communications Corporation - 6.25% Series A Cumulative Convertible Preferred Stock|Q|N|N|100 ENDP|Endo International plc - Ordinary Shares|Q|N|N|100 ENFC|Entegra Financial Corp. - Common Stock|G|N|N|100 ENG|ENGlobal Corporation - Common Stock|S|N|N|100 ENOC|EnerNOC, Inc. - Common Stock|Q|N|N|100 ENPH|Enphase Energy, Inc. - Common Stock|G|N|N|100 ENSG|The Ensign Group, Inc. - Common Stock|Q|N|N|100 ENT|Global Eagle Entertainment Inc. - Common Stock|S|N|N|100 ENTA|Enanta Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 ENTG|Entegris, Inc. - Common Stock|Q|N|N|100 ENTL|Entellus Medical, Inc. - Common Stock|G|N|N|100 ENTR|Entropic Communications, Inc. - Common Stock|S|N|N|100 ENVI|Envivio, Inc. - Common Stock|Q|N|N|100 ENZN|Enzon Pharmaceuticals, Inc. - Common Stock|S|N|N|100 ENZY|Enzymotec Ltd. - Ordinary Shares|Q|N|N|100 EPAX|Ambassadors Group, Inc. - Common Stock|Q|N|N|100 EPAY|Bottomline Technologies, Inc. - Common Stock|Q|N|N|100 EPIQ|EPIQ Systems, Inc. - Common Stock|Q|N|N|100 EPRS|EPIRUS Biopharmaceuticals, Inc. - Common Stock|S|N|N|100 EPZM|Epizyme, Inc. - Common Stock|Q|N|N|100 EQIX|Equinix, Inc. - Common Stock|Q|N|N|100 ERI|Eldorado Resorts, Inc. - Common Stock|Q|N|N|100 ERIC|Ericsson - ADS each representing 1 underlying Class B share|Q|N|N|100 ERIE|Erie Indemnity Company - Class A Common Stock|Q|N|N|100 ERII|Energy Recovery, Inc. - Common Stock|Q|N|N|100 EROC|Eagle Rock Energy Partners, L.P. - Common Units Representing Limited Partner Interests|Q|N|N|100 ERS|Empire Resources, Inc. - Common Stock|S|N|N|100 ERW|Janus Equal Risk Weighted Large Cap ETF|G|N|N|100 ESBK|Elmira Savings Bank NY (The) - Common Stock|S|N|N|100 ESCA|Escalade, Incorporated - Common Stock|G|N|N|100 ESCR|Escalera Resources Co. - Common Stock|Q|N|D|100 ESCRP|Escalera Resources Co. - Series A Cumulative Preferred Stock|Q|N|N|100 ESEA|Euroseas Ltd. - Common Stock|Q|N|D|100 ESGR|Enstar Group Limited - Ordinary Shares|Q|N|N|100 ESIO|Electro Scientific Industries, Inc. - Common Stock|Q|N|N|100 ESLT|Elbit Systems Ltd. - Ordinary Shares|Q|N|N|100 ESMC|Escalon Medical Corp. - Common Stock|S|N|N|100 ESPR|Esperion Therapeutics, Inc. - Common Stock|G|N|N|100 ESRX|Express Scripts Holding Company - Common Stock|Q|N|N|100 ESSA|ESSA Bancorp, Inc. - common stock|Q|N|N|100 ESSX|Essex Rental Corporation - Common Stock|S|N|N|100 ESXB|Community Bankers Trust Corporation. - Common Stock|S|N|N|100 ETFC|E*TRADE Financial Corporation - Common Stock|Q|N|N|100 ETRM|EnteroMedics Inc. - Common Stock|S|N|N|100 EUFN|iShares MSCI Europe Financials Sector Index Fund|G|N|N|100 EVAL|iShares MSCI Emerging Markets Value Index Fund|G|N|N|100 EVAR|Lombard Medical, Inc. - Ordinary Shares|G|N|N|100 EVBS|Eastern Virginia Bankshares, Inc. - Common Stock|Q|N|N|100 EVEP|EV Energy Partners, L.P. - common units representing limited partnership interest|Q|N|N|100 EVK|Ever-Glory International Group, Inc. - Common Stock|G|N|N|100 EVLV|EVINE Live Inc. - Common Stock|Q|N|N|100 EVOK|Evoke Pharma, Inc. - Common Stock|S|N|N|100 EVOL|Evolving Systems, Inc. - Common Stock|S|N|N|100 EVRY|EveryWare Global, Inc. - Common Stock|G|N|D|100 EWBC|East West Bancorp, Inc. - Common Stock|Q|N|N|100 EXA|Exa Corporation - Common Stock|G|N|N|100 EXAC|Exactech, Inc. - Common Stock|Q|N|N|100 EXAS|Exact Sciences Corporation - Common Stock|S|N|N|100 EXEL|Exelixis, Inc. - Common Stock|Q|N|N|100 EXFO|EXFO Inc - Subordinate Voting Shares|Q|N|N|100 EXLP|Exterran Partners, L.P. - Common Units representing Limited Partner Interests|Q|N|N|100 EXLS|ExlService Holdings, Inc. - Common Stock|Q|N|N|100 EXPD|Expeditors International of Washington, Inc. - Common Stock|Q|N|N|100 EXPE|Expedia, Inc. - Common Stock|Q|N|N|100 EXPO|Exponent, Inc. - Common Stock|Q|N|N|100 EXTR|Extreme Networks, Inc. - Common Stock|Q|N|N|100 EXXI|Energy XXI Ltd. - Common Stock|Q|N|N|100 EYES|Second Sight Medical Products, Inc. - Common Stock|S|N|N|100 EZCH|EZchip Semiconductor Limited - Ordinary Shares|Q|N|N|100 EZPW|EZCORP, Inc. - Class A Non-Voting Common Stock|Q|N|N|100 FALC|FalconStor Software, Inc. - Common Stock|G|N|N|100 FANG|Diamondback Energy, Inc. - Commmon Stock|Q|N|N|100 FARM|Farmer Brothers Company - Common Stock|Q|N|N|100 FARO|FARO Technologies, Inc. - Common Stock|Q|N|N|100 FAST|Fastenal Company - Common Stock|Q|N|N|100 FATE|Fate Therapeutics, Inc. - Common Stock|G|N|N|100 FB|Facebook, Inc. - Class A Common Stock|Q|N|N|100 FBIZ|First Business Financial Services, Inc. - Common Stock|Q|N|N|100 FBMS|The First Bancshares, Inc. - Common Stock|G|N|N|100 FBNC|First Bancorp - Common Stock|Q|N|N|100 FBNK|First Connecticut Bancorp, Inc. - Common Stock|Q|N|N|100 FBRC|FBR & Co - Common Stock|Q|N|N|100 FBSS|Fauquier Bankshares, Inc. - Common Stock|S|N|N|100 FCAP|First Capital, Inc. - Common Stock|S|N|N|100 FCBC|First Community Bancshares, Inc. - Common Stock|Q|N|N|100 FCCO|First Community Corporation - Common Stock|S|N|N|100 FCCY|1st Constitution Bancorp (NJ) - Common Stock|G|N|N|100 FCEL|FuelCell Energy, Inc. - Common Stock|G|N|N|100 FCFS|First Cash Financial Services, Inc. - Common Stock|Q|N|N|100 FCHI|iShares FTSE China (HK Listed) Index Fund|G|N|N|100 FCLF|First Clover Leaf Financial Corp. - Common Stock|S|N|N|100 FCNCA|First Citizens BancShares, Inc. - Class A Common Stock|Q|N|N|100 FCS|Fairchild Semiconductor International, Inc. - Common Stock|Q|N|N|100 FCSC|Fibrocell Science Inc - Common Stock|S|N|N|100 FCTY|1st Century Bancshares, Inc - Common Stock|S|N|N|100 FCVA|First Capital Bancorp, Inc. (VA) - Common Stock|S|N|N|100 FCZA|First Citizens Banc Corp. - Common Stock|S|N|N|100 FCZAP|First Citizens Banc Corp. - Depositary Shares Each Representing a 1/40th Interest in a 6.50% Noncumulative Redeemable Convertible Perpetual Preferred Share, Series B|S|N|N|100 FDEF|First Defiance Financial Corp. - Common Stock|Q|N|N|100 FDIV|First Trust Strategic Income ETF|G|N|N|100 FDML|Federal-Mogul Holdings Corporation - Class A Common Stock|Q|N|N|100 FDUS|Fidus Investment Corporation - Common Stock|Q|N|N|100 FEIC|FEI Company - Common Stock|Q|N|N|100 FEIM|Frequency Electronics, Inc. - Common Stock|G|N|N|100 FELE|Franklin Electric Co., Inc. - Common Stock|Q|N|N|100 FEMB|First Trust Emerging Markets Local Currency Bond ETF|G|N|N|100 FES|Forbes Energy Services Ltd - Ordinary shares (Bermuda)|G|N|N|100 FEUZ|First Trust Eurozone AlphaDEX ETF|G|N|N|100 FEYE|FireEye, Inc. - Common Stock|Q|N|N|100 FFBC|First Financial Bancorp. - Common Stock|Q|N|N|100 FFBCW|First Financial Bancorp. - Warrant 12/23/2018|Q|N|N|100 FFHL|Fuwei Films (Holdings) Co., Ltd. - ORDINARY SHARES|G|N|D|100 FFIC|Flushing Financial Corporation - Common Stock|Q|N|N|100 FFIN|First Financial Bankshares, Inc. - Common Stock|Q|N|N|100 FFIV|F5 Networks, Inc. - Common Stock|Q|N|N|100 FFKT|Farmers Capital Bank Corporation - Common Stock|Q|N|N|100 FFNM|First Federal of Northern Michigan Bancorp, Inc. - Common Stock|S|N|N|100 FFNW|First Financial Northwest, Inc. - Common Stock|Q|N|N|100 FFWM|First Foundation Inc. - Common Stock|G|N|N|100 FGEN|FibroGen, Inc - Common Stock|Q|N|N|100 FHCO|Female Health Company (The) - Common Stock|S|N|N|100 FIBK|First Interstate BancSystem, Inc. - Class A Common Stock|Q|N|N|100 FINL|The Finish Line, Inc. - Class A Common Stock|Q|N|N|100 FISH|Marlin Midstream Partners, LP - Common Units representing Limited Partner Interests.|G|N|N|100 FISI|Financial Institutions, Inc. - Common Stock|Q|N|N|100 FISV|Fiserv, Inc. - Common Stock|Q|N|N|100 FITB|Fifth Third Bancorp - Common Stock|Q|N|N|100 FITBI|Fifth Third Bancorp - Depositary Share repstg 1/1000th Ownership Interest Perp Pfd Series I|Q|N|N|100 FIVE|Five Below, Inc. - Common Stock|Q|N|N|100 FIVN|Five9, Inc. - Common Stock|G|N|N|100 FIZZ|National Beverage Corp. - Common Stock|Q|N|N|100 FLAT|Barclays PLC - iPath US Treasury Flattener ETN|G|N|N|100 FLDM|Fluidigm Corporation - Common Stock|Q|N|N|100 FLEX|Flextronics International Ltd. - Ordinary Shares|Q|N|N|100 FLIC|The First of Long Island Corporation - Common Stock|S|N|N|100 FLIR|FLIR Systems, Inc. - Common Stock|Q|N|N|100 FLKS|Flex Pharma, Inc. - Common Stock|G|N|N|100 FLL|Full House Resorts, Inc. - Common Stock|S|N|N|100 FLML|Flamel Technologies S.A. - American Depositary Shares each representing one Ordinary Share|G|N|N|100 FLWS|1-800 FLOWERS.COM, Inc. - Class A Common Stock|Q|N|N|100 FLXN|Flexion Therapeutics, Inc. - Common Stock|G|N|N|100 FLXS|Flexsteel Industries, Inc. - Common Stock|Q|N|N|100 FMB|First Trust Managed Municipal ETF|G|N|N|100 FMBH|First Mid-Illinois Bancshares, Inc. - Common Stock|G|N|N|100 FMBI|First Midwest Bancorp, Inc. - Common Stock|Q|N|N|100 FMER|FirstMerit Corporation - Common Stock|Q|N|N|100 FMI|Foundation Medicine, Inc. - Common Stock|Q|N|N|100 FMNB|Farmers National Banc Corp. - Common Stock|S|N|N|100 FNBC|First NBC Bank Holding Company - Common Stock|Q|N|N|100 FNFG|First Niagara Financial Group Inc. - Common Stock|Q|N|N|100 FNGN|Financial Engines, Inc. - Common Stock|Q|N|N|100 FNHC|Federated National Holding Company - Common Stock|G|N|N|100 FNJN|Finjan Holdings, Inc. - Common Stock|S|N|N|100 FNLC|First Bancorp, Inc (ME) - Common Stock|Q|N|N|100 FNRG|ForceField Energy Inc. - Common Stock|S|N|N|100 FNSR|Finisar Corporation - Common Stock|Q|N|N|100 FNTCU|FinTech Acquisition Corp. - Units|S|N|N|100 FNWB|First Northwest Bancorp - Common Stock|G|N|N|100 FOLD|Amicus Therapeutics, Inc. - Common Stock|G|N|N|100 FOMX|Foamix Pharmaceuticals Ltd. - Ordinary Shares|G|N|N|100 FONE|First Trust NASDAQ CEA Smartphone Index Fund|G|N|N|100 FONR|Fonar Corporation - Common Stock|S|N|N|100 FORD|Forward Industries, Inc. - Common Stock|S|N|D|100 FORM|FormFactor, Inc. - Common Stock|Q|N|N|100 FORR|Forrester Research, Inc. - Common Stock|Q|N|N|100 FORTY|Formula Systems (1985) Ltd. - ADS represents 1 ordinary shares|Q|N|N|100 FOSL|Fossil Group, Inc. - Common Stock|Q|N|N|100 FOX|Twenty-First Century Fox, Inc. - Class B Common Stock|Q|N|N|100 FOXA|Twenty-First Century Fox, Inc. - Class A Common Stock|Q|N|N|100 FOXF|Fox Factory Holding Corp. - Common Stock|Q|N|N|100 FPRX|Five Prime Therapeutics, Inc. - Common Stock|Q|N|N|100 FPXI|First Trust International IPO ETF|G|N|N|100 FRAN|Francesca's Holdings Corporation - Common Stock|Q|N|N|100 FRBA|First Bank - Common Stock|G|N|N|100 FRBK|Republic First Bancorp, Inc. - Common Stock|G|N|N|100 FRED|Fred's, Inc. - Common Stock|Q|N|N|100 FREE|FreeSeas Inc. - Common Stock|S|N|D|100 FRGI|Fiesta Restaurant Group, Inc. - Common Stock|Q|N|N|100 FRME|First Merchants Corporation - Common Stock|Q|N|N|100 FRP|FairPoint Communications, Inc. - Common Stock|S|N|N|100 FRPH|FRP Holdings, Inc. - Common Stock|Q|N|N|100 FRPT|Freshpet, Inc. - Common Stock|G|N|N|100 FRSH|Papa Murphy's Holdings, Inc. - Common Stock|Q|N|N|100 FSAM|Fifth Street Asset Management Inc. - Class A Common Stock|Q|N|N|100 FSBK|First South Bancorp Inc - Common Stock|Q|N|N|100 FSBW|FS Bancorp, Inc. - Common Stock|S|N|N|100 FSC|Fifth Street Finance Corp. - Common Stock|Q|N|N|100 FSCFL|Fifth Street Finance Corp. - 6.125% senior notes due 2028|Q|N|N|100 FSFG|First Savings Financial Group, Inc. - Common Stock|S|N|N|100 FSFR|Fifth Street Senior Floating Rate Corp. - Common Stock|Q|N|N|100 FSGI|First Security Group, Inc. - Common Stock|S|N|N|100 FSLR|First Solar, Inc. - Common Stock|Q|N|N|100 FSNN|Fusion Telecommunications International, Inc. - Common Stock|S|N|N|100 FSRV|FirstService Corporation - Subordinate Voting Shares|Q|N|N|100 FSTR|L.B. Foster Company - Common Stock|Q|N|N|100 FSYS|Fuel Systems Solutions, Inc. - Common Stock|Q|N|N|100 FTCS|First Trust Capital Strength ETF|G|N|N|100 FTD|FTD Companies, Inc. - Common Stock|Q|N|N|100 FTEK|Fuel Tech, Inc. - Common Stock|Q|N|N|100 FTGC|First Trust Global Tactical Commodity Strategy Fund|G|N|N|100 FTHI|First Trust High Income ETF|G|N|N|100 FTLB|First Trust Low Beta Income ETF|G|N|N|100 FTNT|Fortinet, Inc. - Common Stock|Q|N|N|100 FTR|Frontier Communications Corporation - Common Stock|Q|N|N|100 FTSL|First Trust Senior Loan Fund ETF|G|N|N|100 FTSM|First Trust Enhanced Short Maturity ETF|G|N|N|100 FUEL|Rocket Fuel Inc. - Common Stock|Q|N|N|100 FULL|Full Circle Capital Corporation - Common Stock|G|N|N|100 FULLL|Full Circle Capital Corporation - 8.25% Notes due 2020|G|N|N|100 FULT|Fulton Financial Corporation - Common Stock|Q|N|N|100 FUNC|First United Corporation - Common Stock|Q|N|N|100 FUND|Sprott Focus Trust, Inc. - Closed End Fund|Q|N|N|100 FV|First Trust Dorsey Wright Focus 5 ETF|G|N|N|100 FWM|Fairway Group Holdings Corp. - Class A Common Stock|G|N|N|100 FWP|Forward Pharma A/S - American Depositary Shares|Q|N|N|100 FWRD|Forward Air Corporation - Common Stock|Q|N|N|100 FXCB|Fox Chase Bancorp, Inc. - Common Stock|Q|N|N|100 FXEN|FX Energy, Inc. - Common Stock|Q|N|N|100 FXENP|FX Energy, Inc. - Series B Cumulative Convertible Preferred Stock|Q|N|N|100 GABC|German American Bancorp, Inc. - Common Stock|Q|N|N|100 GAI|Global-Tech Advanced Innovations Inc. - Common Stock|G|N|N|100 GAIA|Gaiam, Inc. - Class A Common Stock|G|N|N|100 GAIN|Gladstone Investment Corporation - Business Development Company|Q|N|N|100 GAINO|Gladstone Investment Corporation - 6.75% Series B Cumulative Term Preferred Stock|Q|N|N|100 GAINP|Gladstone Investment Corporation - 7.125% Series A Term Preferred Stock|Q|N|N|100 GALE|Galena Biopharma, Inc. - Common Stock|S|N|N|100 GALT|Galectin Therapeutics Inc. - Common Stock|S|N|N|100 GALTU|Galectin Therapeutics Inc. - Units|S|N|N|100 GALTW|Galectin Therapeutics Inc. - Warrants|S|N|N|100 GAME|Shanda Games Limited - American Depositary Shares representing 2 Class A Ordinary Shares|Q|N|N|100 GARS|Garrison Capital Inc. - Common Stock|Q|N|N|100 GASS|StealthGas, Inc. - common stock|Q|N|N|100 GBCI|Glacier Bancorp, Inc. - Common Stock|Q|N|N|100 GBDC|Golub Capital BDC, Inc. - Common Stock|Q|N|N|100 GBIM|GlobeImmune, Inc. - Common Stock|S|N|N|100 GBLI|Global Indemnity plc - Class A Common Shares|Q|N|N|100 GBNK|Guaranty Bancorp - Common Stock|Q|N|N|100 GBSN|Great Basin Scientific, Inc. - Common Stock|S|N|N|100 GBSNU|Great Basin Scientific, Inc. - Units|S|N|N|100 GCBC|Greene County Bancorp, Inc. - Common Stock|S|N|N|100 GCVRZ|Sanofi - Contingent Value Right (Expiring 12/31/2020)|G|N|N|100 GDEF|Global Defense & National Security Systems, Inc. - Common Stock|S|N|D|100 GENC|Gencor Industries Inc. - Common Stock|G|N|N|100 GENE|Genetic Technologies Ltd - American Depositary Shares representing 30 ordinary shares|S|N|D|100 GEOS|Geospace Technologies Corporation - Common Stock|Q|N|N|100 GERN|Geron Corporation - Common Stock|Q|N|N|100 GEVA|Synageva BioPharma Corp. - Common Stock|Q|N|N|100 GEVO|Gevo, Inc. - Common Stock|S|N|D|100 GFED|Guaranty Federal Bancshares, Inc. - Common Stock|G|N|N|100 GFN|General Finance Corporation - Common Stock|G|N|N|100 GFNCP|General Finance Corporation - Cumulative Redeemable Perpetual Preferred Series C|G|N|N|100 GFNSL|General Finance Corporation - Senior Notes due 2021|G|N|N|100 GGAC|Garnero Group Acquisition Company - Ordinary Shares|S|N|N|100 GGACR|Garnero Group Acquisition Company - Rights expiring 6/25/2016|S|N|N|100 GGACU|Garnero Group Acquisition Company - Units|S|N|N|100 GGACW|Garnero Group Acquisition Company - Warrant expiring 6/24/2019|S|N|N|100 GGAL|Grupo Financiero Galicia S.A. - American Depositary Shares, Class B Shares underlying|S|N|N|100 GHDX|Genomic Health, Inc. - Common Stock|Q|N|N|100 GIFI|Gulf Island Fabrication, Inc. - Common Stock|Q|N|N|100 GIGA|Giga-tronics Incorporated - Common Stock|S|N|D|100 GIGM|GigaMedia Limited - Ordinary Shares|Q|N|D|100 GIII|G-III Apparel Group, LTD. - Common Stock|Q|N|N|100 GILD|Gilead Sciences, Inc. - Common Stock|Q|N|N|100 GILT|Gilat Satellite Networks Ltd. - Ordinary Shares|Q|N|N|100 GK|G&K Services, Inc. - Class A Common Stock|Q|N|N|100 GKNT|Geeknet, Inc. - Common Stock|G|N|N|100 GLAD|Gladstone Capital Corporation - Business Development Company|Q|N|N|100 GLADO|Gladstone Capital Corporation - Term Preferred Shares, 6.75% Series 2021|Q|N|N|100 GLBS|Globus Maritime Limited - Common Stock|G|N|N|100 GLBZ|Glen Burnie Bancorp - Common Stock|S|N|N|100 GLDC|Golden Enterprises, Inc. - Common Stock|G|N|N|100 GLDD|Great Lakes Dredge & Dock Corporation - Common Stock|Q|N|N|100 GLDI|Credit Suisse AG - Credit Suisse Gold Shares Covered Call Exchange Traded Notes|G|N|N|100 GLMD|Galmed Pharmaceuticals Ltd. - Ordinary Shares|S|N|N|100 GLNG|Golar LNG Limited - Common Shares|Q|N|N|100 GLPI|Gaming and Leisure Properties, Inc. - Common Stock|Q|N|N|100 GLRE|Greenlight Reinsurance, Ltd. - Class A Ordinary Shares|Q|N|N|100 GLRI|Glori Energy Inc - Common Stock|S|N|N|100 GLUU|Glu Mobile Inc. - Common Stock|Q|N|N|100 GLYC|GlycoMimetics, Inc. - Common Stock|G|N|N|100 GMAN|Gordmans Stores, Inc. - Common Stock|Q|N|N|100 GMCR|Keurig Green Mountain, Inc. - Common Stock|Q|N|N|100 GMLP|Golar LNG Partners LP - Common Units Representing Limited Partnership|Q|N|N|100 GNBC|Green Bancorp, Inc. - Common Stock|Q|N|N|100 GNCA|Genocea Biosciences, Inc. - Common Stock|G|N|N|100 GNCMA|General Communication, Inc. - Class A Common Stock|Q|N|N|100 GNMA|iShares Core GNMA Bond ETF|G|N|N|100 GNMK|GenMark Diagnostics, Inc. - Common Stock|G|N|N|100 GNTX|Gentex Corporation - Common Stock|Q|N|N|100 GNVC|GenVec, Inc. - Common Stock|S|N|N|100 GOGL|Golden Ocean Group Limited - Common Stock|Q|N|N|100 GOGO|Gogo Inc. - Common Stock|Q|N|N|100 GOLD|Randgold Resources Limited - American Depositary Shares each represented by one Ordinary Share|Q|N|N|100 GOMO|Sungy Mobile Limited - American Depositary Shares|G|N|N|100 GOOD|Gladstone Commercial Corporation - Real Estate Investment Trust|Q|N|N|100 GOODN|Gladstone Commercial Corporation - 7.125% Series C Cumulative Term Preferred Stock|Q|N|N|100 GOODO|Gladstone Commercial Corporation - 7.50% Series B Cumulative Redeemable Preferred Stock|Q|N|N|100 GOODP|Gladstone Commercial Corporation - 7.75% Series A Cumulative Redeemable Preferred Stock|Q|N|N|100 GOOG|Google Inc. - Class C Capital Stock|Q|N|N|100 GOOGL|Google Inc. - Class A Common Stock|Q|N|N|100 GPIC|Gaming Partners International Corporation - Common Stock|G|N|N|100 GPOR|Gulfport Energy Corporation - Common Stock|Q|N|N|100 GPRE|Green Plains, Inc. - Common Stock|Q|N|N|100 GPRO|GoPro, Inc. - Class A Common Stock|Q|N|N|100 GRBK|Green Brick Partners, Inc. - Common Stock|S|N|N|100 GRFS|Grifols, S.A. - American Depositary Shares|Q|N|N|100 GRID|First Trust NASDAQ Clean Edge Smart Grid Infrastructure Index Fund|G|N|N|100 GRIF|Griffin Land & Nurseries, Inc. - Common Stock|G|N|N|100 GRMN|Garmin Ltd. - Common Stock|Q|N|N|100 GROW|U.S. Global Investors, Inc. - Class A Common Stock|S|N|N|100 GRPN|Groupon, Inc. - Class A Common Stock|Q|N|N|100 GRVY|GRAVITY Co., Ltd. - American depositary shares, each representing one-fourth of a share of common stock|S|N|D|100 GSBC|Great Southern Bancorp, Inc. - Common Stock|Q|N|N|100 GSIG|GSI Group, Inc. - Common Stock|Q|N|N|100 GSIT|GSI Technology, Inc. - Common Stock|Q|N|N|100 GSM|Globe Specialty Metals Inc. - Common Stock|Q|N|N|100 GSOL|Global Sources Ltd. - Common Stock|Q|N|N|100 GSVC|GSV Capital Corp - Common Stock|S|N|N|100 GT|The Goodyear Tire & Rubber Company - Common Stock|Q|N|N|100 GTIM|Good Times Restaurants Inc. - Common Stock|S|N|N|100 GTLS|Chart Industries, Inc. - Common Stock|Q|N|N|100 GTWN|Georgetown Bancorp, Inc. - Common Stock|S|N|N|100 GTXI|GTx, Inc. - Common Stock|S|N|D|100 GUID|Guidance Software, Inc. - Common Stock|G|N|N|100 GULF|WisdomTree Middle East Dividend Fund|G|N|N|100 GULTU|Gulf Coast Ultra Deep Royalty Trust - Royalty Trust Unit|S|N|N|100 GURE|Gulf Resources, Inc. - Common Stock|Q|N|N|100 GWGH|GWG Holdings, Inc - Common Stock|S|N|N|100 GWPH|GW Pharmaceuticals Plc - American Depositary Shares|G|N|N|100 GYRO|Gyrodyne Company of America, Inc. - Common Stock|S|N|N|100 HA|Hawaiian Holdings, Inc. - Common Stock|Q|N|N|100 HABT|The Habit Restaurants, Inc. - Class A Common Stock|G|N|N|100 HAFC|Hanmi Financial Corporation - Common Stock|Q|N|N|100 HAIN|The Hain Celestial Group, Inc. - Common Stock|Q|N|N|100 HALL|Hallmark Financial Services, Inc. - Common Stock|G|N|N|100 HALO|Halozyme Therapeutics, Inc. - Common Stock|Q|N|N|100 HART|Harvard Apparatus Regenerative Technology, Inc. - Common Stock|S|N|N|100 HAS|Hasbro, Inc. - Common Stock|Q|N|N|100 HAWK|Blackhawk Network Holdings, Inc. - Class A Common Stock|Q|N|N|100 HAWKB|Blackhawk Network Holdings, Inc. - Class B Common Stock|Q|N|N|100 HAYN|Haynes International, Inc. - Common Stock|Q|N|N|100 HBAN|Huntington Bancshares Incorporated - Common Stock|Q|N|N|100 HBANP|Huntington Bancshares Incorporated - Non Cumulative Perp Conv Pfd Ser A|Q|N|N|10 HBCP|Home Bancorp, Inc. - Common Stock|Q|N|N|100 HBHC|Hancock Holding Company - Common Stock|Q|N|N|100 HBHCL|Hancock Holding Company - 5.95% Subordinated Notes due 2045|Q|N|N|100 HBIO|Harvard Bioscience, Inc. - Common Stock|G|N|N|100 HBK|Hamilton Bancorp, Inc. - Common Stock|S|N|N|100 HBMD|Howard Bancorp, Inc. - Common Stock|S|N|N|100 HBNC|Horizon Bancorp (IN) - Common Stock|Q|N|N|100 HBNK|Hampden Bancorp, Inc. - common stock|G|N|N|100 HBOS|Heritage Financial Group - Common Stock|Q|N|N|100 HBP|Huttig Building Products, Inc. - Common Stock|S|N|N|100 HCAP|Harvest Capital Credit Corporation - Common Stock|G|N|N|100 HCAPL|Harvest Capital Credit Corporation - 7.00% Notes due 2020|G|N|N|100 HCBK|Hudson City Bancorp, Inc. - Common Stock|Q|N|N|100 HCCI|Heritage-Crystal Clean, Inc. - Common Stock|Q|N|N|100 HCKT|The Hackett Group, Inc. - Common Stock|Q|N|N|100 HCOM|Hawaiian Telcom Holdco, Inc. - Common Stock|Q|N|N|100 HCSG|Healthcare Services Group, Inc. - Common Stock|Q|N|N|100 HDNG|Hardinge, Inc. - Common Stock|Q|N|N|100 HDP|Hortonworks, Inc. - Common Stock|Q|N|N|100 HDRA|Hydra Industries Acquisition Corp. - Common Stock|S|N|N|100 HDRAR|Hydra Industries Acquisition Corp. - Rights|S|N|N|100 HDRAU|Hydra Industries Acquisition Corp. - Units|S|N|N|100 HDRAW|Hydra Industries Acquisition Corp. - Warrants|S|N|N|100 HDS|HD Supply Holdings, Inc. - Common Stock|Q|N|N|100 HDSN|Hudson Technologies, Inc. - Common Stock|S|N|N|100 HEAR|Turtle Beach Corporation - Common Stock|G|N|N|100 HEES|H&E Equipment Services, Inc. - Common Stock|Q|N|N|100 HELE|Helen of Troy Limited - Common Stock|Q|N|N|100 HEOP|Heritage Oaks Bancorp - Common Stock|S|N|N|100 HERO|Hercules Offshore, Inc. - Common Stock|Q|N|D|100 HFBC|HopFed Bancorp, Inc. - Common Stock|G|N|N|100 HFBL|Home Federal Bancorp, Inc. of Louisiana - Common Stock|S|N|N|100 HFFC|HF Financial Corp. - Common Stock|G|N|N|100 HFWA|Heritage Financial Corporation - Common Stock|Q|N|N|100 HGSH|China HGS Real Estate, Inc. - Common Stock|S|N|N|100 HIBB|Hibbett Sports, Inc. - Common Stock|Q|N|N|100 HIFS|Hingham Institution for Savings - Common Stock|G|N|N|100 HIHO|Highway Holdings Limited - Common Stock|S|N|N|100 HIIQ|Health Insurance Innovations, Inc. - Class A Common Stock|G|N|N|100 HILL|Dot Hill Systems Corporation - Common Stock|G|N|N|100 HIMX|Himax Technologies, Inc. - American depositary shares, each of which represents two ordinary shares.|Q|N|N|100 HKTV|Hong Kong Television Network Limited - American Depositary Shares, each representing 20 Ordinary Shares|Q|N|N|100 HLIT|Harmonic Inc. - Common Stock|Q|N|N|100 HLSS|Home Loan Servicing Solutions, Ltd. - Ordinary Shares|Q|N|E|100 HMHC|Houghton Mifflin Harcourt Company - Common Stock|Q|N|N|100 HMIN|Homeinns Hotel Group - American Depositary Shares, each representing two ordinary shares|Q|N|N|100 HMNF|HMN Financial, Inc. - Common Stock|G|N|N|100 HMNY|Helios and Matheson Analytics Inc - Common Stock|S|N|N|100 HMPR|Hampton Roads Bankshares Inc - Common Stock|Q|N|N|100 HMST|HomeStreet, Inc. - Common Stock|Q|N|N|100 HMSY|HMS Holdings Corp - Common Stock|Q|N|N|100 HMTV|Hemisphere Media Group, Inc. - Class A Common Stock|G|N|N|100 HNH|Handy & Harman Ltd. - Common Stock|S|N|N|100 HNNA|Hennessy Advisors, Inc. - Common Stock|S|N|N|100 HNRG|Hallador Energy Company - Common Stock|S|N|N|100 HNSN|Hansen Medical, Inc. - Common Stock|G|N|N|100 HOFT|Hooker Furniture Corporation - Common Stock|Q|N|N|100 HOLI|Hollysys Automation Technologies, Ltd. - Common Stock|Q|N|N|100 HOLX|Hologic, Inc. - Common Stock|Q|N|N|100 HOMB|Home BancShares, Inc. - common stock|Q|N|N|100 HOTR|Chanticleer Holdings, Inc. - Common Stock|S|N|N|100 HOTRW|Chanticleer Holdings, Inc. - Warrants|S|N|N|100 HOVNP|Hovnanian Enterprises Inc - Depositary Share representing 1/1000th of 7.625% Series A Preferred Stock|G|N|N|100 HPJ|Highpower International Inc - Common Stock|G|N|N|100 HPTX|Hyperion Therapeutics, Inc. - Common Stock|Q|N|N|100 HQCL|Hanwha Q CELLS Co., Ltd. - American Depository Shares, each representing five ordinary shares|Q|N|N|100 HQY|HealthEquity, Inc. - Common Stock|Q|N|N|100 HRMNU|Harmony Merger Corp. - Unit|S|N|N|100 HRTX|Heron Therapeutics, Inc. - Common Stock|S|N|N|100 HRZN|Horizon Technology Finance Corporation - Common Stock|Q|N|N|100 HSGX|Histogenics Corporation - Common Stock|G|N|N|100 HSIC|Henry Schein, Inc. - Common Stock|Q|N|N|100 HSII|Heidrick & Struggles International, Inc. - Common Stock|Q|N|N|100 HSKA|Heska Corporation - Common Stock|S|N|N|100 HSNI|HSN, Inc. - Common Stock|Q|N|N|100 HSON|Hudson Global, Inc. - Common Stock|Q|N|N|100 HSTM|HealthStream, Inc. - Common Stock|Q|N|N|100 HTBI|HomeTrust Bancshares, Inc. - Common Stock|Q|N|N|100 HTBK|Heritage Commerce Corp - Common Stock|Q|N|N|100 HTBX|Heat Biologics, Inc. - Common Stock|S|N|N|100 HTCH|Hutchinson Technology Incorporated - Common Stock|Q|N|N|100 HTHT|China Lodging Group, Limited - American Depositary Shares, each representing four Ordinary Shares|Q|N|N|100 HTLD|Heartland Express, Inc. - Common Stock|Q|N|N|100 HTLF|Heartland Financial USA, Inc. - Common Stock|Q|N|N|100 HTWR|Heartware International, Inc. - Common Stock|Q|N|N|100 HUBG|Hub Group, Inc. - Class A Common Stock|Q|N|N|100 HURC|Hurco Companies, Inc. - Common Stock|Q|N|N|100 HURN|Huron Consulting Group Inc. - Common Stock|Q|N|N|100 HWAY|Healthways, Inc. - Common Stock|Q|N|N|100 HWBK|Hawthorn Bancshares, Inc. - Common Stock|Q|N|N|100 HWCC|Houston Wire & Cable Company - Common Stock|Q|N|N|100 HWKN|Hawkins, Inc. - Common Stock|Q|N|N|100 HYGS|Hydrogenics Corporation - Common Shares|G|N|N|100 HYLS|First Trust High Yield Long/Short ETF|G|N|N|100 HYND|WisdomTree BofA Merrill Lynch High Yield Bond Negative Duration Fund|G|N|N|100 HYZD|WisdomTree BofA Merrill Lynch High Yield Bond Zero Duration Fund|G|N|N|100 HZNP|Horizon Pharma plc - common stock|Q|N|N|100 IACI|IAC/InterActiveCorp - Common Stock|Q|N|N|100 IART|Integra LifeSciences Holdings Corporation - Common Stock|Q|N|N|100 IBB|iShares Nasdaq Biotechnology Index Fund|G|N|N|100 IBCP|Independent Bank Corporation - Common Stock|Q|N|N|100 IBKC|IBERIABANK Corporation - Common Stock|Q|N|N|100 IBKR|Interactive Brokers Group, Inc. - Common Stock|Q|N|N|100 IBOC|International Bancshares Corporation - Common Stock|Q|N|N|100 IBTX|Independent Bank Group, Inc - Common Stock|Q|N|N|100 ICAD|icad inc. - Common Stock|S|N|N|100 ICBK|County Bancorp, Inc. - Common Stock|G|N|N|100 ICCC|ImmuCell Corporation - Common Stock|S|N|N|100 ICEL|Cellular Dynamics International, Inc. - Common Stock|G|N|N|100 ICFI|ICF International, Inc. - Common Stock|Q|N|N|100 ICLD|InterCloud Systems, Inc - Common Stock|S|N|N|100 ICLDW|InterCloud Systems, Inc - Warrant|S|N|N|100 ICLN|iShares S&P Global Clean Energy Index Fund|G|N|N|100 ICLR|ICON plc - Ordinary Shares|Q|N|N|100 ICON|Iconix Brand Group, Inc. - Common Stock|Q|N|N|100 ICPT|Intercept Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 ICUI|ICU Medical, Inc. - Common Stock|Q|N|N|100 IDCC|InterDigital, Inc. - Common Stock|Q|N|N|100 IDRA|Idera Pharmaceuticals, Inc. - Common Stock|S|N|N|100 IDSA|Industrial Services of America, Inc. - Common Stock|S|N|N|100 IDSY|I.D. Systems, Inc. - Common Stock|G|N|N|100 IDTI|Integrated Device Technology, Inc. - Common Stock|Q|N|N|100 IDXX|IDEXX Laboratories, Inc. - Common Stock|Q|N|N|100 IEP|Icahn Enterprises L.P. - Depositary units|Q|N|N|100 IESC|Integrated Electrical Services, Inc. - Common Stock|G|N|N|100 IEUS|iShares MSCI Europe Small-Cap ETF|G|N|N|100 IFAS|iShares FTSE EPRA/NAREIT Asia Index Fund|G|N|N|100 IFEU|iShares FTSE EPRA/NAREIT Europe Index Fund|G|N|N|100 IFGL|iShares FTSE EPRA/NAREIT Global Real Estate ex-U.S. Index Fund|G|N|N|100 IFNA|iShares FTSE EPRA/NAREIT North America Index Fund|G|N|N|100 IFON|InfoSonics Corp - Common Stock|S|N|N|100 IFV|First Trust Dorsey Wright International Focus 5 ETF|G|N|N|100 IGLD|Internet Gold Golden Lines Ltd. - Ordinary Shares|Q|N|N|100 IGOV|iShares S&P/Citigroup International Treasury Bond Fund|G|N|N|100 IGTE|IGATE Corporation - Common Stock|Q|N|N|100 III|Information Services Group, Inc. - Common Stock|G|N|N|100 IIIN|Insteel Industries, Inc. - Common Stock|Q|N|N|100 IIJI|Internet Initiative Japan, Inc. - ADS represents common stock|Q|N|N|100 IILG|Interval Leisure Group, Inc. - Common Stock|Q|N|N|100 IIN|IntriCon Corporation - Common Stock|G|N|N|100 IIVI|II-VI Incorporated - Common Stock|Q|N|N|100 IKAN|Ikanos Communications, Inc. - Common Stock|S|N|N|100 IKGH|Iao Kun Group Holding Company Limited - Ordinary Shares (Cayman Islands)|G|N|N|100 IKNX|Ikonics Corporation - Common Stock|S|N|N|100 ILMN|Illumina, Inc. - Common Stock|Q|N|N|100 IMDZ|Immune Design Corp. - Common Stock|G|N|N|100 IMGN|ImmunoGen, Inc. - Common Stock|Q|N|N|100 IMI|Intermolecular, Inc. - Common Stock|Q|N|N|100 IMKTA|Ingles Markets, Incorporated - Class A Common Stock|Q|N|N|100 IMMR|Immersion Corporation - Common Stock|Q|N|N|100 IMMU|Immunomedics, Inc. - Common Stock|G|N|N|100 IMMY|Imprimis Pharmaceuticals, Inc. - Common Stock|S|N|N|100 IMNP|Immune Pharmaceuticals Inc. - Common Stock|S|N|N|100 IMOS|ChipMOS TECHNOLOGIES (Bermuda) LTD. - Common Shares|S|N|N|100 IMRS|Imris Inc - Common Shares|Q|N|N|100 INAP|Internap Corporation - Common Stock|Q|N|N|100 INBK|First Internet Bancorp - Common Stock|S|N|N|100 INCR|INC Research Holdings, Inc. - Class A Common Stock|Q|N|N|100 INCY|Incyte Corporation - Common Stock|Q|N|N|100 INDB|Independent Bank Corp. - Common Stock|Q|N|N|100 INDY|iShares S&P India Nifty 50 Index Fund|G|N|N|100 INFA|Informatica Corporation - Common Stock|Q|N|N|100 INFI|Infinity Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 INFN|Infinera Corporation - Common Stock|Q|N|N|100 INGN|Inogen, Inc - Common Stock|Q|N|N|100 ININ|Interactive Intelligence Group, Inc. - Common Stock|Q|N|N|100 INNL|Innocoll AG - American Depositary Share|G|N|N|100 INO|Inovio Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 INOD|Innodata Inc. - Common Stock|G|N|N|100 INOV|Inovalon Holdings, Inc. - Class A Common Stock|Q|N|N|100 INPH|Interphase Corporation - Common Stock|S|N|N|100 INSM|Insmed, Inc. - Common Stock|Q|N|N|100 INSY|Insys Therapeutics, Inc. - Common Stock|G|N|N|100 INTC|Intel Corporation - Common Stock|Q|N|N|100 INTG|The Intergroup Corporation - Common Stock|S|N|N|100 INTL|INTL FCStone Inc. - Common Stock|Q|N|N|100 INTLL|INTL FCStone Inc. - 8.5% Senior Notes Due 2020|Q|N|N|100 INTU|Intuit Inc. - Common Stock|Q|N|N|100 INTX|Intersections, Inc. - Common Stock|G|N|N|100 INVE|Identiv, Inc. - Common Stock|S|N|N|100 INVT|Inventergy Global, Inc. - Common Stock|S|N|D|100 INWK|InnerWorkings, Inc. - Common Stock|Q|N|N|100 IOSP|Innospec Inc. - Common Stock|Q|N|N|100 IPAR|Inter Parfums, Inc. - Common Stock|Q|N|N|100 IPAS|iPass Inc. - Common Stock|Q|N|N|100 IPCC|Infinity Property and Casualty Corporation - Common Stock|Q|N|N|100 IPCI|Intellipharmaceutics International Inc. - Common Stock|S|N|N|100 IPCM|IPC Healthcare, Inc. - Common Stock|Q|N|N|100 IPDN|Professional Diversity Network, Inc. - Common Stock|S|N|N|100 IPGP|IPG Photonics Corporation - Common Stock|Q|N|N|100 IPHS|Innophos Holdings, Inc. - Common Stock|Q|N|N|100 IPKW|PowerShares International BuyBack Achievers Portfolio|G|N|N|100 IPWR|Ideal Power Inc. - Common Stock|S|N|N|100 IPXL|Impax Laboratories, Inc. - Common Stock|Q|N|N|100 IQNT|Inteliquent, Inc. - Common Stock|Q|N|N|100 IRBT|iRobot Corporation - Common Stock|Q|N|N|100 IRCP|IRSA Propiedades Comerciales S.A. - American Depository Shares, each representing forty shares of Common Stock|Q|N|N|100 IRDM|Iridium Communications Inc - Common Stock|Q|N|N|100 IRDMB|Iridium Communications Inc - 6.75% Series B Cumulative Perpetual Convertible Preferred Stock|Q|N|N|100 IRG|Ignite Restaurant Group, Inc. - Common Stock|Q|N|N|100 IRIX|IRIDEX Corporation - Common Stock|G|N|N|100 IRMD|iRadimed Corporation - Common Stock|S|N|N|100 IROQ|IF Bancorp, Inc. - Common Stock|S|N|N|100 IRWD|Ironwood Pharmaceuticals, Inc. - Class A Common Stock|Q|N|N|100 ISBC|Investors Bancorp, Inc. - Common Stock|Q|N|N|100 ISCA|International Speedway Corporation - Class A Common Stock|Q|N|N|100 ISHG|iShares S&P/Citigroup 1-3 Year International Treasury Bond Fund|G|N|N|100 ISIG|Insignia Systems, Inc. - Common Stock|S|N|N|100 ISIL|Intersil Corporation - Class A Common Stock|Q|N|N|100 ISIS|Isis Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 ISLE|Isle of Capri Casinos, Inc. - Common Stock|Q|N|N|100 ISM|SLM Corporation - Medium Term Notes, Series A, CPI-Linked Notes due January 16, 2018|G|N|N|100 ISNS|Image Sensing Systems, Inc. - Common Stock|S|N|N|100 ISRG|Intuitive Surgical, Inc. - Common Stock|Q|N|N|100 ISRL|Isramco, Inc. - Common Stock|S|N|N|100 ISSC|Innovative Solutions and Support, Inc. - Common Stock|Q|N|N|100 ISSI|Integrated Silicon Solution, Inc. - Common Stock|Q|N|N|100 ISTR|Investar Holding Corporation - Common Stock|G|N|N|100 ITCI|Intra-Cellular Therapies Inc. - Common Stock|Q|N|N|100 ITEK|Inotek Pharmaceuticals Corporation - Common Stock|G|N|N|100 ITIC|Investors Title Company - Common Stock|Q|N|N|100 ITRI|Itron, Inc. - Common Stock|Q|N|N|100 ITRN|Ituran Location and Control Ltd. - Ordinary Shares|Q|N|N|100 IVAC|Intevac, Inc. - Common Stock|Q|N|N|100 IXYS|IXYS Corporation - Common Stock|Q|N|N|100 JACK|Jack In The Box Inc. - Common Stock|Q|N|N|100 JAKK|JAKKS Pacific, Inc. - Common Stock|Q|N|N|100 JASN|Jason Industries, Inc. - Common Stock|S|N|N|100 JASNW|Jason Industries, Inc. - Warrant|S|N|N|100 JASO|JA Solar Holdings, Co., Ltd. - American depositary shares, each representing five ordinary shares|Q|N|N|100 JAXB|Jacksonville Bancorp, Inc. - Common Stock (Voting)|S|N|N|100 JAZZ|Jazz Pharmaceuticals plc - Ordinary Shares|Q|N|N|100 JBHT|J.B. Hunt Transport Services, Inc. - Common Stock|Q|N|N|100 JBLU|JetBlue Airways Corporation - Common Stock|Q|N|N|100 JBSS|John B. Sanfilippo & Son, Inc. - Common Stock|Q|N|N|100 JCOM|j2 Global, Inc. - Common Stock|Q|N|N|100 JCS|Communications Systems, Inc. - Common Stock|G|N|N|100 JCTCF|Jewett-Cameron Trading Company - Common Shares|S|N|N|100 JD|JD.com, Inc. - American Depositary Shares|Q|N|N|100 JDSU|JDS Uniphase Corporation - Common Stock|Q|N|N|100 JGBB|WisdomTree Japan Interest Rate Strategy Fund|G|N|N|100 JIVE|Jive Software, Inc. - Common Stock|Q|N|N|100 JJSF|J & J Snack Foods Corp. - Common Stock|Q|N|N|100 JKHY|Jack Henry & Associates, Inc. - Common Stock|Q|N|E|100 JMBA|Jamba, Inc. - Common Stock|G|N|N|100 JOBS|51job, Inc. - American Depositary Shares, each representing two common shares|Q|N|N|100 JOEZ|Joe's Jeans Inc. - Common Stock|S|N|D|100 JOUT|Johnson Outdoors Inc. - Class A Common Stock|Q|N|N|100 JRJC|China Finance Online Co. Limited - American Depositary Shares representing 5 ordinary shares|Q|N|N|100 JRVR|James River Group Holdings, Ltd. - Common Shares|Q|N|N|100 JSM|SLM Corporation - 6% Senior Notes due December 15, 2043|G|N|N|100 JST|Jinpan International Limited - Common Stock|Q|N|N|100 JTPY|JetPay Corporation - Common Stock|S|N|N|100 JUNO|Juno Therapeutics, Inc. - Common Stock|Q|N|N|100 JVA|Coffee Holding Co., Inc. - Common Stock|S|N|N|100 JXSB|Jacksonville Bancorp Inc. - Common Stock|S|N|N|100 JYNT|The Joint Corp. - Common Stock|S|N|N|100 KALU|Kaiser Aluminum Corporation - Common Stock|Q|N|N|100 KANG|iKang Healthcare Group, Inc. - American Depositary Shares|Q|N|N|100 KBAL|Kimball International, Inc. - Class B Common Stock|Q|N|N|100 KBIO|KaloBios Pharmaceuticals, Inc. - Common Stock|G|N|D|100 KBSF|KBS Fashion Group Limited - Common Stock|S|N|N|100 KCAP|KCAP Financial, Inc. - common stock|Q|N|N|100 KCLI|Kansas City Life Insurance Company - Common Stock|S|N|N|100 KE|Kimball Electronics, Inc. - Common Stock|Q|N|N|100 KELYA|Kelly Services, Inc. - Class A Common Stock|Q|N|N|100 KELYB|Kelly Services, Inc. - Class B Common Stock|Q|N|N|100 KEQU|Kewaunee Scientific Corporation - Common Stock|G|N|N|100 KERX|Keryx Biopharmaceuticals, Inc. - Common Stock|S|N|N|100 KEYW|The KEYW Holding Corporation - Common Stock|Q|N|N|100 KFFB|Kentucky First Federal Bancorp - Common Stock|G|N|N|100 KFRC|Kforce, Inc. - Common Stock|Q|N|N|100 KFX|Kofax Limited - Common Shares|Q|N|N|100 KGJI|Kingold Jewelry Inc. - Common Stock|S|N|N|100 KIN|Kindred Biosciences, Inc. - Common Stock|S|N|N|100 KINS|Kingstone Companies, Inc - Common Stock|S|N|N|100 KIRK|Kirkland's, Inc. - Common Stock|Q|N|N|100 KITE|Kite Pharma, Inc. - Common Stock|Q|N|N|100 KLAC|KLA-Tencor Corporation - Common Stock|Q|N|N|100 KLIC|Kulicke and Soffa Industries, Inc. - Common Stock|Q|N|N|100 KLXI|KLX Inc. - Common Stock|Q|N|N|100 KMDA|Kamada Ltd. - Ordinary Shares|Q|N|N|100 KNDI|Kandi Technologies Group, Inc. - Common Stock|Q|N|N|100 KONA|Kona Grill, Inc. - Common Stock|G|N|N|100 KONE|Kingtone Wirelessinfo Solution Holding Ltd - American Depositary Shares|S|N|N|100 KOOL|Cesca Therapeutics Inc. - Common Stock|S|N|E|100 KOPN|Kopin Corporation - Common Stock|Q|N|N|100 KOSS|Koss Corporation - Common Stock|S|N|N|100 KPTI|Karyopharm Therapeutics Inc. - Common Stock|Q|N|N|100 KRFT|Kraft Foods Group, Inc. - Common Stock|Q|N|N|100 KRNT|Kornit Digital Ltd. - Ordinary Shares|Q|N|N|100 KRNY|Kearny Financial - Common Stock|Q|N|N|100 KTCC|Key Tronic Corporation - Common Stock|G|N|N|100 KTEC|Key Technology, Inc. - Common Stock|G|N|N|100 KTOS|Kratos Defense & Security Solutions, Inc. - Common Stock|Q|N|N|100 KTWO|K2M Group Holdings, Inc. - Common Stock|Q|N|N|100 KUTV|Ku6 Media Co., Ltd. - American Depositary Shares, each representing 100 ordinary shares|G|N|N|100 KVHI|KVH Industries, Inc. - Common Stock|Q|N|N|100 KWEB|KraneShares CSI China Internet ETF|G|N|N|100 KYTH|Kythera Biopharmaceuticals, Inc. - Common Stock|Q|N|N|100 KZ|KongZhong Corporation - American Depositary Shares, each representing 40 ordinary shares|Q|N|N|100 LABC|Louisiana Bancorp, Inc. - Common Stock|G|N|N|100 LABL|Multi-Color Corporation - Common Stock|Q|N|N|100 LACO|Lakes Entertainment, Inc. - Common Stock|G|N|N|100 LAKE|Lakeland Industries, Inc. - Common Stock|G|N|N|100 LALT|PowerShares Actively Managed Exchange-Traded Fund Trust - PowerShares Multi-Strategy Alternative Portfolio|G|N|N|100 LAMR|Lamar Advertising Company - Class A Common Stock|Q|N|N|100 LANC|Lancaster Colony Corporation - Common Stock|Q|N|N|100 LAND|Gladstone Land Corporation - Common Stock|G|N|N|100 LARK|Landmark Bancorp Inc. - Common Stock|G|N|N|100 LAWS|Lawson Products, Inc. - Common Stock|Q|N|N|100 LAYN|Layne Christensen Company - Common Stock|Q|N|N|100 LBAI|Lakeland Bancorp, Inc. - Common Stock|Q|N|N|100 LBIO|Lion Biotechnologies, Inc. - Common Stock|G|N|N|100 LBIX|Leading Brands Inc - Common Shares|S|N|N|100 LBRDA|Liberty Broadband Corporation - Class A Common Stock|Q|N|N|100 LBRDK|Liberty Broadband Corporation - Class C Common Stock|Q|N|N|100 LBTYA|Liberty Global plc - Class A Ordinary Shares|Q|N|N|100 LBTYB|Liberty Global plc - Class B Ordinary Shares|Q|N|N|100 LBTYK|Liberty Global plc - Class C Ordinary Shares|Q|N|N|100 LCNB|LCNB Corporation - Common Stock|S|N|N|100 LCUT|Lifetime Brands, Inc. - Common Stock|Q|N|N|100 LDRH|LDR Holding Corporation - Common Stock|Q|N|N|100 LDRI|PowerShares LadderRite 0-5 Year Corporate Bond Portfolio|G|N|N|100 LE|Lands' End, Inc. - Common Stock|S|N|N|100 LECO|Lincoln Electric Holdings, Inc. - Common Shares|Q|N|N|100 LEDS|SemiLEDS Corporation - Common Stock|Q|N|N|100 LENS|Presbia PLC - Ordinary Shares|G|N|N|100 LEVY|Levy Acquisition Corp. - Common Stock|S|N|N|100 LEVYU|Levy Acquisition Corp. - Unit|S|N|N|100 LEVYW|Levy Acquisition Corp. - Warrants|S|N|N|100 LFUS|Littelfuse, Inc. - Common Stock|Q|N|N|100 LFVN|Lifevantage Corporation - Common Stock|S|N|N|100 LGCY|Legacy Reserves LP - Units Representing Limited Partner Interests|Q|N|N|100 LGCYO|Legacy Reserves LP - 8.00% Series B Fixed-to-Floating Rate Cumulative Redeemable Perpetual Preferred Units|Q|N|N|100 LGCYP|Legacy Reserves LP - 8% Series A Fixed-to-Floating Rate Cumulative Redeemable Perpetual Preferred Units|Q|N|N|100 LGIH|LGI Homes, Inc. - Common Stock|Q|N|N|100 LGND|Ligand Pharmaceuticals Incorporated - Common Stock|G|N|N|100 LHCG|LHC Group - common stock|Q|N|N|100 LIME|Lime Energy Co. - Common Stock|S|N|N|100 LINC|Lincoln Educational Services Corporation - Common Stock|Q|N|N|100 LINE|Linn Energy, LLC - Common Units representing limited liability company interests|Q|N|N|100 LION|Fidelity Southern Corporation - Common Stock|Q|N|N|100 LIOX|Lionbridge Technologies, Inc. - Common Stock|Q|N|N|100 LIQD|Liquid Holdings Group, Inc. - Common Stock|G|N|D|100 LIVE|LiveDeal, Inc. - Common Stock|S|N|N|100 LJPC|La Jolla Pharmaceutical Company - Common Stock|S|N|N|100 LKFN|Lakeland Financial Corporation - Common Stock|Q|N|N|100 LKQ|LKQ Corporation - Common Stock|Q|N|N|100 LLEX|Lilis Energy, Inc. - Common Stock|G|N|N|100 LLNW|Limelight Networks, Inc. - Common Stock|Q|N|N|100 LLTC|Linear Technology Corporation - Common Stock|Q|N|N|100 LMAT|LeMaitre Vascular, Inc. - Common Stock|G|N|N|100 LMBS|First Trust Low Duration Mortgage Opportunities ETF|G|N|N|100 LMCA|Liberty Media Corporation - Series A Common Stock|Q|N|N|100 LMCB|Liberty Media Corporation - Series B Common Stock|Q|N|N|100 LMCK|Liberty Media Corporation - Series C Common Stock|Q|N|N|100 LMIA|LMI Aerospace, Inc. - Common Stock|Q|N|N|100 LMNR|Limoneira Co - Common Stock|Q|N|N|100 LMNS|Lumenis Ltd. - Class B Ordinary Shares|Q|N|N|100 LMNX|Luminex Corporation - Common Stock|Q|N|N|100 LMOS|Lumos Networks Corp. - Common Stock|Q|N|N|100 LMRK|Landmark Infrastructure Partners LP - Common Units|G|N|N|100 LNBB|LNB Bancorp, Inc. - Common Stock|G|N|N|100 LNCE|Snyder's-Lance, Inc. - Common Stock|Q|N|N|100 LNCO|Linn Co, LLC - Common Shares|Q|N|N|100 LNDC|Landec Corporation - Common Stock|Q|N|N|100 LOAN|Manhattan Bridge Capital, Inc - Common Stock|S|N|N|100 LOCM|Local Corporation - Common Stock|S|N|D|100 LOCO|El Pollo Loco Holdings, Inc. - Common Stock|Q|N|N|100 LOGI|Logitech International S.A. - Registered Shares|Q|N|N|100 LOGM|LogMein, Inc. - Common Stock|Q|N|N|100 LOJN|LoJack Corporation - Common Stock|Q|N|N|100 LONG|eLong, Inc. - American Depositary Shares representing 2 Ordinary Shares|Q|N|N|100 LOOK|LookSmart, Ltd. - Common Stock|S|N|D|100 LOPE|Grand Canyon Education, Inc. - Common Stock|Q|N|N|100 LORL|Loral Space and Communications, Inc. - Common Stock|Q|N|N|100 LOXO|Loxo Oncology, Inc. - Common Stock|G|N|N|100 LPCN|Lipocine Inc. - Common Stock|S|N|N|100 LPLA|LPL Financial Holdings Inc. - Common Stock|Q|N|N|100 LPNT|LifePoint Hospitals, Inc. - Common Stock|Q|N|N|100 LPSB|LaPorte Bancorp, Inc. - Common Stock|S|N|N|100 LPSN|LivePerson, Inc. - Common Stock|Q|N|N|100 LPTH|LightPath Technologies, Inc. - Class A Common Stock|S|N|N|100 LPTN|Lpath, Inc. - Class A Common Stock|S|N|N|100 LQDT|Liquidity Services, Inc. - Common Stock|Q|N|N|100 LRAD|LRAD Corporation - Common Stock|S|N|N|100 LRCX|Lam Research Corporation - Common Stock|Q|N|N|100 LSBK|Lake Shore Bancorp, Inc. - Common Stock|G|N|N|100 LSCC|Lattice Semiconductor Corporation - Common Stock|Q|N|N|100 LSTR|Landstar System, Inc. - Common Stock|Q|N|N|100 LTBR|Lightbridge Corporation - Common Stock|S|N|D|100 LTRE|Learning Tree International, Inc. - Common Stock|G|N|N|100 LTRPA|Liberty TripAdvisor Holdings, Inc. - Series A Common Stock|Q|N|N|100 LTRPB|Liberty TripAdvisor Holdings, Inc. - Series B Common Stock|Q|N|N|100 LTRX|Lantronix, Inc. - Common Stock|S|N|N|100 LTXB|LegacyTexas Financial Group, Inc. - Common Stock|Q|N|N|100 LULU|lululemon athletica inc. - Common Stock|Q|N|N|100 LUNA|Luna Innovations Incorporated - Common Stock|S|N|N|100 LVNTA|Liberty Interactive Corporation - Series A Liberty Ventures Common Stock|Q|N|N|100 LVNTB|Liberty Interactive Corporation - Series B Liberty Ventures Common Stock|Q|N|N|100 LWAY|Lifeway Foods, Inc. - Common Stock|G|N|N|100 LXRX|Lexicon Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 LYTS|LSI Industries Inc. - Common Stock|Q|N|N|100 MACK|Merrimack Pharmaceuticals, Inc. - Common Stock|G|N|N|100 MAG|Magnetek, Inc. - Common Stock|G|N|N|100 MAGS|Magal Security Systems Ltd. - Ordinary Shares|G|N|N|100 MAMS|MAM Software Group, Inc. - Common Stock|S|N|N|100 MANH|Manhattan Associates, Inc. - Common Stock|Q|N|N|100 MANT|ManTech International Corporation - Class A Common Stock|Q|N|N|100 MAR|Marriott International - Class A Common Stock|Q|N|N|100 MARA|Marathon Patent Group, Inc. - Common Stock|S|N|N|100 MARK|Remark Media, Inc. - Common Stock|S|N|N|100 MARPS|Marine Petroleum Trust - Units of Beneficial Interest|S|N|N|100 MASI|Masimo Corporation - Common Stock|Q|N|N|100 MAT|Mattel, Inc. - Common Stock|Q|N|N|100 MATR|Mattersight Corporation - Common Stock|G|N|N|100 MATW|Matthews International Corporation - Class A Common Stock|Q|N|N|100 MAYS|J. W. Mays, Inc. - Common Stock|S|N|N|100 MBCN|Middlefield Banc Corp. - Common Stock|S|N|N|100 MBFI|MB Financial Inc. - Common Stock|Q|N|N|100 MBFIP|MB Financial Inc. - Perpetual Non-Cumulative Preferred Stock, Series A|Q|N|N|100 MBII|Marrone Bio Innovations, Inc. - Common Stock|G|N|E|100 MBLX|Metabolix, Inc. - Common Stock|S|N|D|100 MBRG|Middleburg Financial Corporation - Common Stock|S|N|N|100 MBSD|FlexShares Disciplined Duration MBS Index Fund|G|N|N|100 MBTF|M B T Financial Corp - Common Stock|Q|N|N|100 MBUU|Malibu Boats, Inc. - Common Stock|G|N|N|100 MBVT|Merchants Bancshares, Inc. - Common Stock|Q|N|N|100 MBWM|Mercantile Bank Corporation - Common Stock|Q|N|N|100 MCBC|Macatawa Bank Corporation - Common Stock|Q|N|N|100 MCBK|Madison County Financial, Inc. - Common Stock|S|N|N|100 MCEP|Mid-Con Energy Partners, LP - Common Units|Q|N|N|100 MCGC|MCG Capital Corporation - Closed End Fund|Q|N|N|100 MCHP|Microchip Technology Incorporated - Common Stock|Q|N|N|100 MCHX|Marchex, Inc. - Class B Common Stock|Q|N|N|100 MCOX|Mecox Lane Limited - American Depositary Shares|Q|N|N|100 MCRI|Monarch Casino & Resort, Inc. - Common Stock|Q|N|N|100 MCRL|Micrel, Incorporated - Common Stock|Q|N|N|100 MCUR|Macrocure Ltd. - Ordinary Shares|G|N|N|100 MDAS|MedAssets, Inc. - Common Stock|Q|N|N|100 MDCA|MDC Partners Inc. - Class A Subordinate Voting Shares|Q|N|N|100 MDCO|The Medicines Company - Common Stock|Q|N|N|100 MDIV|First Trust Exchange-Traded Fund VI Multi-Asset Diversified Income Index Fund|G|N|N|100 MDLZ|Mondelez International, Inc. - Class A Common Stock|Q|N|N|100 MDM|Mountain Province Diamonds Inc. - Common Stock|Q|N|N|100 MDRX|Allscripts Healthcare Solutions, Inc. - common stock|Q|N|N|100 MDSO|Medidata Solutions, Inc. - Common Stock|Q|N|N|100 MDSY|ModSys International Ltd. - Ordinary Shares|G|N|N|100 MDVN|Medivation, Inc. - Common Stock|Q|N|N|100 MDVX|Medovex Corp. - Common Stock|S|N|N|100 MDVXW|Medovex Corp. - Class A Warrant|S|N|N|100 MDWD|MediWound Ltd. - Ordinary Shares|G|N|N|100 MDXG|MiMedx Group, Inc - Common Stock|S|N|N|100 MEET|MeetMe, Inc. - Common Stock|S|N|N|100 MEIL|Methes Energies International Ltd - Common Stock|S|N|N|100 MEILW|Methes Energies International Ltd - Class A Warrants|S|N|N|100 MEILZ|Methes Energies International Ltd - Class B Warrants|S|N|N|100 MEIP|MEI Pharma, Inc. - Common Stock|S|N|N|100 MELA|MELA Sciences, Inc - Common Stock|S|N|N|100 MELI|MercadoLibre, Inc. - Common Stock|Q|N|N|100 MELR|Melrose Bancorp, Inc. - Common Stock|S|N|N|100 MEMP|Memorial Production Partners LP - Common Units|Q|N|N|100 MENT|Mentor Graphics Corporation - Common Stock|Q|N|N|100 MEOH|Methanex Corporation - Common Stock|Q|N|N|100 MERC|Mercer International Inc. - Common Stock|Q|N|N|100 MERU|Meru Networks, Inc. - Common Stock|G|N|N|100 METR|Metro Bancorp, Inc - Common Stock|Q|N|N|100 MFLX|Multi-Fineline Electronix, Inc. - Common Stock|Q|N|N|100 MFNC|Mackinac Financial Corporation - Common Stock|S|N|N|100 MFRI|MFRI, Inc. - Common Stock|G|N|N|100 MFRM|Mattress Firm Holding Corp. - Common Stock|Q|N|N|100 MFSF|MutualFirst Financial Inc. - Common Stock|G|N|N|100 MGCD|MGC Diagnostics Corporation - Common Stock|S|N|N|100 MGEE|MGE Energy Inc. - Common Stock|Q|N|N|100 MGI|Moneygram International, Inc. - Common Stock|Q|N|N|100 MGIC|Magic Software Enterprises Ltd. - Ordinary Shares|Q|N|N|100 MGLN|Magellan Health, Inc. - Common Stock|Q|N|N|100 MGNX|MacroGenics, Inc. - Common Stock|Q|N|N|100 MGPI|MGP Ingredients, Inc. - Common Stock|Q|N|N|100 MGRC|McGrath RentCorp - Common Stock|Q|N|N|100 MGYR|Magyar Bancorp, Inc. - Common Stock|G|N|N|100 MHGC|Morgans Hotel Group Co. - Common Stock|G|N|N|100 MHLD|Maiden Holdings, Ltd. - Common Stock|Q|N|N|100 MHLDO|Maiden Holdings, Ltd. - 7.25% Mandatory Convertible Preference Shares, Series B|Q|N|N|100 MICT|Micronet Enertec Technologies, Inc. - Common Stock|S|N|N|100 MICTW|Micronet Enertec Technologies, Inc. - Warrant|S|N|N|100 MIDD|The Middleby Corporation - Common Stock|Q|N|N|100 MIFI|Novatel Wireless, Inc. - Common Stock|Q|N|N|100 MIK|The Michaels Companies, Inc. - Common Stock|Q|N|N|100 MIND|Mitcham Industries, Inc. - Common Stock|Q|N|N|100 MINI|Mobile Mini, Inc. - Common Stock|Q|N|N|100 MITK|Mitek Systems, Inc. - Common Stock|S|N|N|100 MITL|Mitel Networks Corporation - Common Shares|Q|N|N|100 MKSI|MKS Instruments, Inc. - Common Stock|Q|N|N|100 MKTO|Marketo, Inc. - Common Stock|Q|N|N|100 MKTX|MarketAxess Holdings, Inc. - Common Stock|Q|N|N|100 MLAB|Mesa Laboratories, Inc. - Common Stock|Q|N|N|100 MLHR|Herman Miller, Inc. - Common Stock|Q|N|N|100 MLNK|ModusLink Global Solutions, Inc - Common Stock|Q|N|N|100 MLNX|Mellanox Technologies, Ltd. - Ordinary Shares|Q|N|N|100 MLVF|Malvern Bancorp, Inc. - Common Stock|G|N|N|100 MMAC|MMA Capital Management, LLC - Common Stock|S|N|N|100 MMLP|Martin Midstream Partners L.P. - Common Units Representing Limited Partnership Interests|Q|N|N|100 MMSI|Merit Medical Systems, Inc. - Common Stock|Q|N|N|100 MMYT|MakeMyTrip Limited - Ordinary Shares|Q|N|N|100 MNDO|MIND C.T.I. Ltd. - Ordinary Shares|G|N|N|100 MNGA|MagneGas Corporation - Common Stcok|S|N|D|100 MNKD|MannKind Corporation - Common Stock|G|N|N|100 MNOV|MediciNova, Inc. - Common Stock|G|N|N|100 MNRK|Monarch Financial Holdings, Inc. - Common Stock|S|N|N|100 MNRO|Monro Muffler Brake, Inc. - Common Stock|Q|N|N|100 MNST|Monster Beverage Corporation - Common Stock|Q|N|N|100 MNTA|Momenta Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 MNTX|Manitex International, Inc. - common stock|S|N|N|100 MOBI|Sky-mobi Limited - American Depositary Shares|G|N|N|100 MOBL|MobileIron, Inc. - Common Stock|Q|N|N|100 MOCO|MOCON, Inc. - Common Stock|G|N|N|100 MOFG|MidWestOne Financial Group, Inc. - Common Stock|Q|N|N|100 MOKO|MOKO Social Media Ltd. - American Depositary Shares|G|N|N|100 MOLG|MOL Global, Inc. - American Depositary Shares|Q|N|N|100 MOMO|Momo Inc. - American Depositary Shares|Q|N|N|100 MORN|Morningstar, Inc. - Common Stock|Q|N|N|100 MOSY|MoSys, Inc. - Common Stock|Q|N|N|100 MPAA|Motorcar Parts of America, Inc. - Common Stock|Q|N|N|100 MPB|Mid Penn Bancorp - Common Stock|G|N|N|100 MPEL|Melco Crown Entertainment Limited - American depositary shares each representing three ordinary shares|Q|N|N|100 MPET|Magellan Petroleum Corporation - Common Stock|S|N|D|100 MPWR|Monolithic Power Systems, Inc. - Common Stock|Q|N|N|100 MRCC|Monroe Capital Corporation - Common Stock|Q|N|N|100 MRCY|Mercury Systems Inc - Common Stock|Q|N|N|100 MRD|Memorial Resource Development Corp. - Common Stock|Q|N|N|100 MRGE|Merge Healthcare Incorporated. - Common Stock|Q|N|N|100 MRKT|Markit Ltd. - Common Shares|Q|N|N|100 MRLN|Marlin Business Services Corp. - Common Stock|Q|N|N|100 MRNS|Marinus Pharmaceuticals, Inc. - Common Stock|G|N|N|100 MRTN|Marten Transport, Ltd. - Common Stock|Q|N|N|100 MRTX|Mirati Therapeutics, Inc. - Common Stock|S|N|N|100 MRVC|MRV Communications, Inc. - Common Stock|S|N|N|100 MRVL|Marvell Technology Group Ltd. - Common Stock|Q|N|N|100 MSBF|MSB Financial Corp. - common stock|G|N|N|100 MSCC|Microsemi Corporation - Common Stock|Q|N|N|100 MSEX|Middlesex Water Company - Common Stock|Q|N|N|100 MSFG|MainSource Financial Group, Inc. - Common Stock|Q|N|N|100 MSFT|Microsoft Corporation - Common Stock|Q|N|N|100 MSG|The Madison Square Garden Company - Class A Common Stock|Q|N|N|100 MSLI|Merus Labs International Inc. - Common Stock|S|N|N|100 MSON|MISONIX, Inc. - Common Stock|G|N|N|100 MSTR|MicroStrategy Incorporated - Class A Common Stock|Q|N|N|100 MTBC|Medical Transcription Billing, Corp. - Common Stock|S|N|N|100 MTEX|Mannatech, Incorporated - Common Stock|Q|N|N|100 MTGE|American Capital Mortgage Investment Corp. - Common Stock|Q|N|N|100 MTGEP|American Capital Mortgage Investment Corp. - 8.125% Series A Cumulative Redeemable Preferred Stock|Q|N|N|100 MTLS|Materialise NV - American Depositary Shares|Q|N|N|100 MTRX|Matrix Service Company - Common Stock|Q|N|N|100 MTSC|MTS Systems Corporation - Common Stock|Q|N|N|100 MTSI|M/A-COM Technology Solutions Holdings, Inc. - Common Stock|Q|N|N|100 MTSL|MER Telemanagement Solutions Ltd. - Ordinary Shares|S|N|N|100 MTSN|Mattson Technology, Inc. - Common Stock|Q|N|N|100 MU|Micron Technology, Inc. - Common Stock|Q|N|N|100 MULT|AdvisorShares Sunrise Global Multi-Strategy ETF|G|N|N|100 MVIS|Microvision, Inc. - Common Stock|G|N|N|100 MXIM|Maxim Integrated Products, Inc. - Common Stock|Q|N|N|100 MXWL|Maxwell Technologies, Inc. - Common Stock|Q|N|N|100 MYGN|Myriad Genetics, Inc. - Common Stock|Q|N|N|100 MYL|Mylan N.V. - Common Stock|Q|N|N|100 MYOS|MYOS Corporation - Common Stock|S|N|N|100 MYRG|MYR Group, Inc. - Common Stock|Q|N|N|100 MZOR|Mazor Robotics Ltd. - American Depositary Shares|G|N|N|100 NAII|Natural Alternatives International, Inc. - Common Stock|G|N|N|100 NAME|Rightside Group, Ltd. - Common Stock|Q|N|N|100 NANO|Nanometrics Incorporated - Common Stock|Q|N|N|100 NATH|Nathan's Famous, Inc. - Common Stock|Q|N|N|100 NATI|National Instruments Corporation - Common Stock|Q|N|N|100 NATL|National Interstate Corporation - Common Stock|Q|N|N|100 NATR|Nature's Sunshine Products, Inc. - Common Stock|S|N|N|100 NAUH|National American University Holdings, Inc. - Common Stock|G|N|N|100 NAVG|The Navigators Group, Inc. - Common Stock|Q|N|N|100 NAVI|Navient Corporation - Common Stock|Q|N|N|100 NBBC|NewBridge Bancorp - Common Stock|Q|N|N|100 NBIX|Neurocrine Biosciences, Inc. - Common Stock|Q|N|N|100 NBN|Northeast Bancorp - Common Stock|G|N|N|100 NBS|Neostem, Inc. - Common Stock|S|N|N|100 NBTB|NBT Bancorp Inc. - Common Stock|Q|N|N|100 NCIT|NCI, Inc. - Class A Common Stock|Q|N|N|100 NCLH|Norwegian Cruise Line Holdings Ltd. - Ordinary Shares|Q|N|N|100 NCMI|National CineMedia, Inc. - Common Stock|Q|N|N|100 NCOM|National Commerce Corporation - Common Stock|Q|N|N|100 NCTY|The9 Limited - American Depository Shares representing one ordinary share|Q|N|N|100 NDAQ|The NASDAQ OMX Group, Inc. - Common Stock|Q|N|N|100 NDLS|Noodles & Company - Common Stock|Q|N|N|100 NDRM|NeuroDerm Ltd. - Ordinary Shares|G|N|N|100 NDSN|Nordson Corporation - Common Stock|Q|N|N|100 NECB|Northeast Community Bancorp, Inc. - Common Stock|G|N|N|100 NEO|NeoGenomics, Inc. - Common Stock|S|N|N|100 NEOG|Neogen Corporation - Common Stock|Q|N|N|100 NEON|Neonode Inc. - Common Stock|S|N|N|100 NEOT|Neothetics, Inc. - Common Stock|G|N|N|100 NEPT|Neptune Technologies & Bioresources Inc - Ordinary Shares|S|N|N|100 NERV|Minerva Neurosciences, Inc - Common Stock|G|N|N|100 NETE|Net Element, Inc. - Common Stock|S|N|N|100 NEWP|Newport Corporation - Common Stock|Q|N|N|100 NEWS|NewStar Financial, Inc. - Common Stock|Q|N|N|100 NEWT|Newtek Business Services Corp. - Common Stock|S|N|N|100 NFBK|Northfield Bancorp, Inc. - Common Stock|Q|N|N|100 NFEC|NF Energy Saving Corporation - Common Stock|S|N|N|100 NFLX|Netflix, Inc. - Common Stock|Q|N|N|100 NGHC|National General Holdings Corp - Common Stock|G|N|N|100 NGHCO|National General Holdings Corp - Depositary Shares|G|N|N|100 NGHCP|National General Holdings Corp - 7.50% Non-Cumulative Preferred Stock, Series A|G|N|N|100 NHLD|National Holdings Corporation - Common Stock|S|N|N|100 NHTB|New Hampshire Thrift Bancshares, Inc. - Common Stock|G|N|N|100 NHTC|Natural Health Trends Corp. - Commn Stock|S|N|N|100 NICE|NICE-Systems Limited - American Depositary Shares each representing one Ordinary Share|Q|N|N|100 NICK|Nicholas Financial, Inc. - Common Stock|Q|N|N|100 NILE|Blue Nile, Inc. - Common Stock|Q|N|N|100 NKSH|National Bankshares, Inc. - Common Stock|S|N|N|100 NKTR|Nektar Therapeutics - Common Stock|Q|N|N|100 NLNK|NewLink Genetics Corporation - Common Stock|G|N|N|100 NLST|Netlist, Inc. - Common Stock|G|N|N|100 NMIH|NMI Holdings Inc - Common Stock|G|N|N|100 NMRX|Numerex Corp. - Class A Common Stock|Q|N|N|100 NNBR|NN, Inc. - Common Stock|Q|N|N|100 NPBC|National Penn Bancshares, Inc. - Common Stock|Q|N|N|100 NRCIA|National Research Corporation - Class A Common Stock|Q|N|N|100 NRCIB|National Research Corporation - Common Stock|Q|N|N|100 NRIM|Northrim BanCorp Inc - Common Stock|Q|N|N|100 NRX|NephroGenex, Inc. - Common Stock|S|N|N|100 NSEC|National Security Group, Inc. - Common Stock|G|N|N|100 NSIT|Insight Enterprises, Inc. - Common Stock|Q|N|N|100 NSPH|Nanosphere, Inc. - Common Stock|S|N|D|100 NSSC|NAPCO Security Technologies, Inc. - Common Stock|Q|N|N|100 NSTG|NanoString Technologies, Inc. - Common Stock|G|N|N|100 NSYS|Nortech Systems Incorporated - Common Stock|S|N|N|100 NTAP|NetApp, Inc. - Common Stock|Q|N|N|100 NTCT|NetScout Systems, Inc. - Common Stock|Q|N|N|100 NTES|NetEase, Inc. - American Depositary Shares, each representing 25 ordinary shares|Q|N|N|100 NTGR|NETGEAR, Inc. - Common Stock|Q|N|N|100 NTIC|Northern Technologies International Corporation - Common Stock|G|N|N|100 NTK|Nortek Inc. - Common Stock|Q|N|N|100 NTLS|NTELOS Holdings Corp. - Common Stock|Q|N|N|100 NTRI|NutriSystem Inc - Common Stock|Q|N|N|100 NTRS|Northern Trust Corporation - Common Stock|Q|N|N|100 NTRSP|Northern Trust Corporation - Depository Shares|Q|N|N|100 NTWK|NetSol Technologies Inc. - Common Stock|S|N|N|100 NUAN|Nuance Communications, Inc. - Common Stock|Q|N|N|100 NURO|NeuroMetrix, Inc. - Common Stock|S|N|N|100 NUTR|Nutraceutical International Corporation - Common Stock|Q|N|N|100 NUVA|NuVasive, Inc. - Common Stock|Q|N|N|100 NVAX|Novavax, Inc. - Common Stock|Q|N|N|100 NVCN|Neovasc Inc. - Common Shares|S|N|N|100 NVDA|NVIDIA Corporation - Common Stock|Q|N|N|100 NVDQ|Novadaq Technologies Inc - Common Shares|G|N|N|100 NVEC|NVE Corporation - Common Stock|S|N|N|100 NVEE|NV5 Holdings, Inc. - Common Stock|S|N|N|100 NVET|Nexvet Biopharma plc - Ordinary Shares|G|N|N|100 NVFY|Nova Lifestyle, Inc - Common Stock|G|N|N|100 NVGN|Novogen Limited - American Depositary Shares each representing twenty five Ordinary Shares|S|N|D|100 NVMI|Nova Measuring Instruments Ltd. - Ordinary Shares|Q|N|N|100 NVSL|Naugatuck Valley Financial Corporation - Common Stock|G|N|N|100 NWBI|Northwest Bancshares, Inc. - Common Stock|Q|N|N|100 NWBO|Northwest Biotherapeutics, Inc. - Common Stock|S|N|N|100 NWBOW|Northwest Biotherapeutics, Inc. - Warrant|S|N|N|100 NWFL|Norwood Financial Corp. - Common Stock|G|N|N|100 NWLI|National Western Life Insurance Company - Class A Common Stock|Q|N|N|100 NWPX|Northwest Pipe Company - Common Stock|Q|N|N|100 NWS|News Corporation - Class B Common Stock|Q|N|N|100 NWSA|News Corporation - Class A Common Stock|Q|N|N|100 NXPI|NXP Semiconductors N.V. - Common Stock|Q|N|N|100 NXST|Nexstar Broadcasting Group, Inc. - Class A Common Stock|Q|N|N|100 NXTD|NXT-ID Inc. - Common Stock|S|N|N|100 NXTDW|NXT-ID Inc. - Warrant|S|N|N|100 NXTM|NxStage Medical, Inc. - Common Stock|Q|N|N|100 NYMT|New York Mortgage Trust, Inc. - Common Stock|Q|N|N|100 NYMTP|New York Mortgage Trust, Inc. - 7.75% Series B Cumulative Redeemable Preferred Stock|S|N|N|100 NYMX|Nymox Pharmaceutical Corporation - Common Stock|S|N|D|100 NYNY|Empire Resorts, Inc. - Common Stock|G|N|N|100 OBAS|Optibase Ltd. - Ordinary Shares|G|N|N|100 OBCI|Ocean Bio-Chem, Inc. - Common Stock|S|N|N|100 OCAT|Ocata Therapeutics, Inc. - Common Stock|G|N|N|100 OCC|Optical Cable Corporation - Common Stock|G|N|N|100 OCFC|OceanFirst Financial Corp. - Common Stock|Q|N|N|100 OCLR|Oclaro, Inc. - Common Stock|Q|N|N|100 OCLS|Oculus Innovative Sciences, Inc. - Common Stock|S|N|D|100 OCLSW|Oculus Innovative Sciences, Inc. - Warrants|S|N|N|100 OCRX|Ocera Therapeutics, Inc. - Common Stock|G|N|N|100 OCUL|Ocular Therapeutix, Inc. - Common Stock|G|N|N|100 ODFL|Old Dominion Freight Line, Inc. - Common Stock|Q|N|N|100 ODP|Office Depot, Inc. - Common Stock|Q|N|N|100 OFED|Oconee Federal Financial Corp. - Common Stock|S|N|N|100 OFIX|Orthofix International N.V. - Common Stock|Q|N|E|100 OFLX|Omega Flex, Inc. - Common Stock|G|N|N|100 OFS|OFS Capital Corporation - Common Stock|Q|N|N|100 OGXI|OncoGenex Pharmaceuticals Inc. - Common Shares|S|N|N|100 OHAI|OHA Investment Corporation - Closed End Fund|Q|N|N|100 OHGI|One Horizon Group, Inc. - Common Stock|S|N|N|100 OHRP|Ohr Pharmaceuticals, Inc. - Common Stock|S|N|N|100 OIIM|O2Micro International Limited - Ordinary Shares each 50 shares of which are represented by an American Depositary Share|Q|N|N|100 OKSB|Southwest Bancorp, Inc. - Common Stock|Q|N|N|100 OLBK|Old Line Bancshares, Inc. - Common Stock|S|N|N|100 OLED|Universal Display Corporation - Common Stock|Q|N|N|100 OMAB|Grupo Aeroportuario del Centro Norte S.A.B. de C.V. - American Depositary Shares each representing 8 Series B shares|Q|N|N|100 OMCL|Omnicell, Inc. - Common Stock|Q|N|N|100 OMED|OncoMed Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 OMER|Omeros Corporation - Common Stock|G|N|N|100 OMEX|Odyssey Marine Exploration, Inc. - Common Stock|S|N|D|100 ONB|Old National Bancorp - Common Stock|Q|N|N|100 ONCE|Spark Therapeutics, Inc. - Common Stock|Q|N|N|100 ONCY|Oncolytics Biotech, Inc. - Common Shares|S|N|D|100 ONEQ|Fidelity Nasdaq Composite Index Tracking Stock|G|N|N|100 ONFC|Oneida Financial Corp. - Common Stock|G|N|N|100 ONNN|ON Semiconductor Corporation - Common Stock|Q|N|N|100 ONTX|Onconova Therapeutics, Inc. - Common Stock|Q|N|N|100 ONTY|Oncothyreon Inc. - Common Shares|Q|N|N|100 ONVI|Onvia, Inc. - Common Stock|S|N|N|100 OPB|Opus Bank - Common Stock|Q|N|N|100 OPHC|OptimumBank Holdings, Inc. - Common Stock|S|N|N|100 OPHT|Ophthotech Corporation - Common Stock|Q|N|N|100 OPOF|Old Point Financial Corporation - Common Stock|S|N|N|100 OPTT|Ocean Power Technologies, Inc. - Common Stock|G|N|D|100 OPXA|Opexa Therapeutics, Inc. - Common Stock|S|N|D|100 ORBC|ORBCOMM Inc. - Common Stock|Q|N|N|100 ORBK|Orbotech Ltd. - Ordinary Shares|Q|N|N|100 OREX|Orexigen Therapeutics, Inc. - Common Stock|Q|N|N|100 ORIG|Ocean Rig UDW Inc. - Common Stock|Q|N|N|100 ORIT|Oritani Financial Corp. - Common Stock|Q|N|N|100 ORLY|O'Reilly Automotive, Inc. - Common Stock|Q|N|N|100 ORMP|Oramed Pharmaceuticals Inc. - Common Stock|S|N|N|100 ORPN|Bio Blast Pharma Ltd. - Ordinary Shares|G|N|N|100 ORRF|Orrstown Financial Services Inc - Common Stock|S|N|N|100 OSBC|Old Second Bancorp, Inc. - Common Stock|Q|N|N|100 OSBCP|Old Second Bancorp, Inc. - 7.80% Cumulative Trust Preferred Securities|Q|N|N|100 OSHC|Ocean Shore Holding Co. - Common Stock|G|N|N|100 OSIR|Osiris Therapeutics, Inc. - Common Stock|G|N|N|100 OSIS|OSI Systems, Inc. - Common Stock|Q|N|N|100 OSM|SLM Corporation - Medium Term Notes, Series A, CPI-Linked Notes due March 15, 2017|G|N|N|100 OSN|Ossen Innovation Co., Ltd. - American Depositary Shares|S|N|D|100 OSTK|Overstock.com, Inc. - Common Stock|G|N|N|100 OSUR|OraSure Technologies, Inc. - Common Stock|Q|N|N|100 OTEL|Otelco Inc. - Common Stock|S|N|N|100 OTEX|Open Text Corporation - Common Shares|Q|N|N|100 OTIC|Otonomy, Inc. - Common Stock|Q|N|N|100 OTIV|On Track Innovations Ltd - Ordinary Shares|G|N|N|100 OTTR|Otter Tail Corporation - Common Stock|Q|N|N|100 OUTR|Outerwall Inc. - Common Stock|Q|N|N|100 OVAS|OvaScience Inc. - Common Stock|G|N|N|100 OVBC|Ohio Valley Banc Corp. - Common Stock|G|N|N|100 OVLY|Oak Valley Bancorp (CA) - Common Stock|S|N|N|100 OVTI|OmniVision Technologies, Inc. - Common Stock|Q|N|N|100 OXBR|Oxbridge Re Holdings Limited - Ordinary Shares|S|N|N|100 OXBRW|Oxbridge Re Holdings Limited - Warrant|S|N|N|100 OXFD|Oxford Immunotec Global PLC - Ordinary Shares|G|N|N|100 OXGN|OXiGENE, Inc. - Common Stock|S|N|N|100 OXLC|Oxford Lane Capital Corp. - Common Stock|Q|N|N|100 OXLCN|Oxford Lane Capital Corp. - 8.125% Series 2024 Term Preferred Stock|Q|N|N|100 OXLCO|Oxford Lane Capital Corp. - Term Preferred Shares, 7.50% Series 2023|Q|N|N|100 OXLCP|Oxford Lane Capital Corp. - Term Preferred Shares, 8.50% Series 2017|Q|N|N|100 OZRK|Bank of the Ozarks - Common Stock|Q|N|N|100 PAAS|Pan American Silver Corp. - Common Stock|Q|N|N|100 PACB|Pacific Biosciences of California, Inc. - Common Stock|Q|N|N|100 PACW|PacWest Bancorp - Common Stock|Q|N|N|100 PAGG|PowerShares Global Agriculture Portfolio|G|N|N|100 PAHC|Phibro Animal Health Corporation - Class A Common Stock|G|N|N|100 PANL|Pangaea Logistics Solutions Ltd. - Common Stock|S|N|N|100 PARN|Parnell Pharmaceuticals Holdings Ltd - Ordinary Shares|G|N|N|100 PATI|Patriot Transportation Holding, Inc. - Common Stock|Q|N|N|100 PATK|Patrick Industries, Inc. - Common Stock|Q|N|N|100 PAYX|Paychex, Inc. - Common Stock|Q|N|N|100 PBCP|Polonia Bancorp, Inc. - Common Stock|S|N|N|100 PBCT|People's United Financial, Inc. - Common Stock|Q|N|N|100 PBHC|Pathfinder Bancorp, Inc. - Common Stock|S|N|N|100 PBIB|Porter Bancorp, Inc. - Common Stock|S|N|D|100 PBIP|Prudential Bancorp, Inc. - Common Stock|G|N|N|100 PBMD|Prima BioMed Ltd - American Depositary Shares|G|N|D|100 PBPB|Potbelly Corporation - Common Stock|Q|N|N|100 PBSK|Poage Bankshares, Inc. - Common Stock|S|N|N|100 PCAR|PACCAR Inc. - Common Stock|Q|N|N|100 PCBK|Pacific Continental Corporation (Ore) - Common Stock|Q|N|N|100 PCCC|PC Connection, Inc. - Common Stock|Q|N|N|100 PCH|Potlatch Corporation - Common Stock|Q|N|N|100 PCLN|The Priceline Group Inc. - Common Stock|Q|N|N|100 PCMI|PCM, Inc. - Common Stock|G|N|N|100 PCO|Pendrell Corporation - Class A Common Stock|Q|N|N|100 PCOM|Points International, Ltd. - Common Shares|S|N|N|100 PCRX|Pacira Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 PCTI|PC-Tel, Inc. - Common Stock|Q|N|N|100 PCTY|Paylocity Holding Corporation - Common Stock|Q|N|N|100 PCYC|Pharmacyclics, Inc. - Common Stock|Q|N|N|100 PCYG|Park City Group, Inc. - Common Stock|S|N|N|100 PCYO|Pure Cycle Corporation - Common Stock|S|N|N|100 PDBC|PowerShares DB Optimum Yield Diversified Commodity Strategy Portfolio|G|N|N|100 PDCE|PDC Energy, Inc. - Common Stock|Q|N|N|100 PDCO|Patterson Companies, Inc. - Common Stock|Q|N|N|100 PDEX|Pro-Dex, Inc. - Common Stock|S|N|N|100 PDFS|PDF Solutions, Inc. - Common Stock|Q|N|N|100 PDII|PDI, Inc. - Common Stock|G|N|N|100 PDLI|PDL BioPharma, Inc. - Common Stock|Q|N|N|100 PDVW|Pacific DataVision, Inc. - Common Stock|S|N|N|100 PEBK|Peoples Bancorp of North Carolina, Inc. - Common Stock|G|N|N|100 PEBO|Peoples Bancorp Inc. - Common Stock|Q|N|N|100 PEGA|Pegasystems Inc. - Common Stock|Q|N|N|100 PEGI|Pattern Energy Group Inc. - Class A Common Stock|Q|N|N|100 PEIX|Pacific Ethanol, Inc. - Common Stock|S|N|N|100 PENN|Penn National Gaming, Inc. - Common Stock|Q|N|N|100 PERF|Perfumania Holdings, Inc - Common Stock|S|N|N|100 PERI|Perion Network Ltd - ordinary shares|Q|N|N|100 PERY|Perry Ellis International Inc. - Common Stock|Q|N|N|100 PESI|Perma-Fix Environmental Services, Inc. - Common Stock|S|N|N|100 PETS|PetMed Express, Inc. - Common Stock|Q|N|N|100 PETX|Aratana Therapeutics, Inc. - Common Stock|G|N|N|100 PFBC|Preferred Bank - Common Stock|Q|N|N|100 PFBI|Premier Financial Bancorp, Inc. - Common Stock|G|N|N|100 PFBX|Peoples Financial Corporation - Common Stock|S|N|N|100 PFIE|Profire Energy, Inc. - Common Stock|S|N|N|100 PFIN|P & F Industries, Inc. - Class A Common Stock|G|N|N|100 PFIS|Peoples Financial Services Corp. - Common Stock|Q|N|N|100 PFLT|PennantPark Floating Rate Capital Ltd. - Common Stock|Q|N|N|100 PFMT|Performant Financial Corporation - Common Stock|Q|N|N|100 PFPT|Proofpoint, Inc. - Common Stock|G|N|N|100 PFSW|PFSweb, Inc. - Common Stock|S|N|N|100 PGC|Peapack-Gladstone Financial Corporation - Common Stock|Q|N|N|100 PGNX|Progenics Pharmaceuticals Inc. - Common Stock|Q|N|N|100 PGTI|PGT, Inc. - Common Stock|G|N|N|100 PHII|PHI, Inc. - Voting Common Stock|Q|N|N|100 PHIIK|PHI, Inc. - Non-Voting Common Stock|Q|N|N|100 PHMD|PhotoMedex, Inc. - Common Stock|Q|N|N|100 PICO|PICO Holdings Inc. - Common Stock|Q|N|N|100 PIH|1347 Property Insurance Holdings, Inc. - Common Stock|S|N|N|100 PINC|Premier, Inc. - Class A Common Stock|Q|N|N|100 PKBK|Parke Bancorp, Inc. - Common Stock|S|N|N|100 PKOH|Park-Ohio Holdings Corp. - Common Stock|Q|N|N|100 PKT|Procera Networks, Inc. - Common Stock|Q|N|N|100 PLAB|Photronics, Inc. - Common Stock|Q|N|N|100 PLAY|Dave & Buster's Entertainment, Inc. - Common Stock|Q|N|N|100 PLBC|Plumas Bancorp - Common Stock|S|N|N|100 PLCE|Children's Place, Inc. (The) - Common Stock|Q|N|N|100 PLCM|Polycom, Inc. - Common Stock|Q|N|N|100 PLKI|Popeyes Louisiana Kitchen, Inc. - Common Stock|Q|N|N|100 PLMT|Palmetto Bancshares, Inc. (SC) - Common Stock|S|N|N|100 PLNR|Planar Systems, Inc. - Common Stock|G|N|N|100 PLPC|Preformed Line Products Company - Common Stock|Q|N|N|100 PLPM|Planet Payment, Inc. - Common Stock|S|N|N|100 PLTM|First Trust ISE Global Platinum Index Fund|G|N|N|100 PLUG|Plug Power, Inc. - Common Stock|S|N|N|100 PLUS|ePlus inc. - Common Stock|Q|N|N|100 PLXS|Plexus Corp. - Common Stock|Q|N|N|100 PMBC|Pacific Mercantile Bancorp - Common Stock|Q|N|N|100 PMCS|PMC - Sierra, Inc. - Common Stock|Q|N|N|100 PMD|Psychemedics Corporation - Common Stock|S|N|N|100 PME|Pingtan Marine Enterprise Ltd. - Ordinary Shares|S|N|N|100 PMFG|PMFG, Inc. - Common Stock|Q|N|N|100 PNBK|Patriot National Bancorp Inc. - Common Stock|G|N|N|100 PNFP|Pinnacle Financial Partners, Inc. - Common Stock|Q|N|N|100 PNNT|PennantPark Investment Corporation - common stock|Q|N|N|100 PNQI|PowerShares Nasdaq Internet Portfolio|G|N|N|100 PNRA|Panera Bread Company - Class A Common Stock|Q|N|N|100 PNRG|PrimeEnergy Corporation - Common Stock|S|N|N|100 PNTR|Pointer Telocation Ltd. - Ordinary Shares|S|N|N|100 PODD|Insulet Corporation - Common Stock|Q|N|N|100 POOL|Pool Corporation - Common Stock|Q|N|N|100 POPE|Pope Resources - Limited Partnership|S|N|N|100 POWI|Power Integrations, Inc. - Common Stock|Q|N|N|100 POWL|Powell Industries, Inc. - Common Stock|Q|N|N|100 POZN|Pozen, Inc. - Common Stock|Q|N|N|100 PPBI|Pacific Premier Bancorp Inc - Common Stock|Q|N|N|100 PPC|Pilgrim's Pride Corporation - Common Stock|Q|N|N|100 PPHM|Peregrine Pharmaceuticals Inc. - Common Stock|S|N|N|100 PPHMP|Peregrine Pharmaceuticals Inc. - 10.50% Series E Convertible Preferred Stock|S|N|N|100 PPSI|Pioneer Power Solutions, Inc. - Common Stock|S|N|N|100 PRAA|PRA Group, Inc. - Common Stock|Q|N|N|100 PRAH|PRA Health Sciences, Inc. - Common Stock|Q|N|N|100 PRAN|Prana Biotechnology Ltd - American Depositary Shares each representing ten Ordinary Shares|S|N|N|100 PRCP|Perceptron, Inc. - Common Stock|G|N|N|100 PRFT|Perficient, Inc. - Common Stock|Q|N|N|100 PRFZ|PowerShares FTSE RAFI US 1500 Small-Mid Portfolio|G|N|N|100 PRGN|Paragon Shipping Inc. - Common Stock|G|N|N|100 PRGNL|Paragon Shipping Inc. - 8.375% Senior Notes due 2021|G|N|N|100 PRGS|Progress Software Corporation - Common Stock|Q|N|N|100 PRGX|PRGX Global, Inc. - Common Stock|Q|N|N|100 PRIM|Primoris Services Corporation - Common Stock|Q|N|N|100 PRKR|ParkerVision, Inc. - Common Stock|S|N|N|100 PRMW|Primo Water Corporation - Common Stock|G|N|N|100 PROV|Provident Financial Holdings, Inc. - Common Stock|Q|N|N|100 PRPH|ProPhase Labs, Inc. - Common Stock|G|N|N|100 PRQR|ProQR Therapeutics N.V. - Ordinary Shares|G|N|N|100 PRSC|The Providence Service Corporation - Common Stock|Q|N|N|100 PRSN|Perseon Corporation - Common Stock|S|N|D|100 PRSS|CafePress Inc. - Common Stock|Q|N|N|100 PRTA|Prothena Corporation plc - Ordinary Shares|Q|N|N|100 PRTK|Paratek Pharmaceuticals, Inc. - Common Stock|G|N|N|100 PRTO|Proteon Therapeutics, Inc. - Common Stock|G|N|N|100 PRTS|U.S. Auto Parts Network, Inc. - Common Stock|Q|N|N|100 PRXI|Premier Exhibitions, Inc. - Common Stock|S|N|D|100 PRXL|PAREXEL International Corporation - Common Stock|Q|N|N|100 PSAU|PowerShares Global Gold & Precious Metals Portfolio|G|N|N|100 PSBH|PSB Holdings, Inc. - Common Stock|S|N|N|100 PSCC|PowerShares S&P SmallCap Consumer Staples Portfolio|G|N|N|100 PSCD|PowerShares S&P SmallCap Consumer Discretionary Portfolio|G|N|N|100 PSCE|PowerShares S&P SmallCap Energy Portfolio|G|N|N|100 PSCF|PowerShares S&P SmallCap Financials Portfolio|G|N|N|100 PSCH|PowerShares S&P SmallCap Health Care Portfolio|G|N|N|100 PSCI|PowerShares S&P SmallCap Industrials Portfolio|G|N|N|100 PSCM|PowerShares S&P SmallCap Materials Portfolio|G|N|N|100 PSCT|PowerShares S&P SmallCap Information Technology Portfolio|G|N|N|100 PSCU|PowerShares S&P SmallCap Utilities Portfolio|G|N|N|100 PSDV|pSivida Corp. - Common Stock|G|N|N|100 PSEC|Prospect Capital Corporation - Common Stock|Q|N|N|100 PSEM|Pericom Semiconductor Corporation - Common Stock|Q|N|N|100 PSIX|Power Solutions International, Inc. - Common Stock|S|N|N|100 PSMT|PriceSmart, Inc. - Common Stock|Q|N|N|100 PSTB|Park Sterling Corporation - Common Stock|Q|N|N|100 PSTI|Pluristem Therapeutics, Inc. - Common Stock|S|N|N|100 PSTR|PostRock Energy Corporation - Common Stock|G|N|D|100 PSUN|Pacific Sunwear of California, Inc. - Common Stock|Q|N|N|100 PTBI|PlasmaTech Biopharmaceuticals, Inc. - Common Stock|S|N|N|100 PTBIW|PlasmaTech Biopharmaceuticals, Inc. - Warrant|S|N|N|100 PTC|PTC Inc. - Common Stock|Q|N|N|100 PTCT|PTC Therapeutics, Inc. - Common Stock|Q|N|N|100 PTEN|Patterson-UTI Energy, Inc. - Common Stock|Q|N|N|100 PTIE|Pain Therapeutics - Common Stock|Q|N|N|100 PTLA|Portola Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 PTNR|Partner Communications Company Ltd. - American Depositary Shares, each representing one ordinary share|Q|N|N|100 PTNT|Internet Patents Corporation - Common Stock|S|N|N|100 PTSI|P.A.M. Transportation Services, Inc. - Common Stock|G|N|N|100 PTX|Pernix Therapeutics Holdings, Inc. - Common Stock|G|N|N|100 PULB|Pulaski Financial Corp. - Common Stock|Q|N|N|100 PUMP|Asante Solutions, Inc. - Common Stock|G|N|N|100 PVTB|PrivateBancorp, Inc. - Common Stock|Q|N|N|100 PVTBP|PrivateBancorp, Inc. - PrivateBancorp Capital Trust IV - 10% Trust Preferred|Q|N|N|100 PWOD|Penns Woods Bancorp, Inc. - Common Stock|Q|N|N|100 PWRD|Perfect World Co., Ltd. - American Depositary Shares, each representing five Class B ordinary shares|Q|N|N|100 PWX|Providence and Worcester Railroad Company - Common Stock|G|N|N|100 PXLW|Pixelworks, Inc. - Common Stock|G|N|N|100 PZZA|Papa John'S International, Inc. - Common Stock|Q|N|N|100 QABA|First Trust NASDAQ ABA Community Bank Index Fund|G|N|N|100 QADA|QAD Inc. - Class A Common Stock|Q|N|N|100 QADB|QAD Inc. - Common Stock|Q|N|N|100 QAT|iShares MSCI Qatar Capped ETF|G|N|N|100 QBAK|Qualstar Corporation - Common Stock|S|N|N|100 QCCO|QC Holdings, Inc. - Common Stock|G|N|N|100 QCLN|First Trust NASDAQ Clean Edge Green Energy Index Fund|G|N|N|100 QCOM|QUALCOMM Incorporated - Common Stock|Q|N|N|100 QCRH|QCR Holdings, Inc. - Common Stock|G|N|N|100 QDEL|Quidel Corporation - Common Stock|Q|N|N|100 QGEN|Qiagen N.V. - Common Shares|Q|N|N|100 QINC|First Trust RBA Quality Income ETF|G|N|N|100 QIWI|QIWI plc - American Depositary Shares|Q|N|N|100 QKLS|QKL Stores, Inc. - Common Stock|S|N|N|100 QLGC|QLogic Corporation - Common Stock|Q|N|N|100 QLIK|Qlik Technologies Inc. - Common Stock|Q|N|N|100 QLTI|QLT Inc. - Common Shares|Q|N|N|100 QLTY|Quality Distribution, Inc. - Common Stock|G|N|N|100 QLYS|Qualys, Inc. - Common Stock|Q|N|N|100 QNST|QuinStreet, Inc. - Common Stock|Q|N|N|100 QPAC|Quinpario Acquisition Corp. 2 - Common Stock|S|N|N|100 QPACU|Quinpario Acquisition Corp. 2 - Unit|S|N|N|100 QPACW|Quinpario Acquisition Corp. 2 - Warrant|S|N|N|100 QQEW|First Trust NASDAQ-100 Equal Weighted Index Fund|G|N|N|100 QQQ|PowerShares QQQ Trust, Series 1|G|N|N|100 QQQC|Global X NASDAQ China Technology ETF|G|N|N|100 QQQX|Nuveen NASDAQ 100 Dynamic Overwrite Fund - Shares of Beneficial Interest|Q|N|N|100 QQXT|First Trust NASDAQ-100 Ex-Technology Sector Index Fund|G|N|N|100 QRHC|Quest Resource Holding Corporation. - Common Stock|S|N|N|100 QRVO|Qorvo, Inc. - Common Stock|Q|N|N|100 QSII|Quality Systems, Inc. - Common Stock|Q|N|N|100 QTEC|First Trust NASDAQ-100- Technology Index Fund|G|N|N|100 QTNT|Quotient Limited - Ordinary Shares|G|N|N|100 QTNTW|Quotient Limited - Warrant|G|N|N|100 QTWW|Quantum Fuel Systems Technologies Worldwide, Inc. - Common Stock|S|N|N|100 QUIK|QuickLogic Corporation - Common Stock|G|N|N|100 QUMU|Qumu Corporation - Common Stock|Q|N|N|100 QUNR|Qunar Cayman Islands Limited - American Depositary Shares|G|N|N|100 QURE|uniQure N.V. - Ordinary Shares|Q|N|N|100 QVCA|Liberty Interactive Corporation - Series A Liberty Interactive Common Stock|Q|N|N|100 QVCB|Liberty Interactive Corporation - Series B Liberty Interactive common stock|Q|N|N|100 QYLD|Recon Capital NASDAQ-100 Covered Call ETF|G|N|N|100 RADA|Rada Electronics Industries Limited - Ordinary Shares|S|N|N|100 RAIL|Freightcar America, Inc. - Common Stock|Q|N|N|100 RAND|Rand Capital Corporation - Common Stock ($0.10 Par Value)|S|N|N|100 RARE|Ultragenyx Pharmaceutical Inc. - Common Stock|Q|N|N|100 RAVE|Rave Restaurant Group, Inc. - Common Stock|S|N|N|100 RAVN|Raven Industries, Inc. - Common Stock|Q|N|N|100 RBCAA|Republic Bancorp, Inc. - Class A Common Stock|Q|N|N|100 RBCN|Rubicon Technology, Inc. - Common Stock|Q|N|N|100 RBPAA|Royal Bancshares of Pennsylvania, Inc. - Class A Common Stock|G|N|N|100 RCII|Rent-A-Center Inc. - Common Stock|Q|N|N|100 RCKY|Rocky Brands, Inc. - Common Stock|Q|N|N|100 RCMT|RCM Technologies, Inc. - Common Stock|G|N|N|100 RCON|Recon Technology, Ltd. - Ordinary Shares|S|N|N|100 RCPI|Rock Creek Pharmaceuticals, Inc. - Common Stock|S|N|D|100 RCPT|Receptos, Inc. - Common Stock|Q|N|N|100 RDCM|Radcom Ltd. - Ordinary Shares|S|N|N|100 RDEN|Elizabeth Arden, Inc. - Common Stock|Q|N|N|100 RDHL|Redhill Biopharma Ltd. - American Depositary Shares|S|N|N|100 RDI|Reading International Inc - Class A Non-voting Common Stock|S|N|N|100 RDIB|Reading International Inc - Class B Voting Common Stock|S|N|N|100 RDNT|RadNet, Inc. - Common Stock|G|N|N|100 RDUS|Radius Health, Inc. - Common Stock|G|N|N|100 RDVY|First Trust NASDAQ Rising Dividend Achievers ETF|G|N|N|100 RDWR|Radware Ltd. - Ordinary Shares|Q|N|N|100 RECN|Resources Connection, Inc. - Common Stock|Q|N|N|100 REDF|Rediff.com India Limited - American Depositary Shares, each represented by one-half of one equity share|G|N|N|100 REFR|Research Frontiers Incorporated - Common Stock|S|N|N|100 REGI|Renewable Energy Group, Inc. - Common Stock|Q|N|N|100 REGN|Regeneron Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 REIS|Reis, Inc - Common Stock|Q|N|N|100 RELL|Richardson Electronics, Ltd. - Common Stock|Q|N|N|100 RELV|Reliv' International, Inc. - Common Stock|Q|N|N|100 REMY|Remy International, Inc. - Common Stock|Q|N|N|100 RENT|Rentrak Corporation - Common Stock|Q|N|N|100 REPH|Recro Pharma, Inc. - Common Stock|S|N|N|100 RESN|Resonant Inc. - Common Stock|S|N|N|100 REXI|Resource America, Inc. - Class A Common Stock|Q|N|N|100 REXX|Rex Energy Corporation - Common Stock|Q|N|N|100 RFIL|RF Industries, Ltd. - Common Stock|G|N|N|100 RGCO|RGC Resources Inc. - Common Stock|G|N|N|100 RGDO|Regado BioSciences, Inc. - Common Stock|S|N|N|100 RGDX|Response Genetics, Inc. - Common Stock|S|N|D|100 RGEN|Repligen Corporation - Common Stock|Q|N|N|100 RGLD|Royal Gold, Inc. - Common Stock|Q|N|N|100 RGLS|Regulus Therapeutics Inc. - Common Stock|G|N|N|100 RGSE|Real Goods Solar, Inc. - Class A Common Stock|S|N|D|100 RIBT|RiceBran Technologies - Common Stock|S|N|N|100 RIBTW|RiceBran Technologies - Warrant|S|N|N|100 RICK|RCI Hospitality Holdings, Inc. - Common Stock|G|N|N|100 RIGL|Rigel Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 RITT|RIT Technologies Ltd. - ordinary shares|S|N|N|100 RITTW|RIT Technologies Ltd. - Warrants|S|N|N|100 RIVR|River Valley Bancorp. - Common Stock|S|N|N|100 RJET|Republic Airways Holdings, Inc. - Common Stock|Q|N|N|100 RLJE|RLJ Entertainment, Inc. - Common Stock|S|N|N|100 RLOC|ReachLocal, Inc. - Common Stock|Q|N|N|100 RLOG|Rand Logistics, Inc. - Common Stock|S|N|N|100 RLYP|Relypsa, Inc. - Common Stock|Q|N|N|100 RMBS|Rambus, Inc. - Common Stock|Q|N|N|100 RMCF|Rocky Mountain Chocolate Factory, Inc. - Common Stock|G|N|N|100 RMGN|RMG Networks Holding Corporation - Common Stock|G|N|N|100 RMTI|Rockwell Medical, Inc. - Common Stock|G|N|N|100 RNET|RigNet, Inc. - Common Stock|Q|N|N|100 RNST|Renasant Corporation - Common Stock|Q|N|N|100 RNWK|RealNetworks, Inc. - Common Stock|Q|N|N|100 ROBO|Robo-Stox Global Robotics and Automation Index ETF|G|N|N|100 ROCK|Gibraltar Industries, Inc. - Common Stock|Q|N|N|100 ROIA|Radio One, Inc. - Class A Common Stock|S|N|N|100 ROIAK|Radio One, Inc. - Class D Common Stock|S|N|N|100 ROIC|Retail Opportunity Investments Corp. - Common Stock|Q|N|N|100 ROIQ|ROI Acquisition Corp. II - Common Stock|S|N|D|100 ROIQU|ROI Acquisition Corp. II - Units|S|N|D|100 ROIQW|ROI Acquisition Corp. II - Warrants|S|N|D|100 ROKA|Roka Bioscience, Inc. - Common Stock|G|N|N|100 ROLL|RBC Bearings Incorporated - Common Stock|Q|N|N|100 ROSE|Rosetta Resources Inc. - Common Stock|Q|N|N|100 ROSG|Rosetta Genomics Ltd. - ordinary shares|S|N|N|100 ROST|Ross Stores, Inc. - Common Stock|Q|N|N|100 ROVI|Rovi Corporation - Common Stock|Q|N|N|100 ROYL|Royale Energy, Inc. - Common Stock|S|N|N|100 RP|RealPage, Inc. - Common Stock|Q|N|N|100 RPRX|Repros Therapeutics Inc. - Common Stock|S|N|N|100 RPRXW|Repros Therapeutics Inc. - Series A Warrant|S|N|N|100 RPRXZ|Repros Therapeutics Inc. - Series B warrant|S|N|N|100 RPTP|Raptor Pharmaceutical Corp. - Common Stock|G|N|N|100 RPXC|RPX Corporation - Common Stock|Q|N|N|100 RRD|R.R. Donnelley & Sons Company - Common Stock|Q|N|N|100 RRGB|Red Robin Gourmet Burgers, Inc. - Common Stock|Q|N|N|100 RRM|RR Media Ltd. - Ordinary Shares|Q|N|N|100 RSTI|Rofin-Sinar Technologies, Inc. - Common Stock|Q|N|N|100 RSYS|RadiSys Corporation - Common Stock|Q|N|N|100 RTGN|Ruthigen, Inc. - Common Stock|S|N|N|100 RTIX|RTI Surgical, Inc. - Common Stock|Q|N|N|100 RTK|Rentech, Inc. - Common Stock|S|N|N|100 RTRX|Retrophin, Inc. - Common Stock|G|N|N|100 RUSHA|Rush Enterprises, Inc. - Class A Common Stock|Q|N|N|100 RUSHB|Rush Enterprises, Inc. - Class B Common Stock|Q|N|N|100 RUTH|Ruth's Hospitality Group, Inc. - Common Stock|Q|N|N|100 RVBD|Riverbed Technology, Inc. - Common Stock|Q|N|N|100 RVLT|Revolution Lighting Technologies, Inc. - Class A Common Stock|S|N|N|100 RVNC|Revance Therapeutics, Inc. - Common Stock|G|N|N|100 RVSB|Riverview Bancorp Inc - Common Stock|Q|N|N|100 RWLK|ReWalk Robotics Ltd - Ordinary Shares|G|N|N|100 RXDX|Ignyta, Inc. - Common Stock|S|N|N|100 RXII|RXi Pharmaceuticals Corporation - Common Stock|S|N|N|100 RYAAY|Ryanair Holdings plc - American Depositary Shares, each representing five Ordinary Shares|Q|N|N|100 SAAS|inContact, Inc. - Common Stock|S|N|N|100 SABR|Sabre Corporation - Common Stock|Q|N|N|100 SAEX|SAExploration Holdings, Inc. - Common Stock|G|N|N|100 SAFM|Sanderson Farms, Inc. - Common Stock|Q|N|N|100 SAFT|Safety Insurance Group, Inc. - Common Stock|Q|N|N|100 SAGE|Sage Therapeutics, Inc. - Common Stock|G|N|N|100 SAIA|Saia, Inc. - Common Stock|Q|N|N|100 SAJA|Sajan, Inc. - Common Stock|S|N|N|100 SAL|Salisbury Bancorp, Inc. - Common Stock|S|N|N|100 SALE|RetailMeNot, Inc. - Series 1 Common Stock|Q|N|N|100 SALM|Salem Media Group, Inc. - Class A Common Stock|G|N|N|100 SAMG|Silvercrest Asset Management Group Inc. - Common Stock|G|N|N|100 SANM|Sanmina Corporation - Common Stock|Q|N|N|100 SANW|S&W Seed Company - Common Stock|S|N|N|100 SANWZ|S&W Seed Company - Warrants Class B 04/23/2015|S|N|N|100 SASR|Sandy Spring Bancorp, Inc. - Common Stock|Q|N|N|100 SATS|EchoStar Corporation - common stock|Q|N|N|100 SAVE|Spirit Airlines, Inc. - Common Stock|Q|N|N|100 SBAC|SBA Communications Corporation - Common Stock|Q|N|N|100 SBBX|Sussex Bancorp - Common Stock|G|N|N|100 SBCF|Seacoast Banking Corporation of Florida - Common Stock|Q|N|N|100 SBCP|Sunshine Bancorp, Inc. - Common Stock|S|N|N|100 SBFG|SB Financial Group, Inc. - Common Stock|S|N|N|100 SBFGP|SB Financial Group, Inc. - Depositary Shares each representing a 1/100th interest in a 6.50% Noncumulative convertible perpetual preferred share, Series A|S|N|N|100 SBGI|Sinclair Broadcast Group, Inc. - Class A Common Stock|Q|N|N|100 SBLK|Star Bulk Carriers Corp. - Common Stock|Q|N|N|100 SBLKL|Star Bulk Carriers Corp. - 8.00% Senior Notes Due 2019|Q|N|N|100 SBNY|Signature Bank - Common Stock|Q|N|N|100 SBNYW|Signature Bank - Warrants 12/12/2018|Q|N|N|100 SBRA|Sabra Healthcare REIT, Inc. - Common Stock|Q|N|N|100 SBRAP|Sabra Healthcare REIT, Inc. - 7.125% Preferred Series A (United States)|Q|N|N|100 SBSA|Spanish Broadcasting System, Inc. - Class A Common Stock|G|N|N|100 SBSI|Southside Bancshares, Inc. - Common Stock|Q|N|N|100 SBUX|Starbucks Corporation - Common Stock|Q|N|N|100 SCAI|Surgical Care Affiliates, Inc. - Common Stock|Q|N|N|100 SCHL|Scholastic Corporation - Common Stock|Q|N|N|100 SCHN|Schnitzer Steel Industries, Inc. - Class A Common Stock|Q|N|N|100 SCLN|SciClone Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 SCMP|Sucampo Pharmaceuticals, Inc. - Class A Common Stock|G|N|N|100 SCOK|SinoCoking Coal and Coke Chemical Industries, Inc - Common Stock|S|N|N|100 SCON|Superconductor Technologies Inc. - Common Stock|S|N|N|100 SCOR|comScore, Inc. - Common Stock|Q|N|N|100 SCSC|ScanSource, Inc. - Common Stock|Q|N|N|100 SCSS|Select Comfort Corporation - Common Stock|Q|N|N|100 SCTY|SolarCity Corporation - Common Stock|Q|N|N|100 SCVL|Shoe Carnival, Inc. - Common Stock|Q|N|N|100 SCYX|SCYNEXIS, Inc. - Common Stock|G|N|N|100 SEAC|SeaChange International, Inc. - Common Stock|Q|N|N|100 SEDG|SolarEdge Technologies, Inc. - Common Stock|Q|N|N|100 SEED|Origin Agritech Limited - Common Stock|Q|N|N|100 SEIC|SEI Investments Company - Common Stock|Q|N|N|100 SEMI|SunEdison Semiconductor Limited - Ordinary Shares|Q|N|N|100 SENEA|Seneca Foods Corp. - Class A Common Stock|Q|N|N|100 SENEB|Seneca Foods Corp. - Class B Common Stock|Q|N|N|100 SEV|Sevcon, Inc. - Common Stock|S|N|N|100 SFBC|Sound Financial Bancorp, Inc. - Common Stock|S|N|N|100 SFBS|ServisFirst Bancshares, Inc. - Common Stock|Q|N|N|100 SFLY|Shutterfly, Inc. - Common Stock|Q|N|N|100 SFM|Sprouts Farmers Market, Inc. - Common Stock|Q|N|N|100 SFNC|Simmons First National Corporation - Common Stock|Q|N|N|100 SFST|Southern First Bancshares, Inc. - Common Stock|G|N|N|100 SFXE|SFX Entertainment, Inc. - Common Stock|Q|N|N|100 SGBK|Stonegate Bank - Common Stock|Q|N|N|100 SGC|Superior Uniform Group, Inc. - Common Stock|G|N|N|100 SGEN|Seattle Genetics, Inc. - Common Stock|Q|N|N|100 SGI|Silicon Graphics International Corp - Common Stock|Q|N|N|100 SGMA|SigmaTron International, Inc. - Common Stock|S|N|N|100 SGMO|Sangamo BioSciences, Inc. - Common Stock|Q|N|N|100 SGMS|Scientific Games Corp - Class A Common Stock|Q|N|N|100 SGNL|Signal Genetics, Inc. - Common Stock|S|N|N|100 SGNT|Sagent Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 SGOC|SGOCO Group, Ltd - Ordinary Shares (Cayman Islands)|S|N|D|100 SGRP|SPAR Group, Inc. - Common Stock|S|N|N|100 SGYP|Synergy Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 SGYPU|Synergy Pharmaceuticals, Inc. - Unit|S|N|N|100 SGYPW|Synergy Pharmaceuticals, Inc. - Warrants|S|N|N|100 SHBI|Shore Bancshares Inc - Common Stock|Q|N|N|100 SHEN|Shenandoah Telecommunications Co - Common Stock|Q|N|N|100 SHIP|Seanergy Maritime Holdings Corp - Common Stock|S|N|D|100 SHLD|Sears Holdings Corporation - Common Stock|Q|N|N|100 SHLDW|Sears Holdings Corporation - Warrant|Q|N|N|100 SHLM|A. Schulman, Inc. - Common Stock|Q|N|N|100 SHLO|Shiloh Industries, Inc. - Common Stock|Q|N|N|100 SHOO|Steven Madden, Ltd. - Common Stock|Q|N|N|100 SHOR|ShoreTel, Inc. - Common Stock|Q|N|N|100 SHOS|Sears Hometown and Outlet Stores, Inc. - Common Stock|S|N|N|100 SHPG|Shire plc - American Depositary Shares, each representing three Ordinary Shares|Q|N|N|100 SIAL|Sigma-Aldrich Corporation - Common Stock|Q|N|N|100 SIBC|State Investors Bancorp, Inc. - Common Stock|S|N|N|100 SIEB|Siebert Financial Corp. - Common Stock|S|N|N|100 SIEN|Sientra, Inc. - Common Stock|Q|N|N|100 SIFI|SI Financial Group, Inc. - Common Stock|G|N|N|100 SIFY|Sify Technologies Limited - American Depository Shares, each represented by one Equity Share|Q|N|N|100 SIGI|Selective Insurance Group, Inc. - Common Stock|Q|N|N|100 SIGM|Sigma Designs, Inc. - Common Stock|Q|N|N|100 SILC|Silicom Ltd - Ordinary Shares|Q|N|N|100 SIMO|Silicon Motion Technology Corporation - American Depositary Shares, each representing four ordinary shares|Q|N|N|100 SINA|Sina Corporation - Ordinary Shares|Q|N|N|100 SINO|Sino-Global Shipping America, Ltd. - Common Stock|S|N|N|100 SIRI|Sirius XM Holdings Inc. - Common Stock|Q|N|N|100 SIRO|Sirona Dental Systems, Inc. - Common Stock|Q|N|N|100 SIVB|SVB Financial Group - Common Stock|Q|N|N|100 SIVBO|SVB Financial Group - 7% Cumulative Trust Preferred Securities - SVB Capital II|Q|N|N|100 SIXD|6D Global Technologies, Inc. - Common Stock|S|N|N|100 SKBI|Skystar Bio-Pharmaceutical Company - Common Stock|S|N|N|100 SKIS|Peak Resorts, Inc. - Common Stock|G|N|N|100 SKOR|FlexShares Credit-Scored US Corporate Bond Index Fund|G|N|N|100 SKUL|Skullcandy, Inc. - Common Stock|Q|N|N|100 SKYS|Sky Solar Holdings, Ltd. - American Depositary Shares|S|N|N|100 SKYW|SkyWest, Inc. - Common Stock|Q|N|N|100 SKYY|First Trust ISE Cloud Computing Index Fund|G|N|N|100 SLAB|Silicon Laboratories, Inc. - Common Stock|Q|N|N|100 SLCT|Select Bancorp, Inc. - Common Stock|G|N|N|100 SLGN|Silgan Holdings Inc. - Common Stock|Q|N|N|100 SLM|SLM Corporation - Common Stock|Q|N|N|100 SLMAP|SLM Corporation - 6.97% Cumulative Redeemable Preferred Stock, Series A|Q|N|N|100 SLMBP|SLM Corporation - Floating Rate Non-Cumulative Preferred Stock, Series B|Q|N|N|100 SLP|Simulations Plus, Inc. - Common Stock|S|N|N|100 SLRC|Solar Capital Ltd. - Common Stock|Q|N|N|100 SLTC|Selectica, Inc. - Common Stock|S|N|N|100 SLTD|Solar3D, Inc. - Common Stock|S|N|N|100 SLVO|Credit Suisse AG - Credit Suisse Silver Shares Covered Call Exchange Traded Notes|G|N|N|100 SMAC|Sino Mercury Acquisition Corp. - Common Stock|S|N|N|100 SMACR|Sino Mercury Acquisition Corp. - Right|S|N|N|100 SMACU|Sino Mercury Acquisition Corp. - Unit|S|N|N|100 SMBC|Southern Missouri Bancorp, Inc. - Common Stock|G|N|N|100 SMCI|Super Micro Computer, Inc. - Common Stock|Q|N|N|100 SMED|Sharps Compliance Corp - Common Stock|S|N|N|100 SMIT|Schmitt Industries, Inc. - Common Stock|S|N|N|100 SMLR|Semler Scientific, Inc. - Common Stock|S|N|N|100 SMMF|Summit Financial Group, Inc. - Common Stock|S|N|N|100 SMMT|Summit Therapeutics plc - American Depositary Shares|G|N|N|100 SMRT|Stein Mart, Inc. - Common Stock|Q|N|N|100 SMSI|Smith Micro Software, Inc. - Common Stock|Q|N|N|100 SMT|SMART Technologies Inc. - Common Shares|Q|N|N|100 SMTC|Semtech Corporation - Common Stock|Q|N|N|100 SMTP|SMTP, Inc. - Common Stock|S|N|N|100 SMTX|SMTC Corporation - Common Stock|G|N|N|100 SNAK|Inventure Foods, Inc. - Common Stock|Q|N|N|100 SNBC|Sun Bancorp, Inc. - Common Stock|Q|N|N|100 SNC|State National Companies, Inc. - Common Stock|Q|N|N|100 SNCR|Synchronoss Technologies, Inc. - Common Stock|Q|N|N|100 SNDK|SanDisk Corporation - Common Stock|Q|N|N|100 SNFCA|Security National Financial Corporation - Class A Common Stock|G|N|N|100 SNHY|Sun Hydraulics Corporation - Common Stock|Q|N|N|100 SNMX|Senomyx, Inc. - Common Stock|G|N|N|100 SNPS|Synopsys, Inc. - Common Stock|Q|N|N|100 SNSS|Sunesis Pharmaceuticals, Inc. - Common Stock|S|N|N|100 SNTA|Synta Pharmaceuticals Corp. - Common Stock|G|N|N|100 SOCB|Southcoast Financial Corporation - Common Stock|G|N|N|100 SOCL|Global X Social Media Index ETF|G|N|N|100 SODA|SodaStream International Ltd. - Ordinary Shares|Q|N|N|100 SOFO|Sonic Foundry, Inc. - Common Stock|S|N|N|100 SOHO|Sotherly Hotels Inc. - Common Stock|G|N|N|100 SOHOL|Sotherly Hotels LP - 8.00% Senior Unsecured Notes Due 2018|G|N|N|100 SOHOM|Sotherly Hotels LP - 7.00% Senior Notes|G|N|N|100 SOHU|Sohu.com Inc. - Common Stock|Q|N|N|100 SONA|Southern National Bancorp of Virginia, Inc. - Common Stock|G|N|N|100 SONC|Sonic Corp. - Common Stock|Q|N|N|100 SONS|Sonus Networks, Inc. - Common Stock|Q|N|N|100 SORL|SORL Auto Parts, Inc. - Common Stock|G|N|N|100 SOXX|iShares PHLX SOX Semiconductor Sector Index Fund|G|N|N|100 SP|SP Plus Corporation - Common Stock|Q|N|N|100 SPAN|Span-America Medical Systems, Inc. - Common Stock|G|N|N|100 SPAR|Spartan Motors, Inc. - Common Stock|Q|N|N|100 SPCB|SuperCom, Ltd. - Ordinary Shares|S|N|N|100 SPDC|Speed Commerce, Inc. - Common Stock|G|N|N|100 SPEX|Spherix Incorporated - Common Stock|S|N|D|100 SPHS|Sophiris Bio, Inc. - Common Shares|G|N|D|100 SPIL|Siliconware Precision Industries Company, Ltd. - ADS represents common shares|Q|N|N|100 SPKE|Spark Energy, Inc. - Class A Common Stock|Q|N|N|100 SPLK|Splunk Inc. - Common Stock|Q|N|N|100 SPLS|Staples, Inc. - Common Stock|Q|N|N|100 SPNC|The Spectranetics Corporation - Common Stock|Q|N|N|100 SPNS|Sapiens International Corporation N.V. - Common Shares|S|N|N|100 SPOK|Spok Holdings, Inc. - Common Stock|Q|N|N|100 SPPI|Spectrum Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 SPPR|Supertel Hospitality, Inc. - Common Stock|G|N|N|100 SPPRO|Supertel Hospitality, Inc. - Series B Cumulative Preferred Stock|G|N|N|100 SPPRP|Supertel Hospitality, Inc. - Series A Convertible Preferred Stock|G|N|N|100 SPRO|SmartPros Ltd. - Common Stock|S|N|N|100 SPRT|support.com, Inc. - Common Stock|Q|N|N|100 SPSC|SPS Commerce, Inc. - Common Stock|Q|N|N|100 SPTN|SpartanNash Company - Common Stock|Q|N|N|100 SPU|SkyPeople Fruit Juice, Inc. - Common Stock|G|N|N|100 SPWH|Sportsman's Warehouse Holdings, Inc. - Common Stock|Q|N|N|100 SPWR|SunPower Corporation - Common Stock|Q|N|N|100 SQBG|Sequential Brands Group, Inc. - Common Stock|S|N|N|100 SQBK|Square 1 Financial, Inc. - Class A Common Stock|Q|N|N|100 SQI|SciQuest, Inc. - Common Stock|Q|N|N|100 SQNM|Sequenom, Inc. - Common Stock|Q|N|N|100 SQQQ|ProShares UltraPro Short QQQ|G|N|N|100 SRCE|1st Source Corporation - Common Stock|Q|N|N|100 SRCL|Stericycle, Inc. - Common Stock|Q|N|N|100 SRDX|SurModics, Inc. - Common Stock|Q|N|N|100 SRET|Global X SuperDividend REIT ETF|G|N|N|100 SREV|ServiceSource International, Inc. - Common Stock|Q|N|N|100 SRNE|Sorrento Therapeutics, Inc. - Common Stock|S|N|N|100 SRPT|Sarepta Therapeutics, Inc. - Common Stock|Q|N|N|100 SRSC|Sears Canada Inc. - Common Shares|Q|N|N|100 SSB|South State Corporation - Common Stock|Q|N|N|100 SSBI|Summit State Bank - Common Stock|G|N|N|100 SSFN|Stewardship Financial Corp - Common Stock|S|N|N|100 SSH|Sunshine Heart Inc - Common Stock|S|N|N|100 SSNC|SS&C Technologies Holdings, Inc. - Common Stock|Q|N|N|100 SSRG|Symmetry Surgical Inc. - Common Stock|G|N|N|100 SSRI|Silver Standard Resources Inc. - Common Stock|Q|N|N|100 SSYS|Stratasys, Ltd. - Common Stock|Q|N|N|100 STAA|STAAR Surgical Company - Common Stock|G|N|N|100 STB|Student Transportation Inc - Common shares|Q|N|N|100 STBA|S&T Bancorp, Inc. - Common Stock|Q|N|N|100 STBZ|State Bank Financial Corporation. - Common Stock|S|N|N|100 STCK|Stock Building Supply Holdings, Inc. - Common Stock|Q|N|N|100 STDY|SteadyMed Ltd. - Ordinary Shares|G|N|N|100 STEM|StemCells, Inc. - Common Stock|S|N|N|100 STFC|State Auto Financial Corporation - Common Stock|Q|N|N|100 STKL|SunOpta, Inc. - Common Stock|Q|N|N|100 STLD|Steel Dynamics, Inc. - Common Stock|Q|N|N|100 STLY|Stanley Furniture Company, Inc. - Common Stock|Q|N|N|100 STML|Stemline Therapeutics, Inc. - Common Stock|S|N|N|100 STMP|Stamps.com Inc. - Common Stock|Q|N|N|100 STNR|Steiner Leisure Limited - Common Shares|Q|N|N|100 STPP|Barclays PLC - iPath US Treasury Steepener ETN|G|N|N|100 STRA|Strayer Education, Inc. - Common Stock|Q|N|N|100 STRL|Sterling Construction Company Inc - Common Stock|Q|N|N|100 STRM|Streamline Health Solutions, Inc. - Common Stock|S|N|N|100 STRN|Sutron Corporation - Common Stock|S|N|N|100 STRS|Stratus Properties, Inc. - Common Stock|Q|N|N|100 STRT|Strattec Security Corporation - Common Stock|G|N|N|100 STRZA|Starz - Series A Common Stock|Q|N|N|100 STRZB|Starz - Series B Common Stock|Q|N|N|100 STX|Seagate Technology. - Common Stock|Q|N|N|100 STXS|Stereotaxis, Inc. - Common Stock|S|N|N|100 SUBK|Suffolk Bancorp - Common Stock|Q|N|N|100 SUMR|Summer Infant, Inc. - Common Stock|S|N|N|100 SUNS|Solar Senior Capital Ltd. - Common Stock|Q|N|N|100 SUPN|Supernus Pharmaceuticals, Inc. - Common Stock|G|N|N|100 SURG|Synergetics USA, Inc. - Common Stock|S|N|N|100 SUSQ|Susquehanna Bancshares, Inc. - Common Stock|Q|N|N|100 SUTR|Sutor Technology Group Limited - Common Stock|S|N|D|100 SVA|Sinovac Biotech, Ltd. - Ordinary Shares (Antigua/Barbudo)|Q|N|N|100 SVBI|Severn Bancorp Inc - Common Stock|S|N|N|100 SVVC|Firsthand Technology Value Fund, Inc. - Common Stock|Q|N|N|100 SWHC|Smith & Wesson Holding Corporation - Common Stock|Q|N|N|100 SWIR|Sierra Wireless, Inc. - Common Stock|Q|N|N|100 SWKS|Skyworks Solutions, Inc. - Common Stock|Q|N|N|100 SWSH|Swisher Hygiene, Inc. - Common Stock|S|N|N|100 SYBT|Stock Yards Bancorp, Inc. - Common Stock|Q|N|N|100 SYKE|Sykes Enterprises, Incorporated - Common Stock|Q|N|N|100 SYMC|Symantec Corporation - Common Stock|Q|N|N|100 SYMX|Synthesis Energy Systems, Inc. - Common Stock|G|N|D|100 SYNA|Synaptics Incorporated - Common Stock|Q|N|N|100 SYNC|Synacor, Inc. - Common Stock|G|N|N|100 SYNL|Synalloy Corporation - Common Stock|G|N|N|100 SYNT|Syntel, Inc. - Common Stock|Q|N|N|100 SYPR|Sypris Solutions, Inc. - Common Stock|G|N|N|100 SYRX|Sysorex Global Holding Corp. - Common Stock|S|N|N|100 SYUT|Synutra International, Inc. - Common Stock|Q|N|N|100 SZMK|Sizmek Inc. - Common Stock|Q|N|N|100 SZYM|Solazyme, Inc. - Common Stock|Q|N|N|100 TACT|TransAct Technologies Incorporated - Common Stock|G|N|N|100 TAIT|Taitron Components Incorporated - Class A Common Stock|S|N|N|100 TANH|Tantech Holdings Ltd. - Common Stock|S|N|N|100 TAPR|Barclays PLC - Barclays Inverse US Treasury Composite ETN|G|N|N|100 TASR|TASER International, Inc. - Common Stock|Q|N|N|100 TAST|Carrols Restaurant Group, Inc. - Common Stock|Q|N|N|100 TATT|TAT Technologies Ltd. - Ordinary Shares|G|N|N|100 TAX|Liberty Tax, Inc. - Class A Common Stock|Q|N|N|100 TAXI|Medallion Financial Corp. - Common Stock|Q|N|N|100 TAYD|Taylor Devices, Inc. - Common Stock|S|N|N|100 TBBK|The Bancorp, Inc. - Common Stock|Q|N|N|100 TBIO|Transgenomic, Inc. - Common Stock|S|N|N|100 TBK|Triumph Bancorp, Inc. - Common Stock|Q|N|N|100 TBNK|Territorial Bancorp Inc. - Common Stock|Q|N|N|100 TBPH|Theravance Biopharma, Inc. - Ordinary Shares|G|N|N|100 TCBI|Texas Capital Bancshares, Inc. - Common Stock|Q|N|N|100 TCBIL|Texas Capital Bancshares, Inc. - 6.50% Subordinated Notes due 2042|Q|N|N|100 TCBIP|Texas Capital Bancshares, Inc. - Non Cumulative Preferred Perpetual Stock Series A|Q|N|N|100 TCBIW|Texas Capital Bancshares, Inc. - Warrants 01/16/2019|Q|N|N|100 TCBK|TriCo Bancshares - Common Stock|Q|N|N|100 TCCO|Technical Communications Corporation - Common Stock|S|N|N|100 TCFC|The Community Financial Corporation - Common Stock|S|N|N|100 TCON|TRACON Pharmaceuticals, Inc. - Common Stock|G|N|N|100 TCPC|TCP Capital Corp. - Common Stock|Q|N|N|100 TCRD|THL Credit, Inc. - Common Stock|Q|N|N|100 TCX|Tucows Inc. - Common Stock|S|N|N|100 TDIV|First Trust Exchange-Traded Fund VI First Trust NASDAQ Technology Dividend Index Fund|G|N|N|100 TEAR|TearLab Corporation - Common Stock|S|N|N|100 TECD|Tech Data Corporation - Common Stock|Q|N|N|100 TECH|Bio-Techne Corp - Common Stock|Q|N|N|100 TECU|Tecumseh Products Company - Common Stock|Q|N|N|100 TEDU|Tarena International, Inc. - American Depositary Shares|Q|N|N|100 TENX|Tenax Therapeutics, Inc. - Common Stock|S|N|N|100 TERP|TerraForm Power, Inc. - Class A Common Stock|Q|N|N|100 TESO|Tesco Corporation - Common Stock|Q|N|N|100 TESS|TESSCO Technologies Incorporated - Common Stock|Q|N|N|100 TFM|The Fresh Market, Inc. - Common Stock|Q|N|N|100 TFSC|1347 Capital Corp. - Common Stock|S|N|N|100 TFSCR|1347 Capital Corp. - Right|S|N|N|100 TFSCU|1347 Capital Corp. - Unit|S|N|N|100 TFSCW|1347 Capital Corp. - Warrant|S|N|N|100 TFSL|TFS Financial Corporation - Common Stock|Q|N|N|100 TGA|Transglobe Energy Corp - Ordinary Shares|Q|N|N|100 TGEN|Tecogen Inc. - Common Stock|S|N|N|100 TGLS|Tecnoglass Inc. - Ordinary Shares|S|N|N|100 TGTX|TG Therapeutics, Inc. - Common Stock|S|N|N|100 THFF|First Financial Corporation Indiana - Common Stock|Q|N|N|100 THLD|Threshold Pharmaceuticals, Inc. - Common Stock|S|N|N|100 THOR|Thoratec Corporation - Common Stock|Q|N|N|100 THRM|Gentherm Inc - Common Stock|Q|N|N|100 THRX|Theravance, Inc. - Common Stock|Q|N|N|100 THST|Truett-Hurst, Inc. - Class A Common Stock|S|N|N|100 THTI|THT Heat Transfer Technology, Inc. - Common Stock|S|N|N|100 TICC|TICC Capital Corp. - Closed End Fund|Q|N|N|100 TIGR|TigerLogic Corporation - Common Stock|S|N|D|100 TILE|Interface, Inc. - Common Stock|Q|N|N|100 TINY|Harris & Harris Group, Inc. - Common Stock|G|N|N|100 TIPT|Tiptree Financial Inc. - Class A Common Stock|S|N|N|100 TISA|Top Image Systems, Ltd. - Ordinary Shares|S|N|N|100 TITN|Titan Machinery Inc. - Common Stock|Q|N|N|100 TIVO|TiVo Inc. - Common Stock|Q|N|N|100 TKAI|Tokai Pharmaceuticals, Inc. - Common Stock|G|N|N|100 TKMR|Tekmira Pharmaceuticals Corp - Common Stock|S|N|N|100 TLF|Tandy Leather Factory, Inc. - Common Stock|G|N|N|100 TLMR|Talmer Bancorp, Inc. - Class A Common Stock|S|N|N|100 TLOG|TetraLogic Pharmaceuticals Corporation - Common Stock|G|N|N|100 TNAV|Telenav, Inc. - Common Stock|Q|N|N|100 TNDM|Tandem Diabetes Care, Inc. - Common Stock|G|N|N|100 TNGO|Tangoe, Inc. - Common Stock|Q|N|N|100 TNXP|Tonix Pharmaceuticals Holding Corp. - Common Stock|G|N|N|100 TOPS|TOP Ships Inc. - Common Stock|Q|N|N|100 TORM|TOR Minerals International Inc - Common Stock|S|N|N|100 TOUR|Tuniu Corporation - American Depositary Shares|G|N|N|100 TOWN|Towne Bank - Common Stock|Q|N|N|100 TQQQ|ProShares UltraPro QQQ|G|N|N|100 TRAK|Dealertrack Technologies, Inc. - Common Stock|Q|N|N|100 TRCB|Two River Bancorp - Common Stock|S|N|N|100 TRCH|Torchlight Energy Resources, Inc. - Common Stock|S|N|D|100 TREE|LendingTree, Inc. - Common Stock|Q|N|N|100 TRGT|Targacept, Inc. - Common Stock|Q|N|N|100 TRIB|Trinity Biotech plc - American Depositary Shares each representing 4 A Ordinary Shares|Q|N|N|100 TRIL|Trillium Therapeutics Inc. - Common Shares|S|N|N|100 TRIP|TripAdvisor, Inc. - Common Stock|Q|N|N|100 TRIV|TriVascular Technologies, Inc. - Common Stock|Q|N|N|100 TRMB|Trimble Navigation Limited - Common Stock|Q|N|N|100 TRMK|Trustmark Corporation - Common Stock|Q|N|N|100 TRNS|Transcat, Inc. - Common Stock|G|N|N|100 TRNX|Tornier N.V. - Ordinary Shares|Q|N|N|100 TROV|TrovaGene, Inc. - Common Stock|S|N|N|100 TROVU|TrovaGene, Inc. - Unit|S|N|N|100 TROVW|TrovaGene, Inc. - Warrant|S|N|N|100 TROW|T. Rowe Price Group, Inc. - Common Stock|Q|N|N|100 TRS|TriMas Corporation - Common Stock|Q|N|N|100 TRST|TrustCo Bank Corp NY - Common Stock|Q|N|N|100 TRTL|Terrapin 3 Acquisition Corporation - Class A Common Stock|S|N|N|100 TRTLU|Terrapin 3 Acquisition Corporation - Units|S|N|N|100 TRTLW|Terrapin 3 Acquisition Corporation - Warrants|S|N|N|100 TRUE|TrueCar, Inc. - Common Stock|Q|N|N|100 TRVN|Trevena, Inc. - Common Stock|Q|N|N|100 TSBK|Timberland Bancorp, Inc. - Common Stock|G|N|N|100 TSC|TriState Capital Holdings, Inc. - Common Stock|Q|N|N|100 TSCO|Tractor Supply Company - Common Stock|Q|N|N|100 TSEM|Tower Semiconductor Ltd. - Ordinary Shares|Q|N|N|100 TSLA|Tesla Motors, Inc. - Common Stock|Q|N|N|100 TSRA|Tessera Technologies, Inc. - Common Stock|Q|N|N|100 TSRE|Trade Street Residential, Inc. - Common Stock|G|N|N|100 TSRI|TSR, Inc. - Common Stock|S|N|N|100 TSRO|TESARO, Inc. - Common Stock|Q|N|N|100 TST|TheStreet, Inc. - Common Stock|G|N|N|100 TSYS|TeleCommunication Systems, Inc. - Class A Common Stock|Q|N|N|100 TTEC|TeleTech Holdings, Inc. - Common Stock|Q|N|N|100 TTEK|Tetra Tech, Inc. - Common Stock|Q|N|N|100 TTGT|TechTarget, Inc. - Common Stock|G|N|N|100 TTHI|Transition Therapeutics, Inc. - Ordinary Shares (Canada)|G|N|N|100 TTMI|TTM Technologies, Inc. - Common Stock|Q|N|N|100 TTOO|T2 Biosystems, Inc. - Common Stock|G|N|N|100 TTPH|Tetraphase Pharmaceuticals, Inc. - Common Stock|Q|N|N|100 TTS|Tile Shop Hldgs, Inc. - Common Stock|Q|N|N|100 TTWO|Take-Two Interactive Software, Inc. - Common Stock|Q|N|N|100 TUBE|TubeMogul, Inc. - Common Stock|Q|N|N|100 TUES|Tuesday Morning Corp. - Common Stock|Q|N|N|100 TUSA|First Trust Total US Market AlphaDEX ETF|G|N|N|100 TUTT|Tuttle Tactical Management U.S. Core ETF|G|N|N|100 TVIX|Credit Suisse AG - VelocityShares Daily 2x VIX Short Term ETN|G|N|N|100 TVIZ|Credit Suisse AG - VelocityShares Daily 2x VIX Medium Term ETN|G|N|N|100 TW|Towers Watson & Co. - Common Stock Class A|Q|N|N|100 TWER|Towerstream Corporation - Common Stock|S|N|N|100 TWIN|Twin Disc, Incorporated - Common Stock|Q|N|N|100 TWMC|Trans World Entertainment Corp. - Common Stock|G|N|N|100 TWOU|2U, Inc. - Common Stock|Q|N|N|100 TXN|Texas Instruments Incorporated - Common Stock|Q|N|N|100 TXRH|Texas Roadhouse, Inc. - Common Stock|Q|N|N|100 TYPE|Monotype Imaging Holdings Inc. - Common Stock|Q|N|N|100 TZOO|Travelzoo Inc. - Common Stock|Q|N|N|100 UACL|Universal Truckload Services, Inc. - Common Stock|Q|N|N|100 UAE|iShares MSCI UAE Capped ETF|G|N|N|100 UBCP|United Bancorp, Inc. - Common Stock|S|N|N|100 UBFO|United Security Bancshares - Common Stock|Q|N|N|100 UBIC|UBIC, Inc. - American Depositary Shares|Q|N|N|100 UBNK|United Financial Bancorp, Inc. - Common Stock|Q|N|N|100 UBNT|Ubiquiti Networks, Inc. - Common Stock|Q|N|N|100 UBOH|United Bancshares, Inc. - Common Stock|G|N|N|100 UBSH|Union Bankshares Corporation - Common Stock|Q|N|N|100 UBSI|United Bankshares, Inc. - Common Stock|Q|N|N|100 UCBA|United Community Bancorp - Common Stock|G|N|N|100 UCBI|United Community Banks, Inc. - Common Stock|Q|N|N|100 UCFC|United Community Financial Corp. - Common Stock|Q|N|N|100 UCTT|Ultra Clean Holdings, Inc. - Common Stock|Q|N|N|100 UDF|United Development Funding IV - Common Shares of Beneficial Interest|Q|N|N|100 UEIC|Universal Electronics Inc. - Common Stock|Q|N|N|100 UEPS|Net 1 UEPS Technologies, Inc. - Common Stock|Q|N|N|100 UFCS|United Fire Group, Inc - Common Stock|Q|N|N|100 UFPI|Universal Forest Products, Inc. - Common Stock|Q|N|N|100 UFPT|UFP Technologies, Inc. - Common Stock|S|N|N|100 UG|United-Guardian, Inc. - Common Stock|G|N|N|100 UGLD|Credit Suisse AG - VelocityShares 3x Long Gold ETN|G|N|N|100 UHAL|Amerco - Common Stock|Q|N|N|100 UIHC|United Insurance Holdings Corp. - Common Stock|S|N|N|100 ULBI|Ultralife Corporation - Common Stock|G|N|N|100 ULTA|Ulta Salon, Cosmetics & Fragrance, Inc. - Common Stock|Q|N|N|100 ULTI|The Ultimate Software Group, Inc. - Common Stock|Q|N|N|100 ULTR|Ultrapetrol (Bahamas) Limited - common stock|Q|N|N|100 UMBF|UMB Financial Corporation - Common Stock|Q|N|N|100 UMPQ|Umpqua Holdings Corporation - Common Stock|Q|N|N|100 UNAM|Unico American Corporation - Common Stock|G|N|N|100 UNB|Union Bankshares, Inc. - Common Stock|G|N|N|100 UNFI|United Natural Foods, Inc. - Common Stock|Q|N|N|100 UNIS|Unilife Corporation - Common Stock|G|N|N|100 UNTD|United Online, Inc. - Common Stock|Q|N|N|100 UNTY|Unity Bancorp, Inc. - Common Stock|G|N|N|100 UNXL|Uni-Pixel, Inc. - Common Stock|S|N|N|100 UPIP|Unwired Planet, Inc. - Common Stock|Q|N|D|100 UPLD|Upland Software, Inc. - Common Stock|G|N|N|100 URBN|Urban Outfitters, Inc. - Common Stock|Q|N|N|100 UREE|U.S. Rare Earths, Inc. - Common Stock|S|N|N|100 UREEW|U.S. Rare Earths, Inc. - Warrant|S|N|N|100 URRE|Uranium Resources, Inc. - Common Stock|S|N|N|100 USAK|USA Truck, Inc. - Common Stock|Q|N|N|100 USAP|Universal Stainless & Alloy Products, Inc. - Common Stock|Q|N|N|100 USAT|USA Technologies, Inc. - Common Stock|G|N|N|100 USATP|USA Technologies, Inc. - Preferred Stock|G|N|N|100 USBI|United Security Bancshares, Inc. - Common Stock|S|N|N|100 USCR|U S Concrete, Inc. - Common Stock|S|N|N|100 USEG|U.S. Energy Corp. - Common Stock|S|N|N|100 USLM|United States Lime & Minerals, Inc. - Common Stock|Q|N|N|100 USLV|Credit Suisse AG - VelocityShares 3x Long Silver ETN|G|N|N|100 USMD|USMD Holdings, Inc. - Common Stock|S|N|N|100 USTR|United Stationers Inc. - Common Stock|Q|N|N|100 UTEK|Ultratech, Inc. - Common Stock|Q|N|N|100 UTHR|United Therapeutics Corporation - Common Stock|Q|N|N|100 UTIW|UTi Worldwide Inc. - Ordinary Shares|Q|N|N|100 UTMD|Utah Medical Products, Inc. - Common Stock|Q|N|N|100 UTSI|UTStarcom Holdings Corp - Ordinary Shares|Q|N|N|100 UVSP|Univest Corporation of Pennsylvania - Common Stock|Q|N|N|100 VA|Virgin America Inc. - Common Stock|Q|N|N|100 VALU|Value Line, Inc. - Common Stock|S|N|N|100 VALX|Validea Market Legends ETF|G|N|N|100 VASC|Vascular Solutions, Inc. - Common Stock|Q|N|N|100 VBFC|Village Bank and Trust Financial Corp. - Common Stock|S|N|N|100 VBIV|VBI Vaccines Inc. - Common Stock|S|N|N|100 VBLT|Vascular Biogenics Ltd. - Ordinary Shares|G|N|N|100 VBND|Vident Core U.S. Bond Strategy Fund|G|N|N|100 VBTX|Veritex Holdings, Inc. - Common Stock|G|N|N|100 VCEL|Vericel Corporation - Common Stock|S|N|N|100 VCIT|Vanguard Intermediate-Term Corporate Bond ETF|G|N|N|100 VCLT|Vanguard Long-Term Corporate Bond ETF|G|N|N|100 VCSH|Vanguard Short-Term Corporate Bond ETF|G|N|N|100 VCYT|Veracyte, Inc. - Common Stock|G|N|N|100 VDSI|VASCO Data Security International, Inc. - Common Stock|S|N|N|100 VDTH|Videocon d2h Limited - American Depositary Shares|Q|N|N|100 VECO|Veeco Instruments Inc. - Common Stock|Q|N|N|100 VGGL|Viggle Inc. - Common Stock|S|N|N|100 VGIT|Vanguard Intermediate -Term Government Bond ETF|G|N|N|100 VGLT|Vanguard Long-Term Government Bond ETF|G|N|N|100 VGSH|Vanguard Short-Term Government ETF|G|N|N|100 VIA|Viacom Inc. - Class A Common Stock|Q|N|N|100 VIAB|Viacom Inc. - Class B Common Stock|Q|N|N|100 VIAS|Viasystems Group, Inc. - Common Stock|G|N|N|100 VICL|Vical Incorporated - Common Stock|Q|N|N|100 VICR|Vicor Corporation - Common Stock|Q|N|N|100 VIDE|Video Display Corporation - Common Stock|G|N|D|100 VIDI|Vident International Equity Fund|G|N|N|100 VIEW|Viewtran Group, Inc. - Common Stock|Q|N|E|100 VIIX|Credit Suisse AG - VelocityShares VIX Short Term ETN|G|N|N|100 VIIZ|Credit Suisse AG - VelocityShares VIX Medium Term ETN|G|N|N|100 VIMC|Vimicro International Corporation - American depositary shares, each representing four ordinary shares|G|N|N|100 VIP|VimpelCom Ltd. - American Depositary Shares|Q|N|N|100 VIRC|Virco Manufacturing Corporation - Common Stock|G|N|N|100 VISN|VisionChina Media, Inc. - American Depositary Shares, each representing one Common Share|Q|N|N|100 VIVO|Meridian Bioscience Inc. - Common Stock|Q|N|N|100 VLGEA|Village Super Market, Inc. - Class A Common Stock|Q|N|N|100 VLTC|Voltari Corporation - Common Stock|S|N|D|100 VLYWW|Valley National Bancorp - Warrants 07/01/2015|S|N|N|100 VMBS|Vanguard Mortgage-Backed Securities ETF|G|N|N|100 VNDA|Vanda Pharmaceuticals Inc. - Common Stock|G|N|N|100 VNET|21Vianet Group, Inc. - American Depositary Shares|Q|N|N|100 VNOM|Viper Energy Partners LP - Common Unit|Q|N|N|100 VNQI|Vanguard Global ex-U.S. Real Estate ETF|G|N|N|100 VNR|Vanguard Natural Resources LLC - Common Units|Q|N|N|100 VNRAP|Vanguard Natural Resources LLC - 7.875% Series A Cumulative Redeemable Perpetual Preferred Unit|Q|N|N|100 VNRBP|Vanguard Natural Resources LLC - 7.625% Series B Cumulative Redeemable Perpetual Preferred Unit|Q|N|N|100 VNRCP|Vanguard Natural Resources LLC - 7.75% Series C Cumulative Redeemable Perpetual Preferred Unit|Q|N|N|100 VOD|Vodafone Group Plc - American Depositary Shares each representing ten Ordinary Shares|Q|N|N|100 VONE|Vanguard Russell 1000 ETF|G|N|N|100 VONG|Vanguard Russell 1000 Growth ETF|G|N|N|100 VONV|Vanguard Russell 1000 Value ETF|G|N|N|100 VOXX|VOXX International Corporation - Class A Common Stock|Q|N|N|100 VPCO|Vapor Corp. - Common Stock|S|N|N|100 VRA|Vera Bradley, Inc. - Common Stock|Q|N|N|100 VRAY|ViewRay Incorporated - Common Stock|G|N|N|100 VRML|Vermillion, Inc. - Common Stock|S|N|N|100 VRNG|Vringo, Inc. - Common Stock|S|N|D|100 VRNGW|Vringo, Inc. - Warrants|S|N|N|100 VRNS|Varonis Systems, Inc. - Common Stock|Q|N|N|100 VRNT|Verint Systems Inc. - Common Stock|Q|N|N|100 VRSK|Verisk Analytics, Inc. - Class A Common Stock|Q|N|N|100 VRSN|VeriSign, Inc. - Common Stock|Q|N|N|100 VRTA|Vestin Realty Mortgage I, Inc. - Common Stock|S|N|N|100 VRTB|Vestin Realty Mortgage II, Inc. - Common Stock|Q|N|N|100 VRTS|Virtus Investment Partners, Inc. - Common Stock|Q|N|N|100 VRTU|Virtusa Corporation - common stock|Q|N|N|100 VRTX|Vertex Pharmaceuticals Incorporated - Common Stock|Q|N|N|100 VSAR|Versartis, Inc. - Common Stock|Q|N|N|100 VSAT|ViaSat, Inc. - Common Stock|Q|N|N|100 VSCP|VirtualScopics, Inc. - Common Stock|S|N|N|100 VSEC|VSE Corporation - Common Stock|Q|N|N|100 VSTM|Verastem, Inc. - Common Stock|G|N|N|100 VTAE|Vitae Pharmaceuticals, Inc. - Common Stock|G|N|N|100 VTHR|Vanguard Russell 3000 ETF|G|N|N|100 VTIP|Vanguard Short-Term Inflation-Protected Securities Index Fund|G|N|N|100 VTL|Vital Therapies, Inc. - Common Stock|Q|N|N|100 VTNR|Vertex Energy, Inc - Common Stock|S|N|N|100 VTSS|Vitesse Semiconductor Corporation - Common Stock|G|N|N|100 VTWG|Vanguard Russell 2000 Growth ETF|G|N|N|100 VTWO|Vanguard Russell 2000 ETF|G|N|N|100 VTWV|Vanguard Russell 2000 Value ETF|G|N|N|100 VUSE|Vident Core US Equity ETF|G|N|N|100 VUZI|Vuzix Corporation - Common Stock|S|N|N|100 VVUS|VIVUS, Inc. - Common Stock|Q|N|N|100 VWOB|Vanguard Emerging Markets Government Bond ETF|G|N|N|100 VWR|VWR Corporation - Common Stock|Q|N|N|100 VXUS|Vanguard Total International Stock ETF|G|N|N|100 VYFC|Valley Financial Corporation - Common Stock|S|N|N|100 WABC|Westamerica Bancorporation - Common Stock|Q|N|N|100 WAFD|Washington Federal, Inc. - Common Stock|Q|N|N|100 WAFDW|Washington Federal, Inc. - Warrants 11/14/2018|Q|N|N|100 WASH|Washington Trust Bancorp, Inc. - Common Stock|Q|N|N|100 WATT|Energous Corporation - Common Stock|S|N|N|100 WAVX|Wave Systems Corp. - Class A Common Stock|S|N|D|100 WAYN|Wayne Savings Bancshares Inc. - Common Stock|G|N|N|100 WB|Weibo Corporation - American Depositary Share|Q|N|N|100 WBA|Walgreens Boots Alliance, Inc. - Common Stock|Q|N|N|100 WBB|Westbury Bancorp, Inc. - Common Stock|S|N|N|100 WBKC|Wolverine Bancorp, Inc. - Common Stock|S|N|N|100 WBMD|WebMD Health Corp - Common Stock|Q|N|N|100 WDC|Western Digital Corporation - Common Stock|Q|N|N|100 WDFC|WD-40 Company - Common Stock|Q|N|N|100 WEBK|Wellesley Bancorp, Inc. - Common Stock|S|N|N|100 WEN|Wendy's Company (The) - Common Stock|Q|N|N|100 WERN|Werner Enterprises, Inc. - Common Stock|Q|N|N|100 WETF|WisdomTree Investments, Inc. - Common Stock|Q|N|N|100 WEYS|Weyco Group, Inc. - Common Stock|Q|N|N|100 WFBI|WashingtonFirst Bankshares Inc - Common Stock|S|N|N|100 WFD|Westfield Financial, Inc. - Common Stock|Q|N|N|100 WFM|Whole Foods Market, Inc. - Common Stock|Q|N|N|100 WGBS|WaferGen Bio-systems, Inc. - Common Stock|S|N|N|100 WHF|WhiteHorse Finance, Inc. - Common Stock|Q|N|N|100 WHFBL|WhiteHorse Finance, Inc. - 6.50% Senior Notes due 2020|Q|N|N|100 WHLM|Wilhelmina International, Inc. - Common Stock|S|N|N|100 WHLR|Wheeler Real Estate Investment Trust, Inc. - Common Stock|S|N|N|100 WHLRP|Wheeler Real Estate Investment Trust, Inc. - Preferred Stock|S|N|N|100 WHLRW|Wheeler Real Estate Investment Trust, Inc. - Warrants|S|N|N|100 WIBC|Wilshire Bancorp, Inc. - Common Stock|Q|N|N|100 WIFI|Boingo Wireless, Inc. - Common Stock|Q|N|N|100 WILC|G. Willi-Food International, Ltd. - Ordinary Shares|S|N|N|100 WILN|Wi-LAN Inc - Common Shares|Q|N|N|100 WIN|Windstream Holdings, Inc. - Common Stock|Q|N|N|100 WINA|Winmark Corporation - Common Stock|G|N|N|100 WIRE|Encore Wire Corporation - Common Stock|Q|N|N|100 WIX|Wix.com Ltd. - Ordinary Shares|Q|N|N|100 WLB|Westmoreland Coal Company - Common Stock|G|N|N|100 WLDN|Willdan Group, Inc. - Common Stock|G|N|N|100 WLFC|Willis Lease Finance Corporation - Common Stock|G|N|N|100 WLRH|WL Ross Holding Corp. - Common Stock|S|N|N|100 WLRHU|WL Ross Holding Corp. - Unit|S|N|N|100 WLRHW|WL Ross Holding Corp. - Warrant|S|N|N|100 WMAR|West Marine, Inc. - Common Stock|Q|N|N|100 WMGI|Wright Medical Group, Inc. - Common Stock|Q|N|N|100 WMGIZ|Wright Medical Group, Inc. - Contingent Value Right|G|N|N|100 WOOD|iShares S&P Global Timber & Forestry Index Fund|G|N|N|100 WOOF|VCA Inc. - Common Stock|Q|N|N|100 WOWO|Wowo Limited - ADS|G|N|N|100 WPCS|WPCS International Incorporated - Common Stock|S|N|D|100 WPPGY|WPP plc - American Depositary Shares each representing five Ordinary Shares|Q|N|N|100 WPRT|Westport Innovations Inc - Ordinary Shares|Q|N|N|100 WRES|Warren Resources, Inc. - Common Stock|Q|N|N|100 WRLD|World Acceptance Corporation - Common Stock|Q|N|N|100 WSBC|WesBanco, Inc. - Common Stock|Q|N|N|100 WSBF|Waterstone Financial, Inc. - Common Stock|Q|N|N|100 WSCI|WSI Industries Inc. - Common Stock|S|N|N|100 WSFS|WSFS Financial Corporation - Common Stock|Q|N|N|100 WSFSL|WSFS Financial Corporation - 6.25% Senior Notes Due 2019|Q|N|N|100 WSTC|West Corporation - Common Stock|Q|N|N|100 WSTG|Wayside Technology Group, Inc. - Common Stock|G|N|N|100 WSTL|Westell Technologies, Inc. - Class A Common Stock|Q|N|N|100 WTBA|West Bancorporation - Common Stock|Q|N|N|100 WTFC|Wintrust Financial Corporation - Common Stock|Q|N|N|100 WTFCW|Wintrust Financial Corporation - Warrants|Q|N|N|100 WVFC|WVS Financial Corp. - Common Stock|G|N|N|100 WVVI|Willamette Valley Vineyards, Inc. - Common Stock|S|N|N|100 WWD|Woodward, Inc. - Common Stock|Q|N|N|100 WWWW|Web.com Group, Inc. - Common Stock|Q|N|N|100 WYNN|Wynn Resorts, Limited - Common Stock|Q|N|N|100 XBKS|Xenith Bankshares, Inc. - Common Stock|S|N|N|100 XCRA|Xcerra Corporation - Common Stock|Q|N|N|100 XENE|Xenon Pharmaceuticals Inc. - Common Shares|G|N|N|100 XENT|Intersect ENT, Inc. - Common Stock|G|N|N|100 XGTI|XG Technology, Inc - Common Stock|S|N|D|100 XGTIW|XG Technology, Inc - Warrants|S|N|N|100 XIV|Credit Suisse AG - VelocityShares Daily Inverse VIX Short Term ETN|G|N|N|100 XLNX|Xilinx, Inc. - Common Stock|Q|N|N|100 XLRN|Acceleron Pharma Inc. - Common Stock|G|N|N|100 XNCR|Xencor, Inc. - Common Stock|G|N|N|100 XNET|Xunlei Limited - American Depositary Receipts|Q|N|N|100 XNPT|XenoPort, Inc. - Common Stock|Q|N|N|100 XOMA|XOMA Corporation - Common Stock|G|N|N|100 XONE|The ExOne Company - Common Stock|Q|N|N|100 XOOM|Xoom Corporation - Common Stock|Q|N|N|100 XPLR|Xplore Technologies Corp - Common Stock|S|N|N|100 XRAY|DENTSPLY International Inc. - Common Stock|Q|N|N|100 XTLB|XTL Biopharmaceuticals Ltd. - American Depositary Shares|S|N|N|100 XXIA|Ixia - Common Stock|Q|N|N|100 YDIV|First Trust International Multi-Asset Diversified Income Index Fund|G|N|N|100 YDLE|Yodlee, Inc. - Common Stock|Q|N|N|100r YHOO|Yahoo! Inc. - Common Stock|Q|N|N|100 YNDX|Yandex N.V. - Class A Ordinary Shares|Q|N|N|100 YOD|You On Demand Holdings, Inc. - Common Stock|S|N|N|100 YORW|The York Water Company - Common Stock|Q|N|N|100 YPRO|AdvisorShares YieldPro ETF|G|N|N|100 YRCW|YRC Worldwide, Inc. - Common Stock|Q|N|N|100 YY|YY Inc. - American Depositary Shares|Q|N|N|100 Z|Zillow Group, Inc. - Class A Common Stock|Q|N|N|100 ZAGG|ZAGG Inc - Common Stock|Q|N|N|100 ZAIS|ZAIS Group Holdings, Inc. - Class A Common Stock|S|N|D|100 ZAZA|ZaZa Energy Corporation - Common Stock|S|N|D|100 ZBRA|Zebra Technologies Corporation - Class A Common Stock|Q|N|N|100 ZEUS|Olympic Steel, Inc. - Common Stock|Q|N|N|100 ZFGN|Zafgen, Inc. - Common Stock|Q|N|N|100 ZGNX|Zogenix, Inc. - Common Stock|G|N|N|100 ZHNE|Zhone Technologies, Inc. - Common Stock|S|N|N|100 ZINC|Horsehead Holding Corp. - Common Stock|Q|N|N|100 ZION|Zions Bancorporation - Common Stock|Q|N|N|100 ZIONW|Zions Bancorporation - Warrants 05/21/2020|Q|N|N|100 ZIONZ|Zions Bancorporation - Warrants|Q|N|N|100 ZIOP|ZIOPHARM Oncology Inc - Common Stock|S|N|N|100 ZIV|Credit Suisse AG - VelocityShares Daily Inverse VIX Medium Term ETN|G|N|N|100 ZIXI|Zix Corporation - Common Stock|Q|N|N|100 ZJZZT|NASDAQ TEST STOCK|Q|Y|N|100 ZLTQ|ZELTIQ Aesthetics, Inc. - Common Stock|Q|N|N|100 ZN|Zion Oil & Gas Inc - Common Stock|G|N|N|100 ZNGA|Zynga Inc. - Class A Common Stock|Q|N|N|100 ZNWAA|Zion Oil & Gas Inc - Warrants|G|N|N|100 ZSAN|Zosano Pharma Corporation - Common Stock|S|N|N|100 ZSPH|ZS Pharma, Inc. - Common Stock|G|N|N|100 ZU|zulily, inc. - Class A Common Stock|Q|N|N|100 ZUMZ|Zumiez Inc. - Common Stock|Q|N|N|100 ZVZZT|NASDAQ TEST STOCK|G|Y|N|100 ZWZZT|NASDAQ TEST STOCK|S|Y|N|100 ZXYZ.A|Nasdaq Symbology Test Common Stock|Q|Y|N|100 ZXZZT|NASDAQ TEST STOCK|G|Y|N|100 File Creation Time: 0402201521:33||||| ''' symbols = [] f = open('symbols.p','w+') t = f.readlines() f.write('symbols = [') for line in sym_text.split('\n')[1:-2]: f.write('\'') f.write(line.split('|')[0]) f.write('\',\n') f.write(']')
''' 86-Crie um programa que crie uma matriz de 3X3 e preencha os valores lidos pelo teclado. ______________ |____|____|___| |____|____|___| |____|____|___| No final mostre a matriz na tela com a formataรงรฃo correta. ''' matriz=[[0,0,0],[0,0,0],[0,0,0]] for linha in range(0,3): for coluna in range(0,3): matriz[linha][coluna]=int(input(f'Digite o valor da [{linha},{coluna}]:')) print() print('-='*40) for linha in range(0,3): for coluna in range(0,3): print(f'{matriz[linha][coluna]:^5}',end=' ') print() print('-='*40)
"""Utility functions and constants necessary for Flowdec <--> PSFGenerator validation and comparison""" # Configuration example taken from http://bigwww.epfl.ch/algorithms/psfgenerator/ DEFAULT_PSF_CONFIG = """ PSF-shortname=GL ResLateral=100.0 ResAxial=250.0 NY=256 NX=256 NZ=65 Type=32-bits NA=1.4 LUT=Fire Lambda=610.0 Scale=Linear psf-BW-NI=1.5 psf-BW-accuracy=Good psf-RW-NI=1.5 psf-RW-accuracy=Good psf-GL-NI=1.5 psf-GL-NS=1.33 psf-GL-accuracy=Good psf-GL-ZPos=2000.0 psf-GL-TI=150.0 psf-TV-NI=1.5 psf-TV-ZPos=2000.0 psf-TV-TI=150.0 psf-TV-NS=1.0 psf-Circular-Pupil-defocus=100.0 psf-Circular-Pupil-axial=Linear psf-Circular-Pupil-focus=0.0 psf-Oriented-Gaussian-axial=Linear psf-Oriented-Gaussian-focus=0.0 psf-Oriented-Gaussian-defocus=100.0 psf-Astigmatism-focus=0.0 psf-Astigmatism-axial=Linear psf-Astigmatism-defocus=100.0 psf-Defocus-DBot=30.0 psf-Defocus-ZI=2000.0 psf-Defocus-DTop=30.0 psf-Defocus-DMid=1.0 psf-Defocus-K=275.0 psf-Cardinale-Sine-axial=Linear psf-Cardinale-Sine-defocus=100.0 psf-Cardinale-Sine-focus=0.0 psf-Lorentz-axial=Linear psf-Lorentz-focus=0.0 psf-Lorentz-defocus=100.0 psf-Koehler-dMid=3.0 psf-Koehler-dTop=1.5 psf-Koehler-n1=1.0 psf-Koehler-n0=1.5 psf-Koehler-dBot=6.0 psf-Double-Helix-defocus=100.0 psf-Double-Helix-axial=Linear psf-Double-Helix-focus=0.0 psf-Gaussian-axial=Linear psf-Gaussian-focus=0.0 psf-Gaussian-defocus=100.0 psf-Cosine-axial=Linear psf-Cosine-focus=0.0 psf-Cosine-defocus=100.0 psf-VRIGL-NI=1.5 psf-VRIGL-accuracy=Good psf-VRIGL-NS2=1.4 psf-VRIGL-NS1=1.33 psf-VRIGL-TG=170.0 psf-VRIGL-NG=1.5 psf-VRIGL-TI=150.0 psf-VRIGL-RIvary=Linear psf-VRIGL-ZPos=2000.0 """ PSFGEN_PARAM_MAP = { 'GL': { 'ni0': 'psf-GL-NI', # Refractive index, immersion 'ns': 'psf-GL-NS', # Specimen refractive index 'pz': 'psf-GL-ZPos', # Particle distance from coverslip (nm for PSFGenerator, microns for Flowdec) 'ti0': 'psf-GL-TI', # Working distance (microns for both) 'wavelength': 'Lambda', # Emission wavelength (nm for PSFGenerator, micros for Flowdec) 'res_lateral': 'ResLateral', # Lateral resolution (nm for PSFGenerator, microns for Flowdec) 'res_axial': 'ResAxial', # Axial resolution (nm for PSFGenerator, microns for Flowdec) 'na': 'NA', # Numerical aperture 'size_x': 'NX', # Size X 'size_y': 'NY', # Size Y 'size_z': 'NZ' # Size Z }, 'BW': { 'ni0': 'psf-BW-NI', # Refractive index, immersion 'wavelength': 'Lambda', # Emission wavelength 'res_lateral': 'ResLateral', # Lateral resolution (nm for PSFGenerator, microns for Flowdec) 'res_axial': 'ResAxial', # Axial resolution (nm for PSFGenerator, microns for Flowdec) 'na': 'NA', # Numerical aperture 'size_x': 'NX', # Size X 'size_y': 'NY', # Size Y 'size_z': 'NZ' # Size Z } } DIVISORS = { 'ResLateral': .001, 'ResAxial': .001, 'Lambda': .001, 'Lambda': .001, 'psf-GL-ZPos': .001 } BW_PARAM_MAP = { 'ni0': 'psf-BW-NI' # Refractive index, immersion } def get_default_psfgenerator_config(): return psfgenerator_config_from_string(DEFAULT_PSF_CONFIG) def psfgenerator_config_to_string(config): return '\n'.join(['{}={}'.format(k, v) for k, v in config.items()]) def psfgenerator_config_from_string(config): return dict([l.split('=') for l in config.split('\n') if l]) def flowdec_config_to_psfgenerator_config(config, mode='GL', accuracy='Best', dtype='32-bits'): if mode not in PSFGEN_PARAM_MAP: raise ValueError('Mode must be one of {} (given = {})'.format(list(PSFGEN_PARAM_MAP.keys()), mode)) if accuracy not in ['Good', 'Better', 'Best']: raise ValueError('Accuracy level must be one of {} (given = {})'.format(['Good', 'Better', 'Best'], accuracy)) if dtype not in ['32-bits', '64-bits']: raise ValueError('Data type must be one of {} (given = {})'.format(['32-bits', '64-bits'], dtype)) res = get_default_psfgenerator_config() for k, v in config.items(): # Ignore any parameters specific to Flowdec PSF generation alone if k not in PSFGEN_PARAM_MAP[mode]: continue # Get PSFGenerator config property name for flowdec property name kt = PSFGEN_PARAM_MAP[mode][k] # Apply units transformation if necessary vt = v if kt in DIVISORS: vt = v / DIVISORS[kt] res[kt] = vt # Set the "short name" of the PSF type to calculate (BW=Born & Wolf, GL=Gibson & Lanni) as # well as the desired accuracy level res['PSF-shortname'] = mode res['psf-' + mode + '-accuracy'] = accuracy res['Type'] = dtype return res
class Solution: def minCostClimbingStairs(self, cost): """ :type cost: List[int] :rtype: int """ dp = [0] * len(cost) for i in range(2, len(cost)): dp[i] = min(cost[i - 1] + dp[i - 1], cost[i - 2] + dp[i - 2]) ans = min(cost[- 1] + dp[- 1], cost[-2] + dp[-2]) return ans solution = Solution() print(solution.minCostClimbingStairs([1, 100, 1, 1, 1, 100, 1, 1, 100, 1]))
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # NOTE: This class is auto generated by the jdcloud code generator program. class ProductServiceVo(object): def __init__(self, deliverNumber=None, orderNumber=None, buyerPin=None, mappingCode=None, supportAutoDeliver=None, productId=None, skuId=None, skuName=None, serviceCode=None, num=None, period=None, periodType=None, periodTypeName=None, accountNum=None, deliverStatus=None, deliverStatusName=None, effectiveDt=None, failureDt=None, extraInfo=None, remark=None, orderTotalFee=None, orderActualFee=None, paymentDt=None, extraChargeInfo=None, orderItemExtraChargeInfos=None): """ :param deliverNumber: (Optional) ไบคไป˜ๅ•ๅท :param orderNumber: (Optional) ่ฎขๅ•ๅท :param buyerPin: (Optional) ่ดญไนฐไบบ :param mappingCode: (Optional) ๆ˜ ๅฐ„็ผ–ๅท :param supportAutoDeliver: (Optional) ๆ˜ฏๅฆๆ”ฏๆŒ่‡ชๅŠจไบคไป˜๏ผš0่กจ็คบไธๆ”ฏๆŒ๏ผŒ1่กจ็คบๆ”ฏๆŒ :param productId: (Optional) ไบงๅ“ID :param skuId: (Optional) sku ID :param skuName: (Optional) skuๅ็งฐ :param serviceCode: (Optional) ๆœๅŠกcode :param num: (Optional) ๆ•ฐ้‡ :param period: (Optional) ๅ‘จๆœŸ :param periodType: (Optional) ๅ‘จๆœŸ็ฑปๅž‹ :param periodTypeName: (Optional) ๅ‘จๆœŸ็ฑปๅž‹ๅ็งฐ :param accountNum: (Optional) ่ดฆๅทๆ•ฐ้‡ :param deliverStatus: (Optional) ไบคไป˜็Šถๆ€ :param deliverStatusName: (Optional) ไบคไป˜็Šถๆ€ๅ็งฐ :param effectiveDt: (Optional) ๆœๅŠก็”Ÿๆ•ˆๆ—ถ้—ด๏ผŒๆ ผๅผ๏ผšyyyy-MM-dd HH:mm:ss :param failureDt: (Optional) ๆœๅŠก่ฟ‡ๆœŸๆ—ถ้—ด๏ผŒๆ ผๅผ๏ผšyyyy-MM-dd HH:mm:ss :param extraInfo: (Optional) ๅ•†ๅ“ๅฑžๆ€ง :param remark: (Optional) ไบคไป˜ๅ•ๅค‡ๆณจ :param orderTotalFee: (Optional) ่ฎขๅ•้‡‘้ข :param orderActualFee: (Optional) ่ฎขๅ•ๅฎžไป˜้‡‘้ข :param paymentDt: (Optional) ่ฎขๅ•ๆ”ฏไป˜ๆ—ถ้—ด :param extraChargeInfo: (Optional) ้ขๅค–่ฎก่ดน้กนไฟกๆฏ :param orderItemExtraChargeInfos: (Optional) ้ขๅค–่ฎก่ดน่ฏฆๆƒ…ไฟกๆฏ """ self.deliverNumber = deliverNumber self.orderNumber = orderNumber self.buyerPin = buyerPin self.mappingCode = mappingCode self.supportAutoDeliver = supportAutoDeliver self.productId = productId self.skuId = skuId self.skuName = skuName self.serviceCode = serviceCode self.num = num self.period = period self.periodType = periodType self.periodTypeName = periodTypeName self.accountNum = accountNum self.deliverStatus = deliverStatus self.deliverStatusName = deliverStatusName self.effectiveDt = effectiveDt self.failureDt = failureDt self.extraInfo = extraInfo self.remark = remark self.orderTotalFee = orderTotalFee self.orderActualFee = orderActualFee self.paymentDt = paymentDt self.extraChargeInfo = extraChargeInfo self.orderItemExtraChargeInfos = orderItemExtraChargeInfos
class Solution: def isPossible(self, nums): """ :type nums: List[int] :rtype: bool """ # # greedy algorithm left = collections.Counter(nums) end = collections.Counter() for num in nums: if not left[num]: continue left[num] -= 1 if end[num - 1] > 0: end[num - 1] -= 1 end[num] += 1 elif left[num + 1] and left[num + 2]: left[num + 1] -= 1 left[num + 2] -= 1 end[num + 2] += 1 else: return False return True
print("copie des listes : slicing") liste = [1,6,60] sousliste = liste[0:2] print("liste : ", liste) print("sousliste : ", sousliste) tuple = (1,6,60,0) soustuple = tuple[0:2] print("tuple : ", tuple) print("soustuple : ", soustuple) liste = range(5,100,10) print("liste[0] : ", liste[0]) print("liste[-1] : ", liste[-1])
# Given a string and a list of words, find all the starting indices of substrings in the given string that are a concatenation of all the given words exactly once without any overlapping of words. It is given that all words are of the same length. # Example 1: # Input: String = "catfoxcat", Words = ["cat", "fox"] # Output: [0, 3] # Explanation: The two substring containing both the words are "catfox" & "foxcat". # Example 2: # Input: String = "catcatfoxfox", Words = ["cat", "fox"] # Output: [3] # Explanation: The only substring containing both the words is "catfox". def find_word_concatenation(str, words): if len(words) == 0 or len(words[0]) == 0: return [] word_frequency = {} result_indices = [] for word in words: if word not in word_frequency: word_frequency[word] = 0 word_frequency[word] += 1 word_length = len(words[0]) words_count = len(words) for i in range((len(str) - words_count * word_length)+1): words_seen = {} for j in range(0, words_count): next_word_index = i + j * word_length word = str[next_word_index: next_word_index + word_length] if word not in word_frequency: break if word not in words_seen: words_seen[word] = 0 words_seen[word] += 1 if words_seen[word] > word_frequency[word]: break if j + 1 == words_count: result_indices.append(i) return result_indices def main(): print(find_word_concatenation("catfoxcat", ["cat", "fox"])) print(find_word_concatenation("catcatfoxfox", ["cat", "fox"])) if __name__ == "__main__": main()
#J row=0 while row<6: col =1 while col<7: if (col==3 or row==0 ) or (row==4 and col==1)or (row==5 and col==2): print("*",end=" ") else: print(" ",end=" ") col +=1 row +=1
"""Blizzard API Constants""" "Region to use when fetching game data" BLIZZARD_REGION = 'us' "Locale to use when fetching" BLIZZARD_LOCALE = 'en_US'
'''Pygame Drawing algorithms written in Python. (Work in Progress) Implement Pygame's Drawing Algorithms in a Python version for testing and debugging. ''' # FIXME : the import of the builtin math module is broken, even with : # from __future__ import relative_imports # from math import floor, ceil, trunc # H E L P E R F U N C T I O N S # # fractional part of x def fpart(x): '''return fractional part of x''' return x - floor(x) def rfpart(x): '''return inverse fractional part of x''' return 1 - (x - floor(x)) # eg, 1 - fpart(x) # L O W L E V E L D R A W F U N C T I O N S # # (They are too low-level to be translated into python, right?) def set_at(surf, x, y, color): surf.set_at((x, y), color) def drawhorzline(surf, color, x_from, y, x_to): if x_from == x_to: surf.set_at((x_from, y), color) return start, end = (x_from, x_to) if x_from <= x_to else (x_to, x_from) for x in range(start, end + 1): surf.set_at((x, y), color) def drawvertline(surf, color, x, y_from, y_to): if y_from == y_to: surf.set_at((x, y_from), color) return start, end = (y_from, y_to) if y_from <= y_to else (y_to, y_from) for y in range(start, end + 1): surf.set_at((x, y), color) # D R A W L I N E F U N C T I O N S # def drawhorzlineclip(surf, color, x_from, y, x_to): '''draw clipped horizontal line.''' # check Y inside surf clip = surf.get_clip() if y < clip.y or y >= clip.y + clip.h: return x_from = max(x_from, clip.x) x_to = min(x_to, clip.x + clip.w - 1) # check any x inside surf if x_to < clip.x or x_from >= clip.x + clip.w: return drawhorzline(surf, color, x_from, y, x_to) def drawvertlineclip(surf, color, x, y_from, y_to): '''draw clipped vertical line.''' # check X inside surf clip = surf.get_clip() if x < clip.x or x >= clip.x + clip.w: return y_from = max(y_from, clip.y) y_to = min(y_to, clip.y + clip.h - 1) # check any y inside surf if y_to < clip.y or y_from >= clip.y + clip.h: return drawvertline(surf, color, x, y_from, y_to) LEFT_EDGE = 0x1 RIGHT_EDGE = 0x2 BOTTOM_EDGE = 0x4 TOP_EDGE = 0x8 def encode(x, y, left, top, right, bottom): return ((x < left) * LEFT_EDGE + (x > right) * RIGHT_EDGE + (y < top) * TOP_EDGE + (y > bottom) * BOTTOM_EDGE) INSIDE = lambda a: not a ACCEPT = lambda a, b: not (a or b) REJECT = lambda a, b: a and b def clip_line(line, left, top, right, bottom): assert isinstance(line, list) x1, y1, x2, y2 = line while True: code1 = encode(x1, y1, left, top, right, bottom) code2 = encode(x2, y2, left, top, right, bottom) if ACCEPT(code1, code2): line[:] = x1, y1, x2, y2 return True if REJECT(code1, code2): return False if INSIDE(code1): x1, x2 = x2, x1 y1, y2 = y2, y1 code1, code2 = code2, code1 if (x2 != x1): m = (y2 - y1) / float(x2 - x1) else: m = 1.0 if code1 & LEFT_EDGE: y1 += int((left - x1) * m) x1 = left elif code1 & RIGHT_EDGE: y1 += int((right - x1) * m) x1 = right elif code1 & BOTTOM_EDGE: if x2 != x1: x1 += int((bottom - y1) / m) y1 = bottom elif code1 & TOP_EDGE: if x2 != x1: x1 += int((top - y1) / m) y1 = top def clip_and_draw_line(surf, rect, color, pts): if not clip_line(pts, rect.x, rect.y, rect.x + rect.w - 1, rect.y + rect.h - 1): # not crossing the rectangle... return 0 # pts == x1, y1, x2, y2 ... if pts[1] == pts[3]: drawhorzline(surf, color, pts[0], pts[1], pts[2]) elif pts[0] == pts[2]: drawvertline(surf, color, pts[0], pts[1], pts[3]) else: draw_line(surf, color, pts[0], pts[1], pts[2], pts[3]) return 1 # Variant of https://en.wikipedia.org/wiki/Bresenham's_line_algorithm # This strongly differs from craw.c implementation, because we do not # handle BytesPerPixel, and we use "slope" and "error" variables. def draw_line(surf, color, x1, y1, x2, y2): if x1 == x2: # This case should not happen... raise ValueError slope = abs((y2 - y1) / (x2 - x1)) error = 0.0 if slope < 1: # Here, it's a rather horizontal line # 1. check in which octants we are & set init values if x2 < x1: x1, x2 = x2, x1 y1, y2 = y2, y1 y = y1 dy_sign = 1 if (y1 < y2) else -1 # 2. step along x coordinate for x in range(x1, x2 + 1): set_at(surf, x, y, color) error += slope if error >= 0.5: y += dy_sign error -= 1 else: # Case of a rather vertical line # 1. check in which octants we are & set init values if y1 > y2: x1, x2 = x2, x1 y1, y2 = y2, y1 x = x1 slope = 1 / slope dx_sign = 1 if (x1 < x2) else -1 # 2. step along y coordinate for y in range(y1, y2 + 1): set_at(surf, x, y, color) error += slope if error >= 0.5: x += dx_sign error -= 1 def clip_and_draw_line_width(surf, rect, color, width, line): yinc = xinc = 0 if abs(line[0] - line[2]) > abs(line[1] - line[3]): yinc = 1 else: xinc = 1 newpts = line[:] if clip_and_draw_line(surf, rect, color, newpts): anydrawn = 1 frame = newpts[:] else: anydrawn = 0 frame = [10000, 10000, -10000, -10000] for loop in range(1, width // 2 + 1): newpts[0] = line[0] + xinc * loop newpts[1] = line[1] + yinc * loop newpts[2] = line[2] + xinc * loop newpts[3] = line[3] + yinc * loop if clip_and_draw_line(surf, rect, color, newpts): anydrawn = 1 frame[0] = min(newpts[0], frame[0]) frame[1] = min(newpts[1], frame[1]) frame[2] = max(newpts[2], frame[2]) frame[3] = max(newpts[3], frame[3]) if loop * 2 < width: newpts[0] = line[0] - xinc * loop newpts[1] = line[1] - yinc * loop newpts[2] = line[2] - xinc * loop newpts[3] = line[3] - yinc * loop if clip_and_draw_line(surf, rect, color, newpts): anydrawn = 1 frame[0] = min(newpts[0], frame[0]) frame[1] = min(newpts[1], frame[1]) frame[2] = max(newpts[2], frame[2]) frame[3] = max(newpts[3], frame[3]) return anydrawn def draw_aaline(surf, color, from_point, to_point, blend): '''draw anti-alisiased line between two endpoints.''' # TODO # M U L T I L I N E F U N C T I O N S # def draw_lines(surf, color, closed, points, width): length = len(points) if length <= 2: raise TypeError line = [0] * 4 # store x1, y1 & x2, y2 of the lines to be drawn x, y = points[0] left = right = line[0] = x top = bottom = line[1] = y for loop in range(1, length): line[0] = x line[1] = y x, y = points[loop] line[2] = x line[3] = y if clip_and_draw_line_width(surf, surf.get_clip(), color, width, line): left = min(line[2], left) top = min(line[3], top) right = max(line[2], right) bottom = max(line[3], bottom) if closed: line[0] = x line[1] = y x, y = points[0] line[2] = x line[3] = y clip_and_draw_line_width(surf, surf.get_clip(), color, width, line) return # TODO Rect(...) def draw_polygon(surface, color, points, width): if width: draw_lines(surface, color, 1, points, width) return # TODO Rect(...) num_points = len(points) point_x = [x for x, y in points] point_y = [y for x, y in points] miny = min(point_y) maxy = max(point_y) if miny == maxy: minx = min(point_x) maxx = max(point_x) drawhorzlineclip(surface, color, minx, miny, maxx) return # TODO Rect(...) for y in range(miny, maxy + 1): x_intersect = [] for i in range(num_points): i_prev = i - 1 if i else num_points - 1 y1 = point_y[i_prev] y2 = point_y[i] if y1 < y2: x1 = point_x[i_prev] x2 = point_x[i] elif y1 > y2: y2 = point_y[i_prev] y1 = point_y[i] x2 = point_x[i_prev] x1 = point_x[i] else: # special case handled below continue if ( ((y >= y1) and (y < y2)) or ((y == maxy) and (y <= y2))) : x_sect = (y - y1) * (x2 - x1) // (y2 - y1) + x1 x_intersect.append(x_sect) x_intersect.sort() for i in range(0, len(x_intersect), 2): drawhorzlineclip(surface, color, x_intersect[i], y, x_intersect[i + 1]) # special case : horizontal border lines for i in range(num_points): i_prev = i - 1 if i else num_points - 1 y = point_y[i] if miny < y == point_y[i_prev] < maxy: drawhorzlineclip(surface, color, point_x[i], y, point_x[i_prev]) return # TODO Rect(...)
mes = ['janeiro', 'fevereiro', 'marรงo', 'aril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'] desejado = int(input('Digite o numero de mes desejado: ')) if desejado <= 12: print(f'Voce escolheu o mes {mes[desejado]}') else: print('mes invalido')
class Solution: def rob(self, nums): rob, not_rob = 0, 0 for num in nums: rob, not_rob = not_rob + num, max(rob, not_rob) return max(rob, not_rob)
MISS_POSITION = 'miss position' OUT_OF_RANGE = 'out of range' TIME_OVER = 'time over' OUTPUT_ERROR = 'output error' RUNTIME_ERROR = 'runtime error' TYPE_ERROR = 'not correct type' GAME_ERROR = 'game error' SERVER_ERROR = 'server error'
""" * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * """ n=input() k=len(n)-1 r=k*9+int(n[0])-1 n=str(int(n)-int(str(int(n[0])-1)+'9'*k)) for x in n:r+=int(x) print(r)
def arevaluesthesame(value1, value2, relative_tolerance, abs_tol=0.0): # Use math.isclose algorithm, it is better than numpy.isclose method. # See https://github.com/numpy/numpy/issues/10161 for more on the discussion # Since some python version don't come with math.isclose we implement it here directly return abs(value1 - value2) <= max(relative_tolerance * max(abs(value1), abs(value2)), abs_tol) def getfloat(value): """ Gets the floating point value from a string Will allow for fortran style floats, i.e -2.34321-308 If it is neither then it will return "nan" """ if istradiationalfloat(value): return float(value) else: return getfortranfloat(value) def istradiationalfloat(value): """ Checks if the string can be converted to a floating point value Does not allow for fortran style floats, i.e -2.34321-308 only standard floats. """ try: float(value) return True except ValueError: return False def isfloat(value): """ Checks if the string can be converted to a floating point value Will allow for fortran style floats, i.e -2.34321-308 If it is neither then it will return False """ return (istradiationalfloat(value) or isfortranfloat(value)) def isfortranfloat(value): passfunc = lambda sign, esign, parts: True failfunc = lambda: False return _fortranfloat(value, passfunc, failfunc) def getfortranfloat(value): passfunc = lambda sign, esign, parts: float(sign + parts[0] + 'E' + esign + parts[1]) failfunc = lambda: "nan" return _fortranfloat(value, passfunc, failfunc) def _fortranfloat(value, passfunc, failfunc): # could be 2.3 # 2.3e+10 # -2.3e+10 # -2.3+10 # -2.3-10 # 2.3-10 # +2.3-10 # +2.3+10 # -2.3+10 signs = ['-', '+'] valueasstring = str(value) sign = "" if len(valueasstring) > 0: # check for sign at the front if valueasstring[0] in signs: sign = valueasstring[0] valueasstring = valueasstring[1:] # cannot have both separators in the value for a valid float if not all(s in valueasstring for s in signs): # check the values in both parts recursively for sn in signs: if sn in valueasstring: parts = valueasstring.split(sn, 1) if istradiationalfloat(parts[0]) and \ istradiationalfloat(parts[1]) and \ '.' in parts[0] and not '.' in parts[1]: return passfunc(sign, sn, parts) return failfunc()
N = int(input('Nรบmero de pessoas: ')) v = [] soma = 0 for i in range(N): v.append(float(input(f'Renda da pessoa {i+1}: '))) soma += v[i] media = soma / N for i in range(N): for j in range(N-1): if v[j] > v[j+1]: temp = v[j] v[j] = v[j+1] v[j+1] = temp if N % 2 == 0: mediana = (v[int(N / 2)] + v[int((N / 2) - 1)]) / 2 else: mediana = v[int(N / 2)] print(f'Mรฉdia das rendas: {media:.2f}') print(f'Mediana das rendas: {mediana:.2f}')
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 31 15:45:48 2019 @author: descentis """
def insert(connection, transaction_id, item_id, item_price, transaction_amount): if not isinstance(item_price, float) or item_price < 0: raise TypeError("Argument 'transaction_id' must be a non-negative integer!") if not isinstance(transaction_amount, int) or transaction_amount < 0: raise TypeError("Argument 'transaction_id' must be a non-negative integer!") cur = connection.cursor() cur.execute( '''INSERT INTO TransactionDetail (transactionID, itemID, itemPrice, transactionAmount) VALUES (?,?,?,?)''', (transaction_id, item_id, item_price, transaction_amount)) connection.commit() def search_by_transaction_id(connection, transaction_id=None): cur = connection.cursor() if transaction_id is None: return cur.execute('''SELECT * FROM TransactionDetail LIMIT 0''').fetchall() return cur.execute('''SELECT * FROM TransactionDetail WHERE transactionID = ?''', (transaction_id,)).fetchall() def columns_names(connection): cur = connection.cursor() cur.execute('''SELECT * FROM TransactionDetail LIMIT 0''') columns = [i[0] for i in cur.description] return columns
# Copyright 2017 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """The ts_devserver rule brings up our "getting started" devserver. See the README.md. """ load("@build_bazel_rules_nodejs//internal:node.bzl", "sources_aspect", ) def _ts_devserver(ctx): files = depset() for d in ctx.attr.deps: if hasattr(d, "node_sources"): files += d.node_sources elif hasattr(d, "files"): files += d.files if ctx.label.workspace_root: # We need the workspace_name for the target being visited. # Skylark doesn't have this - instead they have a workspace_root # which looks like "external/repo_name" - so grab the second path segment. # TODO(alexeagle): investigate a better way to get the workspace name workspace_name = ctx.label.workspace_root.split("/")[1] else: workspace_name = ctx.workspace_name # Create a manifest file with the sources in arbitrary order, and without # bazel-bin prefixes ("root-relative paths"). # TODO(alexeagle): we should experiment with keeping the files toposorted, to # see if we can get performance gains out of the module loader. ctx.actions.write(ctx.outputs.manifest, "".join([ workspace_name + "/" + f.short_path + "\n" for f in files ])) # Requirejs is always needed so its included as the first script # in script_files before any user specified scripts for the devserver # to concat in order. script_files = depset() script_files += ctx.files._requirejs_script script_files += ctx.files.scripts ctx.actions.write(ctx.outputs.scripts_manifest, "".join([ workspace_name + "/" + f.short_path + "\n" for f in script_files ])) devserver_runfiles = [ ctx.executable._devserver, ctx.outputs.manifest, ctx.outputs.scripts_manifest, ctx.file._requirejs_script] devserver_runfiles += ctx.files.static_files devserver_runfiles += ctx.files.scripts serving_arg = "" if ctx.attr.serving_path: serving_arg = "-serving_path=%s" % ctx.attr.serving_path # FIXME: more bash dependencies makes Windows support harder ctx.actions.write( output = ctx.outputs.executable, is_executable = True, content = """#!/bin/sh RUNFILES="$PWD/.." {main} {serving_arg} \ -base "$RUNFILES" \ -packages={workspace}/{package} \ -manifest={workspace}/{manifest} \ -scripts_manifest={workspace}/{scripts_manifest} \ -entry_module={entry_module} \ "$@" """.format( main = ctx.executable._devserver.short_path, serving_arg = serving_arg, workspace = workspace_name, package = ctx.label.package, manifest = ctx.outputs.manifest.short_path, scripts_manifest = ctx.outputs.scripts_manifest.short_path, entry_module = ctx.attr.entry_module)) return [DefaultInfo( runfiles = ctx.runfiles( files = devserver_runfiles, # We don't expect executable targets to depend on the devserver, but if they do, # they can see the JavaScript code. transitive_files = depset(ctx.files.data) + files, collect_data = True, collect_default = True, ) )] ts_devserver = rule( implementation = _ts_devserver, attrs = { "deps": attr.label_list(allow_files = True, aspects = [sources_aspect]), "serving_path": attr.string(), "data": attr.label_list(allow_files = True, cfg = "data"), "static_files": attr.label_list(allow_files = True), # User scripts for the devserver to concat before the source files "scripts": attr.label_list(allow_files = True), # The entry_module should be the AMD module name of the entry module such as "__main__/src/index" # Devserver concats the following snippet after the bundle to load the application: require(["entry_module"]); "entry_module": attr.string(), "_requirejs_script": attr.label(allow_files = True, single_file = True, default = Label("@build_bazel_rules_typescript_devserver_deps//:node_modules/requirejs/require.js")), "_devserver": attr.label( default = Label("//internal/devserver/main"), executable = True, cfg = "host", ), }, outputs = { "manifest": "%{name}.MF", "scripts_manifest": "scripts_%{name}.MF", }, executable = True, ) def ts_devserver_macro(tags = [], **kwargs): ts_devserver( # Users don't need to know that these tags are required to run under ibazel tags = tags + [ # Tell ibazel not to restart the devserver when its deps change. "ibazel_notify_changes", # Tell ibazel to serve the live reload script, since we expect a browser will connect to # this program. "ibazel_live_reload", ], **kwargs )
'''instruรงรฃo break e os loopings infinitos a favor das nossas estratรฉgias de cรณdigo e fstrings do Python.''' n = s = 0 while True: n = int(input('Escreva um numero [Digite 999 para somar]: ')) if n == 999: break s += n print('A soma vale {}'.format(s)) #===================== Exemplo usando fstrings ============================= nome = 'jose' idade = 33 salario = 345.45 print(f'O nome รฉ {nome:-^5} e tem {idade} e ganha R${salario:.2f}') #f no comeรงo subistitui o .format | ^ Alinha no centro o texto
''' Pattern: Enter number of rows: 5 1 12 123 1234 12345 1234 123 12 1 ''' print('Number of patterns: ') number_rows=int(input('Enter number of rows: ')) #upper part of the pattern for row in range(1,number_rows+1): for column in range(1,row+1): print('%-2d'%column,end='') print() #lowe part of the pattern for row in range(number_rows-1,0,-1): for column in range(1,row+1): print('%-2d'%column,end='') print()
{ '1': 'Identity', '2': "Narrator's responses", '2.1': 'Terror and Madness Trailer', '2.2': 'Intro cinematic', '2.3': 'Tutorial lines', '2.3.1': 'Entering a building for the first time', '2.4': 'Entering the hamlet', '2.5': 'Upgrading buildings', '2.6': 'Recruiting heroes', '2.7': 'Dismissing a hero from the roster', '2.8': 'Starting an expedition to kill a boss', '2.8.1': 'Ruins', '2.8.2': 'Weald', '2.8.3': 'Warrens', '2.8.4': 'Cove', '2.9': 'Entering the Ruins', '2.10': 'Entering the Weald', '2.11': 'Entering the Warrens', '2.12': 'Entering the Coves', '2.13': 'Succeeding an expedition', '2.13.1': 'Ruins', '2.13.2': 'Weald', '2.13.3': 'Warrens', '2.13.4': 'Cove', '2.14': 'Failing an expedition', '2.15': 'Encountering a boss', '2.16': 'Encountering a Color of Madness boss', '2.17': 'Encountering a mini-boss', '2.17.1': 'The Collector', '2.17.2': 'The Shambler', '2.18': 'Encountering a Color of Madness mini-boss', '2.18.1': 'The Thing from the Stars', '2.19': 'Raising the Light Meter to 100', '2.20': 'Light Meter dropping to 0', '2.21': 'Obtaining loot', '2.22': 'Camping', '2.23': 'Getting hit by a trap', '2.24': 'Facing obstacles', '2.25': 'Failing to satiate the party', '2.26': 'Healing', '2.26.1': 'Receiving healing through skills and/or food', '2.26.2': 'Getting a critical hit when healing', '2.26.3': "Healing while at Death's Door", '2.27': 'Killing an enemy', '2.27.1': 'Killing the first enemy', '2.27.2': 'Killing a weak enemy', '2.27.3': 'Killing an enemy with a strong attack', '2.27.4': 'Killing a large enemy', '2.27.5': 'Killing an enemy with blight or bleed', '2.28': 'Striking a critical hit', '2.29': 'Receiving a critical hit', '2.30': 'Receiving a Debuff', '2.30.1': 'Being inflicted Horror', '2.31': 'Receiving a Buff', '2.32': "Having a hero reach Death's Door", '2.33': 'Having a hero receive the deathblow', '2.34': 'Winning a battle', '2.35': 'Filling your inventory', '2.36': 'Failing to retreat from a battle', '2.37': 'Retreating from a battle', '2.38': 'Having a hero reach 50% stress or health', '2.39': 'Gaining afflictions', '2.40': 'Gaining virtues', '2.41': 'Crimson Court DLC cinematic - "Younger Years"', '2.42': 'Crimson Court DLC cinematic - "Forbidden Tannin"', '2.43': 'Encountering Darkest Dungeon bosses', '2.43.1': 'Heart of Darkness' }
file=open("demo.txt",'r') # we ave to done something with file content=file.read() print(content) # content1=file.read(10) # print(content1) # content2=file.readlines() # print(content2) # file.close() # file.write("This is a python programm") # file.close() # file=open("demo.txt",'a') # file.write("\nthis is new line in programm") # file.close() file=open("demo.txt",'a') # file.write("pallavi") # file.close() file.write("good girl") file.close()
''' <ํด๋ž˜์Šค์˜ ๊ตฌ์„ฑ > class class_name: ํŽ‘์…˜์˜ ๋ชจ์ž„์ด ํด๋ž˜์Šค def __init__(self): ์ดˆ๊ธฐํ™” ํŽ‘์…˜, ์…€ํ”„๋ผ๋Š” ํŒŒ๋ผ๋ฉ”ํ„ฐ๋Š” ํด๋ž˜์Šค ๋‚ด๋ถ€์—์„œ๋งŒ ์‚ฌ์šฉ๊ฐ€๋Šฅ ์ตœ์†Œํ•œ์˜ ํŽ‘์…˜์€ ๊ณต์œ ํ•˜์ž ๋ผ๊ณ ํ•˜๋Š”๊ฒŒ ์…€ํ”„ ์ปดํ“จํ„ฐ๋Š” ๋ฉ”๋ชจ๋ฆฌ๋งŒ ์ณ๋‹ค๋ณธ๋‹ค. ํด๋ž˜์Šค๋„ ๋ถ€๋ฅด์ง€์•Š์œผ๋ฉด ๋™์ž‘ ์•ˆํ•œ๋‹ค. ๋ถˆ๋Ÿฌ์„œ ๋ฉ”๋ชจ๋ฆฌ์— ์˜ฌ๋ฆฌ๋Š”๊ฒƒ์„ ์ธ์Šคํ„ด์Šค๋ผํ•œ๋‹ค ์ธ์Šคํ„ด์Šค ํ•  ๋•Œ ํด๋ž˜์Šค๋ฅผ ์ดˆ๊ธฐํ™”ํ•œ๋‹ค. ์›๋ž˜๋ฃฐ์„ ์–ด๊ธฐ์ง€ ์•Š๊ณ  ์ง€ํ‚ค๋ฉด์„œ ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ํด๋ ˆ์Šค์— ์ดˆ๊ธฐํ™”์‹œํ‚ค๋Š” ํŽ‘์…˜ ์„ ๋„ฃ์œผ๋ฉด ํ˜ธ์ถœ๋˜๋ฉด์„œ ์ž๊ธฐ์ž์‹ ์„ ํ˜ธ์ถœ์‹œํ‚จ ๊ฒƒ. def function_name01(self): ํŽ‘์…˜์ด๋ฆ„์€ ๋…ํŠนํ•ด์•ผํ•ด return def function_name(self): ํŽ‘์…˜์€ ๋…๋ฆฝ์ ์ด๋‹ค return ''' class Athlete: def __init__(self,value='Jane'): self.inner_value = value #์™ธ๋ถ€์—์„œ ๋“ค์–ด์˜จ ๊ฒƒ์„ ๋‚ด๋ถ€์— ํ• ๋‹น ์‹œํ‚ด print(self.inner_value) def getInnerValue(self): return self.inner_value # Athlete๋ฅผ Inheritance(์ƒ์†) ๋ฐ›๊ธฐ class InheritanceClass(Athlete): def __init__(self): #Inheritance ๋ฅผ ์ดˆ๊ธฐํ™” ์‹œํ‚ด # super() #๋‚ด๋ถ€์ ์œผ๋กœ Athlete์‚ฌ์šฉ ํ•ฉ๋‹ˆ๋‹ค super().__init__() # Athlete ์˜ __init__()์„ ๋ถ€๋ฅด๋Š” ๊ฒƒ def setValue(self,first_value): self.inherit_value = first_value # self๋ณ€์ˆ˜ ์‚ฌ์šฉํ•˜๋ ค ์ง€์ • def getValue(self): return self.inherit_value # inherit = InheritanceClass() # ์ดˆ๊ธฐํ™” # Inheritance ๊ฐ’ ํ˜ธ์ถœํ•˜๊ธฐ set->get # print(inherit.getInnerValue()) # inherit.setValue(first_value='JuheeKim') # print(inherit.getValue()) # Athlete์— ์žˆ๋Š” getInnerValue ๋ฅผ ์‚ฌ์šฉํ•ด๋ณด๊ธฐ # print(inherit.getInnerValue()) # ๋งŒ๋“ค์–ด์ง„ ํด๋ž˜์Šค๋ฅผ ํ˜ธ์ถœํ•˜๊ณ  ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉํ• ์ง€ ์•„๋ž˜์— ๊ธฐ์ˆ  ''' ๊ฐ’์„ ์•„๋ฌด๊ฒƒ๋„ ์•ˆ ๋„ฃ์—ˆ์„ ๋•Œ ์ดˆ๊ธฐํ™” ์‹œํ‚จ๋‹ค๊ณ  ์ธ์‹ํ•ด __init__์œผ๋กœ ํ˜ธ์ถœ ๋จ athlete = Athlete() == athlete = Athlete.__init__() ''' # athlete = Athlete(value='Juhee') # print(athlete.getInnerValue())
#!/usr/bin/env python """ WorkQueue_t.DataStructs_t """ __all__ = []
teste = [] teste.append('Mauro') teste.append(22) galera = [] galera.append(teste[:]) # comando copiar teste[0] = 'Ximas' teste[1] = 23 galera.append(teste[:]) # galera vai receber uma copia do teste print(galera) print('-=' * 30) #----------------------------------------------------------------------------------------------------------------------- galera2 = [['Joรฃo', 19],['Ana', 33],['Marcos', 38],['Josรฉ', 78]] for p in galera2: # pra cada pessoa da lista galera2, faรงa: print(f'{p[0]} tem {p[1]} anos de idade.')# me mostre a pessoa 0=nome/primeiro item da lista e tem p[1]= segundo item da lista que no caso รฉ a idade print('-=' * 30) #----------------------------------------------------------------------------------------------------------------------- galera3 = [] dado = [] totmen = totmai = 0 for c in range(0,7): # "repita" x vezes dado.append(str(input('Nome: '))) # os dados vรฃo pra lista dado.append(int(input('Idade: '))) galera3.append(dado[:]) # a lista galera recebe uma copia dos dados [:]=Comando pra copiar dado.clear() # os dados sรฃo excluidos mais fica suave que a copia ta salva na lista galera3 print(galera3) for pessoas in galera3: # pra cada pessoa ne galera 3 faรงa: if pessoas[1] >= 21: #se a idade for >= 21: print(f'{pessoas[0]} รฉ maior de idade.') totmai += 1 # se fulano tiver a idade >=21 o total de nego maior de idade recebe +1 else: print(f'{pessoas[0]} รฉ menor de idade.') totmen += 1 #... print(f'Temos {totmai} maiores e {totmen} menores de idade.')
mod = 10**9 + 7 n = int(input()) include_none = 1 include_or = 0 include_and = 0 for _ in range(n): include_and = include_and*10 + include_or include_or = include_or*9 + include_none*2 include_none = include_none * 8 include_and %= mod include_or %= mod include_none %= mod print(include_and)
def pipeline_success(account,execution_id,pipeline,region, pipeline_id): tmp = "arn:aws:codepipeline:{0}:{1}:{2}".format(region, account,pipeline) arn =[tmp] chamada_api = [] chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region":region, "state": "STARTED", "version": 2.0, "action": "Compilacao", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:25Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED", "stage": "CI"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:24Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "TestUnit", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:51:27Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "SUCCEEDED", "stage": "SourceCode"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:24Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "Compilacao", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:51:28Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED", "stage": "Publish"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:32Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "Source", "type": {"owner": "AWS", "category": "Source", "version": "1", "provider": "CodeCommit"}, "stage": "SourceCode"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:23Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED"}, "detail-type": "CodePipeline Pipeline Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:17Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "Scan", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:32Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED", "stage": "SourceCode"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:17Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "TestUnit", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:24Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "SUCCEEDED", "stage": "Publish"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:53:36Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "SUCCEEDED"}, "detail-type": "CodePipeline Pipeline Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:53:36Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"eventVersion": "1.05", "eventID": "28f9c968-9ab7-49b1-ab53-f23d8ca9c986", "eventTime": "2019-07-30T20:50:17Z", "requestParameters": {"name": pipeline, "clientRequestToken": "27da5ffc-79fe-4387-b55c-0e0fbbe108d5"}, "eventType": "AwsApiCall", "responseElements": {"pipelineExecutionId": execution_id}, "awsRegion": region, "eventName": "StartPipelineExecution", "userIdentity": {"userName": "jose@localhost", "principalId": "123123123", "accessKeyId": "324234324", "invokedBy": "signin.amazonaws.com", "sessionContext": {"attributes": {"creationDate": "2019-07-30T20:42:54Z", "mfaAuthenticated": "false"}}, "type": "IAMUser", "arn": "arn:aws:iam::325847872862:user/clodonil.trigo@itau-unibanco.com.br", "accountId": account}, "eventSource": "codepipeline.amazonaws.com", "requestID": "b72b78a0-dacd-4def-a963-79fe6fdc3e8f", "userAgent": "signin.amazonaws.com", "sourceIPAddress": "200.196.153.14"}, "detail-type": "AWS API Call via CloudTrail", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:17Z", "id": "f591323b-3cfd-4dc4-6efc-37903edf77ec", "resources": []}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "ECR", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "Publish"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:53:36Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "Scan", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:51:29Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "ECR", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "Publish"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:33Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "Source", "type": {"owner": "AWS", "category": "Source", "version": "1", "provider": "CodeCommit"}, "stage": "SourceCode"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:18Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "SUCCEEDED", "stage": "CI"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:32Z", "id": pipeline_id, "resources": arn}) return chamada_api def pipeline_faild(account,execution_id,pipeline,region, pipeline_id): tmp = "arn:aws:codepipeline:{0}:{1}:{2}".format(region, account,pipeline) arn =[tmp] chamada_api = [] chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region":region, "state": "STARTED", "version": 2.0, "action": "Compilacao", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:25Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED", "stage": "CI"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:24Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "TestUnit", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:51:27Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "SUCCEEDED", "stage": "SourceCode"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:24Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "Compilacao", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:51:28Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED", "stage": "Publish"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:32Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "Source", "type": {"owner": "AWS", "category": "Source", "version": "1", "provider": "CodeCommit"}, "stage": "SourceCode"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:23Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED"}, "detail-type": "CodePipeline Pipeline Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:17Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "SUCCEEDED", "version": 2.0, "action": "Scan", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:32Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "STARTED", "stage": "SourceCode"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:17Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "TestUnit", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:24Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "FAILED", "stage": "Publish"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:53:36Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "FAILED"}, "detail-type": "CodePipeline Pipeline Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:53:36Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"eventVersion": "1.05", "eventID": "28f9c968-9ab7-49b1-ab53-f23d8ca9c986", "eventTime": "2019-07-30T20:50:17Z", "requestParameters": {"name": pipeline, "clientRequestToken": "27da5ffc-79fe-4387-b55c-0e0fbbe108d5"}, "eventType": "AwsApiCall", "responseElements": {"pipelineExecutionId": execution_id}, "awsRegion": region, "eventName": "StartPipelineExecution", "userIdentity": {"userName": "jose@localhost", "principalId": "123123123", "accessKeyId": "324234324", "invokedBy": "signin.amazonaws.com", "sessionContext": {"attributes": {"creationDate": "2019-07-30T20:42:54Z", "mfaAuthenticated": "false"}}, "type": "IAMUser", "arn": "arn:aws:iam::325847872862:user/clodonil.trigo@itau-unibanco.com.br", "accountId": account}, "eventSource": "codepipeline.amazonaws.com", "requestID": "b72b78a0-dacd-4def-a963-79fe6fdc3e8f", "userAgent": "signin.amazonaws.com", "sourceIPAddress": "200.196.153.14"}, "detail-type": "AWS API Call via CloudTrail", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:17Z", "id": "f591323b-3cfd-4dc4-6efc-37903edf77ec", "resources": []}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "FAILED", "version": 2.0, "action": "ECR", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "Publish"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:53:36Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "Scan", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "CI"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:51:29Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "ECR", "type": {"owner": "AWS", "category": "Build", "version": "1", "provider": "CodeBuild"}, "stage": "Publish"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:33Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "region": region, "state": "STARTED", "version": 2.0, "action": "Source", "type": {"owner": "AWS", "category": "Source", "version": "1", "provider": "CodeCommit"}, "stage": "SourceCode"}, "detail-type": "CodePipeline Action Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:50:18Z", "id": pipeline_id, "resources": arn}) chamada_api.append({"account": account, "region": region, "detail": {"execution-id": execution_id, "pipeline": pipeline, "version": 2.0, "state": "SUCCEEDED", "stage": "CI"}, "detail-type": "CodePipeline Stage Execution State Change", "source": "aws.codepipeline", "version": "0", "time": "2019-07-30T20:52:32Z", "id": pipeline_id, "resources": arn}) return chamada_api
# # Copyright (C) 2017 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # model model = Model() bat = 5 row = 50 col = 70 chn = 3 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn)) std = 20 flt = 20 pad = 0 stride = Int32Scalar("stride", std) filt = Int32Scalar("filter", flt) padding = Int32Scalar("padding", pad) act2 = Int32Scalar("relu1_activation", 2) output_row = (row + 2 * pad - flt + std) // std output_col = (col + 2 * pad - flt + std) // std output = Output("output", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, output_row, output_col, chn)) model = model.Operation( "MAX_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act2).To(output) # Example 1. Input in operand 0 input_range = bat * row * col * chn input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])() input0 = {i0: input_values} output_range = bat * output_row * output_col * chn output_values = (lambda r = output_range: [ 2 for _ in range(r)])() output0 = {output: output_values} # Instantiate an example Example((input0, output0))
# We will learn to create parameterized constructor class Employee: ''' This is the version 2.0 of Employee class''' def __init__(self,name,org,salary): super().__init__() self.name = name self.organisation = org self.salary = salary def __str__(self): return 'This is Employee class' def display(self): print('Employee Name: ',self.name) print('Employee Org: ',self.organisation) print('Employee Salary: ',self.salary) #Creating diff instance of the Employee class e1 = Employee('A','P',1000) e2 = Employee('B','Q',2000) e3 = Employee('C','R',3000) e1.display() e2.display() e3.display() #List of objects and call display in for loop employees = [e1,e2,e3] for e in employees: e.display()
class Inversor: def __init__(self,resultado): self.resultado=resultado def dump(self): return{ 'resutlado' : self.resultado }
# https://atcoder.jp/contests/math-and-algorithm/tasks/abc075_d n, k = map(int, input().split()) xx = [0] * n yy = [0] * n for i in range(n): xx[i], yy[i] = map(int, input().split()) mins = float('inf') for x0 in xx: for x1 in xx: if x0 == x1: continue for y0 in yy: for y1 in yy: if y0 == y1: continue s = (x1 - x0) * (y1 - y0) if s >= mins: continue kk = 0 for p in range(n): if x0 <= xx[p] <= x1 and y0 <= yy[p] <= y1: kk += 1 if kk >= k: mins = s break print(mins)
entradas=input("") (a,b)=entradas.split(" ") a=int(a) b=int(b) print("entrada 1", a) print("entrada 2", b)
_end = '\x1b[0m' _grey = '\x1b[90m' _red = '\x1b[91m' _green = '\x1b[92m' # Runtime messages def printm(m: str): print(f'{_grey}[{_green}+{_grey}]{_end} {m}') # Runtime error def printe(e: str): print(f'{_grey}[{_red}!{_grey}]{_end} {e}') # Exceptions def printx(x: Exception): print(f'{_grey}[{_red}!{_grey}] {type(x).__name__}{_end}: {str(x)}')
class LinkedList: def __init__(self): self.head = None class Node: def __init__(self, data): self.data = data self.next = None def __repr__(self): return self.data class LinkedList: def __init__(self): self.head = None def reverseLL(self): prev = None next = self.head node = self.head while next is not None: next = node.next node.next = prev prev = node node = next self.head = prev def __repr__(self): node = self.head nodes = [] while node is not None: nodes.append(node.data) node = node.next nodes.append('None') return " -> ".join(nodes) llist = LinkedList() print(llist) first_node = Node("a") llist.head = first_node print(llist) second_node = Node("b") third_node = Node("c") first_node.next = second_node second_node.next = third_node print(llist) llist.reverseLL() print(llist)
# Time: O(n) # Space: O(h) try: xrange # Python 2 except NameError: xrange = range # Python 3 class Solution(object): def averageOfLevels(self, root): """ :type root: TreeNode :rtype: List[float] """ result = [] q = [root] while q: total, count = 0, 0 next_q = [] for n in q: total += n.val count += 1 if n.left: next_q.append(n.left) if n.right: next_q.append(n.right) q = next_q result.append(float(total) / count) return result
""" ## Frame Exploring the frame class. """ gdb.execute('file call_graph_py.out', to_string=True) gdb.execute('set confirm off') gdb.execute('rbreak .', to_string=True) gdb.execute('start', to_string=True) thread = gdb.inferiors()[0].threads()[0] while thread.is_valid(): print() frame = gdb.selected_frame() symtab = frame.find_sal().symtab if symtab: print(symtab.fullname()) # TODO why can this be None even if frame.name() is not? print(frame.function()) print(frame.name()) gdb.execute('continue', to_string=True)
# SRC: https://www.hackerrank.com/challenges/the-minion-game/problem # Functions def substring_count(string, sub): count = start = 0 while True: start = string.find(sub, start) + 1 if start > 0: count += 1 else: return count def get_player_score(string, player, letters): # Calculate player score as per HR instructions results = 0 # For each valid player letter for letter in letters: # Get the leftmost index of the letter in the string start = string.index(letter) # Temp value to calculate points on _string = string[start:] # Parse the string letter by letter while len(_string): # Add score results += substring_count(string, _string) # Drop one letter from right _string = _string[:-1] # Reset word to original _string = string return player, results def minion_game(string): score = [] vowels = ('A', 'E', 'I', 'O', 'U') # Get valid starting letters for both players # Stu gets points for words starting with a consonant # Kev gets points for words starting with a vowel starters_s = sorted(set([l for l in string if l not in vowels])) starters_k = sorted(set([l for l in string if l in vowels])) score.append(get_player_score(string, player='Stuart', letters=starters_s)) score.append(get_player_score(string, player='Kevin', letters=starters_k)) # Check if draw if len(set([i[1] for i in score])) == 1: print('Draw') else: winner = sorted(score, reverse=True, key=lambda x: x[1])[0] print(f"{winner[0]} {winner[1]}") # main() if __name__ == '__main__': s = input() minion_game(s)
#Understand How to Convert DataType and what is function of type in python birth_year=input("Birth Year: ") print(type(birth_year)) age=2019-int(birth_year) print(type(age)) print("YOUR AGE:") print(age) #ASK A USER TO THEIR WEIGHT(IN POUNDS),CONVERT IT TO KILOGRAMS AND PRINT ON THE TERMINAL. weight=input("Enter Your Weight(POUNDS): ") kilograms=float(weight)*0.4592 print("Weight In Kilogram:") print(kilograms) course='Python For "Beginners"' print(course)
class Person: def __init__(self, name): # En esta asignaciรณn, realmente estamos llamando al setter de mรกs abajo self.name = name @property # <1> def name(self): return self._name @name.setter # <2> def name(self, value): self._name = value # Mediante el decorator @name.deleter, permitiremos eliminar una propiedad de nuestra persona @name.deleter def name(self): del self._name p = Person('Paco') print(p.name) p.name = 'Jorge' print(p.name) del p.name print(p.name) # Esto provoca una excepcion, porque el campo ya no existe
def read_input(input_file): with open(input_file, "r") as f: return [i for i in f.readlines()] def parse_input(input_file: str) -> dict: data = read_input(input_file) return _build_data_dict(data) def _build_data_dict(data): data_dict = {} for line in data: line = line.replace("\n", "") d1, d2 = line.split("-") if d1 not in data_dict: data_dict[d1] = set() if d2 not in data_dict: data_dict[d2] = set() data_dict[d1].add(d2) data_dict[d2].add(d1) return data_dict def count_paths(paths, authorized_sc_twice=0) -> int: paths = build_paths(paths, authorized_sc_twice=authorized_sc_twice) return len(paths) def build_paths(paths: dict, authorized_sc_twice=0) -> list: small_caves = [d for d in paths.keys() if d.islower()] return _compute_paths(["start"], paths, [], small_caves, authorized_sc_twice) def _compute_paths(base_path, data_dict, paths, small_caves, authorized_sc_twice): for node in data_dict[base_path[-1]]: _path = base_path + [node] if node == "start": continue elif node == "end": paths.append(_path) else: small_caves_visits = [ len([p for p in _path if p == c]) for c in small_caves ] if any([s > 2 for s in small_caves_visits]): continue elif len([s for s in small_caves_visits if s == 2]) > authorized_sc_twice: continue else: _compute_paths( _path, data_dict, paths, small_caves, authorized_sc_twice=authorized_sc_twice, ) return paths
def create_md(filename,session,speaker): first_line = "# " + session + " - " + speaker rest = "## Notes \n \n \n" + "## Key Takeaways \n \n \n" + "## Other Details / Follow Up \n \n \n" full_file = first_line + "\n \n" + rest f = open(filename, "w+") f.write(full_file) f.close() # create_md("foo_bar.md", "test session", "stieber")
# ๋ฌธ์ œ: https://www.acmicpc.net/problem/15786 # ํ’€์ด: ๋ฃจํ”„ ๋Œ๋ฉฐ ์•Œ๊ณ  ์žˆ๋Š” ๋‹จ์–ด์˜ ๋ฌธ์ž๋“ค์ด ์ˆœ์„œ๋Œ€๋กœ ์œ„์น˜ํ•œ ๋‹จ์–ด์ธ์ง€ ํ™•์ธ n, m = map(int, input().split()) original = input() post_it = [input() for _ in range(m)] for s in post_it: org_idx = 0 for c in s: if original[org_idx] == c: org_idx += 1 if org_idx >= n: print("true") break else: print("false")
print("Hello World") print ("Ansar") print ("Ansar Ahmad") print ("Hi,I am Python.") print ("25") print ("2*2") print ("2","+","5","+","9") print ("2","+","2","+","9") print ("Hello,","I","am","Ansar") print ("Ansar","is","20","years","old") print ("Hello Ansar,"+"How are you?") print ("I am 20 years old"+"and"+"My freind is 21 years old.") print ("20" + "+" + "2" + "=" + "22") print ("My brother is " + "25" + "years old.")