AI4Finance-Foundation / FinRL-Meta

FinRL­-Meta: Dynamic datasets and market environments for FinRL.
https://ai4finance.org
MIT License
1.28k stars 583 forks source link

UnboundLocalError: local variable 'AlpacaProcessor' referenced before assignment #119

Closed Tabachire123 closed 2 years ago

Tabachire123 commented 2 years ago

Hi,

I found this issue while running the notebook Demo_MultiCrypto_Trading, I am using the same cell as in the colab with no change, any fix?

Screenshot 2022-03-24 at 00 29 57
zhumingpassional commented 2 years ago

Thanks for reporting it. We will test and update it.

mhdmyz commented 2 years ago

@zhumingpassional The problem here is obvious. All of the data sources are referenced in the processor_dict, while their imports are conditional, so only one of them gets imported.

zhumingpassional commented 2 years ago

@mhdmyz Thanks for your help. Fixed