Made ticker format more flexible
This commit is contained in:
parent
bac92f449b
commit
fa45d7afdb
|
@ -10,7 +10,7 @@ import enforce_typing
|
||||||
## Ids
|
## Ids
|
||||||
|
|
||||||
RE_TICKER_FORMAT = r'^[A-Z0-9_]+$'
|
RE_TICKER_FORMAT = r'^[A-Z0-9_]+$'
|
||||||
RE_TICKER_FORMAT_FLEXIBLE = r'^[^:\s]+$'
|
RE_TICKER_FORMAT_FLEXIBLE = r'^[^:\s](?:[^:]*[^:\s])?$'
|
||||||
RE_CRYPTO_TICKER_FORMAT = r'^\S+$'
|
RE_CRYPTO_TICKER_FORMAT = r'^\S+$'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user